Project

General

Profile

Bug #15487

Openvz/Virtuozzo virtual machine detected as Physical

Added by Victor Héry 4 months ago. Updated 11 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
31

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!


Related issues

Related to Rudder - Bug #15492: rudder agent on Virtuozzo/openvz hypervisors uses broken vzpsResolvedActions

History

#1

Updated by Alexis MOUSSET 4 months ago

  • Related to Bug #15492: rudder agent on Virtuozzo/openvz hypervisors uses broken vzps added
#2

Updated by Alexis MOUSSET 4 months ago

  • Description updated (diff)
  • Category set to Web - Nodes & inventories
  • Target version set to 5.0.13
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 32
#3

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 5.0.13 to 5.0.14
#4

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 5.0.14 to 5.0.15
#5

Updated by Vincent MEMBRÉ 11 days ago

  • Target version changed from 5.0.15 to 5.0.16
  • Priority changed from 32 to 31

Also available in: Atom PDF