The workaround suggested in comment #19 only works if nova-compute is configured to use "rbd" as the libvirt-image-backend.
On a CIS-hardened deployment with the default backend ("qcow2"), tempest passes the two resize_ tests, however, as a side-effect, tempest fails both tests under the tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON test group. Errors seen are exactly as described in this issue: https://bugs.launchpad.net/charm-nova-compute/+bug/1896617 and there are no workarounds for that issue on yoga. I've tried adding/changing/removing user-group settings for nova/kvm/libvirt-qemu, but none of those resolve it because libvirtd- qemu doesn't have access to the the snapshots directory within nova. If libvirt-image-backend is unset or set to "qemu", the only workaround to get tempest to pass both resize image and the image snapshot test groups is to loosen the unmask to 022 as suggested in https://bugs.launchpad.net/charm-nova-compute/+bug/1967956/comments/17. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1967956 Title: Permission denied when trying to resize images To manage notifications about this bug go to: https://bugs.launchpad.net/charm-nova-compute/+bug/1967956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs