Failed to run instance in second nova-compute node
I'm trying to install Openstack with 2 nodes.
Each node has only one network interface eth0. I config nova-network by VlanManage mode.
Node 1 (a Physic machine with IP: 172.17.2.203) : installs all components keystone, glance, nova (also nova-compute) and horizon. I can run instance on this host, everything okay. Then I install another nova-compute on node 2.
Node 2 (a Virtual machine on ESX with IP: 172.17.2.202) : installs only nova-compute. When I check by # nova-manage service list -> it's return nova-compute service on node 2 works with :-)
But in dashboard, the services list don't have compute service from node 2 and when I try to run a new instance on node 2. It's return error when 'Spawning' instance.
For example when I run an instance with Ubuntu lucid UEC image, then I check the information of this instance by $ nova show lucid2. I got this error: (this instance was created on node 2)
{u'message': u'libvirtError', u'code': 500, u'created': u'2012-
So I check nova-compute.log on Node 2 and here is the error part:
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
2012-05-20 14:26:44 TRACE nova.compute.
So I think the problem comes from node 2 because libvirt can not create and run a new virtual machine on that (because node 2 is virtual machine on ESX too) but I config nova-compute to run: QEMU not KVM, and I think it must works.
Here is the /etc/nova/nova.conf
##### RabbitMQ #####
--rabbit_
##### MySQL #####
--sql_connectio
##### nova-api #####
--auth_
--cc_host=
##### nova-network #####
--network_
--public_
--vlan_
--network_
--fixed_
--network_size=1024
--dhcpbridge_
--dhcpbridge=
--force_
--fixed_
##### nova-compute #####
--connection_
--libvirt_type=kvm # if you demo on VirtualBox, use 'qemu'
--libvirt_
--use_cow_
--snapshot_
##### nova-volume #####
--iscsi_
--num_targets=100
--iscsi_
##### glance #####
--image_
--glance_
##### VNC #####
--novnc_
--novncproxy_
--vncserver_
--vncserver_
##### Misc #####
--logdir=
--state_
--lock_
--root_helper=sudo nova-rootwrap
--verbose
And here is all configuration when I install node 1, I write a note on my blog:
http://
Please give me some suggestions.
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- JuanFra Rodriguez Cardoso
- Solved:
- Last query:
- Last reply: