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
In Progress
Gorka Eguileor

Bug Description

In HPE 3PAR cinder CI, below TC fails for iscsi and fc driver:

Details can be found at:

Revision history for this message
Gorka Eguileor (gorka) wrote :

I reproduced this issue on my system and the exception in cinder volume is:

Traceback (most recent call last):
  File "/opt/remote_cinder/cinder/volume/manager.py", line 2740, in extend_volume
    self.driver.extend_volume(volume, new_size)
  File "/opt/remote_cinder/cinder/utils.py", line 782, in trace_logging_wrapper
    result = f(*args, **kwargs)
  File "/opt/remote_cinder/cinder/volume/drivers/hpe/hpe_3par_base.py", line 206, in extend_volume
    common.extend_volume(volume, new_size)
  File "/opt/remote_cinder/cinder/volume/drivers/hpe/hpe_3par_common.py", line 586, in extend_volume
    self._extend_volume(volume, volume_name, growth_size_mib)
  File "/opt/remote_cinder/cinder/volume/drivers/hpe/hpe_3par_common.py", line 1319, in _extend_volume
    {'vol': volume_name, 'ex': ex})
  File "/usr/local/lib/python3.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  File "/usr/local/lib/python3.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)
  File "/usr/local/lib/python3.7/site-packages/six.py", line 703, in reraise
    raise value
  File "/opt/remote_cinder/cinder/volume/drivers/hpe/hpe_3par_common.py", line 1293, in _extend_volume
    self.client.growVolume(volume_name, growth_size_mib)
  File "/usr/local/lib/python3.7/site-packages/hpe3parclient/client.py", line 816, in growVolume
    response, body = self.http.put('/volumes/%s' % name, body=info)
  File "/usr/local/lib/python3.7/site-packages/hpe3parclient/http.py", line 399, in put
    return self._cs_request(url, 'PUT', **kwargs)
  File "/usr/local/lib/python3.7/site-packages/hpe3parclient/http.py", line 321, in _cs_request
  File "/usr/local/lib/python3.7/site-packages/hpe3parclient/http.py", line 297, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/hpe3parclient/http.py", line 262, in request
    raise exceptions.from_response(resp, body)
hpe3parclient.exceptions.HTTPConflict: Conflict (HTTP 409) 87 - invalid operation: online copy in progress

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/756709

Changed in cinder:
assignee: nobody → Gorka Eguileor (gorka)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.