Windows server 2019 with OVS and nova compute

asked 2020-07-13 09:57:45 -0500

ahabib gravatar image

Hello All,

My goal is to run hyper-v with OVS as a compute node the installers provided by Cloudbase helped a lot, but i faced a few problems as follows:

Setup:

  • Windows server 2019 standard

  • OVS 2.7 certified worked only: other builds had an issue with pnputil.exe -e the version of the driver version be old and and say 1.0 and OVS wouldn’t run yielding unable to load kernel module error

    I had another problem with continues disconnection to the OVS DB moving to windows server 2019 from 2016 kinda solved the issue

  • Openstack Train

My current problem is that Nova runs fine i can create an instance and would move to Running but the vif creation would fail and no network on the instance.

Any help is very much appreciated.

nova.log

2020-07-13 12:23:27.339 4044 INFO os_vif [-] Loaded VIF plugins: linux_bridge, noop, ovs 2020-07-13 12:23:29.183 4044 INFO nova.virt.driver [req-d28b727c-9bec-4789-b56e-c67a6ac1071c - - - - -] Loading compute driver 'compute_hyperv.driver.HyperVDriver' 2020-07-13 12:23:30.354 4044 INFO nova.service [req-d28b727c-9bec-4789-b56e-c67a6ac1071c - - - - -] Starting compute node (version 20.0.1) 2020-07-13 12:23:30.573 4044 WARNING os_vif.internal.ip.windows.impl_netifaces [req-d28b727c-9bec-4789-b56e-c67a6ac1071c - - - - -] The device does not exist on the system: 902c9f69-0ab4-4eb6-a46c-07032e452525 2020-07-13 12:23:31.714 4044 ERROR vif_plug_ovs.ovsdb.impl_vsctl [req-d28b727c-9bec-4789-b56e-c67a6ac1071c - - - - -] Unable to execute ['ovs-vsctl', '--timeout=120', '--oneline', '--format=json', '--db=tcp:127.0.0.1:6640', '--', '--may-exist', 'add-br', 'br-int', '--', 'set', 'Bridge', 'br-int', 'datapath_type=system']. Exception: Unexpected error while running command. Command: ovs-vsctl --timeout=120 --oneline --format=json --db=tcp:127.0.0.1:6640 -- --may-exist add-br br-int -- set Bridge br-int datapath_type=system Exit code: 1 Stdout: '' Stderr: 'ovs-vsctl: tcp:127.0.0.1:6640: database connection failed ()\r\n': oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.

neutron_ovs_agent.log

2020-07-13 11:41:17.099 5064 ERROR neutron.agent.common.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Interface name,ofport,external_ids --format=json]: 2020-07-13T15:41:17Z|00001|fatal_signal|WARN|terminating with signal 2 2020-07-13 11:41:17.115 5064 ERROR neutron.agent.common.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Interface name,ofport,external_ids --format=json]: None

ovs-vswitchd.log

2020-07-13T17:25:13.932Z|00180|rconn|INFO|br-int<->tcp:127.0.0.1:6633: connected 2020-07-13T17:25:14.674Z|00181|netdev_vport|WARN|vxlan-0a41041d: unknown vxlan argument 'egress_pkt_mark' 2020-07-13T17:25:14.674Z|00182|netdev_vport|WARN|vxlan-0a41041a: unknown vxlan argument 'egress_pkt_mark' 2020-07-13T17:25:15.400Z|00205|connmgr|INFO|br-int<->unix: 1 flow_mods in the last 0 s (1 adds) 2020-07-13T17:25:15.696Z|00214|connmgr|INFO|br-int<->unix: 1 flow_mods in the last 0 s (1 adds) 2020-07-13T17:25:24.680Z|00215|connmgr|INFO|br-int<->tcp:127.0.0.1:6633: 5 flow_mods 10 s ago (5 adds) 2020-07-13T17:25:25.117Z|00216|connmgr|INFO|br-tun<->tcp:127.0.0.1:6633: 14 flow_mods 10 s ago (14 adds) 2020-07-13T18:27:36.106Z|00217|dpif|WARN|system@ovs-system: failed to query port : Invalid argument

edit retag flag offensive close merge delete