Glance image-create fails with VersionError in Havana [closed]
Hi,
I'm setting up an havana controller, using the puppetlabs openstack modules so the RDO repository, on a CentOS 6.4 box. The installation of the controller itself is successful, and all the services are up. Anyway, when I try to load an image using glance image-create, it fails with:
Request returned failure status.
HTTPInternalServerError (HTTP 500)
Looking at the glance api log I see in fact:
2013-11-23 01:57:55.235 5169 ERROR glance.notifier.notify_qpid [f202f4c5-7abb-47dd-a0d2-52834be3af22 d4d20cdbc62d440990c03fc59c7a0c9e 423061e1f75f4ca0951dc98f01cdc34b] Notification error. Priority: info Message: {'event_type': 'image.create', 'timestamp': '2013-11-23 00:57:55.202514', 'message_id': '92a4ca0c-9edf-4f89-8423-4f2e3b8af910', 'priority': 'INFO', 'publisher_id': 'atlas-cloud-fe-test.roma1.infn.it', 'payload': {u'status': u'queued', u'deleted': False, u'container_format': u'bare', u'min_ram': 0, u'updated_at': u'2013-11-23T00:57:55', u'owner': u'423061e1f75f4ca0951dc98f01cdc34b', u'min_disk': 0, u'is_public': False, u'deleted_at': None, u'id': u'f5a49e9e-fbbc-4b89-bddb-7493d7864541', u'size': 237371392, u'name': u'fedora19-x86_64', u'checksum': None, u'created_at': u'2013-11-23T00:57:55', u'disk_format': u'qcow2', u'properties': {}, u'protected': False}}
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid Traceback (most recent call last):
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "/usr/lib/python2.6/site-packages/glance/notifier/notify_qpid.py", line 130, in _send
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid connection = self._open_connection()
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "/usr/lib/python2.6/site-packages/glance/notifier/notify_qpid.py", line 108, in _open_connection
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid connection.open()
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "<string>", line 6, in open
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 256, in open
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid self.attach()
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "<string>", line 6, in attach
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 274, in attach
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid self._ewait(lambda: self._transport_connected and not self._unlinked())
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 209, in _ewait
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid self.check_error()
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 202, in check_error
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid raise self.error
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid VersionError: client: 0-10, server: 9-1
2013-11-23 01:57:55.235 5169 TRACE glance.notifier.notify_qpid
And in the rabbitmq server log I see also:
=ERROR REPORT==== 23-Nov-2013::01:57:55 ===
closing AMQP connection <0.854.0> ([::1]:39120 -> [::1]:5672):
{bad_version,{1,1,0,10}}
So, it seems that the client ...
I'm seeing Qpid and RabbitMQ here. Do you right configuration in glance-api.conf glance-registry.conf to use RabbitMQ ?