Bug 993822
Summary: | Can't get the host/guest association in the HYPER-V mode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Liushihui <shihliu> |
Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.10 | CC: | liliu, ovasik, rnovacek, sgao |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-who-0.9-1.el5 | Doc Type: | Bug Fix |
Doc Text: |
no docs needed
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-16 00:29:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Liushihui
2013-08-06 12:23:03 UTC
It seems that python-hashlib in RHEL-5 is missing the MD4 hashing algorithm. It's possible to workaround this issue by using MD4 from openssl. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Fixed in virt-who-0.9-1.el5. Verified it on virt-who-0.9-2.el5 Verified steps: 1.Configure virt-who #vim /etc/sysconfig/virt-who, Update as the following: VIRTWHO_DEBUG=1 VIRTWHO_INTERVAL=5 VIRTWHO_HYPERV=1 VIRTWHO_HYPERV_OWNER=ACME_Corporation VIRTWHO_HYPERV_ENV=Library VIRTWHO_HYPERV_SERVER=10.66.128.173 VIRTWHO_HYPERV_USERNAME=administrator VIRTWHO_HYPERV_PASSWORD=qwer1234P 2.Register to SAM server #subscription-manager register --username=admin --password=admin 3.Restart virt-who service # service virt-who restart 4.Monitor the rhsm.log file, #tail -f /var/log/rhsm/rhsm.log 2014-04-24 03:32:53,067 [WARNING] @virt-who.py:515 - Listening for events is not available in VDSM, ESX, RHEV-M or Hyper-V mode 2014-04-24 03:32:53,457 [DEBUG] @hyperv.py:172 - Hyper-V url: http://10.66.128.173:5985/wsman 2014-04-24 03:32:53,457 [DEBUG] @virt-who.py:528 - Virt-who is running in hyperv mode 2014-04-24 03:32:53,457 [DEBUG] @virt-who.py:535 - Starting infinite loop with 5 seconds interval and event handling 2014-04-24 03:32:53,461 [DEBUG] @hyperv.py:222 - Using NTLM authentication 2014-04-24 03:32:53,527 [DEBUG] @hyperv.py:249 - NTLM authentication successful 2014-04-24 03:32:54,409 [DEBUG] @subscriptionmanager.py:89 - Sending update in hosts-to-guests mapping: {'60D30E26-6409-0EA6-6C0E-0ED223510F02': ['A9204F8B-0312-DD4F-8286-819B6CA7E554']} 2014-04-24 03:33:08,414 [INFO] @virt-who.py:217 - Created host: 4e44af87-e7f0-427e-b494-7116cfcd7a8d with guests: [A9204F8B-0312-DD4F-8286-819B6CA7E554] 2014-04-24 03:33:13,416 [DEBUG] @hyperv.py:222 - Using NTLM authentication 2014-04-24 03:33:13,430 [DEBUG] @hyperv.py:249 - NTLM authentication successful 2014-04-24 03:33:14,267 [DEBUG] @subscriptionmanager.py:89 - Sending update in hosts-to-guests mapping: {'60D30E26-6409-0EA6-6C0E-0ED223510F02': ['A9204F8B-0312-DD4F-8286-819B6CA7E554']} Result: virt-who send the right host/guest association to SAM server, Therefore, verify it on virt-who-0.9-2.el5. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1206.html |