Red Hat Bugzilla – Bug 127472
number doesn't work rhnSatelliteInfo.version
Last modified: 2009-09-10 14:24:04 EDT
Using a number column doesn't work, because we are trying to store a
verison. We should have used a evr, like Peter wanted.
Thanks, on dev now.
client for 'http://rlx-2-04.rhndev.redhat.com/rpc/api' - created
logged in (admin/dog8code), token: '85x532989762d36911f5c4bc971f7a50ea1'
run a script to execute the rhnSatelliteInfo.version api
make sure the version is correct..
Verified on staged (Satellite-5.3.0-RHEL5-re20090724.0) with updates from Aug 20, 2009
moving to RELEASE_PENDING
After 5 years, it appears that the api call has changed from rhnSatelliteInfo.version to api.systemVersion()
[jsefler@jsefler api]$ cat api_systemVersion.py
u = 'admin'
p = 'redhat'
url = 'http://rhndev1.z900.redhat.com./rpc/api'
server = xmlrpclib.Server(url,verbose=0)
session = server.auth.login(u,p)
version = server.api.systemVersion()
print "api.systemVersion=%s" % (version)
print "ERROR: an Error was encountered!\n", f
[jsefler@jsefler api]$ ./api_systemVersion.py
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.