Red Hat Bugzilla – Bug 885760
Unable to query Virtualization information from getDetails
Last modified: 2013-10-01 17:44:44 EDT
Description of problem:
When viewing a Virtual Machine in the Satellite interface, the details page will show a Virtualization field. The field will provide information on which type of hypervisor the guest is running on. When using the API the system.getDetails method does not contain that information.
Version-Release number of selected component (if applicable):
This has been tested on 5.5
Call the system.getDetails method in the API
Steps to Reproduce:
Have a Virtualization value in the returned struct.
Adding "virtualization" type for virtual guests to ServerSerializer ...
VERIFIED on Satellite-5.6.0-RHEL6-re20130521.0
I haven't reproduced of this bug !!!
1. register virtual guest into satellite
2. update variables and run this script
SATELLITE_URL = "http://localhost/rpc/api"
SATELLITE_LOGIN = "admin"
SATELLITE_PASSWORD = "xxx"
SID = 1000010004
client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)
detail = client.system.getDetails(key, SID)
print "Type of virtualization: %s" % detail.get('virtualization')
Satellite 5.6 has been released. This bug was tracked under the release.
This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
Moving to CLOSED CURRENT_RELEASE.
Text from Upgrade Erratum follows:
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.