Re: [Spacewalk-list] Config Management Question

2010-11-12 Thread Ian Forde
On Fri, 2010-11-12 at 17:45 +0100, Michael Mraka wrote: > Alex Negvesky wrote: > % Hello, > % > % I am looking to manage static routes through configuration management. > % I need a way to grab the first 3 octets of the network for an > % interface so I can build a route off it. For example "1.2.3

Re: [Spacewalk-list] ChannelSerializer

2010-11-12 Thread Colin Coe
Sorted... http://git.fedorahosted.org/git/?p=spacewalk.git;a=commit;h=dab9f87a00142250d32586f87c6f8a56b2cd480f On Fri, Nov 12, 2010 at 10:04 PM, Tomas Lestach wrote: > On Fri, 2010-11-12 at 21:22 +0800, Colin Coe wrote: >> Hi all >> >> While working with the external repo API calls I see that th

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Mullis, Josh (CCI-Atlanta)
This has solved a lot of osad issues for me in the past... Run these commands on spacewalk server: /sbin/service jabberd stop /sbin/service osa-dispatcher stop mv /var/lib/jabberd/db/* /tmp/ /sbin/service jabberd start /sbin/service osa-dispatcher start Then restart osad clients: /etc/init.d/o

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Sean Laurent
Yup. /var/lib/jabber and everything underneath is owned by jabber user and group. On Fri, Nov 12, 2010 at 2:58 PM, Glaser, David wrote: > I took a look at the pastebins, but didn’t see anything that really stood > out. The Segmentation fault is likely causing the issue. Are the files in > /var/

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Glaser, David
I took a look at the pastebins, but didn't see anything that really stood out. The Segmentation fault is likely causing the issue. Are the files in /var/lib/jabber[d]/db owned by the jabber user and group? Dave From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com

Re: [Spacewalk-list] rhn-clone-errata.py ProtocolError:502 -Proxy Error

2010-11-12 Thread Justin Sherrill
On 11/10/10 1:13 PM, Jet Wilda wrote: Same error when it tries to publish i.e. ProtocolError: 502 - Proxy Error This error can result due to a timeout between the apache server and the tomcat server. If a single api call is trying to do too much (i.e. perform some action on 1000s of servers)

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Sean Laurent
sm output here: http://pastebin.com/P9zi4wvK router output here: http://pastebin.com/Kds4iM8g -Sean On Fri, Nov 12, 2010 at 11:59 AM, Glaser, David wrote: > If sm isn’t staying running, I’d say that is probably a big part of your >

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Glaser, David
If sm isn't staying running, I'd say that is probably a big part of your problem. Can you post a patebin of the sm output? Dave From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Sean Laurent Sent: Friday, November 12, 2010 12:45 PM To: spacewalk-lis

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Sean Laurent
Since I'm not really familiar (at all) with the jabberd service, I'm not entirely sure what I'm looking for... :) That said, I've noticed a couple of things that may or may not be relevant. First, "router" seems to run fine. No obvious errors to my eyes, except for one strange thing: ---snip--- F

Re: [Spacewalk-list] Config Management Question

2010-11-12 Thread Michael Mraka
Alex Negvesky wrote: % Hello, % % I am looking to manage static routes through configuration management. % I need a way to grab the first 3 octets of the network for an % interface so I can build a route off it. For example "1.2.3.4/24 via % (|rhn.system.net_interface.ip_address(eth_device)|.1 "

Re: [Spacewalk-list] 'Invalid function call attempted' with Remote Command

2010-11-12 Thread Josh.Mullis
Thanks for the response Miroslav. Yes, I already had the rhncfg* packages installed and all actions enabled, so very strange that I had to do this. I ended up having to uninstall the rhncfg* rpms and reinstall. Possibly an older version of the rhncfg packages were installed. -Original Me

[Spacewalk-list] Config Management Question

2010-11-12 Thread Alex Negvesky
Hello, I am looking to manage static routes through configuration management. I need a way to grab the first 3 octets of the network for an interface so I can build a route off it. For example "1.2.3.4/24 via (|rhn.system.net_interface.ip_address(eth_device)|.1 " but obviously with the subne

Re: [Spacewalk-list] ChannelSerializer

2010-11-12 Thread Tomas Lestach
On Fri, 2010-11-12 at 21:22 +0800, Colin Coe wrote: > Hi all > > While working with the external repo API calls I see that the > ChannelSerializer only every shows details of one ContentSource (repo) > regardlessof how many are associated with that channel. Is this > intentional? > > Thanks > >

[Spacewalk-list] ChannelSerializer

2010-11-12 Thread Colin Coe
Hi all While working with the external repo API calls I see that the ChannelSerializer only every shows details of one ContentSource (repo) regardlessof how many are associated with that channel. Is this intentional? Thanks CC -- RHCE#805007969328369 _

Re: [Spacewalk-list] osad not working after re-registering

2010-11-12 Thread Glaser, David
I'd try stopping the jabber service, then (running with script), fire up (as user jabber) /usr/bin/router -D &, /usr/bin/sm -D &, /usr/bin/c2s -D & , and finally /usr/bin/s2s -D &. You should be able to go through the script output and see much better what the problem is. The error 'session man