yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76909
[Bug 1815345] [NEW] neutron doesnt delete port binding level when deleting an inactive port binding
Public bug reported:
When performing VM live migration with a normal port (OVS mechanism
driver) nova creates an in-active binding on the destination node then
activates that binding upon successful migration.
in case of failure to migrate with libvirt, an exception is raised, nova
performs a rollback operation for the live migration and instance
remains in running state on the source node.
part of the rollback operation is deleting neutron's port binding on the destination node with the following API call:
DELETE /v2.0/ports/{port_id}/bindings/{host_id}
this call, for an inactive port binding (which was never activated),
does not delete the port's binding level which causes future migration
attempts to fail.
Reproduction setup:
- devstack deployment of an all in one and a compute node from master
- OS: FC28
- QEMU hypervisor
- neutron OVS mechanism driver enabled
- perform further configurations to enable live-migration : https://docs.openstack.org/nova/pike/admin/configuring-migrations.html
- block libvirt migration port with iptables on destination node (on my setup i just needed to activate iptables on destination node)
reproduction steps:
http://paste.openstack.org/show/744802/
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1815345
Title:
neutron doesnt delete port binding level when deleting an inactive
port binding
Status in neutron:
New
Bug description:
When performing VM live migration with a normal port (OVS mechanism
driver) nova creates an in-active binding on the destination node then
activates that binding upon successful migration.
in case of failure to migrate with libvirt, an exception is raised,
nova performs a rollback operation for the live migration and instance
remains in running state on the source node.
part of the rollback operation is deleting neutron's port binding on the destination node with the following API call:
DELETE /v2.0/ports/{port_id}/bindings/{host_id}
this call, for an inactive port binding (which was never activated),
does not delete the port's binding level which causes future migration
attempts to fail.
Reproduction setup:
- devstack deployment of an all in one and a compute node from master
- OS: FC28
- QEMU hypervisor
- neutron OVS mechanism driver enabled
- perform further configurations to enable live-migration : https://docs.openstack.org/nova/pike/admin/configuring-migrations.html
- block libvirt migration port with iptables on destination node (on my setup i just needed to activate iptables on destination node)
reproduction steps:
http://paste.openstack.org/show/744802/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1815345/+subscriptions
Follow ups