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 How reproducible: Call the system.getDetails method in the API Steps to Reproduce: 1. 2. 3. Actual results: No Value Expected results: Have a Virtualization value in the returned struct. Additional info:
Adding "virtualization" type for virtual guests to ServerSerializer ... spacewalk.git: c62b47eccc7ef92a1fcc5e4f2f9abcfac32735d0
VERIFIED on Satellite-5.6.0-RHEL6-re20130521.0 spacewalk-java-1.9.83-35.el6sat.noarch I haven't reproduced of this bug !!! Steps: 1. register virtual guest into satellite 2. update variables and run this script #!/usr/bin/python import xmlrpclib 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') client.auth.logout(key)
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 before release). 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. http://rhn.redhat.com/errata/RHEA-2013-1395.html