
Hi guys I'm trying to spin up a VM whose image is on a GlusterFS vol, and I fail: -> $ virsh create /var/lib/pacemaker/conf.d/win10Pro.xml error: Failed to create domain from /var/lib/pacemaker/conf.d/win10Pro.xml error: failed to initialize gluster connection (src=0x7f0af807b410 priv=0x7f0af8090070): Invalid argument In logs: ... 2021-07-05 21:13:12.950+0000: 141524: warning : virSecurityDACSetOwnership:828 : Unable to restore label on 'win10Pro.qcow2'. XATTRs might have been left in inconsistent state. internal error: child reported (status=125): failed to initialize gluster connection (src=0x7f0b00097030 priv=0x7f0b000956c0): Invalid argument Any ideas & suggestions greatly appreciated. thanks, L.

On 7/5/21 11:28 PM, lejeczek wrote:
Hi guys
I'm trying to spin up a VM whose image is on a GlusterFS vol, and I fail:
-> $ virsh create /var/lib/pacemaker/conf.d/win10Pro.xml error: Failed to create domain from /var/lib/pacemaker/conf.d/win10Pro.xml error: failed to initialize gluster connection (src=0x7f0af807b410 priv=0x7f0af8090070): Invalid argument
In logs: ... 2021-07-05 21:13:12.950+0000: 141524: warning : virSecurityDACSetOwnership:828 : Unable to restore label on 'win10Pro.qcow2'. XATTRs might have been left in inconsistent state. internal error: child reported (status=125): failed to initialize gluster connection (src=0x7f0b00097030 priv=0x7f0b000956c0): Invalid argument
Any ideas & suggestions greatly appreciated. thanks, L.
Hey, since this is gluster I wonder if it is related to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1786301 That one is a deadlock scenario, but nevertheless might be worth turning off seclabel remembering to see if that's the root cause. Just set remember_owner=0 in /etc/libvirt/qemu.conf, restart libvirtd and see if the problem persists. Michal

I am doing a retraining as IT-specialist atm and have 2 weeks full time ahead to dive into virtualization. The main training will we looking at Hyper-V which I have not interest whatsoever in. Now I want to get a good grip on the libvirt/kvm/qemu side of things and am looking for good learning resource to dive into for this. Can anybody recommend anything? * I like video but am able to read * "just google around a bit"/"search on youtube" is not the kind of recommendations I am up for (I will do this if noting else comes out of this anyway) * I'd like to go from 0 to hero (even though I am a bit above 0 already, but like to start from the ground) * alternatively proxmox would be a topic worth considering for me looking forward to any recommendation in this. thx and best Gunnar

Gunnar wrote:
I am doing a retraining as IT-specialist atm and have 2 weeks full time ahead to dive into virtualization. The main training will we looking at Hyper-V which I have not interest whatsoever in.
Now I want to get a good grip on the libvirt/kvm/qemu side of things and am looking for good learning resource to dive into for this. Can anybody recommend anything?
* I like video but am able to read * "just google around a bit"/"search on youtube" is not the kind of recommendations I am up for (I will do this if noting else comes out of this anyway) * I'd like to go from 0 to hero (even though I am a bit above 0 already, but like to start from the ground) * alternatively proxmox would be a topic worth considering for me
looking forward to any recommendation in this.
thx and best
Gunnar
Hiya, I'd recommend reading the oVirt/RHEV documentation: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/ Start with 'Planning' and go on from there. I also recommend that you build a test environment, if you have a reasonably powerful workstation or small server, you can build a virtual oVirt environment using qemu-kvm or VirtualBox. You could also just use a few spare PC's if you have any. HTH /tony -- Tony Albers - Systems Architect - Data Department, Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

I'd recommend reading the oVirt/RHEV documentation: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/ Start with 'Planning' and go on from there.
hi Tony On 09.07.21 15:10, Tony Brian Albers wrote: thx, I'll check that out. Eventhough I am not so interested getting into oVirt but more basic cli libvirt, etc. (which oVirt is based upon I assume). Anyway the hint is hightly appreciated

On 08/07/2021 10:34, Michal Prívozník wrote:
On 7/5/21 11:28 PM, lejeczek wrote:
Hi guys
I'm trying to spin up a VM whose image is on a GlusterFS vol, and I fail:
-> $ virsh create /var/lib/pacemaker/conf.d/win10Pro.xml error: Failed to create domain from /var/lib/pacemaker/conf.d/win10Pro.xml error: failed to initialize gluster connection (src=0x7f0af807b410 priv=0x7f0af8090070): Invalid argument
In logs: ... 2021-07-05 21:13:12.950+0000: 141524: warning : virSecurityDACSetOwnership:828 : Unable to restore label on 'win10Pro.qcow2'. XATTRs might have been left in inconsistent state. internal error: child reported (status=125): failed to initialize gluster connection (src=0x7f0b00097030 priv=0x7f0b000956c0): Invalid argument
Any ideas & suggestions greatly appreciated. thanks, L.
Hey, since this is gluster I wonder if it is related to this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1786301
That one is a deadlock scenario, but nevertheless might be worth turning off seclabel remembering to see if that's the root cause. Just set remember_owner=0 in /etc/libvirt/qemu.conf, restart libvirtd and see if the problem persists.
Michal
This error is, well, in my opinion quite misleading, as the problem turns out was - a non-existent GlusterFS Vol to which storage path pointed to in my guest/domain definition. Whether there were any other underlying problems I cannot say, don't know, but if you guys get those or similar to aforementioned errors, then I suggest check that 'obvious' bit. many thanks, L.
participants (5)
-
Gunnar
-
lejeczek
-
Michal Prívozník
-
Tony Brian Albers
-
vrms