Project

General

Profile

Bug #10265

Redhat Openstack Nova compute QEMU virtual machines are seen as physical

Added by Ilan COSTA almost 2 years ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
85
Tags:

Description

Hi,

I have virtual machines on Redhat Openstack Nova compute considered as physical.

Regards

dmidecode (2.75 KB) dmidecode Ilan COSTA, 2017-02-22 14:43
dmesg (30.6 KB) dmesg Ilan COSTA, 2017-02-22 14:43
Capture d’écran 2017-02-22 à 14.45.48.png (77 KB) Capture d’écran 2017-02-22 à 14.45.48.png Ilan COSTA, 2017-02-22 14:46
rudder-agent1-5573be84-d36e-4d98-b72f-17abe3963d33.ocs (109 KB) rudder-agent1-5573be84-d36e-4d98-b72f-17abe3963d33.ocs Ilan COSTA, 2017-09-07 10:08
1161

Associated revisions

Revision 4c93473a (diff)
Added by Nicolas CHARLES about 2 months ago

Fixes #10265: Redhat Openstack Nova compute QEMU virtual machines are seen as physical

History

#2 Updated by Benoît PECCATTE almost 2 years ago

  • Found in version (s) 4.1.0~beta3 added

#3 Updated by Benoît PECCATTE almost 2 years ago

  • Found in version(s) old deleted (4.1.0.beta3)

#4 Updated by François ARMAND almost 2 years ago

  • Target version set to 4.1.0~rc1

#5 Updated by Nicolas CHARLES almost 2 years ago

Hello Ilan,

This looks a lot like http://www.rudder-project.org/redmine/issues/9052

Can you upload the inventory (it may contain sensitive information, so I understand if it's not possible)?
To debug this issue, do you have a file /var/log/dmesg, with any relevant content in it (actually, the content of dmesg), or simply "(Nothing has been logged yet.)" ?
In the inventory, what is the content of BIOS/SMANUFACTURER entry ?

Kind regards,
Nicolas

#6 Updated by Ilan COSTA almost 2 years ago

Hello Nicolas,

Here is the Bios part of inventory :
<BIOS>
<ASSETTAG /> <BDATE>04/01/2014</BDATE>
<BMANUFACTURER>SeaBIOS</BMANUFACTURER>
<BVERSION>1.9.1-5.el7</BVERSION>
<MMANUFACTURER /> <MMODEL /> <MSN /> <SKUNUMBER /> <SMANUFACTURER>Red Hat</SMANUFACTURER>
<SMODEL>OpenStack Compute</SMODEL>
<SSN>e1622fe8-eb7d-44d0-a2d5-7ce6991b2120</SSN>
</BIOS>

Dmesg is already in attachment to this issue, maybe is not what you expect ?

Thansk

#7 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 4.1.0~rc1 to 4.1.0

#8 Updated by Nicolas CHARLES almost 2 years ago

Hello Ilan,

For dmesg, I need to be sure if you have actual content in file /var/log/dmesg, or if it's an empty file, because based on the dmesg you sent, it should be correctly detected as QEMU/KVM

Kind regards

#9 Updated by François ARMAND over 1 year ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques

#10 Updated by Benoît PECCATTE over 1 year ago

  • Priority set to 35

#11 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.0 to 4.1.1

#12 Updated by Nicolas CHARLES over 1 year ago

Ilan,

I fail to reproduce it - it may have been fixed by https://www.rudder-project.org/redmine/issues/9763
Could you check with an agent in version 4.1 final to see if it still happen ?

Kind regards,
Nicolas

#13 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.1 to 4.1.2
  • Priority changed from 35 to 34

#14 Updated by Ilan COSTA over 1 year ago

Hi Nicolas,

I have checked with agent 4.1.1 and it is the same problem.

Machine type is "physical"

Best regards,

Ilan

#15 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.2 to 4.1.3

#16 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.3 to 4.1.4

#17 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.4 to 4.1.5
  • Priority changed from 34 to 33

#18 Updated by Alexis MOUSSET over 1 year ago

  • Target version changed from 4.1.5 to 4.1.6

#19 Updated by Benoît PECCATTE over 1 year ago

  • Priority changed from 33 to 48

#20 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.6 to 4.1.7
  • Priority changed from 48 to 47

#21 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.7 to 4.1.8
  • Priority changed from 47 to 46

#22 Updated by Ilan COSTA over 1 year ago

Hi,

More information,

Debian 8 detected as Physical Machine with Rudder agent 4.1.6-jessie0 (CFEngine Core 3.10.0)

And all other are detected as Virtual Machine :
Centos 7Rudder agent 4.1.6.release (CFEngine Core 3.10.0)
Ubuntu 16.04 Rudder agent 4.1.6-xenial0 (CFEngine Core 3.10.0)
Debian 9 Rudder agent 4.1.8~rc1~git201709050155-stretch0 (CFEngine Core 3.10.2)

You can look at the debian 8 inventory in attachment.

Thanks

#23 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.1.8 to 4.1.9
  • Priority changed from 46 to 45

#24 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.1.9 to 4.1.10
  • Priority changed from 45 to 44

#25 Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 4.1.10 to 4.1.11
  • Priority changed from 44 to 42

#26 Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 4.1.11 to 4.1.12

#27 Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 4.1.12 to 4.1.13

#28 Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 4.1.13 to 4.1.14

#29 Updated by Benoît PECCATTE 5 months ago

  • Target version changed from 4.1.14 to 4.1.15

#30 Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 4.1.15 to 4.1.16

#31 Updated by Benoît PECCATTE 2 months ago

  • Tags set to Sponsored
  • Priority changed from 42 to 69

#32 Updated by François ARMAND 2 months ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
  • Priority changed from 69 to 85

I'm requalifying that as major, because it breaks the configuration of hardware-based groups, and there is no workaround.

#34 Updated by François ARMAND about 2 months ago

  • Assignee set to Nicolas CHARLES

We will try to reproduce on site.

#35 Updated by Nicolas CHARLES about 2 months ago

File /var/log/dmesg is empty on debian 8 - causing invalid detection
see https://github.com/fusioninventory/fusioninventory-agent/pull/594

#36 Updated by Nicolas CHARLES about 2 months ago

  • Status changed from New to In progress

#37 Updated by Nicolas CHARLES about 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1702

#38 Updated by Nicolas CHARLES about 2 months ago

  • Status changed from Pending technical review to Pending release

#39 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.16, 4.3.6 and 5.0.2 which were released today.
Changelog
Changelog
Changelog

Also available in: Atom PDF