Bug #8953
closedVirtual machines considered as physical nodes
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: 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,
Updated by Alexandre Anriot over 8 years ago
- Subject changed from Virtual machines considered as "physical" ones to Virtual machines considered as "physical" nodes
Updated by Alexandre Anriot over 8 years ago
- Subject changed from Virtual machines considered as "physical" nodes to Virtual machines considered as physical nodes
Updated by Florian Heigl over 8 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.
Updated by François ARMAND over 8 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,
Updated by François ARMAND over 8 years ago
- Category set to Web - Nodes & inventories
- Assignee set to Nicolas CHARLES
- Target version set to 3.1.14
Updated by Nicolas CHARLES over 8 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
Updated by Alexandre Anriot over 8 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?
Updated by Nicolas CHARLES over 8 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 oneHello 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)
Updated by Nicolas CHARLES over 8 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 8 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
Updated by Nicolas CHARLES over 8 years ago
Updated by Alexandre Anriot over 8 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)
Updated by Nicolas CHARLES over 8 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
Updated by Alexandre Anriot over 8 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
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #9049: Some KVM virtual machines considered as physical nodes added
Updated by Nicolas CHARLES over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|5893d99357b6230da9bb68e121cfb9fdd10c888b.
Updated by Vincent MEMBRÉ about 8 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.
- 3.1: Announce Changelog
- 3.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/