[Fusioninventory-user] Container OpenVZ (Proxmox) and UUID

Matthieu.Marc at ensam.eu Matthieu.Marc at ensam.eu
Tue May 26 12:17:32 UTC 2015


> It's a strange behavior, UUID may be unique, so not normal.

There is another problem.

I managed to make dmidecode work on openvz container. 

vzctl set $VEID --devnodes mem:r --save
and
vzctl set $ VEID --capability sys_rawio:on --save

restart the openvz container and dmidecode is working.

BUT !

The UUID found is the UUID of the host (my proxmox). So, both host and guest have the same UUID.

I think, it will be interesting to make the guest UUID using the host UUID and the VM ID, and to make the VIRTUALMACHINE entry of the host using the same format (UUID + VM ID). 

So that, the UUID will be unique, and we will be able to have several host server with guest having the same VM ID.

Cordialy


-----Message d'origine-----
De : Fusioninventory-user [mailto:fusioninventory-user-bounces+matthieu.marc=ensam.eu at lists.alioth.debian.org] De la part de David DURIEUX
Envoyé : mardi 26 mai 2015 11:18
À : fusioninventory-user at lists.alioth.debian.org
Objet : Re: [Fusioninventory-user] Container OpenVZ (Proxmox) and UUID

Le Tue, 26 May 2015 09:05:39 +0000
<Matthieu.Marc at ensam.eu> a écrit:

>Hi,

Hi

>I have two proxmox server on two differents sites.
>
>I am using the fusion agent (v2.2.3) on proxmox and on containers using 
>debian or ubuntu.
>
>My problem is that the two proxmox server are using the same OpenVZ UID 
>for container :
>
>On proxmox A, I have a container A1 with UID 100 On proxmox B , I have 
>another container B1 with UID 100.
>
>To be able to link Proxmox host and container, I need to configure the 
>UUID of the container, and set it to the container UUID. But I have two 
>container with UID 100.
>
>So, when I display proxmox B on GLPI, on Virtual Machine, I see 
>container A1.
>
>Maybe the UUID would contains Proxmox UUID in order to be able to have 
>several container with the same openvz UID.

It's a strange behavior, UUID may be unique, so not normal.

It's not understand the link between UUID and UID

David
++

>Cordialy
>
>Matthieu MARC
>
>
>----------------------------------------------------------
>Matthieu MARC
>Ingénieur informatique
>Direction des Systèmes d'Information
>
>[Description : cid:8D30A827-01D1-4BAD-8638-C748210F90D9]
>Ecole Nationale Supérieure d'Arts et Métiers
>2 boulevard du ronceray 49035 ANGERS
>http://www.ensam.eu<http://www.ensam.eu/>
>

_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user



More information about the Fusioninventory-user mailing list