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

Matthieu.Marc at ensam.eu Matthieu.Marc at ensam.eu
Tue May 26 09:36:43 UTC 2015


Hi,

I continue in poor english :-)

When execution fusion agent on proxmox server, the agent is able to find all the virtual server (container openvz) executing on the proxmox server (with the Virtuozzo.pm extension, and using vzlist).

The computer in GLPI contains the virtual machine list found.


But, when execution fusion agent on the virtual container, the agent is not able to know that he is running on a container. And he is not able to find the proxmox server the container is running on. 

The virtual machine list found cannot be linked to container. I have to edit the virtual machine in GLPI and set UUID to the ID of the container.


For example :

I have a proxmox server  PROXMOX_A. This server have two container : CT_1 (CT ID = 100) and CT_2 (CT ID = 101).

When running fusion agent, in GLPI I have a computer PROMOX_A and in the list of virtual machine I have CT_1 with UUID = 100 and CT_2 with UUID = 101.

Now I run fusion agent on CT_1 and CT_2. So I have two more computer in GLPI : CT_1 with no UUID and CT_2 with no UUID too.

If I want to link the virtual machine CT_1 to the computer CT_1, I have to set the UUID of the computer CT_1 to 100.

Cordialy,

Matthieu MARC




-----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