During the process of deleting an instance, if
serial_console is enabled it has to check domain for
allocated port(s) to be released - Currently this is doing
after the domain has been undefined from libvirt which creates
a bug. This patch fixes the problem by moving this part of code before
undefining the domain.
Also 5fa74bc0b2 moves that part of code inside the method
_detach_encrypted_volumes which has nothing to do here.
Reviewed: https:/ /review. openstack. org/119781 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=91227fe2d49 cb42985cd3eb45f dc29e13bd019df
Committed: https:/
Submitter: Jenkins
Branch: master
commit 91227fe2d49cb42 985cd3eb45fdc29 e13bd019df
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Mon Sep 8 14:42:50 2014 +0000
libvirt: fix bug when releasing port(s)
During the process of deleting an instance, if
serial_console is enabled it has to check domain for
allocated port(s) to be released - Currently this is doing
after the domain has been undefined from libvirt which creates
a bug. This patch fixes the problem by moving this part of code before
undefining the domain.
Also 5fa74bc0b2 moves that part of code inside the method encrypted_ volumes which has nothing to do here.
_detach_
Change-Id: Ie187748deff7b0 143d1ca26e767c6 665746094c5
Closes-Bug: #1366832