openvswitch mech. driver does not report error in check_segment_for_agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
yalei wang |
Bug Description
When administrator misspells mappings for external flat networks, nova fails with obscure trace during instance creation:
Traceback (most recent call last):
File "/usr/lib/
yield resources
File "/usr/lib/
block_
File "/usr/lib/
write_
File "/usr/lib/
context)
File "/usr/lib/
flavor, CONF.libvirt.
File "/usr/lib/
_("Unexpected vif_type=%s") % vif_type)
NovaException: Unexpected vif_type=
The real problem lies in neutron/
if network_type == 'local':
return True
elif network_type in tunnel_types:
return True
elif network_type in ['flat', 'vlan']:
return segment[
else:
return False
If network_type is 'flat' and segment[
Proposal: add some kind of WARNING in this place to let the administrator know that no matching mappings found.
Changed in neutron: | |
assignee: | nobody → yalei wang (yalei-wang) |
tags: | added: ovs |
Changed in neutron: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in neutron: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/144257
Review: https:/