openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #24638
[Cinder] cinder volume delete fails with ProcessExecution error
volume delete for iscsi target fails with following error
2013-06-24 10:12:29.821 13387 ERROR cinder.openstack.common.rpc.amqp
[req-2aa773a4-e95f-4a9f-b043-d557ca90bc67 e8b48f2f664f4f6fae93a0e97fc96cb4
2da9f2434cdd4ecda85a93dce132e9c1] Exception during message handling
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
Traceback (most recent call last):
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/openstack/common/rpc/amqp.py", line 433, in
_process_data
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
**args)
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/openstack/common/rpc/dispatcher.py", line
148, in dispatch
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
return getattr(proxyobj, method)(ctxt, **kwargs)
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/volume/manager.py", line 438, in
delete_volume
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
{'status': 'error_deleting'})
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
self.gen.next()
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/volume/manager.py", line 427, in
delete_volume
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
self.driver.delete_volume(volume_ref)
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/volume/drivers/FalconStor.py", line 432, in
delete_volume
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
self._delete_volume(volume, volume['size'])
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/volume/drivers/FalconStor.py", line 133, in
_delete_volume
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
self._try_execute(*cmd, run_as_root=True)
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/volume/driver.py", line 91, in _try_execute
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
self._execute(*command, **kwargs)
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp File
"/home/openstack/cinder/cinder/utils.py", line 205, in execute
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
cmd=' '.join(cmd))
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
ProcessExecutionError: Unexpected error while running command.
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
ProcessExecutionError: Unexpected error while running command.
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf iscli deletevdev -s
****** -u root -p ****** -v `iscli getvdevlist -s ****** -u root -p ******
| grep volume-123ff5b0-ff3d-43ea-b3b0-0d84 | awk '{ print $2 }'`
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp Exit
code: 255
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
Stdout: ''
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
Stderr: ''
2013-06-24 10:12:29.821 13387 TRACE cinder.openstack.common.rpc.amqp
In cinder.conf, I am using
iscsi_helper=ietadm
The interesting fact here is create is working, but not delete. Also the
following command(hiding the credentials),
sudo cinder-rootwrap /etc/cinder/rootwrap.conf iscli deletevdev -s ******
-u root -p ****** -v `iscli getvdevlist -s ****** -u root -p ****** | grep
volume-123ff5b0-ff3d-43ea-b3b0-0d84 | awk '{ print $2 }'`
if run from terminal works fine. Any pointers on this are much appreciated
--
Best Regards,
Swapnil Kulkarni
swapnilkulkarni2608@xxxxxxxxx
+91-87960 10622(c)
http://in.linkedin.com/in/coolsvap