Kilo/CentOs7 Snapshot creation fails with a glanceglient exception on the nova compute node

asked 2016-08-30 15:11:13 -0500

shahram gravatar image

updated 2016-08-31 10:58:34 -0500

I am unable to create snapshots of instances on select nova compute nodes. I receive an error in the nova compute log on the hypervisor complaining about an attribute error. It appears that the galanceclient is having trouble handling the message. Looking on line I noticed a bug that was reported related to the urllib3 version and the glanceclient, please see https://bugs.launchpad.net/glance0/+bug/1476770 (https://bugs.launchpad.net/glance0/+b...).

I downgraded the urllib3 to version 1.10.2 and my python-glanceclient is 0.17.0 but the exception remains. I have another hypervisor that was built a few months earlier with the same versions that creates snapshots with no exception. Any help would be greatly appreciated. I have attached the error below.

Thank you in advance,

2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6933, in snapshot_instance
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     return self.manager.snapshot_instance(ctxt, image_id, instance)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     payload)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     return f(self, context, *args, **kw)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 333, in decorated_function
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     LOG.warning(msg, e, instance_uuid=instance_uuid)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-30 15:28:49.009 31521 TRACE oslo_messaging.rpc.dispatcher ...
(more)
edit retag flag offensive close merge delete

Comments

I am facing the same issue, hope some one comes to our rescue.

soumitrakarmakar gravatar imagesoumitrakarmakar ( 2016-11-17 00:50:51 -0500 )edit