[Spacewalk-list] spacewalk-utils repo sync error

2017-02-15 Thread catborise
Hi,
After upgrade spacewalk-utilsRunning transaction  Updating   : 
spacewalk-utils-2.7.6-1.el7.noarch                                              
                                                              1/2  Cleanup    : 
spacewalk-utils-2.7.5-1.el7.noarch                                              
                                                              2/2  Verifying  : 
spacewalk-utils-2.7.6-1.el7.noarch                                              
                                                              1/2  Verifying  : 
spacewalk-utils-2.7.5-1.el7.noarch                                              
                                                              2/2
Updated:  spacewalk-utils.noarch 0:2.7.6-1.el7
spacewalk-repo-sync tool gives error like below...

spacewalk-repo-sync -c  oraclelinux6-x86_6409:40:44 
==09:40:44 | Channel: 
oraclelinux6-x86_6409:40:44 ==09:40:44 Sync 
of channel started.09:40:44 Repo URL: 
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/09:40:46 ERROR: 
object of type 'NoneType' has no len()09:40:46 Sync of channel completed in 
0:00:02.09:40:46 Total time: 0:00:02

thanks___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] OSAD can't connect to host and port

2017-02-15 Thread Daryl Rose
Konstantin,


Yes, I can telnet to port 5222.


Robert,


Here is the verbose output.  I only did three v's, because four is just to much 
information to post.


[root@corp-rhel-sndbx ~]# /usr/sbin/osad -N -v -v -v

2017-02-15 12:58:52 osad._setup_config: Updating configuration

2017-02-15 12:58:52 jabber_lib.setup_connection: Connecting to 

2017-02-15 12:58:52 jabber_lib._get_jabber_client:

2017-02-15 12:58:52 jabber_lib._get_jabber_client: Connecting to 

2017-02-15 12:58:52 jabber_lib.__init__:

2017-02-15 12:58:52 jabber_lib.__init__:

2017-02-15 12:58:52 jabber_lib.connect:

2017-02-15 12:58:52 jabber_lib.process: 300

2017-02-15 12:58:52 jabber_lib.process: None

2017-02-15 12:58:53 jabber_lib.process: None

2017-02-15 12:58:53 jabber_lib.process: None

2017-02-15 12:58:53 jabber_lib.setup_connection: Connected to jabber server 


2017-02-15 12:58:53 osad_client.start: osad-5aecf197b4 f6962f84b418c0bdd420 osad

2017-02-15 12:58:53 jabber_lib.auth: osad-5aecf197b4 f6962f84b418c0bdd420 osad 1

2017-02-15 12:58:53 jabber_lib.process: 59.690056

2017-02-15 12:58:53 jabber_lib.process: 299.38011

2017-02-15 12:58:53 jabber_lib.register_callback: > iq 
None None None None

2017-02-15 12:58:53 jabber_lib.process: None

2017-02-15 12:58:53 jabber_lib._roster_callback: Updating the roster 

2017-02-15 12:58:53 jabber_lib.register_callback: > 
presence None None None None

2017-02-15 12:58:53 jabber_lib.register_callback: > 
message None None None None

2017-02-15 12:58:53 jabber_lib.register_callback: > error 
None None None None

2017-02-15 12:58:53 osad.fix_connection: Time drift 0

2017-02-15 12:58:53 osad.fix_connection: Client name 475c306861c30ddf

2017-02-15 12:58:53 osad.fix_connection: Shared key 
c6074436a1185a81e717c5e1fa0d976b3275cc91

2017-02-15 12:58:53 jabber_lib.send_presence: None None

2017-02-15 12:58:53 jabber_lib.process_forever:

2017-02-15 12:58:53 jabber_lib.process: 180


And here it the established connection:
# netstat -an|grep 5222|grep ""
tcp0  0 ::::5222  ::::60441 
 ESTABLISHED

Thank you.

Daryl



From: spacewalk-list-boun...@redhat.com  on 
behalf of Robert Paschedag 
Sent: Wednesday, February 15, 2017 11:18 AM
To: spacewalk-list@redhat.com; Konstantin Raskoshnyi
Subject: Re: [Spacewalk-list] OSAD can't connect to host and port

Am 15. Februar 2017 17:49:22 MEZ schrieb Konstantin Raskoshnyi 
:
>Can you do a telnet to port 5222 from client to spacewalk?
>On Wed, Feb 15, 2017 at 8:07 AM Daryl Rose 
>wrote:
>
>> I just did a fresh install of RHEL 6.6.  I installed Spacewalk client
>2.6
>> onto the server.  All is good with the exception of OSAD.  Whenever I
>try
>> to start it using services, I get the following error:
>>
>>
>> *# service osad start*
>>
>> *Starting osad: 2017-02-15 09:41:40 rhn_log.log_error: Error
>connecting to
>> jabber server: Unable to connect to the host and port specified. See
>> https://access.redhat.com/solutions/327903
Log in to Your Red Hat Account - Red Hat Customer 
Portal
access.redhat.com
Log In. Your Red Hat account gives you access to your profile, preferences, and 
services, depending on your status.



>>  for more information. *
Log in to Your Red Hat Account - Red Hat Customer 
Portal
access.redhat.com
Log In. Your Red Hat account gives you access to your profile, preferences, and 
services, depending on your status.



>>
>> *Error connecting to jabber server: Unable to connect to the host and
>port
>> specified. See https://access.redhat.com/solutions/327903
Log in to Your Red Hat Account - Red Hat Customer 
Portal
access.redhat.com
Log In. Your Red Hat account gives you access to your profile, preferences, and 
services, depending on your status.



>>  for more information. *
Log in to Your Red Hat Account - Red Hat Customer 
Portal
access.redhat.com
Log In. Your Red Hat account gives you access to your profile, preferences, and 
services, depending on your status.



>>
>> *2017-02-15 09:41:40 rhn_log.log_error: Traceback (most recent call
>last):*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in
>setup_connection*
>>
>> *c = self._get_jabber_client(js)*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in
>> _get_jabber_client*
>>
>> *c.connect()*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect*
>>
>> *raise socket.error(e)*
>>
>> *error: Unable to connect to the host and port specified*
>>
>>
>> *Traceback (most recent call last):*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in
>setup_connection*
>>
>> *c = self._get_jabber_client(js)*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in
>> _get_jabber_client*
>>
>> *

Re: [Spacewalk-list] OSAD can't connect to host and port

2017-02-15 Thread Robert Paschedag
Am 15. Februar 2017 17:49:22 MEZ schrieb Konstantin Raskoshnyi 
:
>Can you do a telnet to port 5222 from client to spacewalk?
>On Wed, Feb 15, 2017 at 8:07 AM Daryl Rose 
>wrote:
>
>> I just did a fresh install of RHEL 6.6.  I installed Spacewalk client
>2.6
>> onto the server.  All is good with the exception of OSAD.  Whenever I
>try
>> to start it using services, I get the following error:
>>
>>
>> *# service osad start*
>>
>> *Starting osad: 2017-02-15 09:41:40 rhn_log.log_error: Error
>connecting to
>> jabber server: Unable to connect to the host and port specified. See
>> https://access.redhat.com/solutions/327903
>>  for more information. *
>>
>> *Error connecting to jabber server: Unable to connect to the host and
>port
>> specified. See https://access.redhat.com/solutions/327903
>>  for more information. *
>>
>> *2017-02-15 09:41:40 rhn_log.log_error: Traceback (most recent call
>last):*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in
>setup_connection*
>>
>> *c = self._get_jabber_client(js)*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in
>> _get_jabber_client*
>>
>> *c.connect()*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect*
>>
>> *raise socket.error(e)*
>>
>> *error: Unable to connect to the host and port specified*
>>
>>
>> *Traceback (most recent call last):*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in
>setup_connection*
>>
>> *c = self._get_jabber_client(js)*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in
>> _get_jabber_client*
>>
>> *c.connect()*
>>
>> *  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect*
>>
>> *raise socket.error(e)*
>>
>> *error: Unable to connect to the host and port specified*
>>
>>
>> I'm not doing anything different with this install than I've been
>doing
>> with all of my other RHEL servers.  This is an inside network, no
>firewall
>> in between.  I am using fully qualified domain names.  I can telnet
>to port
>> 5222 on the spacewalk server, and I can start osad with -N -v -v -v
>-v and
>> get connected, so there is no issue with the port, or resolving the
>server
>> name.  Could this be something in the 2.6 client and RHEL version
>6.6?
>>
>>
>> Thanks
>>
>>
>> Daryl
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list

Hi Daryl,

You get connected when you run with -v -v -v -v but not when you just start the 
service? This does not make sense to me.

Could you please send the part where the connect succeeds from the call with 
very verbose mode?

Regards
Robert

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Spacewalk-list] building a spacewalk slave server

2017-02-15 Thread Elizabeth Jones
Quick question - can I clone an existing spacewalk server and turn it into a 
slave or would it be better to build the new server from scratch/do all the 
spacewalk configuration from scratch? I would want to use the original server 
as the master.
thanks,EJ___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] OSAD can't connect to host and port

2017-02-15 Thread Konstantin Raskoshnyi
Can you do a telnet to port 5222 from client to spacewalk?
On Wed, Feb 15, 2017 at 8:07 AM Daryl Rose  wrote:

> I just did a fresh install of RHEL 6.6.  I installed Spacewalk client 2.6
> onto the server.  All is good with the exception of OSAD.  Whenever I try
> to start it using services, I get the following error:
>
>
> *# service osad start*
>
> *Starting osad: 2017-02-15 09:41:40 rhn_log.log_error: Error connecting to
> jabber server: Unable to connect to the host and port specified. See
> https://access.redhat.com/solutions/327903
>  for more information. *
>
> *Error connecting to jabber server: Unable to connect to the host and port
> specified. See https://access.redhat.com/solutions/327903
>  for more information. *
>
> *2017-02-15 09:41:40 rhn_log.log_error: Traceback (most recent call last):*
>
> *  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in setup_connection*
>
> *c = self._get_jabber_client(js)*
>
> *  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in
> _get_jabber_client*
>
> *c.connect()*
>
> *  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect*
>
> *raise socket.error(e)*
>
> *error: Unable to connect to the host and port specified*
>
>
> *Traceback (most recent call last):*
>
> *  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in setup_connection*
>
> *c = self._get_jabber_client(js)*
>
> *  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in
> _get_jabber_client*
>
> *c.connect()*
>
> *  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect*
>
> *raise socket.error(e)*
>
> *error: Unable to connect to the host and port specified*
>
>
> I'm not doing anything different with this install than I've been doing
> with all of my other RHEL servers.  This is an inside network, no firewall
> in between.  I am using fully qualified domain names.  I can telnet to port
> 5222 on the spacewalk server, and I can start osad with -N -v -v -v -v and
> get connected, so there is no issue with the port, or resolving the server
> name.  Could this be something in the 2.6 client and RHEL version 6.6?
>
>
> Thanks
>
>
> Daryl
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] OSAD can't connect to host and port

2017-02-15 Thread Daryl Rose
I just did a fresh install of RHEL 6.6.  I installed Spacewalk client 2.6 onto 
the server.  All is good with the exception of OSAD.  Whenever I try to start 
it using services, I get the following error:


# service osad start

Starting osad: 2017-02-15 09:41:40 rhn_log.log_error: Error connecting to 
jabber server: Unable to connect to the host and port specified. See 
https://access.redhat.com/solutions/327903 for more information.

Error connecting to jabber server: Unable to connect to the host and port 
specified. See https://access.redhat.com/solutions/327903 for more information.

2017-02-15 09:41:40 rhn_log.log_error: Traceback (most recent call last):

  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in setup_connection

c = self._get_jabber_client(js)

  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in _get_jabber_client

c.connect()

  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect

raise socket.error(e)

error: Unable to connect to the host and port specified


Traceback (most recent call last):

  File "/usr/share/rhn/osad/jabber_lib.py", line 266, in setup_connection

c = self._get_jabber_client(js)

  File "/usr/share/rhn/osad/jabber_lib.py", line 338, in _get_jabber_client

c.connect()

  File "/usr/share/rhn/osad/jabber_lib.py", line 612, in connect

raise socket.error(e)

error: Unable to connect to the host and port specified

I'm not doing anything different with this install than I've been doing with 
all of my other RHEL servers.  This is an inside network, no firewall in 
between.  I am using fully qualified domain names.  I can telnet to port 5222 
on the spacewalk server, and I can start osad with -N -v -v -v -v and get 
connected, so there is no issue with the port, or resolving the server name.  
Could this be something in the 2.6 client and RHEL version 6.6?


Thanks


Daryl
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list