Ask Your Question
0

Glance registry ECONNREFUSED

asked 2011-10-18 16:28:13 -0500

fred-yang gravatar image

Glance-registry failed to connect - I did fred@snipy:~$ sudo glance-control all start /etc/glance Starting glance-api with /etc/glance Starting glance-registry with /etc/glance Starting glance-scrubber with /etc/glance fred@snipy:~$ glance --version glance 2011.3 fred@snipy:~$ sudo glance show all Failed to show image. Got error: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED From browser, I can connect to 0.0.0.0:9292 but no connection to 0.0.0.0:9191 /var/log/api.log - 2011-10-18 08:52:32 DEBUG [glance-api] verbose True 2011-10-18 08:52:32 DEBUG [glance-api] ************************** 2011-10-18 08:52:32 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True 2011-10-18 08:52:32 DEBUG [eventlet.wsgi.server] (2386) wsgi starting up on http://0.0.0.0:9292/

/var/log/registry.log shows 2011-10-18 08:53:40 DEBUG [sqlalchemy.engine.base.Engine.0x...7f10] Row (6, u'name', u'VARCHAR(255)', 1, None, 0) 2011-10-18 08:53:40 DEBUG [sqlalchemy.engine.base.Engine.0x...7f10] Row (7, u'value', u'TEXT', 0, None, 0) 2011-10-18 08:53:40 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True 2011-10-18 08:53:40 DEBUG [eventlet.wsgi.server] (2397) wsgi starting up on http://0.0.0.0:9191/

The reason gets CLI is when I do euca-describe-images, api.log shows 2011-10-18 08:15:50,849 ERROR nova.api [5c0a4180-76a2-4c58-9520-6e6a8671ffe5 fred ras] Unexpected error raised: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED (nova.api): TRACE: Traceback (most recent call last): (nova.api): TRACE: File "/home/fred/1013/nova/nova/api/ec2/__init__.py", line 348, in __call__ (nova.api): TRACE: result = api_request.invoke(context) (nova.api): TRACE: File "/home/fred/1013/nova/nova/api/ec2/apirequest.py", line 78, in invoke (nova.api): TRACE: result = method(context, args) (nova.api): TRACE: File "/home/fred/1013/nova/nova/api/ec2/cloud.py", line 1617, in describe_images (nova.api): TRACE: images = self.image_service.detail(context) (nova.api): TRACE: File "/home/fred/1013/nova/nova/image/s3.py", line 77, in detail (nova.api): TRACE: return self.service.detail(context) (nova.api): TRACE: File "/home/fred/1013/nova/nova/image/glance.py", line 152, in detail (nova.api): TRACE: for image_meta in image_metas: (nova.api): TRACE: File "/home/fred/1013/nova/nova/image/glance.py", line 181, in _fetch_images (nova.api): TRACE: images = fetch_func(kwargs) (nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/glance-2011.3-py2.7.egg/glance/client.py", line 69, in get_images_detailed (nova.api): TRACE: res = self.do_request("GET", "/images/detail", params=params) (nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/glance-2011.3-py2.7.egg/glance/common/client.py", line 140, in do_request (nova.api): TRACE: method, action, body=body, headers=headers, params=params) (nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/glance-2011.3-py2.7.egg/glance/common/client.py", line 238, in _do_request (nova.api): TRACE: "server. Got error: %s" % e) (nova.api): TRACE: ClientConnectionError: Unable ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-10-18 18:53:35 -0500

fred-yang gravatar image

Move question to glance launchpad

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-18 16:28:13 -0500

Seen: 42 times

Last updated: Oct 18 '11