Reviewed: https://review.openstack.org/460672 Committed: https://git.openstack.org/cgit/openstack/nova-powervm/commit/?id=dedc355805c24583fbad5f4e5c416881239e377e Submitter: Jenkins Branch: master
commit dedc355805c24583fbad5f4e5c416881239e377e Author: [email protected] <[email protected]> Date: Thu Apr 27 12:43:07 2017 -0400 Deallocate network on reschedule When a virtual machine fails to deploy on one host then deallocate networks so that when the same virtual machine deployed on another host network is allocated again. Change-Id: I9624e44def8afa01c45527d625917adb6847c55f Closes-bug: #1531022 ** Changed in: nova-powervm Status: In Progress => Fix Released ** Tags added: in-stable-ocata -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1531022 Title: libvirt driver doesn't cleanup the tap interface on vm re-schedule Status in OpenStack Compute (nova): In Progress Status in nova-powervm: Fix Released Bug description: Here when you use libvirt driver with tap interfaces, it creates a tap interface on the host but doesn't clean up the interface and leaves in-tact and creates another same named interface on the new host. In _do_build_and_run_instance when RescheduledException is called, manager checks if the network port needs to be de-allocated for a different host or not using deallocate_networks_on_reschedule() which is hard coded to return False. If this is changed to return true or set via conf file configuration to allow being changed for specific mech drivers in neutron then it would be helpful to not only clean up the tap interface properly but also also mech drivers in neutron to re-create new ports on new host instead of shifting and re-using same ports which fails. tested on master and stable/liberty and fails in both cases, so may need back porting. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1531022/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

