Thanks, I'll check it out.
On Mon, Jul 5, 2021 at 4:30 PM Daniel P. Berrangé <berrange@xxxxxxxxxx> 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