<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000"><span style="color:rgb(34,34,34)">On Tue, Aug 20, 2019 at 1:12 PM Michal Privoznik <<a href="mailto:mprivozn@redhat.com">mprivozn@redhat.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/19/19 9:53 PM, Nir Soffer wrote:<br>
> Hi,<br>
> <br>
> I upgraded to a Fedora 29 host using virt-preview repo to<br>
> libvirt-daemon-5.6.0-1.fc29.x86_64<br>
> The host was using plain Fedora 29 without virt-preview before that.<br>
> <br>
> After the upgrade, starting some vms that were running fine fail now with<br>
> this error:<br>
> <br>
> Error starting domain: internal error: child reported (status=125):<br>
> Requested operation is not valid: Setting different DAC user or group on<br>
> /home/libvirt/images/voodoo4-os.img which is already in use<br>
> <br>
> Traceback (most recent call last):<br>
>    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in<br>
> cb_wrapper<br>
>      callback(asyncjob, *args, **kwargs)<br>
>    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb<br>
>      callback(*args, **kwargs)<br>
>    File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line<br>
> 66, in newfn<br>
>      ret = fn(self, *args, **kwargs)<br>
>    File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279,<br>
> in startup<br>
>      self._backend.create()<br>
>    File "/usr/lib64/python3.7/site-packages/libvirt.py", line 1089, in create<br>
>      if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)<br>
> libvirt.libvirtError: internal error: child reported (status=125):<br>
> Requested operation is not valid: Setting different DAC user or group on<br>
> /home/libvirt/images/voodoo4-os.img which is already in use<br>
> <br>
> These vms we created by creating one vm, and the cloning the vms.<br>
> <br>
> I tried to delete the disks and add them back in one of the vms, but the vm<br>
> still fail with the<br>
> same error.<br>
> <br>
> I hope that someone have a clue what is the issue, and how it can be fixed.<br>
<br>
How do you clone the vms? </blockquote><div><br></div><div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Using virt-manager "Clone..." command.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The error message suggests that the image is <br>
in use - is it possible that you're trying to start two domains over the <br>
same disk?<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">No, the disks are different (these vms were running for 2-3 weeks) before</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">the upgrade.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div># ls -lhiZ /home/libvirt/images/voodoo{4,5,8}-*.img<br>  247 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 20G Aug 17 03:55 /home/libvirt/images/voodoo4-gv0.img<br>37249 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 20G Aug 17 03:55 /home/libvirt/images/voodoo4-gv1.img<br>37252 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 50G Aug 17 03:52 /home/libvirt/images/voodoo4-os.img<br>37250 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 20G Aug 17 03:55 /home/libvirt/images/voodoo5-gv0.img<br>37281 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 20G Aug 17 03:55 /home/libvirt/images/voodoo5-gv1.img<br>  223 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 50G Aug 17 03:45 /home/libvirt/images/voodoo5-os.img<br>37253 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 20G Aug 17 03:55 /home/libvirt/images/voodoo8-gv0.img<br>37282 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 20G Aug 17 03:55 /home/libvirt/images/voodoo8-gv1.img<br>37251 -rw-------. 1 root root system_u:object_r:virt_image_t:s0 50G Aug 17 03:46 /home/libvirt/images/voodoo8-os.img<br><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I suspected that the disk serial is the issue - I'm using</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">the same serial for for all "os" and "gvX" disks, used in the guest</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">to locate the right disk (e.g. /dev/disk/by-id/virtio-gv0).</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I tried to replace to use unique serials (e.g. gv0 -> voodoo4-gv0) but I still see</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">the same error, so this must be something else.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Michal<br>
</blockquote></div></div>