[Spacewalk-list] Spacewalk 0.7 & Solaris Support Problem

Joshua Roys joshua.roys at gtri.gatech.edu
Mon Dec 14 20:55:38 UTC 2009


On 12/14/2009 03:44 PM, Andy Speagle wrote:
> On Mon, 2009-12-14 at 14:23 -0600, Andy Speagle wrote:
>> Hi all...
>>
>> I recently upgraded to v0.7 of Spacewalk, and I'm now having a bit of
>> trouble communicating with Spacewalk via "up2date" on my Solaris
>> hosts.
>> Everything seems to work EXCEPT updating of the package profile, which
>> errors out.
>>
>> Here's the actual error I'm receiving...
>
> Attached is a rather verbose traceback regarding this error.
>

Exception Handler Information
Traceback (most recent call last):
   File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function
     response = apply(func, params)
   File "/usr/share/rhn/server/handlers/xmlrpc/registration.py", line 
959, in update_packages
     server.add_package(package)
   File "/usr/share/rhn/server/rhnServer/server_wrapper.py", line 60, in 
add_package
     SolarisPatches.add_patch(self, self.server.get("id"), entry)
   File "/usr/share/rhn/server/rhnServer/server_solarispatches.py", line 
89, in add_patch
     self._patches[sysid].append(DBPatch(patch))
   File "/usr/share/rhn/server/rhnServer/server_solarispatches.py", line 
55, in __init__
     self.id = get_package_id(patch)
   File "/usr/share/rhn/server/rhnServer/server_solarispatches.py", line 
30, in get_package_id
     p = dbPackage(entry)
NameError: global name 'entry' is not defined

Specifically:
/usr/share/rhn/server/rhnServer/server_solarispatches.py, line 30

By chance, if you open 
/usr/share/rhn/server/rhnServer/server_solarispatches.py and change line 
30 to:

     p = dbPackage(pkg)

does it work?

Josh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2719 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091214/0fe289ef/attachment.p7s>


More information about the Spacewalk-list mailing list