The o+x can be explained by nova/virt/libvirt/driver.py:

 2384             with utils.tempdir(dir=snapshot_directory) as tmpdir:
 2385                 try:
 2386                     out_path = os.path.join(tmpdir, snapshot_name)
 2387                     if live_snapshot:
 2388                         # NOTE(xqueralt): libvirt needs o+x in the tempdir
 2389                         os.chmod(tmpdir, 0o701)
 2390                         self._live_snapshot(context, instance, guest,
 2391                                             disk_path, out_path, 
source_format,
 2392                                             image_format, 
instance.image_meta)
 2393                     else:
 2394                         root_disk.snapshot_extract(out_path, image_format)
 2395                     LOG.info("Snapshot extracted, beginning image upload",
 2396                              instance=instance)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864922

Title:
  ussuri libvirt missing access to /var/lib/nova/instances/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1864922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to