when I test resize-confirm on NFS (KVM) using at least two
compute nodes, OSError will occur when try to cleanup the
backup instance directory and will make instance status
"Error".
One way to cleanup resize is using delay_on_retry and
maximum attempts setting. Replace rmtree() because
execute() have more parameters choices.
Closes-Bug: #1248019
Change-Id: Ifb9a500bbba805af0317307c2e7d6903dcd02ad1
(cherry picked from commit 17d131661740e452e9729d9ac8881e6fede23dd7)
Reviewed: https:/ /review. openstack. org/74245 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=384c5487a53 aab41110668f5ae 4564514248fd26
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 384c5487a53aab4 1110668f5ae4564 514248fd26
Author: chenxiao <email address hidden>
Date: Tue Nov 5 18:04:42 2013 +0800
Libvirt: Instance resize confirm issue against NFS
when I test resize-confirm on NFS (KVM) using at least two
compute nodes, OSError will occur when try to cleanup the
backup instance directory and will make instance status
"Error".
One way to cleanup resize is using delay_on_retry and
maximum attempts setting. Replace rmtree() because
execute() have more parameters choices.
Closes-Bug: #1248019
Change-Id: Ifb9a500bbba805 af0317307c2e7d6 903dcd02ad1 2e9729d9ac8881e 6fede23dd7)
(cherry picked from commit 17d131661740e45