[ovirt-users] migration failed with permission denied

Vinzenz Feenstra vfeenstr at redhat.com
Fri Jun 17 08:11:31 EDT 2016


> On Jun 17, 2016, at 12:47 PM, Vinzenz Feenstra <vfeenstr at redhat.com> wrote:
> 
>> 
>> On Jun 17, 2016, at 12:42 PM, Michal Skrivanek <michal.skrivanek at redhat.com <mailto:michal.skrivanek at redhat.com>> wrote:
>> 
>> 
>>> On 17 Jun 2016, at 12:37, Fabrice Bacchella <fabrice.bacchella at icloud.com <mailto:fabrice.bacchella at icloud.com>> wrote:
>>> 
>>> 
>>>> Le 17 juin 2016 à 12:33, Vinzenz Feenstra <vfeenstr at redhat.com <mailto:vfeenstr at redhat.com>> a écrit :
>>>> 
>>>> 
>>>>> On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella <fabrice.bacchella at icloud.com <mailto:fabrice.bacchella at icloud.com>> wrote:
>>>>> 
>>>>> 
>>>>>> Le 17 juin 2016 à 12:05, Vinzenz Feenstra <vfeenstr at redhat.com <mailto:vfeenstr at redhat.com>> a écrit :
>>>>>> 
>>>>>> Hi Fabrice,
>>>>>> 
>>>>>>> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella <fabrice.bacchella at icloud.com <mailto:fabrice.bacchella at icloud.com>> wrote:
>>>>>>> 
>>>>>>> I'm running an up to date ovirt setup.
>>>>>>> 
>>>>>>> I tried to put an host in maintenance mode, with one VM running on it.
>>>>>>> 
>>>>>>> It failed with this message in vdsm.log:
>>>>>>> 
>>>>> 
>>>>>>> libvirtError: internal error: process exited while connecting to monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait: Failed to bind socket to /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm: Permission denied
>>>>>> 
>>>>>> This is pretty odd, could you please send me the out put of this:
>>>>>> 
>>>>>> # rpm -qa | grep vdsm
>>>>>> 
>>>>>> From the target and destination hosts. Thanks.
>>>>> 
>>> 
>>>> 
>>>> Thanks.
>>>> 
>>>> And on the destination server what are the access rights on /var/lib/libvirt/qemu/channels? 
>>> On both:
>>> drwxrwxr-x 2 vdsm qemu 137 Jun 14 15:35 /var/lib/libvirt/qemu/channels
>>> drwxrwxr-x 2 vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels
>>> 
>>>> And if you have SELinux enabled can you temporary set it to permissive on the destination and try to migrate?
>>> 
>>> SELinux is disabled on both.
>> 
>> And was the VM started in the same SELinux state or did you change it afterwards while it was running?
> 
> It is disabled since installation (We moved the conversation for now to the IRC) 
> 
> If we found a solution / reason I will respond to the thread to have it documented.

So the reason for the errors is wrongly set ownership of the /var/lib/libvirt/qemu folder rwxr-x--x 8 oneadmin oneadmin 


> 
>> 
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org <mailto:Users at ovirt.org>
>>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160617/996b978d/attachment.html>


More information about the Users mailing list