DAC & glusterFS - errors

2021-07-05 Thread lejeczek

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+: 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.



Re: host identifier

2021-07-05 Thread Jiatong Shen
Thanks, I'll check it out.

On Mon, Jul 5, 2021 at 4:30 PM Daniel P. Berrangé 
wrote:

> On Mon, Jul 05, 2021 at 08:31:15AM +0800, Jiatong Shen wrote:
> > Hello community,
> >
> > I am using OpenStack nova and realize that nova now uses host fqdn from
> > libvirt as a uniq identifier for a compute node.  The issue is that host
> > might need to change its fqdn under some
> > rare circumstances and lose some usage data due to the nova manages
> > compute node resources.
> >
> > My question is: does libvirt already export host uuid identifier to other
> > applications? I skim through the code base and find there is host uuid
> > related code which reads /etc/machine-id to obtain a uniq uuid for
> > migration, but seems this uuid cannot be obtained through virsh
> interface.
>
> Libvirt has long exposed a host UUID in the capabilities XML
>
> Regards,
> Daniel
> --
> |: https://berrange.com  -o-
> https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org -o-
> https://fstop138.berrange.com :|
> |: https://entangle-photo.org-o-
> https://www.instagram.com/dberrange :|
>
>

-- 

Best Regards,

Jiatong Shen


Re: host identifier

2021-07-05 Thread Daniel P . Berrangé
On Mon, Jul 05, 2021 at 08:31:15AM +0800, Jiatong Shen wrote:
> Hello community,
> 
> I am using OpenStack nova and realize that nova now uses host fqdn from
> libvirt as a uniq identifier for a compute node.  The issue is that host
> might need to change its fqdn under some
> rare circumstances and lose some usage data due to the nova manages
> compute node resources.
> 
> My question is: does libvirt already export host uuid identifier to other
> applications? I skim through the code base and find there is host uuid
> related code which reads /etc/machine-id to obtain a uniq uuid for
> migration, but seems this uuid cannot be obtained through virsh interface.

Libvirt has long exposed a host UUID in the capabilities XML

Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|