openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #16462
Re: boot image + glance connection failed
Hi,
Sorry for the slow response, I have been out of email contact.
You are best running all the services in a DomU, in the single server case.
You only need the xenapi plugins running on Dom0, assuming you are not running Quantum.
When you add the second machine, you only need compute, network (and console I think)
Can you please point me to the bit of the Essex install guide that tells you to run the other services in Dom0 so I can get that updated to stop any further confusion?
If you want to get something running quickly, I recommend trying DevStack. You can then using that as a template for a more production focused setup.
I hope that helps,
John
From: openstack-bounces+john.garbutt=citrix.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+john.garbutt=citrix.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Afef MDHAFFAR
Sent: Tuesday, September 4, 2012 3:03 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] boot image + glance connection failed
Hi all,
I got these errors when trying to boot an image. There are related to glance. I install openstack on an Ubuntu 12.04 (with Xen Server).
Dom0 runs nova-api, glance service, nova-scheduler, nova-cert and nova-console.
DomU runs nova-compute and nova-network.
Do I have to install glance service on DomU????
Here are log errors (picked from nova-compute.log).
2012-09-04 15:54:40 ERROR nova.image.glance [req-a516f35c-4207-4180-86b9-3a85687067b7 cf8971efd8934844b559d26e238506cc 141d12e2431f47a5bf77f90da4800960] Connection error contacting glance server, retrying
2012-09-04 15:54:40 TRACE nova.image.glance Traceback (most recent call last):
2012-09-04 15:54:40 TRACE nova.image.glance File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 145, in _call_retry
2012-09-04 15:54:40 TRACE nova.image.glance return getattr(client, name)(*args, **kwargs)
2012-09-04 15:54:40 TRACE nova.image.glance File "/usr/lib/python2.7/dist-packages/glance/client.py", line 101, in get_image_meta
2012-09-04 15:54:40 TRACE nova.image.glance res = self.do_request("HEAD", "/images/%s" % image_id)
2012-09-04 15:54:40 TRACE nova.image.glance File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 58, in wrapped
2012-09-04 15:54:40 TRACE nova.image.glance return func(self, *args, **kwargs)
2012-09-04 15:54:40 TRACE nova.image.glance File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 420, in do_request
2012-09-04 15:54:40 TRACE nova.image.glance headers=headers)
2012-09-04 15:54:40 TRACE nova.image.glance File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 75, in wrapped
2012-09-04 15:54:40 TRACE nova.image.glance return func(self, method, url, body, headers)
2012-09-04 15:54:40 TRACE nova.image.glance File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 562, in _do_request
2012-09-04 15:54:40 TRACE nova.image.glance raise exception.ClientConnectionError(e)
2012-09-04 15:54:40 TRACE nova.image.glance ClientConnectionError: There was an error connecting to a server
2012-09-04 15:54:40 TRACE nova.image.glance Details: [Errno 111] ECONNREFUSED
2012-09-04 15:54:40 TRACE nova.image.glance
2012-09-04 15:54:41 ERROR nova.rpc.amqp [req-a516f35c-4207-4180-86b9-3a85687067b7 cf8971efd8934844b559d26e238506cc 141d12e2431f47a5bf77f90da4800960] Exception during message handling
2012-09-04 15:54:41 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 253, in _process_data
2012-09-04 15:54:41 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-09-04 15:54:41 TRACE nova.rpc.amqp return f(*args, **kw)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 183, in decorated_function
2012-09-04 15:54:41 TRACE nova.rpc.amqp sys.exc_info())
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-09-04 15:54:41 TRACE nova.rpc.amqp self.gen.next()
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2012-09-04 15:54:41 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 657, in run_instance
2012-09-04 15:54:41 TRACE nova.rpc.amqp do_run_instance()
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner
2012-09-04 15:54:41 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 656, in do_run_instance
2012-09-04 15:54:41 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 457, in _run_instance
2012-09-04 15:54:41 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-09-04 15:54:41 TRACE nova.rpc.amqp self.gen.next()
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 426, in _run_instance
2012-09-04 15:54:41 TRACE nova.rpc.amqp image_meta = self._check_image_size(context, instance)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 504, in _check_image_size
2012-09-04 15:54:41 TRACE nova.rpc.amqp image_meta = _get_image_meta(context, instance['image_ref'])
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 190, in _get_image_meta
2012-09-04 15:54:41 TRACE nova.rpc.amqp return image_service.show(context, image_id)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 241, in show
2012-09-04 15:54:41 TRACE nova.rpc.amqp _reraise_translated_image_exception(image_id)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 239, in show
2012-09-04 15:54:41 TRACE nova.rpc.amqp image_id)
2012-09-04 15:54:41 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 153, in _call_retry
2012-09-04 15:54:41 TRACE nova.rpc.amqp reason=_('Maximum attempts reached'))
2012-09-04 15:54:41 TRACE nova.rpc.amqp GlanceConnectionFailed: Connection to glance failed: Maximum attempts reached
2012-09-04 15:54:41 TRACE nova.rpc.amqp
Thank you for your help,
Afef
Follow ups
References