3par: in CI, tempest TC test_volume_extend fails for iscsi and fc driver
Bug #1832835 reported by
Raghavendra Tilay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
Gorka Eguileor |
Bug Description
In HPE 3PAR cinder CI, below TC fails for iscsi and fc driver:
tempest.
Details can be found at:
http://
http://
To post a comment you must log in.
I reproduced this issue on my system and the exception in cinder volume is:
Traceback (most recent call last): cinder/ cinder/ volume/ manager. py", line 2740, in extend_volume driver. extend_ volume( volume, new_size) cinder/ cinder/ utils.py" , line 782, in trace_logging_ wrapper cinder/ cinder/ volume/ drivers/ hpe/hpe_ 3par_base. py", line 206, in extend_volume extend_ volume( volume, new_size) cinder/ cinder/ volume/ drivers/ hpe/hpe_ 3par_common. py", line 586, in extend_volume _extend_ volume( volume, volume_name, growth_size_mib) cinder/ cinder/ volume/ drivers/ hpe/hpe_ 3par_common. py", line 1319, in _extend_volume lib/python3. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) lib/python3. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) lib/python3. 7/site- packages/ six.py" , line 703, in reraise cinder/ cinder/ volume/ drivers/ hpe/hpe_ 3par_common. py", line 1293, in _extend_volume client. growVolume( volume_ name, growth_size_mib) lib/python3. 7/site- packages/ hpe3parclient/ client. py", line 816, in growVolume put('/volumes/ %s' % name, body=info) lib/python3. 7/site- packages/ hpe3parclient/ http.py" , line 399, in put request( url, 'PUT', **kwargs) lib/python3. 7/site- packages/ hpe3parclient/ http.py" , line 321, in _cs_request lib/python3. 7/site- packages/ hpe3parclient/ http.py" , line 297, in _time_request lib/python3. 7/site- packages/ hpe3parclient/ http.py" , line 262, in request from_response( resp, body) exceptions. HTTPConflict: Conflict (HTTP 409) 87 - invalid operation: online copy in progress
File "/opt/remote_
self.
File "/opt/remote_
result = f(*args, **kwargs)
File "/opt/remote_
common.
File "/opt/remote_
self.
File "/opt/remote_
{'vol': volume_name, 'ex': ex})
File "/usr/local/
self.
File "/usr/local/
six.
File "/usr/local/
raise value
File "/opt/remote_
self.
File "/usr/local/
response, body = self.http.
File "/usr/local/
return self._cs_
File "/usr/local/
**kwargs)
File "/usr/local/
resp, body = self.request(url, method, **kwargs)
File "/usr/local/
raise exceptions.
hpe3parclient.
This happens because we are cloning the image from the cinder cache and cloning uses online copy, which means that we cannot extend the volume until the online copy has completed.
Related bug: https:/ /bugs.launchpad .net/cinder/ +bug/1657227