[Openstack] Unable to boot VM
jongwoohan at naver.com
jongwoohan at naver.com
Tue Nov 4 15:01:54 UTC 2014
It seems like neutron agent on compute node failed to bind virtual port.
Neutron is the most difficult part in whole openstack.
Try to check neutron configuration.
-----Original Message-----
From: "Stinner, Thomas"<Thomas.Stinner at schweickertgruppe.de>
To: "openstack at lists.openstack.org"<openstack at lists.openstack.org>;
Cc:
Sent: 2014-11-04 (화) 23:23:07
Subject: [Openstack] Unable to boot VM
<!--[if gte mso 9]><![endif]--><!--[if gte mso 9]><![endif]-->
I am trying to do some lab installation of the juno release using the documentation available at http://docs.openstack.org/juno/install-guide/install/zypper/content/index.html.
I am using SLES11SP3 and currently have 3 nodes (controller0, network0, compute0).
When I try to boot a vm I get the following error in /var/log/nova/nova-compute.log on compute0:
2014-11-04 15:14:41.167 4235 DEBUG nova.virt.libvirt.vif [req-964ecc6d-88a4-491f-882f-190496448120 None] vif_type=binding_failed instance=Instance(access_ip_v4=None,access_ip_v6=None,architecture=None,auto_disk_config=False,availability_zone=None,cell_name=None,cleaned=False,config_drive='',created_at=2014-11-04T14:14:39Z,default_ephemeral_device=None,default_swap_device=None,deleted=False,deleted_at=None,disable_terminate=False,display_description='demo-instance0',display_name='demo-instance0',ephemeral_gb=0,ephemeral_key_uuid=None,fault=<?>,host='compute0',hostname='demo-instance0',id=16,image_ref='229846fe-67fa-4849-9854-c801bdf92e69',info_cache=InstanceInfoCache,instance_type_id=2,kernel_id='',key_data='ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+lk68GFlDHjpcXcLANkFK3CPDYUgsyOfN9NggmRjPPkyqpJ6RAdLVFaYfu+IxNzsbiUPauf3mq6BGqQ4Wdnx5jtrX+Yjql5v0Qf/nzH79t8wjWsz1qGKzvTkwMpT4jupxUpTJsTIfIoIW9MxNd/Vc/bKW/WcB0kwKAWORJcxSbgFEJ5MDJZtOZxH8fEmEc9i/amXueQ280wOolOViaXI9NALifX41nco2wAip6+xxd1lEvsi/gCyUeB48a8THkiQICsNpPntJGhXmgE2x2Bkh3ePs3v1V0aRoaXqDcyDHukVibuxy+rCO79F0AMH5a7zNhM6jzueXbayqGHZx84az root at controller0
',key_name='demo-key',launch_index=0,launched_at=None,launched_on='compute0',locked=False,locked_by=None,memory_mb=512,metadata={},node='compute0.site',numa_topology=None,os_type=None,pci_devices=<?>,power_state=0,progress=0,project_id='8e29810fccce4898b5b2906572c5e3b9',ramdisk_id='',reservation_id='r-kgh3ej99',root_device_name='/dev/vda',root_gb=1,scheduled_at=None,security_groups=SecurityGroupList,shutdown_terminate=False,system_metadata={image_base_image_ref='229846fe-67fa-4849-9854-c801bdf92e69',image_container_format='bare',image_disk_format='qcow2',image_min_disk='1',image_min_ram='0',instance_type_ephemeral_gb='0',instance_type_flavorid='1',instance_type_id='2',instance_type_memory_mb='512',instance_type_name='m1.tiny',instance_type_root_gb='1',instance_type_rxtx_factor='1.0',instance_type_swap='0',instance_type_vcpu_weight=None,instance_type_vcpus='1',network_allocated='True'},task_state='spawning',terminated_at=None,updated_at=2014-11-04T14:14:39Z,user_data=None,user_id='b0e4c1bd5c2f4ee09125441900513017',uuid=e66f80b2-0645-4c65-a3a8-1a8d695b686a,vcpus=1,vm_mode=None,vm_state='building') vif=VIF({'profile': {}, 'ovs_interfaceid': None, 'network': Network({'bridge': None, 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'10.1.1.4'})], 'version': 4, 'meta': {'dhcp_server': u'10.1.1.3'}, 'dns': [], 'routes': [], 'cidr': u'10.1.1.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'10.1.1.1'})})], 'meta': {'injected': False, 'tenant_id': u'8e29810fccce4898b5b2906572c5e3b9'}, 'id': u'958a9425-475c-46b1-be0d-d676b56c4c48', 'label': u'demo-net'}), 'devname': u'tap66095fc3-77', 'vnic_type': u'normal', 'qbh_params': None, 'meta': {}, 'details': {}, 'address': u'fa:16:3e:bc:e4:cc', 'active': False, 'type': u'binding_failed', 'id': u'66095fc3-7731-42a2-99c3-1f88903ec2f0', 'qbg_params': None}) virt_typekvm get_config /usr/lib64/python2.6/site-packages/nova/virt/libvirt/vif.py:348
2014-11-04 15:14:41.168 4235 ERROR nova.compute.manager [req-964ecc6d-88a4-491f-882f-190496448120 None] [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] Instance failed to spawn
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] Traceback (most recent call last):
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] File "/usr/lib64/python2.6/site-packages/nova/compute/manager.py", line 2231, in _build_resources
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] yield resources
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] File "/usr/lib64/python2.6/site-packages/nova/compute/manager.py", line 2101, in _build_and_run_instance
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] block_device_info=block_device_info)
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2617, in spawn
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] write_to_disk=True)
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4148, in _get_guest_xml
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] context)
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3934, in _get_guest_config
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] flavor, CONF.libvirt.virt_type)
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt/vif.py", line 358, in get_config
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] _("Unexpected vif_type=%s") % vif_type)
2014-11-04 15:14:41.168 4235 TRACE nova.compute.manager [instance: e66f80b2-0645-4c65-a3a8-1a8d695b686a] NovaException: Unexpected vif_type=binding_failed
On the controller0 the neutron-server.log shows:
2014-11-04 15:14:39.766 4638 WARNING neutron.plugins.ml2.managers [req-70df813c-82ae-4448-ae84-77ab70f7ca57 None] Failed to bind port 66095fc3-7731-42a2-99c3-1f88903ec2f0 on host compute0
I’ve double-checked all configuration files, but cannot find an error. Any idea how to debug this?
Thanks
Thomas
More information about the Openstack
mailing list