Ask Your Question
1

Problem launching VM on compute nodes

asked 2014-09-01 17:35:10 -0500

kildarejoe gravatar image

updated 2014-09-02 14:27:31 -0500

mpetason gravatar image

Hi, I have 2 compute nodes - Icehouse install and use neutron networking . I can not lauch an vm from the dashboard - I can see one - compute1 on the dashboard and the openstack-nova-compute is dead on the second - compute2.

I would like to deal with getting the vm deployed on compute1 if people can help me - then we could move on to getting the process working on compute 2 - thanks

Here are the nova.conf - compute1:

[DEFAULT]
auth_strategy = keystone
rpc_backend = qpid
qpid_hostname = controller
my_ip = *******
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = ******
novncproxy_base_url = http://controller:6080/vnc_auto.html
glance_host = controller
network_api_class = nova.network.neutronv2.api.API
neutron_url = http://controller:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = neutron
neutron_admin_auth_url = http://controller:35357/v2.0
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api = neutron

[database]
connection = mysql://nova:nova@controller/nova


[keystone_authtoken]
auth_uri = http://controller:5000
auth_host = controller
auth_protocol = http
auth_port = 35357
admin_user = nova
admin_tenant_name = service
admin_password = nova

WHen I try to launch the VM get the following messages in scheduler log:

2014-09-01 22:59:42.999 5547 ERROR nova.scheduler.filter_scheduler [req-e8265a50-e3cd-43a3-b8d7-7c2a083ea6a9 b684f4ee84ec4a929e43451eff2213a3 1e8bb30522b84783a2b321db35d31489] [instance: a44b06ae-bf26-485f-8e13-840029002f11] Error from last host: compute1 (node compute1): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1305, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1717, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1714, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2262, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3443, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3259, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']
2014-09-01 22:59:43.008 5547 WARNING nova.scheduler.driver [req-e8265a50-e3cd-43a3-b8d7-7c2a083ea6a9 b684f4ee84ec4a929e43451eff2213a3 1e8bb30522b84783a2b321db35d31489] [instance: a44b06ae-bf26-485f-8e13-840029002f11] Setting instance to ERROR state.

the compute log on compute1:

2014-09-01 22:59:42.952 29747 TRACE nova.compute.manager [instance: a44b06ae-bf26-485f-8e13-840029002f11]     disk_info, rescue, block_device_info)
2014-09-01 22:59:42.952 29747 TRACE nova.compute.manager [instance: a44b06ae-bf26-485f-8e13-840029002f11]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3259, in get_guest_config
2014-09-01 22:59:42.952 29747 TRACE nova.compute.manager [instance: a44b06ae-bf26-485f-8e13-840029002f11]     flavor)
2014-09-01 22:59:42.952 29747 TRACE nova.compute.manager [instance: a44b06ae-bf26-485f-8e13-840029002f11]   File "/usr/lib/python2.6 ...
(more)
edit retag flag offensive close merge delete

Comments

Please re-post your neutron information in the question. It does not belong in the answers section. Also if you have any comments based on the current answer, please post responses as a comment. There is a character limit that restricts questions to help with readability.

mpetason gravatar imagempetason ( 2014-09-02 14:30:13 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-01 17:48:20 -0500

Remko Duppen gravatar image

I'd say you might have a neutron misconfiguration

please check comment #3 at https://bugs.launchpad.net/neutron/+bug/1303998 (https://bugs.launchpad.net/neutron/+b...)

edit flag offensive delete link more

Comments

Need to be careful with making this change as both config options are valid dependent on the section see: http://docs.openstack.org/trunk/confi...

TVA gravatar imageTVA ( 2014-09-18 19:56:11 -0500 )edit

I am facing this problem although I am not using neutron!

Moe gravatar imageMoe ( 2014-10-04 00:57:51 -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

2 followers

Stats

Asked: 2014-09-01 17:35:10 -0500

Seen: 576 times

Last updated: Sep 02 '14