Glance shouldn't use the message queue unless you're using ceilometer. The default configuration file might enable it, but it won't work without configuring additional options. In glance-api.conf, configure 'notification_driver = noop' to disable it.
On Fri, Nov 7, 2014 at 9:16 AM, varun bhatnagar <[email protected]> wrote: > Hi Adrián, > > I don't think it is listening on 0.0.0.0:5672 > > This is the output which I am getting: > > > *Ops-Controller:~ # netstat -tunelp|grep 5672tcp 0 0 > :::5672 :::* LISTEN 113 > 69412 30402/beam Ops-Controller:~ #* > > Do I need to configure anything? > I have already done the steps mentioned in the guide to make rabbitmq > server up and running. > > BR, > Varun > > On Fri, Nov 7, 2014 at 2:58 PM, Adrián Norte <[email protected]> wrote: > >> check if amqp is listening on 0.0.0.0:5672 or somewhere else. if it is >> listening correctly try restarting amqp and then telnet to it. >> El 07/11/14 a las 14:41, varun bhatnagar escribió: >> >> 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 9292 tcp 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 < >> [email protected]> 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" <[email protected]> >>> 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 : [email protected] >>>> Unsubscribe : >>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>>> >>>> >> >> >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected] >> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected] >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : [email protected] > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
