[Openstack] Help regarding communication error while accessing images from openstack dashboard

Sadia Bashir 11msccssbashir at seecs.edu.pk
Wed Sep 10 07:22:41 UTC 2014


Hi everyone,

After completing openstack installation from the link:  http://devstack.org/
I was able to access images list from openstack dashboard but after I
restarted my machine I am getting following error:
CommunicationError at /admin/images/images/CommunicationError at
/admin/images/images/

Error finding address for
http://10.0.2.15:9292/v1/images/detail?sort_key=created_at&sort_dir=desc&limit=21&is_public=None:
HTTPConnectionPool(host='10.0.2.15', port=9292): Max retries exceeded
with url: /v1/images/detail?sort_key=created_at&sort_dir=desc&limit=21&is_public=None
(Caused by <class 'socket.error'>: [Errno 111] Connection refused)

 Request Method: GET  Request URL:
http://127.0.0.1/admin/images/images/  Django
Version: 1.6.7  Exception Type: CommunicationError  Exception Value:

Error finding address for
http://10.0.2.15:9292/v1/images/detail?sort_key=created_at&sort_dir=desc&limit=21&is_public=None:
HTTPConnectionPool(host='10.0.2.15', port=9292): Max retries exceeded
with url: /v1/images/detail?sort_key=created_at&sort_dir=desc&limit=21&is_public=None
(Caused by <class 'socket.error'>: [Errno 111] Connection refused)

 Exception Location: /opt/stack/python-glanceclient/glanceclient/common/http.py
in _request, line 208  Python Executable: /usr/bin/python  Python Version:
2.7.6  Python Path:

['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
 '/opt/stack/python-keystoneclient',
 '/opt/stack/python-glanceclient',
 '/opt/stack/python-cinderclient',
 '/opt/stack/python-novaclient',
 '/opt/stack/python-swiftclient',
 '/opt/stack/python-neutronclient',
 '/opt/stack/python-heatclient',
 '/opt/stack/python-openstackclient',
 '/opt/stack/keystone',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/nova',
 '/opt/stack/horizon',
 '/opt/stack/heat',
 '/opt/stack/tempest',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/opt/stack/horizon/openstack_dashboard']

 Server time: Wed, 10 Sep 2014 06:40:56 +0000

Moreover, When I run '$nova list' or any other command from terminal, I get
the following communication error:

ERROR (ConnectionError): HTTPConnectionPool(host='10.0.2.15', port=8774):
Max
retries exceeded with url:
/v2/4cb43a0df9974c9492a1501eb1b8cb56/servers/detail
 (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

I tried to check the glance api service and  registry service at
http://127.0.0.1:9292 and http://127.0.0.1:9191 but got no services running
there.
Please tell me how do I fix this error? Thank you very much in advance for
any assistance or guideline.
-- 
Kind Regards,
Sadia Bashir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140910/ba75465f/attachment.html>


More information about the Openstack mailing list