Hi
I am trying to figure out why a call to rhn-profile-sync on a client
does not update on the spacewalk server.
I have managed to trace back to this file:
/rhnPackageInfo.py
def updatePackageProfile():
log = up2dateLog.initLog()
log.log_me("Updating package profile")
print ("Adding packages to profile blah")
s = rhnserver.RhnServer()
s.registration.update_packages(up2dateAuth.getSystemId(),
rpmUtils.getInstalledPackageList(getArch=1))
The rpmUtils.getInstalledPackageList works fine and gets all the
packages, but I am having difficulty in finding where the
update_packages method is declared and also how it will interact with
the spacewalk server.(xmlrpc I believe)
s = rhnserver.RhnServer()
this class inherits from rpcserver if I am reading the code correctly.
I could also not found the method update_packages in the
http://www.redhat.com/spacewalk/documentation/python-doc/
I would really appreciate any help or pointers in understanding where
the code goes next.
Regards
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel