Ahhhhh...I see it. It's not a problem with the code at all or the spacewalk 
services. I looked at the code a little better and the RPC call used in the 
script is

xmlrpclib.Server.channel.software.listLatestPackages

Which I assume it maybe a several months back. So it's only returning the 
latest packages and creating the links.

I changed the code to use:

xmlrpclib.Server.channel.software.listAllPackages

and it looks like so far it's going to return everything in the repo as I 
expected.

So false alarm!

Thanks for the info though.

Regards,

Glen Collins

----- Original Message -----
Unfortunately I look at all the logs ad searched for the outofmemory and 
nothing came up. Looking at the code this is more python but maybe the api 
connection is failing and not returning all the rpm's in the repository. I'm 
just wondering what log I should be looking at for the kind of api 
connectivity. I did look at the rhn_web_api.log and see the request for the 
packages but no sort of errors.

Not sure where to go from here. While I needed this repo for just the client 
software it would be nice to have my oracle available.

Regards,

Glen Collins

----- Original Message -----
Hey,

On 1 Oct 2014, at 12:07 pm, Glen Collins <[email protected]> wrote:

> As I continue my quest for spacewalk happiness it seems the script 
> spacewalk-create-yumrepo.py from the spacewalk-api-scripts-master package is 
> having some issues with large repositories. 

Have you checked the rhn_taskomatic_daemon.log and catalina.out (for Tomcat)? 
I’ve noticed that they tend to throw OutOfMemory errors using the default 
memory limits with the big OL repos.

I’ve bumped up my Java memory limit to 8GB, but then I have Spacewalk on a 
machine with 256GB of RAM. :)

--
Oracle <http://www.oracle.com>
Avi Miller | Product Management Director | +61 (3) 8616 3496
Oracle Linux and Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia

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

Reply via email to