Hi,

This one was happening in 1.8 and 1.9 on my RHEL5 based Spacewalk installation. 
I have a script to prepare update details for audit that works nicely with 
hosts already registered, but newly registered ones don't work - returns a 500 
timeout:

my $systems = $client->call('system.searchByName', $session, $search);

returns the name ok:

[2013-04-09 16:23:52,714] INFO  - REQUESTED FROM: 192.168.131.146 CALL: 
system.searchByName(4251x1ef1784c1d24abde4de1b183305f7458, *******) CALLER: 
(******) TIME: 0.351 seconds

my $kernel = $client->call('system.getRunningKernel', $session, 
$system->{'id'});

returns the kernel ok:

[2013-04-09 16:23:52,738] INFO  - REQUESTED FROM: 192.168.131.146 CALL: 
system.getRunningKernel(4251x1ef1784c1d24abde4de1b183305f7458, 1000010137) 
CALLER: (******) TIME: 0.014 seconds

The next call is

my $packages = $client->call('system.listLatestUpgradablePackages', $session, 
$system->{'id'});

At this point I get a "500 read timeout".

All details are returning fine via the GUI. The script is here - 
http://hastebin.com/tesovipoki.pl

Any suggestions would be great - I don't get anything in the tomcat logs 
unfortunately.

Cheers,

Anton Pritchard-Meaker | Unix Engineer
KIT digital | York | www.kitd.com<http://www.kitd.com/>  |  The Future of 
Television

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to