[root@ip9-114-248-165 ibm]# virsh list --all
Id Name State
----------------------------------------------------
5 RHEL73-Jag-1a1cb620-0000000a running
8 rhel_jag1-0f67d94d-00000002 running
[root@ip9-114-248-165 ~]# ovs-vsctl show
6fd4b576-698d-41bc-b226-241145207524
Bridge br-int
fail_mode: secure
Port "tap85564a42-ae"
tag: 3999 Interface "tap85564a42-ae"
Port "tap562a7922-11"
tag: 3999 Interface "tap562a7922-11"
Port br-int Interface br-int type: internal
Port "int-default0" Interface "int-default0" type: patch options: {peer="phy-default0"}
Bridge "default0"
fail_mode: secure
Port "phy-default0" Interface "phy-default0" type: patch options: {peer="int-default0"}
Port "enP3p9s0f0" Interface "enP3p9s0f0"
Port "default0" Interface "default0" type: internal
ovs_version: "2.3.1-git3282e51"
These 2 were based on a flat network.
Then the KVM host was to be used again to add more networks.
Neutron openvswitch agent is unable to restart because vms with untagged/flat networks (tagged 3999) cause issue with _restore_local_vlan_map
These were the 2 vms I had running on the host.
[root@ip9- 114-248- 165 ibm]# virsh list --all ------- ------- ------- ------- ------- ------- --- Jag-1a1cb620- 0000000a running 0f67d94d- 00000002 running
Id Name State
-------
5 RHEL73-
8 rhel_jag1-
[root@ ip9-114- 248-165 ~]# ovs-vsctl show 698d-41bc- b226-2411452075 24
Interface "tap85564a42-ae"
Interface "tap562a7922-11"
Interface br-int
type: internal
Interface "int-default0"
type: patch
options: {peer=" phy-default0" }
Interface "phy-default0"
type: patch
options: {peer=" int-default0" }
Interface "enP3p9s0f0"
Interface "default0"
type: internal
6fd4b576-
Bridge br-int
fail_mode: secure
Port "tap85564a42-ae"
tag: 3999
Port "tap562a7922-11"
tag: 3999
Port br-int
Port "int-default0"
Bridge "default0"
fail_mode: secure
Port "phy-default0"
Port "enP3p9s0f0"
Port "default0"
ovs_version: "2.3.1-git3282e51"
These 2 were based on a flat network.
Then the KVM host was to be used again to add more networks.
Neutron openvswitch agent is unable to restart because vms with untagged/flat networks (tagged 3999) cause issue with _restore_ local_vlan_ map
Loaded agent extensions: [] c1ed-47a0- 8318-eb5473b7c6 67 - - - - -] KeyError: 3999 neutron- openvswitch- agent", line 28, in <module> python2. 7/site- packages/ neutron/ plugins/ ml2/drivers/ openvswitch/ agent/ovs_ neutron_ agent.py" , line 235, in __init__ local_vlan_ map() python2. 7/site- packages/ neutron/ plugins/ ml2/drivers/ openvswitch/ agent/ovs_ neutron_ agent.py" , line 356, in _restore_ local_vlan_ map local_vlans. remove( local_vlan) client [req-ef8eea4f- c1ed-47a0- 8318-eb5473b7c6 67 - - - - -] Stopping rootwrap daemon process with pid=70197
2016-09-06 07:57:39.682 70085 CRITICAL neutron [req-ef8eea4f-
2016-09-06 07:57:39.682 70085 ERROR neutron Traceback (most recent call last):
2016-09-06 07:57:39.682 70085 ERROR neutron File "/usr/bin/
2016-09-06 07:57:39.682 70085 ERROR neutron sys.exit(main())
2016-09-06 07:57:39.682 70085 ERROR neutron File "/usr/lib/
2016-09-06 07:57:39.682 70085 ERROR neutron self._restore_
2016-09-06 07:57:39.682 70085 ERROR neutron File "/usr/lib/
2016-09-06 07:57:39.682 70085 ERROR neutron self.available_
2016-09-06 07:57:39.682 70085 ERROR neutron KeyError: 3999
2016-09-06 07:57:39.682 70085 ERROR neutron
2016-09-06 07:57:39.684 70085 INFO oslo_rootwrap.
This is happening with stable mitaka and neutron