Description of problem: Hi , Installed openstack on rhel 7 with packstack installer . storage backend is LVM. We are not able to delete snapshots volumes , the root cause is : was 1 execute /usr/lib/python2.7/site-packages/cinder/openstack/common/processutils.py:171 2014-10-20 00:53:11.386 18219 DEBUG cinder.openstack.common.lockutils [req-7016d6a8-5b2f-4406-bc42-83ddebb6bf97 741a6c5d10a34bc0affd06e4546ae6f2 f9cef2db57774dcc9a273962eeece093 - - -] Released f ile lock "3bbed04b-9552-4ac7-83f1-76904a516d76-delete_snapshot" at /var/lib/cinder/tmp/cinder-3bbed04b-9552-4ac7-83f1-76904a516d76-delete_snapshot for method "lso_inner2"... inner /usr/lib/python 2.7/site-packages/cinder/openstack/common/lockutils.py:239 2014-10-20 00:53:11.386 18219 ERROR oslo.messaging.rpc.dispatcher [req-7016d6a8-5b2f-4406-bc42-83ddebb6bf97 741a6c5d10a34bc0affd06e4546ae6f2 f9cef2db57774dcc9a273962eeece093 - - -] Exception duri ng message handling: 'ascii' codec can't decode byte 0xe2 in position 24: ordinal not in range(128) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last): 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher incoming.message)) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 166, in lso_inner1 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher return lso_inner2(inst, context, snapshot_id, **kwargs) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/lockutils.py", line 233, in inner 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher retval = f(*args, **kwargs) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 165, in lso_inner2 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher return f(*_args, **_kwargs) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 542, in delete_snapshot 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher {'status': 'error_deleting'}) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__ 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 530, in delete_snapshot 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher self.driver.delete_snapshot(snapshot_ref) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 252, in delete_snapshot 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher self._delete_volume(snapshot, is_snapshot=True) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 128, in _delete_volume 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher self._clear_volume(volume, is_snapshot) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 171, in _clear_volume 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher volume_clear_size=self.configuration.volume_clear_size) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/utils.py", line 182, in clear_volume 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher ionice=volume_clear_ionice) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/utils.py", line 138, in copy_volume 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher *extra_flags, run_as_root=True) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 136, in execute 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher return processutils.execute(*cmd, **kwargs) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/processutils.py", line 175, in execute 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher sanitized_stderr = strutils.mask_password(stderr) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/openstack/common/strutils.py", line 300, in mask_password 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher message = six.text_type(message) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 24: ordinal not in range(128) 2014-10-20 00:53:11.386 18219 TRACE oslo.messaging.rpc.dispatcher Version-Release number of selected component (if applicable): rhel version : Red Hat Enterprise Linux Server release 7.0 (Maipo) Linux test2745 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Aug 11 13:37:49 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux openstack-cinder-2014.1.3-1.el7ost.noarch python-cinder-2014.1.3-1.el7ost.noarch python-cinderclient-1.0.9-1.el7ost.noarch How reproducible: 1. Create snapshot from volume 2. Try to delete the snapshot. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
See bugzilla bug - 1148251 , we got the same issue on RDO too .
This was fixed in Juno but not in Icehouse yet.
Hi , Run automation with latest puddle , the issue was solved. Benny
Run with 2014-11-21.2 version Bennt
Run with 2014-11-21.2 version Benny
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. https://rhn.redhat.com/errata/RHBA-2014-1926.html