Bug 1640156
| Summary: | Client on Nutanix AHV not recognized as virtual system | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Cristian Seres <cseres> | ||||
| Component: | Clients | Assignee: | Tomáš Kašpárek <tkasparek> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.8 | CC: | cseres | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-01-15 07:59:27 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1653216 | ||||||
| Attachments: |
|
||||||
|
Description
Cristian Seres
2018-10-17 12:44:52 UTC
Created attachment 1494839 [details]
dmidecode output from a CentOS 7.5 VM running on Nutanix AHV
Hello Cristian,
I do not have access to Nutanix AHV could you please try to patch /usr/share/rhn/server/handlers/xmlrpc/registration.py with following patch, restart httpd and re-register one system to see whether it works?
@@ -94,6 +94,8 @@ def parse_smbios(smbios):
if uuid is None:
uuid = "flex-guest"
return (rhnVirtualization.VirtualizationType.VIRTAGE, uuid)
+ elif manufacturer == 'Nutanix' and product == 'AHV' and uuid is not None:
+ return (rhnVirtualization.VirtualizationType.QEMU, uuid)
else:
return (None, None)
Hello Tomáš, perfect fix! I have tested it and re-registered client is shown as Virtual system now. spacewalk.git(master): ccfeebffc39a28fb42e753a2dc24ab5812314f21 Move Spacewalk 2.9 bugs ON_QA. Spacewalk 2.9 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes29 |