[Openstack] Glance timeout error

varun bhatnagar varun292006 at gmail.com
Fri Nov 7 13:41:58 UTC 2014


Hi Brad/Erik,

Thanks for replying.

I am installing glance service on Ops-Controller & it is able to ping
itself.
Firewall is turned off.

I have executed netstat command and this is what it prints:



*Ops-Controller:~ # netstat -tunelp|grep 9292tcp        0      0
0.0.0.0:9292 <http://0.0.0.0:9292>            0.0.0.0:*
LISTEN      115        65443      29864/python        Ops-Controller:~ # *

I also checked the glance-api.log file and this is what it says:

2014-11-04 16:24:45.986 29872 ERROR oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on localhost:5672 is
unreachable: Socket closed. Trying again in 1 seconds.
2014-11-04 16:24:47.012 29872 INFO oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] Reconnecting to AMQP server on
localhost:5672
2014-11-04 16:24:47.014 29872 INFO oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] Delaying reconnect for 1.0
seconds...
2014-11-04 16:24:51.056 29872 ERROR oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on localhost:5672 is
unreachable: Socket closed. Trying again in 3 seconds.
2014-11-04 16:24:54.060 29872 INFO oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] Reconnecting to AMQP server on
localhost:5672
2014-11-04 16:24:54.061 29872 INFO oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] Delaying reconnect for 1.0
seconds...
2014-11-04 16:24:58.106 29872 ERROR oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on localhost:5672 is
unreachable: Socket closed. Trying again in 5 seconds.
2014-11-04 16:25:03.114 29872 INFO oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] Reconnecting to AMQP server on
localhost:5672
2014-11-04 16:25:03.118 29872 INFO oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] Delaying reconnect for 1.0
seconds...
2014-11-04 16:25:07.163 29872 ERROR oslo.messaging._drivers.impl_rabbit
[b98ec839-53c8-4ef7-9e52-0426362c76e6 f9b4e4d416cb434b943b0c09e2d97845
be16af7ce8864ed7abfac64d64175fc7 - - -] AMQP server on localhost:5672 is
unreachable: Socket closed. Trying again in 7 seconds.

The problem still exists. Can you please suggest something.

BR,
Varun

On Thu, Nov 6, 2014 at 9:47 PM, Erik McCormick <emccormick at cirrusseven.com>
wrote:

> I would suggest turning on verbose=true and debug=true in the
> glance-api.conf and seeing where it's trying to connect to and what exactly
> is happening.
>
> For a wild guess, any chance you've got a firewall enabled and not opened
> the port to your public endpoint interface?
>
> -Erik
> On Nov 6, 2014 6:23 PM, "varun bhatnagar" <varun292006 at gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to install glance service on controller and I am following
>> instructions given in the installation guide (
>> http://docs.openstack.org/icehouse/install-guide/install/zypper/content/glance-verify.html
>> )
>>
>> The OS is SLES 11, hostname is Ops-Controller & openstack version is
>> Icehouse.
>>
>> When I was done with the installation I tried doing post installation
>> steps & when I tried uploading the image in glance using following command:
>>
>> *glance image-create --name "myImage" --disk-format qcow2 \*
>> *--container-format bare --is-public True --progress <
>> cirros-0.3.2-x86_64-disk.img*
>>
>>
>> I got the following error message:
>>
>> *Error communicating with http://Ops-Controller:9292
>> <http://Ops-Controller:9292> timed out*
>>
>> Can anyone tell me what went wrong here.
>>
>> BR,
>> Varun
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141107/71702cdb/attachment.html>


More information about the Openstack mailing list