Ask Your Question
1

VM stuck at spawning

asked 2014-06-13 04:41:31 -0500

anonymous user

Anonymous

updated 2016-06-07 03:46:05 -0500

Can you help me regarding the possible cause for VM stucking at spawning state on compute node in openstack using devstack. I'm able to boot VM on my controller node .

Here are the compute logs....

2014-06-13 09:44:25.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is 2aea1ffab57940f596ba4883592ab228. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:25.015 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:25.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:25.018 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:35.011 9461 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:553
2014-06-13 09:44:35.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 72b70e9b0d80476184a35cdb96873b09 multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:556
2014-06-13 09:44:35.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is ed7e5d1dbf224bcb90c4fcd2ece88646. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:35.016 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:35.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:35.019 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:45.011 9461 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:553
2014-06-13 09:44:45.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 5fa13a4b4c5c49fbb60dc69483871259 multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:556
2014-06-13 09:44:45.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is dda3df2873494b6a9c3f5adb1bcf16e1. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:45.016 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:45.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:45.017 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:49.370 9461 DEBUG nova.openstack.common.periodic_task [-] Running periodic task ComputeManager._poll_volume_usage run_periodic_tasks /opt/stack/nova/nova/openstack/common/periodic_task.py:176
2014-06-13 09:44:49.371 9461 DEBUG nova.openstack.common.periodic_task [-] Running periodic task ComputeManager._instance_usage_audit run_periodic_tasks /opt/stack/nova/nova/openstack/common/periodic_task.py:176
2014-06-13 09:44:49.371 9461 DEBUG nova.openstack.common.periodic_task [-] Running periodic task ComputeManager.update_available_resource run_periodic_tasks /opt/stack/nova/nova/openstack/common/periodic_task.py:176
2014-06-13 09:44:49.372 ...
(more)
edit retag flag offensive close merge delete

Comments

See /var/log/nova/compute.log on particular node or better post it.

samfrid gravatar imagesamfrid ( 2014-06-13 04:46:32 -0500 )edit

Here are the compute logs....

2014-06-13 09:44:25.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is 2aea1ffab57940f596ba4883592ab228. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:25.015 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:25.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:25.018 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:35.011 9461 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:553
2014-06-13 09:44:35.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 72b70e9b0d80476184a35cdb96873b09 multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:556 ...
(more)
Sonia gravatar imageSonia ( 2014-06-13 09:48:41 -0500 )edit

can you get o/p of nova list

SGPJ gravatar imageSGPJ ( 2014-06-13 15:53:24 -0500 )edit

Yes Shanker,I'm able to get output of nova list on the compute node.The status of VM does not changes from spawning to active when I boot the VM from controller node onto compute node.

Sonia gravatar imageSonia ( 2014-06-15 12:21:38 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-10-03 12:21:05 -0500

RingWraiths gravatar image

You should run these commands in order to create a VM on an Openstack server

nova image-list

nova flavor-list

neutron net-list

nova --debug boot --image cirros --flavor m1.small --nic net-id=30fb357d-a275-4096-beb6-7628d1b16d79 Instance10_3_4

Note : net-id should be private net id

edit flag offensive delete link more
0

answered 2015-02-20 04:52:54 -0500

check the command #kvm-ok it will show your base machine have the capable to run the VM

if not your base machine not capable to run VM

so you cant get you VM with the incapable base machine

edit flag offensive delete link more
0

answered 2015-02-19 23:29:19 -0500

madhank gravatar image

updated 2015-02-19 23:29:48 -0500

Hi ,check your nova service-list on both nodes, were all the service contains smiley , If all nova service fine, check your nova-compute.conf were it contain qemu or kvm

if your installing in a physical machine you need to use kvm if your installing in a vm you need to use qemu

before using qemu check pack is installed or not

If everything is fine still you get the same output means you need to check your rabbitMq details in nova.conf file

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: 2014-06-13 04:41:31 -0500

Seen: 549 times

Last updated: Jun 07 '16