libvirt error in icehouse: vif_type=binding_failed
Hello, I have configured a multi node and neutron single flat network in CentOS OpenStack IceHouse version
Have 3 nodes: one controller, one compute and one network node.
When I try launch a instance, I'm getting that error:
# nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=33ec7020-4826-4574-9a54-c35c76d7c1bb --security-group default --key-name demo-key test
# nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| ae00b1bb-dfb0-4271-be51-2bbf5e12e3d4 | test | ERROR | - | NOSTATE | |
# nova show ae00b1bb-dfb0-4271-be51-2bbf5e12e3d4
+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute1 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute1 |
| OS-EXT-SRV-ATTR:instance_name | instance-0000000e |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | error |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-06-18T17:45:09Z |
| fault | {"message": "Unexpected vif_type=binding_failed", "code": 500, "details": " File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 296, in decorated_function |
| | return function(self, context, *args, **kwargs) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 2075, in run_instance |
| | do_run_instance() |
| | File \"/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py\", line 249, in inner |
| | return f(*args, **kwargs) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 2074, in do_run_instance |
| | legacy_bdm_in_spec) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 1207, in _run_instance |
| | notify(\"error\", fault=e) # notify that build failed |
| | File \"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 1191, in _run_instance |
| | instance, image_meta, legacy_bdm_in_spec) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 1355, in _build_instance |
| | filter_properties, bdms, legacy_bdm_in_spec) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 1401, in _reschedule_or_error |
| | self._log_original_error(exc_info, instance_uuid) |
| | File \"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 1396, in _reschedule_or_error |
| | bdms, requested_networks) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 2125, in _shutdown_instance |
| | requested_networks) |
| | File \"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/usr/lib/python2.6/site-packages/nova/compute/manager.py\", line 2115, in _shutdown_instance |
| | block_device_info) |
| | File \"/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py\", line 953, in destroy |
| | destroy_disks) |
| | File \"/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py\", line 989, in cleanup |
| | self.unplug_vifs(instance, network_info) |
| | File \"/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py\", line 860, in unplug_vifs |
| | self.vif_driver.unplug(instance, vif) |
| | File \"/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py\", line 798, in unplug |
| | _(\"Unexpected vif_type=%s\") % vif_type) |
| | ", "created": "2014-06-18T17:45:14Z"} |
| flavor | m1.tiny (1) |
| hostId | 3f3042c8f9501d2504a393ae65afb58504c0d919a73bffd87a9e771b |
| id | ae00b1bb-dfb0-4271-be51-2bbf5e12e3d4 |
| image | cirros-0.3.2-x86_64 (2acf2ca6-a935-45b3-94f2-d428f34f710f) |
| key_name | demo-key |
| metadata | {} |
| name | test |
| os-extended-volumes:volumes_attached | [] |
| security_groups | default |
| status | ERROR |
| tenant_id | 30f220b0dca34241b9e4feb0bd117fe8 |
| updated | 2014-06-18T17:45:14Z |
| user_id | 8d8b6dbdacc6402b960b964b00bf8d14 |
+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
# tail /var/log/libvirt/libvirtd.log (compute node)
2014-06-18 17:03:46.731+0000 ...
What reports
neutron agent-list
on Neutron Server ?neutron agent-list
https://bugs.launchpad.net/neutron/+b...
Sounds like an l2 agent configuration issue.
Am hitting this bug too and I don't believe https://bugs.launchpad.net/neutron/+b... is the fix (have tried tuning down report_interval and agent_down_time, no change there).
Will open a new question with my logs.