Bug #15487
closedOpenvz/Virtuozzo virtual machine detected as Physical
Description
Hello!
I use rudder agent v5.0.12, all hosts are debian 9
I have noticed a problem with virtuozzo container detected as physical machine, despite the inventory state they are Virtuozzo guest.
I have the problem on 5 containers, while 16 others are correctly detected as Virtual
For correct and incorrect hosts, rudder agent inventory -v return:
verbose: This appears to be an OpenVZ/Virtuozzo/Parallels Cloud Server guest system.
But for incorrect hosts, final inventory contains
<VMSYSTEM>Physical</VMSYSTEM>
While correct hosts contains
<VMSYSTEM>Virtuozzo</VMSYSTEM>
I am unsure of the reason, reseach of same problem on the bugtracker seems to have been solved long time ago.
Both containers are identical, same RAM, same CPU, same uers, etc. I failed to find a links between incorrect hosts, the only difference I see in inventory is the field <UUID> which is missing in the "Physical host" inventory in the <HARDWARE> section.
Full hardware section for incorrect host:
<HARDWARE> <ARCHNAME>x86_64-linux-gnu-thread-multi</ARCHNAME> <CHECKSUM>131071</CHECKSUM> <DATELASTLOGGEDUSER>Fri Aug 16 10:55</DATELASTLOGGEDUSER> <DEFAULTGATEWAY>xxx.xxx.xxx.xxx</DEFAULTGATEWAY> <DNS>xxx.xxx.xxx.xxx</DNS> <ETIME>2</ETIME> <IPADDR>xxx.xxx.xxx.xxx</IPADDR> <LASTLOGGEDUSER>root</LASTLOGGEDUSER> <MEMORY>1512</MEMORY> <NAME>mail-server</NAME> <OSCOMMENTS>#1 SMP Fri Jan 5 21:20:16 MSK 2018</OSCOMMENTS> <OSNAME>Debian GNU/Linux 9.9 (stretch)</OSNAME> <OSVERSION>3.10.0-693.11.6.vz7.40.4</OSVERSION> <PROCESSORN>1</PROCESSORN> <PROCESSORS>3400</PROCESSORS> <PROCESSORT>Intel(R) Pentium(R) CPU G3450 @ 3.40GHz</PROCESSORT> <USERID>root</USERID> <VMSYSTEM>Physical</VMSYSTEM> <WORKGROUP>xxxx</WORKGROUP> </HARDWARE>
And for correct host:
<HARDWARE> <ARCHNAME>x86_64-linux-gnu-thread-multi</ARCHNAME> <CHECKSUM>131071</CHECKSUM> <DATELASTLOGGEDUSER>Fri Aug 16 10:34</DATELASTLOGGEDUSER> <DEFAULTGATEWAY>xxx.xxx.xxx.xxx</DEFAULTGATEWAY> <DNS>xxx.xxx.xxx.xxx</DNS> <ETIME>3</ETIME> <IPADDR>xxx.xxx.xxx.xxx</IPADDR> <LASTLOGGEDUSER>root</LASTLOGGEDUSER> <MEMORY>1024</MEMORY> <NAME>monitoring</NAME> <OSCOMMENTS>#1 SMP Fri Jan 5 21:20:16 MSK 2018</OSCOMMENTS> <OSNAME>Debian GNU/Linux 9.9 (stretch)</OSNAME> <OSVERSION>4.9.0</OSVERSION> <PROCESSORN>1</PROCESSORN> <PROCESSORS>2670</PROCESSORS> <PROCESSORT>Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz</PROCESSORT> <USERID>root</USERID> <UUID>-8</UUID> <VMSYSTEM>Virtuozzo</VMSYSTEM> <WORKGROUP>xxxx</WORKGROUP> </HARDWARE>
If you have any idea it would be very appreciated!
I am available to answer any question if you need more details
Thanks you!