Create qcow2 image failed on instance with ephemeral disk when use_cow_images=0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
Ekaterina Shutova |
Bug Description
Detailed bug description:
Filed to create qcow2 image on instance with ephemeral disk when use_cow_images set to 0.
Steps to reproduce:
1. Check use_cow_images=0 value in nova config on all computes
2. Start instance with ephemeral disk
3. umount /mnt in instance
4. On instance create qcow2 image with baking_file
linked to target host device in ephemeral block device
something like: qemu-img create -f qcow2
-o backing_
5. Change flavor or migrate instance
6. Check that /vdb is not linked to host device
Link to test case:
https:/
Expected results:
Test case passed
Actual result:
Links to failed runs:
https:/
https:/
Test case failed with:
command = 'sudo qemu-img create -f qcow2 -o backing_
verbose = True
def check_call(self, command, verbose=True):
ret = self.execute(
if ret['exit_code'] != 0:
raise CalledProcessEr
> ret['stdout'] + ret['stderr'])
E CalledProcessError: Command 'sudo qemu-img create -f qcow2 -o backing_
E ['sudo: unable to resolve host server-
Reproducibility:
100%
Workaround:
NA
Impact:
Test run failed.
Description of the environment:
On both Ceph and non-Ceph configuration
Changed in mos: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → MOS Nova (mos-nova) |
milestone: | none → 9.2 |
description: | updated |
Changed in mos: | |
assignee: | Ekaterina Shutova (eshutova) → Timofey Durakov (tdurakov) |
status: | Incomplete → Confirmed |
@Ekaterina Shutova, could you please describe steps to reproduce here instead of providing a link to testrail, marking an Incomplete until this bug description is updated