I did some initial investigation on this. It looks that nova-compute received information to detach interface and told Libvirt to detach it: http://logs.openstack.org/91/635691/1/gate/neutron-tempest-plugin-scenario-linuxbridge/3cc34c4/controller/logs/screen-n-cpu.txt.gz#_Feb_12_09_16_39_511365
So neutron-linuxbridge-agent found this event and removed port here: http://logs.openstack.org/91/635691/1/gate/neutron-tempest-plugin-scenario-linuxbridge/3cc34c4/controller/logs/screen-q-agt.txt.gz#_Feb_12_09_16_39_951803
And there is also matched even in neutron-server to switch port to DOWN: http://logs.openstack.org/91/635691/1/gate/neutron-tempest-plugin-scenario-linuxbridge/3cc34c4/controller/logs/screen-q-svc.txt.gz#_Feb_12_09_16_39_973353
According to that it looks that all was fine and port should be set to DOWN but for some reason port status in response from neutron looked like:
{"port":{"id":"7b6ccd25-cc09-41a3-ba4b-b23169819c11","name":"","network_id":"0976b2ae-c8c4-4d3c-a1df-bbbded993f28","tenant_id":"5ecab117503f46b7af1a7e6c3707c2e7","mac_address":"fa:16:3e:60:df:15","admin_state_up":true,"status":"ACTIVE","fixed_ips":[{"subnet_id":"ad2dc4a4-1b02-45f9-9042-60b5788cd2d9","ip_address":"10.1.0.12"}],"device_id":"","device_owner":"","allowed_address_pairs":[],"extra_dhcp_opts":[],"security_groups":["fd9de87a-7f94-4def-ae63-871b5f220abc"],"description":"","binding:vnic_type":"normal","port_security_enabled":true,"propagate_uplink_status":false,"qos_policy_id":null,"dns_name":"","dns_assignment":[{"ip_address":"10.1.0.12","hostname":"host-10-1-0-12","fqdn":"host-10-1-0-12.openstackgate.local."}],"dns_domain":"","ip_allocation":"immediate","tags":[],"created_at":"2019-02-12T09:15:16Z","updated_at":"2019-02-12T09:16:47Z","revision_number":9,"project_id":"5ecab117503f46b7af1a7e6c3707c2e7"}}
It is here: http://logs.openstack.org/91/635691/1/gate/neutron-tempest-plugin-scenario-linuxbridge/3cc34c4/controller/logs/tempest_log.txt.gz#_2019-02-12_09_16_50_122
Please note that port has empty device_id but status ACTIVE
I did some initial investigation on this. It looks that nova-compute received information to detach interface and told Libvirt to detach it: logs.openstack. org/91/ 635691/ 1/gate/ neutron- tempest- plugin- scenario- linuxbridge/ 3cc34c4/ controller/ logs/screen- n-cpu.txt. gz#_Feb_ 12_09_16_ 39_511365
http://
So neutron- linuxbridge- agent found this event and removed port here: http:// logs.openstack. org/91/ 635691/ 1/gate/ neutron- tempest- plugin- scenario- linuxbridge/ 3cc34c4/ controller/ logs/screen- q-agt.txt. gz#_Feb_ 12_09_16_ 39_951803
And there is also matched even in neutron-server to switch port to DOWN: logs.openstack. org/91/ 635691/ 1/gate/ neutron- tempest- plugin- scenario- linuxbridge/ 3cc34c4/ controller/ logs/screen- q-svc.txt. gz#_Feb_ 12_09_16_ 39_973353
http://
According to that it looks that all was fine and port should be set to DOWN but for some reason port status in response from neutron looked like:
{"port" :{"id": "7b6ccd25- cc09-41a3- ba4b-b23169819c 11","name" :"","network_ id":"0976b2ae- c8c4-4d3c- a1df-bbbded993f 28","tenant_ id":"5ecab11750 3f46b7af1a7e6c3 707c2e7" ,"mac_address" :"fa:16: 3e:60:df: 15","admin_ state_up" :true," status" :"ACTIVE" ,"fixed_ ips":[{ "subnet_ id":"ad2dc4a4- 1b02-45f9- 9042-60b5788cd2 d9","ip_ address" :"10.1. 0.12"}] ,"device_ id":"", "device_ owner": "","allowed_ address_ pairs": [],"extra_ dhcp_opts" :[],"security_ groups" :["fd9de87a- 7f94-4def- ae63-871b5f220a bc"],"descripti on":"", "binding: vnic_type" :"normal" ,"port_ security_ enabled" :true," propagate_ uplink_ status" :false, "qos_policy_ id":null, "dns_name" :"","dns_ assignment" :[{"ip_ address" :"10.1. 0.12"," hostname" :"host- 10-1-0- 12","fqdn" :"host- 10-1-0- 12.openstackgat e.local. "}],"dns_ domain" :"","ip_ allocation" :"immediate" ,"tags" :[],"created_ at":"2019- 02-12T09: 15:16Z" ,"updated_ at":"2019- 02-12T09: 16:47Z" ,"revision_ number" :9,"project_ id":"5ecab11750 3f46b7af1a7e6c3 707c2e7" }}
It is here: logs.openstack. org/91/ 635691/ 1/gate/ neutron- tempest- plugin- scenario- linuxbridge/ 3cc34c4/ controller/ logs/tempest_ log.txt. gz#_2019- 02-12_09_ 16_50_122
http://
Please note that port has empty device_id but status ACTIVE