OpenV switch neutron error
Deployed open stack Rocky with hyper V. We are using OVS and flat network. Nova and neutron agents are up but Instance creation is failing with below error.
Error: Failed to perform requested operation on instance "win", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 8d262f0e-a851-4cd1-84c5-422e9d532fc2.].
neutron-dhcp-agent.log
2019-11-21 17:28:25.226 5959 INFO neutron.agent.dhcp.agent [-] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=COMPUTE, binding:profile=, binding:vif_details=, binding:vif_type=binding_failed, binding:vnic_type=normal, created_at=2019-11-21T11:58:19Z, description=, device_id=8d262f0e-a851-4cd1-84c5-422e9d532fc2, device_owner=compute:nova, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'0df91235-cf72-40ef-a083-b46c5e218b77', u'ip_address': u'IP'}], id=c61f7a4a-1bb2-42f4-935f-8c3ae3f41c4a, mac_address=fa:16:3e:0d:44:aa, name=, network_id=911f6654-82b9-4a9f-9b38-6eed9af05bb0, port_security_enabled=True, project_id=216c81f417014f44b38276cc2e5c1189, revision_number=3, security_groups=[u'793e1067-07d9-4882-850a-fe6cd4b2893a'], **status=DOWN**, tags=[], tenant_id=216c81f417014f44b38276cc2e5c1189, updated_at=2019-11-21T11:58:24Z
neutron-ovs-agent.log
2019-11-21 17:45:37.960 7736 ERROR neutron.agent.linux.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Bridge name --format=json]: None
2019-11-21 17:46:08.101 7736 ERROR neutron.agent.linux.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Bridge name --format=json]: 2019-11-21T12:16:08Z|00001|util|EMER|failed to connect or listen to "unix:C:\ProgramData\openvswitch\db.sock" (Unknown error)
2019-11-21 17:46:08.101 7736 ERROR neutron.agent.linux.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Bridge name --format=json]: None
2019-11-21 17:46:38.241 7736 ERROR neutron.agent.linux.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Bridge name --format=json]: 2019-11-21T12:16:38Z|00001|util|EMER|failed to connect or listen to "unix:C:\ProgramData\openvswitch\db.sock" (Unknown error)
2019-11-21 17:46:38.241 7736 ERROR neutron.agent.linux.async_process [-] Error received from [ovsdb-client monitor unix:C:\ProgramData\openvswitch\db.sock Bridge name --format=json]: None
neutronovsagent.conf
[DEFAULT]
control_exchange=neutron
transport_url=rabbit://user:password@controller
log_dir=D:\OpenStack\Log\
log_file=neutron-ovs-agent.log
[AGENT]
enable_metrics_collection=false
tunnel_types=vxlan
[SECURITYGROUP]
firewall_driver=openvswitch
enable_security_group=true
[ovs]
local_ip=IP
integration_bridge=br-int
tenant_network_type=vxlan
ovsdb_connection=unix:C:\ProgramData\openvswitch\db.sock
enable_tunneling=true
tunnel_bridge=br-tun
OVS Details
PS C:\Users\Administrator> ovs-vsctl.exe show
e68a7179-3667-4c20-9eed-7ce879501ca8
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Port "vxlan-0a962333"
Interface "vxlan-0a962333"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="10.150.35.29", out_key=flow, remote_ip="10.150.35.51"}
Bridge br-data
Port br-data
Interface br-data
type: internal
Port "SIOM Port 1"
Interface "SIOM Port 1"
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Controller
# ovs-vsctl show
44425bcb-cf92-4a6b-84e8-4be1a9ac3fe5
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-provider
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure ...