Project

General

Profile

Actions

Bug #26004

closed

virt-who does not match all guest virtual machines on the ESXi hypervisor

Added by Ludwig Bayerlein about 5 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hi,

we are using virt-who in our environment with the latest version installed.

Versions

Katello: 3.8.1
virt-who: 0.22.5-1
Foreman: 1.19.1

virt-who asks the vCenter server for its virtual machines on one esxi. The esxi answers with 1 hypervisors und 51 machines. One of the virtual machines is t-wmu70, which is reported correctly. The hypervisor (esxi) is listed in content hosts via "virt-who-vmu147-5" with 25 content hosts. Unfortunately, t-wmu70 is not listed as virtual machine for this hypervisor. But we have proven it und registered it correctly via subscription-management. Bot systems (virtual machine and virt-who server) are RedHat systems.

Now why is t-wmu70 not a content host running on virt-who-vmu147-5?

I tried this change, but without success: https://github.com/Katello/katello/pull/7817/files


Files

2019-02-06_15-30.png View 2019-02-06_15-30.png 66.3 KB Ludwig Bayerlein, 02/06/2019 02:54 PM
2019-02-06_15-29.png View 2019-02-06_15-29.png 58 KB Ludwig Bayerlein, 02/06/2019 02:54 PM
2019-02-06_15-28.png View 2019-02-06_15-28.png 76.9 KB Ludwig Bayerlein, 02/06/2019 02:54 PM
virt-who-debug.txt virt-who-debug.txt 25.7 KB Ludwig Bayerlein, 02/06/2019 03:01 PM
2019-02-06_15-31.png View 2019-02-06_15-31.png 95.4 KB Ludwig Bayerlein, 02/06/2019 03:08 PM
Actions #1

Updated by Ludwig Bayerlein about 5 years ago

Attached virt-who debug log

Actions #2

Updated by Ludwig Bayerlein about 5 years ago

  • Description updated (diff)
Actions #3

Updated by Ludwig Bayerlein about 5 years ago

  • File deleted (2019-02-06_15-31.png)
Actions #5

Updated by Ludwig Bayerlein about 5 years ago

  • Found in Releases Katello 3.11.0 added

I did an upgrade of our machine to Katello version 3.11 RC2 (katello-3.11.0-0.1.rc2.el7.noarch) and it is the same behaviour. Following knowledgebase is successfully tested and the problem still exists: https://access.redhat.com/solutions/1592573

  • The VDC is assigned to the hypervisor (status is fully entitled)
  • The client is subscribed via subscriptionmanager
  • The virt-who debug log tells me the right UUID from the client (tested from this KB article: https://access.redhat.com/solutions/3068371)
  • The virt-who client successfully connects to the esxi/vcenter
  • The virt-who client successfully connects to the rhsm
  • The rhsm does not show me any errors
  • The virt-who service is running

After unsubscribing the missing virtual machine and resubscribing again, following message comes up in the Foreman gui: Red Hat Enterprise Linux Server: Not supported by a valid subscription.
On the client (virtual machine), I get following message, after trigger a "subscription manager status"
-----------------------------------------
System Status Details
-----------------------------------------
Overall Status: Invalid

If I assign the VDC manually, the Foreman gui tells me, that its partially subscribed, but not reported by anyone.

We will do a rollback to version 3.8.1 again, because all date were shown as invalid instead of the real date.

Actions #6

Updated by Chris Roberts about 5 years ago

  • Triaged changed from No to Yes
Actions #7

Updated by Chris Roberts about 5 years ago

  • Triaged changed from Yes to No
Actions #8

Updated by Andrew Kofink about 5 years ago

  • Target version set to Katello Backlog
  • Triaged changed from No to Yes
Actions #9

Updated by Ludwig Bayerlein about 5 years ago

I have got an update and there are no good news for debugging purposes.

We did a migration on our infrastructure and changed the ESXi hypervisors. The old ones run out of support and has been replaced by new ones. Now after this migration, the virt-who configuration works again and resolves near 100% of all hosts. Except of two unimportant virtual machines, every other has the correct match to its hypervisor and vice verca. I really don't know what happened, but we cannot debug it any more, except of the two non working machines.

If I can provide more informations, please tell me how to support.

Actions #10

Updated by Ludwig Bayerlein over 2 years ago

  • Status changed from New to Resolved

OK maybe I do have an update. We managed to get it running with Katello 3.18.2 and it workes well. It was stucked and solved due to a hanging job in the database. It was not visible in the webui, so I deleted it in the database itself.

Everything works quite well, so this ticket can be closed.

Actions

Also available in: Atom PDF