[Spacewalk-list] Clients registered with spacwalk proxy does not pick up scheduled actions

Christian Ejlertsen ce at lytzenit.dk
Sun Dec 21 22:14:02 UTC 2014


Hello

I have a spacewalk 2.2 system with so far only a few clients on it. Any
client directly connected to the spacewalk server is working perfectly
with osad.

I have recently added a spacewalk proxy in the dmz and is testing it.
I can register the clients with the proxy and they appear in the
management interface as registered with the proxy. 
The OSA ping does not return online status for the client and any action
is not picked up automatically before running rhn_check on the client
registered with the proxy.
I've been trying to debug it but I guess my knowledge about the osad and
jabberd interworkings is lagging. Ports 80,443,5222,5269 are all
reachable from spacewalk proxy to spacewalk server, names resolve on the
proxy and the server.
Hope someone can share some insight or some places to look for the more
debug information.

Below is the osad output when running it with osad -N -vvvv.

2014-12-21 21:59:01 osad._setup_config: Updating configuration
2014-12-21 21:59:01 osad._setup_config: Time drift 0
2014-12-21 21:59:01 osad._setup_config: Client name 92db9b8850cfeefc
2014-12-21 21:59:01 osad._setup_config: Shared key
a90c0cf93f7764d48290e1cf55c804398dc5ad4d
2014-12-21 21:59:01 jabber_lib.setup_connection: Connecting to
dmzspacewalkproxy01.anon.com
2014-12-21 21:59:01 jabber_lib._get_jabber_client: 
2014-12-21 21:59:01 jabber_lib._get_jabber_client: Connecting to
dmzspacewalkproxy01.anon.com
2014-12-21 21:59:01 jabber_lib.__init__: 
2014-12-21 21:59:01 jabber_lib.__init__: 
2014-12-21 21:59:01 jabber_lib.check_cert: Loading cert <X509Name object
'/C=DK/ST=Nordjylland/L=Hjoerring/O=Anon
A/S/OU=spacewalk01.anon.com/CN=spacewalk01.anon.com'>
2014-12-21 21:59:01 jabber_lib.connect: 
2014-12-21 21:59:01 jabber_lib.process: 300
2014-12-21 21:59:01 jabber_lib.process: None
2014-12-21 21:59:01 jabber_lib.connect: Preparing for TLS handshake
2014-12-21 21:59:01 jabber_lib.process: None
2014-12-21 21:59:01 jabber_lib.process: None
2014-12-21 21:59:01 jabber_lib.setup_connection: Connected to jabber
server dmzspacewalkproxy01.anon.com
2014-12-21 21:59:01 osad_client.start: osad-1b78d856e7
081485a6b8b4323c0e05 osad
2014-12-21 21:59:01 jabber_lib.auth: osad-1b78d856e7
081485a6b8b4323c0e05 osad 1
2014-12-21 21:59:01 jabber_lib.auth: Sending auth request <iq type='get'
id='auth-get-a07d88-0'><query xmlns = 'jabber:iq:auth'
><username>osad-1b78d856e7</username></query></iq>
2014-12-21 21:59:01 jabber_lib.process: 59.9999890327
2014-12-21 21:59:01 jabber_lib.dispatch: Unhandled stanza <iq
type='result' id='auth-get-a07d88-0'><query xmlns = 'jabber:iq:auth'
><username>osad-1b78d856e7</username><resource /><password /><digest /></query></iq>
2014-12-21 21:59:01 jabber_lib.auth: Auth response <iq type='result'
id='auth-get-a07d88-0'><query xmlns = 'jabber:iq:auth'
><username>osad-1b78d856e7</username><resource /><password /><digest /></query></iq>
2014-12-21 21:59:01 jabber_lib.auth: Sending auth info <iq type='set'
id='auth-set-a07d88-1'><query xmlns = 'jabber:iq:auth'
><username>osad-1b78d856e7</username><resource>osad</resource><digest>ad651bc95e76268883a8ce4fce22ab1584e4769a</digest></query></iq>
2014-12-21 21:59:01 jabber_lib.process: 299.999992132
2014-12-21 21:59:01 jabber_lib.dispatch: Unhandled stanza <iq
type='result' id='auth-set-a07d88-1' />
2014-12-21 21:59:01 jabber_lib.auth: Authenticated
2014-12-21 21:59:01 jabber_lib.register_callback: <bound method
Client._roster_callback of <osad.osad_client.Client instance at
0x2132998>> iq None None None None
2014-12-21 21:59:01 jabber_lib.process: None
2014-12-21 21:59:01 jabber_lib._roster_callback: Updating the roster <iq
type='result' id='iq-request-a07d88-2'><query xmlns = 'jabber:iq:roster'
><item ask='subscribe' jid='rhn-dispatcher-sat at spacewalk01.anon.com'
subscription='none' /></query></iq>
2014-12-21 21:59:01 jabber_lib.register_callback: <bound method
Client._presence_callback of <osad.osad_client.Client instance at
0x2132998>> presence None None None None
2014-12-21 21:59:01 jabber_lib.register_callback: <bound method
Client._message_callback of <osad.osad_client.Client instance at
0x2132998>> message None None None None
2014-12-21 21:59:01 jabber_lib.subscribe_to_presence: Subscribed to {}
2014-12-21 21:59:01 jabber_lib.subscribe_to_presence: Subscribed both {}
2014-12-21 21:59:01 jabber_lib.subscribe_to_presence: Subscribed none
{'rhn-dispatcher-sat at spacewalk01.anon.com': {'ask': u'subscribe', 'jid':
'rhn-dispatcher-sat at spacewalk01.anon.com', 'subscription': u'none'}}
2014-12-21 21:59:01 jabber_lib.subscribe_to_presence: Subscribed from {}
2014-12-21 21:59:01 jabber_lib.subscribe_to_presence: Subscribed none +
ask=subscribe
2014-12-21 21:59:01 jabber_lib.send_presence: None None
2014-12-21 21:59:01 jabber_lib.process_forever: 
2014-12-21 21:59:01 jabber_lib.process: 180


Thank you in advance

- Christian Ejlertsen




More information about the Spacewalk-list mailing list