Bug 1460286
Summary: | Failed delete network because port is still in use after Instance deleted | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yuri Obshansky <yobshans> | ||||||||||||
Component: | openstack-nova | Assignee: | Eoghan Glynn <eglynn> | ||||||||||||
Status: | CLOSED NOTABUG | QA Contact: | Joe H. Rahme <jhakimra> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 11.0 (Ocata) | CC: | berrange, dasmith, eglynn, kchamart, sbauza, sferdjao, sgordon, srevivo, stephenfin, vromanso | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2017-06-16 14:18:03 UTC | Type: | Bug | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Yuri Obshansky
2017-06-09 15:09:35 UTC
python-neutron-10.0.1-1.el7ost.noarch python-neutron-lbaas-10.0.0-8.el7ost.noarch openstack-neutron-metering-agent-10.0.1-1.el7ost.noarch python-neutronclient-6.1.0-1.el7ost.noarch openstack-neutron-ml2-10.0.1-1.el7ost.noarch openstack-neutron-10.0.1-1.el7ost.noarch openstack-neutron-sriov-nic-agent-10.0.1-1.el7ost.noarch puppet-neutron-10.3.0-2.el7ost.noarch openstack-neutron-common-10.0.1-1.el7ost.noarch openstack-neutron-openvswitch-10.0.1-1.el7ost.noarch python-neutron-lib-1.1.0-1.el7ost.noarch openstack-neutron-lbaas-10.0.0-8.el7ost.noarch Created attachment 1286442 [details]
neutron server log from controller
Created attachment 1286443 [details]
horizon log from controller
Created attachment 1286444 [details]
nova log from compute
Created attachment 1286445 [details]
Horizon screenshot of error when delete Network
Created attachment 1286446 [details]
Horizon screenshot of ports
To be honest, this looks like it's working as expected. Detaching interfaces from an instance occurs asynchronously and it requires collaboration between the guest and host to complete. It is possible that this detach would never complete, if the guest is unable or unwilling to detach the interface, and there's no way the host can force this. As a result of this, the interfaces are still present and neutron is correctly stating that it cannot delete the network. If you want to delete a network, the only guaranteed way to do so is to delete all instances using that network. I'm going to close this as NOTABUG. If I've missed something, feel free to reopen. Yes, I agree with you. Actually, I wanted to do an accent on an issue when instance didn't deleted ports. Probably, it is covered in another bug Bug 1459687 - Failed to delete Instance, it's state changed to Error under load test. So, let's close it. Regards, Yuri |