Hi there,

I have and architecture composed by:

Spacewalk server : jabberd + osa-dipatcher
Spacewalk proxy : jabberd  + osad : is this configuration correct or I need 
osa-dipatcher + jabberd here ?
Scpacewalk client : osad

The problem is when I had the configuration of Spacewalk server + Scpacewalk 
client the updates are done instantly, now by adding the SW proxy the updates 
takes more than 3 hours to be applied and this need to be fixed.

On the client:

/usr/sbin/osad -N -v -v -v -v
2016-11-23 10:11:32 osad._setup_config: Updating configuration
2016-11-23 10:11:32 jabber_lib.setup_connection: Connecting to proxy.local.labs
2016-11-23 10:11:32 jabber_lib._get_jabber_client:
2016-11-23 10:11:32 jabber_lib._get_jabber_client: Connecting to 
proxy.ins.local.labs
2016-11-23 10:11:32 jabber_lib.__init__:
2016-11-23 10:11:32 jabber_lib.__init__:
2016-11-23 10:11:32 jabber_lib.check_cert: Loading cert <X509Name object 
'/C=GE/ST=Germany/L=Berlin/O=Brado/OU=localhost.localdomain/CN=localhost.localdomain'>
2016-11-23 10:11:32 jabber_lib.connect:
2016-11-23 10:11:32 jabber_lib.process: 300
2016-11-23 10:11:32 jabber_lib.process: None
2016-11-23 10:11:32 jabber_lib.connect: Preparing for TLS handshake
2016-11-23 10:11:32 jabber_lib.process: None
2016-11-23 10:11:32 jabber_lib.process: None
2016-11-23 10:11:32 jabber_lib.setup_connection: Connected to jabber server 
proxy.local.labs
2016-11-23 10:11:32 osad_client.start: osad-7f23444dfa 3156c10b5381e50aaff4 osad
2016-11-23 10:11:32 jabber_lib.auth: osad-7f23444dfa 3156c10b5381e50aaff4 osad 1
2016-11-23 10:11:32 jabber_lib.auth: Sending auth request <iq type='get' 
id='auth-get-3f8f41-0'><query xmlns = 'jabber:iq:auth' 
><username>osad-7f23444dfa</username></query></iq>
2016-11-23 10:11:32 jabber_lib.process: 59.9999938011
2016-11-23 10:11:32 jabber_lib.dispatch: Unhandled stanza <iq type='result' 
id='auth-get-3f8f41-0'><query xmlns = 'jabber:iq:auth' 
><username>osad-7f23444dfa</username><resource /><password /><digest 
/></query></iq>
2016-11-23 10:11:32 jabber_lib.auth: Auth response <iq type='result' 
id='auth-get-3f8f41-0'><query xmlns = 'jabber:iq:auth' 
><username>osad-7f23444dfa</username><resource /><password /><digest 
/></query></iq>
2016-11-23 10:11:32 jabber_lib.auth: Sending auth info <iq type='set' 
id='auth-set-3f8f41-1'><query xmlns = 'jabber:iq:auth' 
><username>osad-7f23444dfa</username><resource>osad</resource><digest>acc9759e941389a797d038587f9d764a32d3ad02</digest></query></iq>
2016-11-23 10:11:32 jabber_lib.process: 299.999993801
2016-11-23 10:11:32 jabber_lib.dispatch: Unhandled stanza <iq type='result' 
id='auth-set-3f8f41-1' />
2016-11-23 10:11:32 jabber_lib.auth: Authenticated
2016-11-23 10:11:32 jabber_lib.register_callback: <bound method 
Client._roster_callback of <osad.osad_client.Client object at 0xd50e10>> iq 
None None None None
2016-11-23 10:11:32 jabber_lib.process: None
2016-11-23 10:11:32 jabber_lib._roster_callback: Updating the roster <iq 
type='result' id='iq-request-3f8f41-2'><query xmlns = 'jabber:iq:roster' ><item 
ask='subscribe' jid='[email protected]' 
subscription='none' /></query></iq>
2016-11-23 10:11:32 jabber_lib.register_callback: <bound method 
Client._presence_callback of <osad.osad_client.Client object at 0xd50e10>> 
presence None None None None
2016-11-23 10:11:32 jabber_lib.register_callback: <bound method 
Client._message_callback of <osad.osad_client.Client object at 0xd50e10>> 
message None None None None
2016-11-23 10:11:32 jabber_lib.register_callback: <bound method 
Runner._error_callback of <osad.osad.Runner instance at 0xced440>> error None 
None None None
2016-11-23 10:11:32 osad.fix_connection: Time drift 1
2016-11-23 10:11:32 osad.fix_connection: Client name 03ebd72b35dbb13d
2016-11-23 10:11:32 osad.fix_connection: Shared key 
fa1e1673d57f8b1c830939e5f0f8b88b3fa9b57a
2016-11-23 10:11:32 jabber_lib.subscribe_to_presence: Subscribed to {}
2016-11-23 10:11:32 jabber_lib.subscribe_to_presence: Subscribed both {}
2016-11-23 10:11:32 jabber_lib.subscribe_to_presence: Subscribed none 
{'[email protected]': {'ask': u'subscribe', 'jid': 
'[email protected]', 'subscription': u'none'}}
2016-11-23 10:11:32 jabber_lib.subscribe_to_presence: Subscribed from {}
2016-11-23 10:11:32 jabber_lib.subscribe_to_presence: Subscribed none + 
ask=subscribe
2016-11-23 10:11:32 jabber_lib.send_presence: None None
2016-11-23 10:11:32 jabber_lib.process_forever:
2016-11-23 10:11:32 jabber_lib.process: 180

On the proxy:



2016-11-23 10:14:31 osad._setup_config: Updating configuration
2016-11-23 10:14:31 jabber_lib.setup_connection: Connecting to 
localhost.localdomain
2016-11-23 10:14:31 jabber_lib._get_jabber_client:
2016-11-23 10:14:31 jabber_lib._get_jabber_client: Connecting to 
localhost.localdomain
2016-11-23 10:14:31 jabber_lib.__init__:
2016-11-23 10:14:31 jabber_lib.__init__:
2016-11-23 10:14:31 jabber_lib.check_cert: Loading cert <X509Name object 
'/C=GE/ST=Germany/L=Berlin/O=Brado/OU=localhost.localdomain/CN=localhost.localdomain'>
2016-11-23 10:14:31 jabber_lib.connect:
2016-11-23 10:14:31 jabber_lib.process: 300
2016-11-23 10:14:31 jabber_lib.process: None
2016-11-23 10:14:31 jabber_lib.connect: Preparing for TLS handshake
2016-11-23 10:14:31 jabber_lib.process: None
2016-11-23 10:14:31 jabber_lib.process: None
2016-11-23 10:14:31 jabber_lib.setup_connection: Connected to jabber server 
localhost.localdomain
2016-11-23 10:14:31 osad_client.start: osad-675c244455 cb60fe6aac0ed2d8fa60 osad
2016-11-23 10:14:31 jabber_lib.auth: osad-675c244455 cb60fe6aac0ed2d8fa60 osad 1
2016-11-23 10:14:31 jabber_lib.auth: Sending auth request <iq type='get' 
id='auth-get-b5a99b-0'><query xmlns = 'jabber:iq:auth' 
><username>osad-675c244455</username></query></iq>
2016-11-23 10:14:31 jabber_lib.process: 59.9999930859
2016-11-23 10:14:31 jabber_lib.dispatch: Unhandled stanza <iq type='result' 
id='auth-get-b5a99b-0'><query xmlns = 'jabber:iq:auth' 
><username>osad-675c244455</username><resource /><password /><digest 
/></query></iq>
2016-11-23 10:14:31 jabber_lib.auth: Auth response <iq type='result' 
id='auth-get-b5a99b-0'><query xmlns = 'jabber:iq:auth' 
><username>osad-675c244455</username><resource /><password /><digest 
/></query></iq>
2016-11-23 10:14:31 jabber_lib.auth: Sending auth info <iq type='set' 
id='auth-set-b5a99b-1'><query xmlns = 'jabber:iq:auth' 
><username>osad-675c244455</username><resource>osad</resource><digest>67ea28565b8a01fe3df95d1cb9f1af91644e8f83</digest></query></iq>
2016-11-23 10:14:31 jabber_lib.process: 299.999994993
2016-11-23 10:14:31 jabber_lib.dispatch: Unhandled stanza <iq type='result' 
id='auth-set-b5a99b-1' />
2016-11-23 10:14:31 jabber_lib.auth: Authenticated
2016-11-23 10:14:31 jabber_lib.register_callback: <bound method 
Client._roster_callback of <osad.osad_client.Client object at 0x2820910>> iq 
None None None None
2016-11-23 10:14:31 jabber_lib.process: None
2016-11-23 10:14:31 jabber_lib._roster_callback: Updating the roster <iq 
type='result' id='iq-request-b5a99b-2'><query xmlns = 'jabber:iq:roster' ><item 
jid='[email protected]' subscription='both' 
/></query></iq>
2016-11-23 10:14:31 jabber_lib.register_callback: <bound method 
Client._presence_callback of <osad.osad_client.Client object at 0x2820910>> 
presence None None None None
2016-11-23 10:14:31 jabber_lib.register_callback: <bound method 
Client._message_callback of <osad.osad_client.Client object at 0x2820910>> 
message None None None None
2016-11-23 10:14:31 jabber_lib.register_callback: <bound method 
Runner._error_callback of <osad.osad.Runner instance at 0x27e1878>> error None 
None None None
2016-11-23 10:14:31 osad.fix_connection: Time drift 0
2016-11-23 10:14:31 osad.fix_connection: Client name c8e8e2512236d5e6
2016-11-23 10:14:31 osad.fix_connection: Shared key 
ff5f0e2e6503ebbee2866896e00201899184ff96
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed to {}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed both 
{'[email protected]': {'jid': 
'[email protected]', 'subscription': u'both'}}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed none {}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed from {}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Already subscribed to the 
presence of node [email protected]
2016-11-23 10:14:31 jabber_lib.send_presence: None None
2016-11-23 10:14:31 jabber_lib.process_forever:
2016-11-23 10:14:31 jabber_lib.process: 180
2016-11-23 10:14:31 jabber_lib._presence_callback: 
[email protected]/osad 
[email protected]/superclient None
2016-11-23 10:14:31 jabber_lib._presence_callback: Node is available 
[email protected]/superclient None
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed to {}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed both 
{'[email protected]': {'jid': 
'[email protected]', 'subscription': u'both'}}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed none {}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Subscribed from {}
2016-11-23 10:14:31 jabber_lib.subscribe_to_presence: Already subscribed to the 
presence of node [email protected]
2016-11-23 10:14:40 jabber_lib.process: 180

Cheers,

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

Reply via email to