[Bug 1244694] Re: Creating snapshot fails due to nonexistent temporary directory

Tino Schmeier tis at teuto.net
Fri Nov 15 19:06:17 UTC 2013


Ok. I can reproduce the problem. If i enforce the profile and restart
the machine. The snapshot fails. The profile seems to be ok:

Before snapshot:
# DO NOT EDIT THIS FILE DIRECTLY. IT IS MANAGED BY LIBVIRT.
  "/var/log/libvirt/**/instance-0000001e.log" w,
  "/var/lib/libvirt/**/instance-0000001e.monitor" rw,
  "/var/run/libvirt/**/instance-0000001e.pid" rwk,
  "/run/libvirt/**/instance-0000001e.pid" rwk,
  "/var/run/libvirt/**/*.tunnelmigrate.dest.instance-0000001e" rw,
  "/run/libvirt/**/*.tunnelmigrate.dest.instance-0000001e" rw,
  "/var/lib/nova/instances/7aa8a408-8ca0-46b3-8ab8-e89b334082d2/disk" rw,
  "/var/lib/nova/instances/_base/50c5b15302a6962ee9f93d2e70ce27fedce888ed" r,
  # don't audit writes to readonly files
  deny "/var/lib/nova/instances/_base/50c5b15302a6962ee9f93d2e70ce27fedce888ed" w,
  "/var/lib/nova/instances/7aa8a408-8ca0-46b3-8ab8-e89b334082d2/console.log" rw,
  "/var/lib/nova/instances/7aa8a408-8ca0-46b3-8ab8-e89b334082d2/console.log" rw,

After snapshot:
# DO NOT EDIT THIS FILE DIRECTLY. IT IS MANAGED BY LIBVIRT.
  "/var/log/libvirt/**/instance-0000001e.log" w,
  "/var/lib/libvirt/**/instance-0000001e.monitor" rw,
  "/var/run/libvirt/**/instance-0000001e.pid" rwk,
  "/run/libvirt/**/instance-0000001e.pid" rwk,
  "/var/run/libvirt/**/*.tunnelmigrate.dest.instance-0000001e" rw,
  "/run/libvirt/**/*.tunnelmigrate.dest.instance-0000001e" rw,
  "/var/lib/nova/instances/snapshots/tmpZzbTj8/9ce55aae608343b987a3b287da39cc59.delta" rw,
  "/var/lib/nova/instances/7aa8a408-8ca0-46b3-8ab8-e89b334082d2/console.log" rw,
  "/var/lib/nova/instances/7aa8a408-8ca0-46b3-8ab8-e89b334082d2/console.log" rw,

Is this an racecondition? Maybe the profile is replaced/reloaded to late
in an parrallel task?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1244694

Title:
  Creating snapshot fails due to nonexistent temporary directory

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



More information about the Ubuntu-server-bugs mailing list