Libvirt: Added suffix to configdrive_path required for rescue
It was observed that during nova rescue, nova failed to create
a rescue disk for disk.config. The reason being that .rescue
suffix was missing from the configdrive path. It was working
till Havana but the functionality broke in Icehouse. This commit
fixes the suffix problem.
Unittests have been added to verify following scenarios:
1. Make sure that .rescue disks are created when not using
config drive
2. Make sure that .rescue disks are created when using
config drive
Reviewed: https:/ /review. openstack. org/102645 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0d781d41fef 329294891fdda0c 1dac4add5ce7c3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0d781d41fef3292 94891fdda0c1dac 4add5ce7c3
Author: Shraddha Pandhe <email address hidden>
Date: Wed Jun 25 20:56:33 2014 +0000
Libvirt: Added suffix to configdrive_path required for rescue
It was observed that during nova rescue, nova failed to create
a rescue disk for disk.config. The reason being that .rescue
suffix was missing from the configdrive path. It was working
till Havana but the functionality broke in Icehouse. This commit
fixes the suffix problem.
Unittests have been added to verify following scenarios:
1. Make sure that .rescue disks are created when not using
config drive
2. Make sure that .rescue disks are created when using
config drive
Closes-Bug: #1334024
Change-Id: I87449ffddd047c b84b7b881757ea4 c29927b95da