Project

General

Profile

Actions

Bug #8953

closed

Virtual machines considered as physical nodes

Added by Alexandre Anriot over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hello,

I don't know if it's related to #7204 or not but I have some Debian 8 VMs which are detected as physical nodes:

General
  • Hostname: XXXXXX.YYYYYY.ZZZZZZ
  • Machine type: Physical machine
  • Manufacturer: VMware, Inc.
  • Total physical memory (RAM): 3.87 GB
  • Total swap space: 4 GB
  • Motherboard UUID: cf52a288-84b9-b647-2c32-XXXXXXXXXXXX
  • System Serial Number: VMware-42 27 3a 64 02 76 f8 77-5b 36 a0 4d 00 XX XX XX
Operating system details
  • Operating System: Debian GNU/Linux 8.5 (jessie)
  • Operating System Type: Linux
  • Operating System Name: Debian
  • Operating System Version: 8.5
  • Operating System Service Pack: None
  • Operating System Architecture Description: x86_64-linux-thread-multi

The issue is not very urgent for us, as we are using the manufacturer field to build a dynamic group, because of:
[[https://www.rudder-project.org/redmine/issues/6972]]

Cheers,


Subtasks 1 (0 open1 closed)

Bug #9071: Broken patch in 8953ReleasedAlexis Mousset2016-09-15Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #9049: Some KVM virtual machines considered as physical nodesReleasedAlexis Mousset2016-09-14Actions
Actions #1

Updated by Alexandre Anriot over 7 years ago

  • Subject changed from Virtual machines considered as "physical" ones to Virtual machines considered as "physical" nodes
Actions #2

Updated by Alexandre Anriot over 7 years ago

  • Subject changed from Virtual machines considered as "physical" nodes to Virtual machines considered as physical nodes
Actions #3

Updated by Florian Heigl over 7 years ago

I have the same issue with KVM VMs.
Can be detected via BIOS "Name" (not vendor iirc) KVM.

Didn't remember to report but now I feel those could be related.

Actions #4

Updated by François ARMAND over 7 years ago

Thanks for reporting. We will check if it was corrected upstream and/or correct it.

Could you already send us the "dmesg" output (at least anything talking about virtual machine :).

Thanks,

Actions #5

Updated by François ARMAND over 7 years ago

  • Category set to Web - Nodes & inventories
  • Assignee set to Nicolas CHARLES
  • Target version set to 3.1.14
Actions #6

Updated by Nicolas CHARLES over 7 years ago

From Florian's file, dmseg contains the line VMware vmxnet3 virtual NIC driver, but we match VMware vmxnet virtual NIC driver.
So i'm at least fixing this one

Actions #7

Updated by Alexandre Anriot over 7 years ago

Nicolas CHARLES wrote:

From Florian's file, dmseg contains the line VMware vmxnet3 virtual NIC driver, but we match VMware vmxnet virtual NIC driver.
So i'm at least fixing this one

Hello Nicolas,

On my side, I have a mix of vmxnet3 and e1000 NICs. Could it be possible to check the MAC addresses vendors instead?

Actions #8

Updated by Nicolas CHARLES over 7 years ago

Alexandre Anriot wrote:

Nicolas CHARLES wrote:

From Florian's file, dmseg contains the line VMware vmxnet3 virtual NIC driver, but we match VMware vmxnet virtual NIC driver.
So i'm at least fixing this one

Hello Nicolas,

On my side, I have a mix of vmxnet3 and e1000 NICs. Could it be possible to check the MAC addresses vendors instead?

Hello Alexandre

Could you send me the output of dmesg | grep VMware, plus the inventories that are not correctly detected (they may contain sensitive data, so you can send them to me by mail directly)

Actions #9

Updated by Nicolas CHARLES over 7 years ago

  • Status changed from New to In progress
Actions #10

Updated by Nicolas CHARLES over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1059
Actions #12

Updated by Alexandre Anriot over 7 years ago

Hello Nicolas,

Here is the output:

[ 1.826215] VMware PVSCSI driver - version 1.0.5.0-k
[ 1.833681] VMware vmxnet3 virtual NIC driver - version 1.2.0.0-k-NAPI
[ 1.871532] scsi0 : VMware PVSCSI storage adapter rev 2, req/cmp/msg rings: 8/8/1 pages, cmd_per_lun=254
[ 1.871630] vmw_pvscsi 0000:03:00.0: VMware PVSCSI rev 2 host #0
[ 1.872060] scsi 0:0:0:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
[ 2.003886] ata2.00: ATAPI: VMware Virtual IDE CDROM Drive, 00000001, max UDMA/33
[ 2.012616] scsi 2:0:0:0: CD-ROM NECVMWar VMware IDE CDR10 1.00 PQ: 0 ANSI: 5
[ 94.879284] systemd[1]: Detected virtualization 'vmware'.

Nicolas CHARLES wrote:

Hello Alexandre

Could you send me the output of dmesg | grep VMware, plus the inventories that are not correctly detected (they may contain sensitive data,
so you can send them to me by mail directly)

Actions #13

Updated by Nicolas CHARLES over 7 years ago

Alexandre Anriot wrote:

Hello Nicolas,

Here is the output:

[ 1.826215] VMware PVSCSI driver - version 1.0.5.0-k
[ 1.833681] VMware vmxnet3 virtual NIC driver - version 1.2.0.0-k-NAPI
[ 1.871532] scsi0 : VMware PVSCSI storage adapter rev 2, req/cmp/msg rings: 8/8/1 pages, cmd_per_lun=254
[ 1.871630] vmw_pvscsi 0000:03:00.0: VMware PVSCSI rev 2 host #0
[ 1.872060] scsi 0:0:0:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
[ 2.003886] ata2.00: ATAPI: VMware Virtual IDE CDROM Drive, 00000001, max UDMA/33
[ 2.012616] scsi 2:0:0:0: CD-ROM NECVMWar VMware IDE CDR10 1.00 PQ: 0 ANSI: 5
[ 94.879284] systemd[1]: Detected virtualization 'vmware'.

Awesome, so propoed fix will detect the "VMware vmxnet3 virtual NIC driver" line, and node will be detected as Virtual

Actions #14

Updated by Alexandre Anriot over 7 years ago

Great, thanks. ;-)

Nicolas CHARLES wrote:

Awesome, so propoed fix will detect the "VMware vmxnet3 virtual NIC driver" line, and node will be detected as Virtual

Actions #15

Updated by Nicolas CHARLES over 7 years ago

  • Related to Bug #9049: Some KVM virtual machines considered as physical nodes added
Actions #16

Updated by Nicolas CHARLES over 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #17

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.15/14 and 3.2.8/7 which were released today.

Actions

Also available in: Atom PDF