Public bug reported:

this has puzzled me for a while and I think I now at least have enough data to 
report it for discussion.

It seems that when I sync images they get created without the right 
Effectively I see after a sync of images that they look fine in a query:

uvt-simplestreams-libvirt query
release=xenial arch=amd64 label=daily (20160914)
release=yakkety arch=amd64 label=daily (20160914)

Those are the images of yesterday (this will become important)

And in the FS those look like
-rw------- 1 libvirt-qemu kvm 1020067840 Sep 14 09:22 

All fine and working.
But on a subsequent sync that wants to unlink those uvt is failing, the same 
happens for a purge.
uvt-simplestreams-libvirt purge
Traceback (most recent call last):
  File "/usr/bin/uvt-simplestreams-libvirt", line 27, in <module>
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/", line 
326, in main
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/", line 
286, in main_purge
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/", line 
142, in purge_pool
  File "/usr/lib/python2.7/dist-packages/", line 3359, in delete
    if ret == -1: raise libvirtError ('virStorageVolDelete() failed', vol=self)
libvirt.libvirtError: cannot unlink file 
 Permission denied

I wonder if something in my setup is odd - e.g. that the permissions
shouldn't be this way to begin. And I wanted to discuss that before we
debug deeper into what is happening in the code while executing.

** Affects: uvtool (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  images created are not unlinkable and cause uvtool to fail next sync

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to