Ask Your Question
1

Glance: Successfully created image None

asked 2014-01-15 03:22:29 -0500

kemra102 gravatar image

updated 2014-01-21 10:05:16 -0500

I have just rebuilt one of our OpenStack environments (CentOS 6.5 Havana) and I am having adding images to glance. I am running this command:

glance image-create --name RackerJoe --disk-format=qcow2 --container-format=bare --file centos60_x86_64.qcow2

However so far the command has not returned. The /var/log/glance/registry.log log shows the following snippet as soon as the command is entered:

2014-01-15 09:05:38.348 2097 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.3.16
2014-01-15 09:05:38.441 2097 INFO glance.registry.api.v1.images [d47b177f-813a-4ea2-8b29-96b91aaf43e6 964dd498645941859f2fa4cb993f3dbf 20d27b1173c34af68cec5fb564370700] Successfully created image None

Eventually the command does time out with this error:

Error communicating with  <a href="http://192.168.3.16:9292">http://192.168.3.16:9292</a>  timed out

IP address is available, IPtables allows the connection on that port number, both glance-api & glance-registry are running. Telnet connects to that IP/Port without issue.

I grabbed another image and tried to import that and I get the same issue.

I also rebuilt the entire environment as Grizzly and the same issue is present.

edit retag flag offensive close merge delete

Comments

can you try running the command with --debug option and give me the output ? Also debug logs in glance-api should also help here. Can you run the command lsof -i:9292 ? what does it return ?

dheeru gravatar imagedheeru ( 2014-01-15 07:45:17 -0500 )edit

The only thing (apart from qpid errors which we are not suing (we are using RabbitMQ)) in the Glance api.log is '2014-01-15 14:12:12.871 2108 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.3.16' Output of the command with -d option is: http://paste.openstack.org/show/61264/ Output of lsof is: http://paste.openstack.org/show/61261/

kemra102 gravatar imagekemra102 ( 2014-01-15 08:24:25 -0500 )edit

is keystone stone running ? I'm not able to see the lsof -i:9292

dheeru gravatar imagedheeru ( 2014-01-15 12:13:43 -0500 )edit

Yes keystone is running, here's the lsof output again: http://paste.openstack.org/show/61334/

kemra102 gravatar imagekemra102 ( 2014-01-16 02:17:32 -0500 )edit

http://paste.openstack.org/show/61334/ says page not found. Can you try pasting in http://paste.openstack.org/show/61264/ only ? I strongly suspect some configuration issue here. Can you also paste glance configurations ?

dheeru gravatar imagedheeru ( 2014-01-16 04:02:57 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-15 22:15:15 -0500

huwei-xtu gravatar image

From I have known, 9292 is for glance, and 5000 is for keystone. I stop my glance registry service, and got your same error msg.

Please make sure your glance service has already started by using "service openstack-glance-registry status" or "service glance-registry status".

edit flag offensive delete link more

Comments

openstack-glance-registry confirms as running

kemra102 gravatar imagekemra102 ( 2014-01-16 02:18:27 -0500 )edit

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: 2014-01-15 03:22:29 -0500

Seen: 463 times

Last updated: Jan 21 '14