New Question

Revision history [back]

click to hide/show revision 1
initial version

Openstack nic not getting attached to vm switch

I'm using kolla-ansible rocky branch with source containers to deploy openstack. I'm running the controller as a vm on top of my hyper-v compute host. I have a vlan subnet created but the vm's nic does not get attached to a switch

2019-10-30 15:44:37.697 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Agent loop has new devices! _work C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:427
2019-10-30 15:44:38.056 7276 INFO networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Adding port 27b64897-28b5-4177-af65-157f1f103d35
2019-10-30 15:44:38.056 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Missing port_id from device details: 27b64897-28b5-4177-af65-157f1f103d35. Details: {'device': '27b64897-28b5-4177-af65-157f1f103d35', 'no_active_binding': True} _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:374
2019-10-30 15:44:38.072 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Remove the port from added ports set, so it doesn't get reprocessed. _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:376

I read a bit and some suggest this is because the neutron-server does not have the networking-hyperv package. Well mine does and it's version 5.0.0 but the package on my hyperv server is 7.0.1.0rc1. I used this installer to install the openstack hyperv bits https://cloudbase.it/downloads/HyperVNovaComputeRocky1803.msi

Openstack nic not getting attached to vm switch

I'm using kolla-ansible rocky branch with source containers to deploy openstack. I'm running the controller as a vm on top of my hyper-v compute host. I have a vlan subnet created but the vm's nic does not get attached to a switch

This is the relevent log from my hyperv-neutron agent.

2019-10-30 15:44:37.697 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Agent loop has new devices! _work C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:427
2019-10-30 15:44:38.056 7276 INFO networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Adding port 27b64897-28b5-4177-af65-157f1f103d35
2019-10-30 15:44:38.056 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Missing port_id from device details: 27b64897-28b5-4177-af65-157f1f103d35. Details: {'device': '27b64897-28b5-4177-af65-157f1f103d35', 'no_active_binding': True} _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:374
2019-10-30 15:44:38.072 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Remove the port from added ports set, so it doesn't get reprocessed. _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:376

I read a bit and some suggest this is because the neutron-server does not have the networking-hyperv package. Well mine does and it's version 5.0.0 but the package on my hyperv server is 7.0.1.0rc1. I used this installer to install the openstack hyperv bits https://cloudbase.it/downloads/HyperVNovaComputeRocky1803.msi

Openstack nic not getting attached to vm switch

I'm using kolla-ansible rocky branch with source containers to deploy openstack. I'm running the controller as a vm on top of my hyper-v compute host. I have a vlan subnet created but the vm's nic does not get attached to a switchswitch. I'm using windows 2016 server on the hyper-v side.

This is the relevent log from my hyperv-neutron agent.

2019-10-30 15:44:37.697 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Agent loop has new devices! _work C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:427
2019-10-30 15:44:38.056 7276 INFO networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Adding port 27b64897-28b5-4177-af65-157f1f103d35
2019-10-30 15:44:38.056 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Missing port_id from device details: 27b64897-28b5-4177-af65-157f1f103d35. Details: {'device': '27b64897-28b5-4177-af65-157f1f103d35', 'no_active_binding': True} _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:374
2019-10-30 15:44:38.072 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Remove the port from added ports set, so it doesn't get reprocessed. _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:376

I read a bit and some suggest this is because the neutron-server does not have the networking-hyperv package. Well mine does and it's version 5.0.0 but the package on my hyperv server is 7.0.1.0rc1. I used this installer to install the openstack hyperv bits https://cloudbase.it/downloads/HyperVNovaComputeRocky1803.msi

Openstack nic not getting attached to vm switch

I'm using kolla-ansible rocky branch with source containers to deploy openstack. I'm running the controller as a vm on top of my hyper-v compute host. I have a vlan subnet created but the vm's nic does not get attached to a switch. I'm using windows 2016 server on the hyper-v side.

This is the relevent log from my hyperv-neutron agent.

2019-10-30 15:44:37.697 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Agent loop has new devices! _work C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:427
2019-10-30 15:44:38.056 7276 INFO networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Adding port 27b64897-28b5-4177-af65-157f1f103d35
2019-10-30 15:44:38.056 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Missing port_id from device details: 27b64897-28b5-4177-af65-157f1f103d35. Details: {'device': '27b64897-28b5-4177-af65-157f1f103d35', 'no_active_binding': True} _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:374
2019-10-30 15:44:38.072 7276 DEBUG networking_hyperv.neutron.agent.layer2 [req-019bb2af-11d1-4346-8765-658f7e53d76a - - - - -] Remove the port from added ports set, so it doesn't get reprocessed. _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:376

I read a bit and some suggest this is because the neutron-server does not have the networking-hyperv package. Well mine does and it's version 5.0.0 but the package on my hyperv server is 7.0.1.0rc1. I used this installer to install the openstack hyperv bits https://cloudbase.it/downloads/HyperVNovaComputeRocky1803.msi

Here are the neutron server logs in debug mode

2019-11-14 08:17:39.373 28 DEBUG neutron.db.db_base_plugin_common [req-ca3e8550-af53-4152-8999-530c3169ee77 8c5f2b9d28c6406f829719bc79fb6268 0e170d3f44bd48ebb9a93123452a2928 - default default] Allocated IP 192.168.205.209 (f247d20a-56e8-4ac5-be99-b3f6015032bc/208d961c-b476-4b19-842b-2746aaf717c9/9cc09af2-d7f1-4534-8cb8-e84a27cf7a77) _store_ip_allocation /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/db/db_base_plugin_common.py:121
2019-11-14 08:17:39.619 28 DEBUG neutron.db.provisioning_blocks [req-ca3e8550-af53-4152-8999-530c3169ee77 8c5f2b9d28c6406f829719bc79fb6268 0e170d3f44bd48ebb9a93123452a2928 - default default] Transition to ACTIVE for port object 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 will not be triggered until provisioned by entity DHCP. add_provisioning_component /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/db/provisioning_blocks.py:73
2019-11-14 08:17:39.830 28 DEBUG neutron.api.rpc.handlers.resources_rpc [req-ca3e8550-af53-4152-8999-530c3169ee77 8c5f2b9d28c6406f829719bc79fb6268 0e170d3f44bd48ebb9a93123452a2928 - - -] Pushing event updated for resources: {'Port': ['ID=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77,revision_number=1']} push /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/api/rpc/handlers/resources_rpc.py:241
2019-11-14 08:17:40.607 28 DEBUG neutron.notifiers.nova [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Ignoring state change previous_port_status: DOWN current_port_status: DOWN port_id 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 record_port_status_changed /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/notifiers/nova.py:209
2019-11-14 08:17:40.633 28 DEBUG neutron.db.provisioning_blocks [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Transition to ACTIVE for port object 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 will not be triggered until provisioned by entity L2. add_provisioning_component /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/db/provisioning_blocks.py:73
2019-11-14 08:17:40.778 28 DEBUG neutron.api.rpc.handlers.resources_rpc [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - - -] Pushing event updated for resources: {'Port': ['ID=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77,revision_number=2']} push /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/api/rpc/handlers/resources_rpc.py:241
2019-11-14 08:17:40.888 28 DEBUG neutron.plugins.ml2.managers [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Attempting to bind port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 on host HyperV7 for vnic_type normal with profile  bind_port /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:747
2019-11-14 08:17:40.889 28 DEBUG neutron.plugins.ml2.managers [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Attempting to bind port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 on host HyperV7 at level 0 using segments [{'network_id': 'f247d20a-56e8-4ac5-be99-b3f6015032bc', 'segmentation_id': 205, 'physical_network': u'physnet2', 'id': '0d8877af-9936-4582-bfdb-4eebae72542e', 'network_type': u'vlan'}] _bind_port_level /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:768
2019-11-14 08:17:40.889 28 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Attempting to bind port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 on network f247d20a-56e8-4ac5-be99-b3f6015032bc bind_port /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:87
2019-11-14 08:17:40.897 28 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 on network f247d20a-56e8-4ac5-be99-b3f6015032bc not bound, no agent of type Open vSwitch agent registered on host HyperV7 bind_port /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:101
2019-11-14 08:17:40.897 28 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Attempting to bind port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 on network f247d20a-56e8-4ac5-be99-b3f6015032bc bind_port /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:87
2019-11-14 08:17:40.906 28 DEBUG neutron.plugins.ml2.managers [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] Bound port: 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77, host: HyperV7, vif_type: hyperv, vif_details: {"port_filter": false}, binding_levels: [{'bound_driver': 'hyperv', 'bound_segment': {'network_id': 'f247d20a-56e8-4ac5-be99-b3f6015032bc', 'segmentation_id': 205, 'physical_network': u'physnet2', 'id': '0d8877af-9936-4582-bfdb-4eebae72542e', 'network_type': u'vlan'}}] _bind_port_level /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:816
2019-11-14 08:17:40.993 28 DEBUG neutron.plugins.ml2.db [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] For port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77, host HyperV7, cleared binding levels clear_binding_levels /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/db.py:90
2019-11-14 08:17:40.996 28 DEBUG neutron.plugins.ml2.db [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] For port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77, host HyperV7, set binding levels [<neutron.plugins.ml2.driver_context.InstanceSnapshot object
at 0x7f144e35d210>] set_binding_levels /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/db.py:61
2019-11-14 08:17:41.177 28 DEBUG neutron.api.rpc.handlers.resources_rpc [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - - -] Pushing event updated for resources: {'Port': ['ID=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77,revision_number=3']} push /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/api/rpc/handlers/resources_rpc.py:241
2019-11-14 08:17:41.223 28 INFO neutron.wsgi [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] 192.168.206.21 "PUT /v2.0/ports/9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 HTTP/1.1" status: 200  len: 1066 time: 1.2680869
2019-11-14 08:17:41.224 28 DEBUG neutron.notifiers.nova [-] Sending events: [{'tag': u'9cc09af2-d7f1-4534-8cb8-e84a27cf7a77', 'name': 'network-changed', 'server_uuid': u'd12e9f58-c9d2-4453-8e4f-0e6d88497848'}] send_events /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/notifiers/nova.py:242
2019-11-14 08:17:41.412 28 INFO neutron.wsgi [req-36117ddd-741f-4118-96ed-239594dd8432 efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] 192.168.206.21 "GET /v2.0/floatingips?fixed_ip_address=192.168.205.209&port_id=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 HTTP/1.1" status: 200  len: 217 time: 0.0686460
2019-11-14 08:17:41.581 28 DEBUG novaclient.v2.client [-] REQ: curl -g -i -X POST http://192.168.206.250:8774/v2.1/9d09538f8c0e47be85843674bf7c3767/os-server-external-events -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA1}5cbc44b99f116f54bde68d435b9aab58a4b9430d" -H "X-OpenStack-Nova-API-Version: 2.1" -d '{"events": [{"tag": "9cc09af2-d7f1-4534-8cb8-e84a27cf7a77", "name": "network-changed", "server_uuid":
"d12e9f58-c9d2-4453-8e4f-0e6d88497848"}]}' _http_log_request /var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/session.py:448
2019-11-14 08:17:42.042 28 DEBUG novaclient.v2.client [-] RESP BODY: {"events": [{"status": "completed", "tag": "9cc09af2-d7f1-4534-8cb8-e84a27cf7a77", "name": "network-changed", "server_uuid": "d12e9f58-c9d2-4453-8e4f-0e6d88497848", "code": 200}]} _http_log_response /var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/session.py:511
2019-11-14 08:17:42.043 28 INFO neutron.notifiers.nova [-] Nova event response: {u'status': u'completed', u'tag': u'9cc09af2-d7f1-4534-8cb8-e84a27cf7a77', u'name': u'network-changed', u'server_uuid': u'd12e9f58-c9d2-4453-8e4f-0e6d88497848', u'code': 200}
2019-11-14 08:17:42.404 28 INFO neutron.wsgi [req-b27b63d5-2a32-4123-b5df-c586177e10c7 efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] 192.168.206.21 "GET /v2.0/floatingips?fixed_ip_address=192.168.205.209&port_id=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 HTTP/1.1" status: 200  len: 217 time: 0.1024880
2019-11-14 08:17:43.284 32 DEBUG neutron.db.provisioning_blocks [req-bd175267-b7c7-4b21-b6fc-d3cb780bf1a4 - - - - -] Provisioning for port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 completed by entity DHCP. provisioning_complete /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/db/provisioning_blocks.py:132
2019-11-14 08:17:43.355 30 DEBUG neutron.plugins.ml2.rpc [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] Device 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 details
requested by agent hyperv_HyperV7 with host None get_device_details /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/rpc.py:79
2019-11-14 08:17:43.793 30 DEBUG neutron.plugins.ml2.db [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] For port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77, host HyperV7, got binding levels [<neutron.plugins.ml2.models.PortBindingLevel[object at 7f144e29e890] {port_id=u'9cc09af2-d7f1-4534-8cb8-e84a27cf7a77', host=u'HyperV7', level=0, driver=u'hyperv', segment_id=u'0d8877af-9936-4582-bfdb-4eebae72542e'}>] get_binding_levels /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/db.py:77
2019-11-14 08:17:43.809 30 DEBUG neutron.plugins.ml2.rpc [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] Device 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 has no active binding in host None _get_device_details /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/plugins/ml2/rpc.py:133
2019-11-14 08:20:31.446 28 INFO neutron.wsgi [req-36c13298-84a8-4462-8a03-5d849abbc1ca efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] 192.168.206.21 "GET /v2.0/floatingips?fixed_ip_address=192.168.205.209&port_id=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 HTTP/1.1" status: 200  len: 217 time: 0.0680091
2019-11-14 08:22:33.602 28 INFO neutron.wsgi [req-c7892f77-d041-4db3-8764-b4dd5e2eb61e efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - default default] 192.168.206.21 "GET /v2.0/floatingips?fixed_ip_address=192.168.205.209&port_id=9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 HTTP/1.1" status: 200  len: 217 time: 0.2217259

HyperV-Neutron-Agent logs in debug mode

2019-11-14 08:17:39.930 2768 DEBUG neutron.api.rpc.handlers.securitygroups_rpc [req-ca3e8550-af53-4152-8999-530c3169ee77 8c5f2b9d28c6406f829719bc79fb6268 0e170d3f44bd48ebb9a93123452a2928 - - -] Security group member updated on remote: ['bed6e160-cbfa-4118-830e-afdc2ac179d2'] security_groups_member_updated C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\neutron\api\rpc\handlers\securitygroups_rpc.py:198
2019-11-14 08:17:39.930 2768 INFO neutron.agent.securitygroups_rpc [req-ca3e8550-af53-4152-8999-530c3169ee77 8c5f2b9d28c6406f829719bc79fb6268 0e170d3f44bd48ebb9a93123452a2928 - - -] Security group member updated ['bed6e160-cbfa-4118-830e-afdc2ac179d2']
2019-11-14 08:17:41.227 2768 DEBUG networking_hyperv.neutron.agent.layer2 [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - - -] port_update received: 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 port_update C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:436
2019-11-14 08:17:41.243 2768 DEBUG networking_hyperv.neutron.agent.layer2 [req-9f1eecb8-7f1b-4aad-83ed-2ddf2b6dfaab efeb14094ce14997aafeaf9764a4f44e 9d09538f8c0e47be85843674bf7c3767 - - -] No port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77 defined on agent. port_update C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:449
2019-11-14 08:17:43.352 2768 INFO networking_hyperv.neutron.agent.layer2 [-] Hyper-V VM vNIC added: 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77
2019-11-14 08:17:43.368 2768 DEBUG networking_hyperv.neutron.agent.layer2 [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] Agent loop has new devices! _work C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:427
2019-11-14 08:17:43.837 2768 INFO networking_hyperv.neutron.agent.layer2 [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] Adding port 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77
2019-11-14 08:17:43.837 2768 DEBUG networking_hyperv.neutron.agent.layer2 [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] Missing port_id from device details: 9cc09af2-d7f1-4534-8cb8-e84a27cf7a77. Details: {'device': '9cc09af2-d7f1-4534-8cb8-e84a27cf7a77', 'no_active_binding': True} _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:374
2019-11-14 08:17:43.837 2768 DEBUG networking_hyperv.neutron.agent.layer2 [req-585ff0a1-582d-4b29-a50b-b18739aef488 - - - - -] Remove the port from added ports set, so it doesn't get reprocessed. _treat_devices_added C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python\lib\site-packages\networking_hyperv\neutron\agent\layer2.py:376

neutronhyperagent.conf

[DEFAULT]
debug = True
control_exchange = neutron
rpc_backend = rabbit
log_dir = C:\OpenStack\Log
log_file = neutron-hyperv-agent.log
transport_url = rabbit://openstack:x@192.168.206.21:5672

[AGENT]
polling_interval = 2
physical_network_vswitch_mappings = *:vSwitch
enable_metrics_collection = false
enable_qos_extension = false

[SECURITYGROUP]
firewall_driver = hyperv
enable_security_group = true

[oslo_messaging_notifications]
transport_url = rabbit://openstack:x@192.168.206.21:5672

ml2_conf.ini

[ml2]
type_drivers = flat,vlan
tenant_network_types = flat,vlan
mechanism_drivers = openvswitch,hyperv
extension_drivers = port_security

[ml2_type_vlan]
network_vlan_ranges = physnet2:205:2000

[ml2_type_flat]
flat_networks = physnet1

[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]
bridge_mappings = physnet1:br-ex,physnet2:br-data
datapath_type = system
ovsdb_connection = tcp:127.0.0.1:6640
local_ip = 192.168.206.21