NetApp ONTAP: Remove NFS driver online volume extending support
Cinder scheduler now checks backend capability online_extend_support before performing an online volume extend operation. This patch makes NetApp ONTAP NFS driver report to the scheduler that it doesn't support this feature, thus avoiding leaving a volume in error_extending state after an online extending attempt. Change-Id: Iafe3e68d6e9c20064a8825848b7b2d33ce7f4cff Depends-On: I2c31b5c171574074a8fc7ba86f94f983fc9658f7 Related-Bug: #1765182
This commit is contained in:
parent
597b49961d
commit
40d50eccde
@ -246,6 +246,7 @@ class NetAppCmodeNfsDriverTestCase(test.TestCase):
|
||||
'consistencygroup_support': True,
|
||||
'consistent_group_snapshot_enabled': True,
|
||||
'replication_enabled': False,
|
||||
'online_extend_support': False,
|
||||
}]
|
||||
|
||||
expected[0].update({'QoS_support': cluster_credentials})
|
||||
|
@ -274,6 +274,7 @@ class NetAppCmodeNfsDriver(nfs_base.NetAppNfsDriver,
|
||||
pool['consistencygroup_support'] = True
|
||||
pool['consistent_group_snapshot_enabled'] = True
|
||||
pool['multiattach'] = True
|
||||
pool['online_extend_support'] = False
|
||||
|
||||
# Add up-to-date capacity info
|
||||
nfs_share = ssc_vol_info['pool_name']
|
||||
|
5
releasenotes/notes/bug-1765182-de132ba52167800b.yaml
Normal file
5
releasenotes/notes/bug-1765182-de132ba52167800b.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
NetApp ONTAP (bug 1765182): Make ONTAP NetApp NFS driver report to the
|
||||
Cinder scheduler that it doesn't support online volume extending.
|
Loading…
Reference in New Issue
Block a user