Instance has error state. NovaException: Unexpected vif_type=binding_failed

Bug #1374486 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Sergey Vasilenko

Bug Description

"build_id": "2014-09-26_12-14-34",
"ostf_sha": "32cf2541ab8c8aa82f1e7b1d83a74e570ca2b7c9",
"build_number": "530",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "9c10fc7ffd4c59d940812c580e32f4304d6ae267",
"production": "docker",
"fuelmain_sha": "5579585121f8445e061bde9a8bd48fb7e53714cd",
"astute_sha": "a3e5da62af91b99f958ab958161d3dcec09c657b",
"feature_groups": ["mirantis"],
"release": "6.0",
"release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-09-26_12-14-34", "ostf_sha": "32cf2541ab8c8aa82f1e7b1d83a74e570ca2b7c9", "build_number": "530", "api": "1.0", "nailgun_sha": "9c10fc7ffd4c59d940812c580e32f4304d6ae267", "production": "docker", "fuelmain_sha": "5579585121f8445e061bde9a8bd48fb7e53714cd", "astute_sha": "a3e5da62af91b99f958ab958161d3dcec09c657b", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "beaae0a75d7bcf2d7a51c3e94988edd60b5dde13"}}},
"fuellib_sha": "beaae0a75d7bcf2d7a51c3e94988edd60b5dde13"

1. Create new environment (CentOS, HA mode)
2. Choose VLAN segmentation
3. Add 3 controllers, 1 compute
4. Start deployment. It was successful
5. Start OSTF tests. Tests with launching instance have failed. Instance has error state. No valid to host

There is error in nova-scheduler.log on first controller (node-5):

2014-09-26 14:20:46.953 11700 ERROR nova.scheduler.filter_scheduler [req-0e056d7e-d804-493c-82ce-0e07b024bdf1 None] [instance: 9aeee5fc-57d3-43ce-b04d-6e7992be0e4a] Error from last host: node-8.domain.tld (node node-8.domain.tld): [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 2263, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3452, 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 3268, 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']

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

From logs:
2014-09-26T15:11:17.465011 node-8 ./node-8.domain.tld/neutron-openvswitch-agent.log:2014-09-26T15:11:17.465011+01:00 err: 2014-09-26 14:11:17.460 3550 ERROR neutron.pl
ugins.openvswitch.agent.ovs_neutron_agent [req-041b36d7-980a-4beb-85eb-78812ae5b403 None] Bridge br-ex for physical network physnet1 does not exist. Agent terminated!

Changed in fuel:
status: New → Confirmed
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Sergey Vasilenko (xenolog)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

node-5.domain.tld/etc/neutron/plugin.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-5.domain.tld/etc/neutron/plugins/ml2/ml2_conf.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-6.domain.tld/etc/neutron/plugin.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-6.domain.tld/etc/neutron/plugins/ml2/ml2_conf.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-7.domain.tld/etc/neutron/plugin.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-7.domain.tld/etc/neutron/plugins/ml2/ml2_conf.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-8.domain.tld/etc/neutron/plugin.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv
node-8.domain.tld/etc/neutron/plugins/ml2/ml2_conf.ini:bridge_mappings=physnet1:br-ex,physnet2:br-prv

looks like a dup of 1357298 which was not fixed completely

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.