Neutron Hyper-V agent Exception: too many values to unpack (expected 2)
Hi, I'm using Victoria to configure OpenStack.
The KVM node is working fine, but the Hyper-V node has an error and is stuck.
OpenStack Version: Victoria
Compute Node OS Version : Windows Server 2019 Datacenter Edition
Neutron Hyper-V agent configuration
The following error message log will be output and the Neutron Port will be in the Building state.
2021-06-14 07:57:19.402 6652 DEBUG neutron.agent.securitygroups_rpc [-] Update port filter for 7ae8fafd-1372-40f7-a4a0-a1f03da8cbac _apply_port_filter C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\neutron\agent\securitygroups_rpc.py:166
2021-06-14 07:57:19.402 6652 INFO networking_hyperv.neutron.security_groups_driver [-] Updating port rules.
2021-06-14 07:57:19.402 6652 INFO networking_hyperv.neutron.security_groups_driver [-] Device 7ae8fafd-1372-40f7-a4a0-a1f03da8cbac not yet added. Adding.
2021-06-14 07:57:19.402 6652 DEBUG networking_hyperv.neutron.security_groups_driver [-] Creating port 3 rules prepare_port_filter C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\security_groups_driver.py:141
2021-06-14 07:57:19.402 6652 DEBUG networking_hyperv.neutron.security_groups_driver [-] Creating default reject rules. prepare_port_filter C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\security_groups_driver.py:145
2021-06-14 07:57:19.449 6652 DEBUG oslo_concurrency.lockutils [-] Lock "n-hv-driver-port-lock-7ae8fafd-1372-40f7-a4a0-a1f03da8cbac" acquired by "networking_hyperv.neutron._common_utils.get_port_synchronized_decorator.<locals>._port_synchronized.<locals>.wrapper.<locals>.inner" :: waited 0.000s inner C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\oslo_concurrency\lockutils.py:359
2021-06-14 07:57:19.481 6652 DEBUG oslo_concurrency.lockutils [-] Lock "n-hv-driver-port-lock-7ae8fafd-1372-40f7-a4a0-a1f03da8cbac" released by "networking_hyperv.neutron._common_utils.get_port_synchronized_decorator.<locals>._port_synchronized.<locals>.wrapper.<locals>.inner" :: held 0.032s inner C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\oslo_concurrency\lockutils.py:371
2021-06-14 07:57:19.481 6652 DEBUG oslo_concurrency.lockutils [-] Lock "n-hv-agent-port-lock-7ae8fafd-1372-40f7-a4a0-a1f03da8cbac" released by "networking_hyperv.neutron._common_utils.get_port_synchronized_decorator.<locals>._port_synchronized.<locals>.wrapper.<locals>.inner" :: held 0.344s inner C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\oslo_concurrency\lockutils.py:371
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 [-] Exception encountered while processing port 7ae8fafd-1372-40f7-a4a0-a1f03da8cbac. Exception: too many values to unpack (expected 2): ValueError: too many values to unpack (expected 2)
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 Traceback (most recent call last):
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 314, in process_added_port
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 self._process_added_port(device_details)
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\hyperv_neutron_agent.py", line 253, in _process_added_port
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 device_details)
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 302, in _process_added_port
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 set_port_sriov=set_port_sriov)
2021-06-14 07:57:19.481 6652 ERROR networking_hyperv.neutron.agent.layer2 File "C:\Program Files\Cloudbase Solutions\OpenStack ...