Ask Your Question
0

Mitaka Nova Create VM failed caused by get glance image failed

asked 2016-09-05 10:19:32 -0500

JackLin gravatar image

Hi, everyone. I have encountered a situation which is a little bit different from the questions on the board.

I installed Mitaka on three physical server

Controller Node 10.250.250.1 (internal network)

Network Node 10.250.250.2

Compute1 Node 10.250.250.3

I have already install keystone,glance,nova,network, and horizon. All the service are running well now. The image created and uploaded to glance well, sub-net create well. I can list my image by using nova or glance api well. But, I got error when I want to boot my VM by nova-client.

  • list the image using nova and glance api

View post on imgur.com
  • boot the VM by nova-client

View post on imgur.com
  • openstack server show test13

View post on imgur.com

Below is the log info

[Controller]

/var/log/glance/ registry.log

View post on imgur.com

api.log

View post on imgur.com

openstack endpoint

View post on imgur.com

[Compute1]

/var/log/nova/

nova-compute.log (I got lots of error here)

1.

View post on imgur.com

2.

View post on imgur.com

3.

View post on imgur.com

/etc/nova/nova.conf

nova.conf

[glance]

View post on imgur.com

/etc/hosts

View post on imgur.com

any idea? Thx very much! Sorry for the inconvenience of the present of the picture.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-09-06 22:34:32 -0500

I see you glance is looking for the hostname "controller"..... Check your /etc/hosts file to ensure this is setup and pingable on your nova host to your glance host.

ping controller.

should start working after this....

edit flag offensive delete link more
0

answered 2016-09-07 08:08:30 -0500

JackLin gravatar image

Thank you for your response! I have solved the problem today, It's not a conspicuous error.

First of all, I can ping my controller from compute node successfully, and all the settings are right. After reading the nova-compute.log again and again, I found that neutron service get the similar error as glance. I started to think that the error was not in the glance but in basic settings. Finally, the error was in rabbitmq.service and firewall. It seems that firewall will make rabbitmq.service failed. It's interesting that though I closed the firewall, started the rabbitmq.service successfully in the beginning, restart the firewall, and checked the rabbitmq.service working well again. As firewall keep working, the rabbitmq.service failed even if its status was running. So, I closed my firewall, restart the rabbitmq.service, and didn't restart the firewall. The result was great, I successfully create the VM!

edit flag offensive delete link more

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: 2016-09-05 10:18:12 -0500

Seen: 137 times

Last updated: Sep 06 '16