Hide Forgot
Created attachment 828774 [details] logs Description of problem: I tried to extend a cloned volume and failed on permissions issues. working with glusterfs (so might be related to gluster) Version-Release number of selected component (if applicable): openstack-cinder-2013.2-2.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. create a volume and clone a volume from it: cinder create <size> --display-name <name> cinder create <size> --source-volid <volume> --display-name <name> 2. extend the volume: cinder extend <volume> <size> 3. Actual results: we fail to extend the volume with permissions error Expected results: we should be able to extend the volume Additional info: 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager Traceback (most recent call last): 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 875, in extend_volume 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager self.driver.extend_volume(volume, new_size) 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/glusterfs.py", line 927, in extend_volume 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager image_utils.resize_image(volume_path, size_gb) 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/image/image_utils.py", line 204, in resize_image 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager utils.execute(*cmd, run_as_root=False) 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 142, in execute 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager return processutils.execute(*cmd, **kwargs) 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/openstack/common/processutils.py", line 173, in execute 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager cmd=' '.join(cmd)) 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager ProcessExecutionError: Unexpected error while running command. 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager Command: qemu-img resize /var/lib/cinder/mnt/92ce777f40909398918e29a4128dfce0/volume-f49b4e6c-ae6d-41e4-8161-7dc8ffb2f4e1 6G 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager Exit code: 1 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager Stdout: '' 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager Stderr: "Could not open '/var/lib/cinder/mnt/92ce777f40909398918e29a4128dfce0/volume-f49b4e6c-ae6d-41e4-8161-7dc8ffb2f4e1': Permission denied\n" 2013-11-25 17:39:19.850 14458 TRACE cinder.volume.manager
Eric, why is there a needinfo here?
Need qa_ack for this to go forward.
verified on openstack-cinder-2013.2-8.el6ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html