I've finally managed to setup a Stein environment to test the isolate_vif option. I tried to set isolate_vif in nova.conf but instances than fails to spawn with the following in the nova-compute.log:
2019-12-18 13:32:07.180 30660 ERROR vif_plug_ovs.ovsdb.impl_vsctl [req-303dc31c-3c1e-446e-8f1e-83b604cee0c6 68910e67a8cb49e1af2d2bb3b4e3fa49 d5d22a5d7e194a0789a07a3c4d2affd6 - default default] Unable to e
xecute ['ovs-vsctl', '--timeout=120', '--oneline', '--format=json', '--db=tcp:127.0.0.1:6640', '--', '--may-exist', 'add-port', 'br-int', 'qvo5639e4bf-52', '--', 'set', 'Interface', 'qvo5639e4bf-52', 'ext
ernal_ids:iface-id=5639e4bf-52d7-4674-9084-e258acb47fae', 'external_ids:iface-status=active', 'external_ids:attached-mac=fa:16:3e:d8:ff:c8', 'external_ids:vm-uuid=1a6cfd1e-7414-4ac3-8c5d-81918a445ab5', 't
ag=4095']. Exception: Unexpected error while running command.
Command: ovs-vsctl --timeout=120 --oneline --format=json --db=tcp:127.0.0.1:6640 -- --may-exist add-port br-int qvo5639e4bf-52 -- set Interface qvo5639e4bf-52 external_ids:iface-id=5639e4bf-52d7-4674-9084
-e258acb47fae external_ids:iface-status=active external_ids:attached-mac=fa:16:3e:d8:ff:c8 external_ids:vm-uuid=1a6cfd1e-7414-4ac3-8c5d-81918a445ab5 tag=4095
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: Interface does not contain a column whose name matches "tag"\n': oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2019-12-18 13:32:07.254 30660 INFO os_vif [req-303dc31c-3c1e-446e-8f1e-83b604cee0c6 68910e67a8cb49e1af2d2bb3b4e3fa49 d5d22a5d7e194a0789a07a3c4d2affd6 - default default] Successfully plugged vif VIFBridge(
active=False,address=fa:16:3e:d8:ff:c8,bridge_name='qbr5639e4bf-52',has_traffic_filtering=True,id=5639e4bf-52d7-4674-9084-e258acb47fae,network=Network(c4197b2d-f568-4bd2-9b0a-eb0fa05e7428),plugin='ovs',po
rt_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap5639e4bf-52')
2019-12-18 13:32:07.275 30660 ERROR vif_plug_ovs.ovsdb.impl_vsctl [req-be4f125b-e4e5-427d-ba84-b0fb86478807 68910e67a8cb49e1af2d2bb3b4e3fa49 d5d22a5d7e194a0789a07a3c4d2affd6 - default default] Unable to e
xecute ['ovs-vsctl', '--timeout=120', '--oneline', '--format=json', '--db=tcp:127.0.0.1:6640', '--', '--may-exist', 'add-port', 'br-int', 'qvo8e2e0cb9-27', '--', 'set', 'Interface', 'qvo8e2e0cb9-27', 'ext
ernal_ids:iface-id=8e2e0cb9-2785-4d09-835d-f20897035cf2', 'external_ids:iface-status=active', 'external_ids:attached-mac=fa:16:3e:41:40:43', 'external_ids:vm-uuid=4773263b-d538-4e1b-b405-7c39c96eb7e2', 't
ag=4095']. Exception: Unexpected error while running command.
Command: ovs-vsctl --timeout=120 --oneline --format=json --db=tcp:127.0.0.1:6640 -- --may-exist add-port br-int qvo8e2e0cb9-27 -- set Interface qvo8e2e0cb9-27 external_ids:iface-id=8e2e0cb9-2785-4d09-835d
-f20897035cf2 external_ids:iface-status=active external_ids:attached-mac=fa:16:3e:41:40:43 external_ids:vm-uuid=4773263b-d538-4e1b-b405-7c39c96eb7e2 tag=4095
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: Interface does not contain a column whose name matches "tag"\n': oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
Hi Sean,
I've finally managed to setup a Stein environment to test the isolate_vif option. I tried to set isolate_vif in nova.conf but instances than fails to spawn with the following in the nova-compute.log:
2019-12-18 13:32:07.180 30660 ERROR vif_plug_ ovs.ovsdb. impl_vsctl [req-303dc31c- 3c1e-446e- 8f1e-83b604cee0 c6 68910e67a8cb49e 1af2d2bb3b4e3fa 49 d5d22a5d7e194a0 789a07a3c4d2aff d6 - default default] Unable to e 127.0.0. 1:6640' , '--', '--may-exist', 'add-port', 'br-int', 'qvo5639e4bf-52', '--', 'set', 'Interface', 'qvo5639e4bf-52', 'ext iface-id= 5639e4bf- 52d7-4674- 9084-e258acb47f ae', 'external_ ids:iface- status= active' , 'external_ ids:attached- mac=fa: 16:3e:d8: ff:c8', 'external_ ids:vm- uuid=1a6cfd1e- 7414-4ac3- 8c5d-81918a445a b5', 't 127.0.0. 1:6640 -- --may-exist add-port br-int qvo5639e4bf-52 -- set Interface qvo5639e4bf-52 external_ ids:iface- id=5639e4bf- 52d7-4674- 9084 ids:iface- status= active external_ ids:attached- mac=fa: 16:3e:d8: ff:c8 external_ ids:vm- uuid=1a6cfd1e- 7414-4ac3- 8c5d-81918a445a b5 tag=4095 y.processutils. ProcessExecutio nError: Unexpected error while running command. 3c1e-446e- 8f1e-83b604cee0 c6 68910e67a8cb49e 1af2d2bb3b4e3fa 49 d5d22a5d7e194a0 789a07a3c4d2aff d6 - default default] Successfully plugged vif VIFBridge( False,address= fa:16:3e: d8:ff:c8, bridge_ name='qbr5639e4 bf-52', has_traffic_ filtering= True,id= 5639e4bf- 52d7-4674- 9084-e258acb47f ae,network= Network( c4197b2d- f568-4bd2- 9b0a-eb0fa05e74 28),plugin= 'ovs',po VIFPortProfileO penVSwitch, preserve_ on_delete= False,vif_ name='tap5639e4 bf-52') ovs.ovsdb. impl_vsctl [req-be4f125b- e4e5-427d- ba84-b0fb864788 07 68910e67a8cb49e 1af2d2bb3b4e3fa 49 d5d22a5d7e194a0 789a07a3c4d2aff d6 - default default] Unable to e 127.0.0. 1:6640' , '--', '--may-exist', 'add-port', 'br-int', 'qvo8e2e0cb9-27', '--', 'set', 'Interface', 'qvo8e2e0cb9-27', 'ext iface-id= 8e2e0cb9- 2785-4d09- 835d-f20897035c f2', 'external_ ids:iface- status= active' , 'external_ ids:attached- mac=fa: 16:3e:41: 40:43', 'external_ ids:vm- uuid=4773263b- d538-4e1b- b405-7c39c96eb7 e2', 't 127.0.0. 1:6640 -- --may-exist add-port br-int qvo8e2e0cb9-27 -- set Interface qvo8e2e0cb9-27 external_ ids:iface- id=8e2e0cb9- 2785-4d09- 835d ids:iface- status= active external_ ids:attached- mac=fa: 16:3e:41: 40:43 external_ ids:vm- uuid=4773263b- d538-4e1b- b405-7c39c96eb7 e2 tag=4095 y.processutils. ProcessExecutio nError: Unexpected error while running command.
xecute ['ovs-vsctl', '--timeout=120', '--oneline', '--format=json', '--db=tcp:
ernal_ids:
ag=4095']. Exception: Unexpected error while running command.
Command: ovs-vsctl --timeout=120 --oneline --format=json --db=tcp:
-e258acb47fae external_
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: Interface does not contain a column whose name matches "tag"\n': oslo_concurrenc
2019-12-18 13:32:07.254 30660 INFO os_vif [req-303dc31c-
active=
rt_profile=
2019-12-18 13:32:07.275 30660 ERROR vif_plug_
xecute ['ovs-vsctl', '--timeout=120', '--oneline', '--format=json', '--db=tcp:
ernal_ids:
ag=4095']. Exception: Unexpected error while running command.
Command: ovs-vsctl --timeout=120 --oneline --format=json --db=tcp:
-f20897035cf2 external_
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: Interface does not contain a column whose name matches "tag"\n': oslo_concurrenc
Openstack version: Stein
[root@compute1 (GN0) ~]# ovs-vsctl -V
ovs-vsctl (Open vSwitch) 2.11.0
DB Schema 7.16.1
[root@compute1 (GN0) ~]# rpm -qa | grep neutron neutron- common- 14.0.3- 0.2019092320044 4.5eb234b. el8ost. noarch neutron- openvswitch- 14.0.3- 0.2019092320044 4.5eb234b. el8ost. noarch neutron- lib-1.25. 0-0.20190521130 309.fc2a810. el8ost. noarch neutronclient- 6.12.0- 0.2019031210001 2.680b417. el8ost. noarch neutron- 14.0.3- 0.2019092320044 4.5eb234b. el8ost. noarch neutron- 14.0.3- 0.2019092320044 4.5eb234b. el8ost. noarch neutron- ml2-14. 0.3-0.201909232 00444.5eb234b. el8ost. noarch
openstack-
openstack-
python3-
python3-
openstack-
python3-
openstack-
[root@compute1 (GN0) ~]# rpm -qa | grep nova novaclient- 13.0.1- 0.2019071017353 5.ef842ca. el8ost. noarch nova-19. 0.3-0.201908141 70534.a8e19af. el8ost. noarch nova-common- 19.0.3- 0.2019081417053 4.a8e19af. el8ost. noarch nova-compute- 19.0.3- 0.2019081417053 4.a8e19af. el8ost. noarch
python3-
python3-
openstack-
openstack-
Do I miss something?
Regards,
Paul