Description of problem: in short: glance doesn't work when located remotely sitting out-side the controller. trying to create an image leads to horizon get stuck and image goes in to queued for good. while trying to understand the problem, I tried to turn off iptables on all nodes but it doesn't seem to solve the problem. I keep getting this WARN on the glance API log: how reproducible: always on latest bits. repro steps: - deploy Openstack when glance is located on a remote virtual machine. Additional info:2013-11-09 18:41:58.033 12633 WARNING qpid.messaging [-] recoverable error[attempt 8]: [Errno 111] ECONNREFUSED 2013-11-09 18:41:58.033 12633 WARNING qpid.messaging [-] sleeping 120 seconds 2013-11-09 18:41:58.978 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:41:58.979 12633 WARNING qpid.messaging [-] recoverable error[attempt 5]: [Errno 111] ECONNREFUSED 2013-11-09 18:41:58.980 12633 WARNING qpid.messaging [-] sleeping 16 seconds 2013-11-09 18:42:14.980 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:42:14.982 12633 WARNING qpid.messaging [-] recoverable error[attempt 6]: [Errno 111] ECONNREFUSED 2013-11-09 18:42:14.982 12633 WARNING qpid.messaging [-] sleeping 32 seconds 2013-11-09 18:42:46.983 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:42:46.985 12633 WARNING qpid.messaging [-] recoverable error[attempt 7]: [Errno 111] ECONNREFUSED 2013-11-09 18:42:46.986 12633 WARNING qpid.messaging [-] sleeping 64 seconds 2013-11-09 18:43:50.986 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:43:50.988 12633 WARNING qpid.messaging [-] recoverable error[attempt 8]: [Errno 111] ECONNREFUSED 2013-11-09 18:43:50.988 12633 WARNING qpid.messaging [-] sleeping 120 seconds 2013-11-09 18:43:58.034 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:43:58.036 12633 WARNING qpid.messaging [-] recoverable error[attempt 9]: [Errno 111] ECONNREFUSED 2013-11-09 18:43:58.037 12633 WARNING qpid.messaging [-] sleeping 120 seconds 2013-11-09 18:45:50.989 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:45:50.991 12633 WARNING qpid.messaging [-] recoverable error[attempt 9]: [Errno 111] ECONNREFUSED 2013-11-09 18:45:50.991 12633 WARNING qpid.messaging [-] sleeping 120 seconds 2013-11-09 18:45:58.037 12633 WARNING qpid.messaging [-] trying: localhost:5672 2013-11-09 18:45:58.038 12633 WARNING qpid.messaging [-] recoverable error[attempt 10]: [Errno 111] ECONNREFUSED 2013-11-09 18:45:58.039 12633 WARNING qpid.messaging [-] sleeping 120 seconds
Created attachment 821931 [details] controller.log
Created attachment 821932 [details] glance logs.
Haim, I have a few questions for you: - How did you deploy OpenStack? Using packstack? Can you attach your answers file? - What is the value of "qpid_host" in /etc/glance/glance-api.conf? - Is it the same as the machine actually running qpid? - What is the output of "netstat -tlnp | grep 5672" on the host running qpid? - If you run "tcpdump -i <interface> port 5672" on the host running qpid, where <interface> is the interface on which qpid is listening, do you see the connection attempts from your glance host?
*** This bug has been marked as a duplicate of bug 1020025 ***