3 Replies Latest reply on Jun 15, 2020 1:22 AM by Avi Miller-Oracle

    OSAD cannot connect to spacewalk.

    4270229

      I install osad on centos,and start it,but:

       

      [root@centos78 ~]# systemctl status osad
      ● osad.service - OSAD daemon
         Loaded: loaded (/usr/lib/systemd/system/osad.service; disabled; vendor preset: disabled)
         Active: active (running) since Sun 2020-06-14 23:21:59 CST; 6min ago
        Process: 8331 ExecStart=/usr/sbin/osad --pid-file /var/run/osad.pid (code=exited, status=0/SUCCESS)
      Main PID: 8352 (osad)
         CGroup: /system.slice/osad.service
                 └─8352 /usr/bin/python2 -s /usr/sbin/osad --pid-file /var/run/osad.pid

      Jun 14 23:21:59 centos78 osad[8331]: 2020-06-14 23:21:59 rhn_log.log_error: Not able to reconnect - See https://access.redhat.com/solutio...olutions.
      Jun 14 23:21:59 centos78 osad[8331]: 2020-06-14 23:21:59 rhn_log.log_error: Traceback (most recent call last):
      Jun 14 23:21:59 centos78 osad[8331]: File "/usr/lib/python2.7/site-packages/osad/jabber_lib.py", line 264, in setup_connection
      Jun 14 23:21:59 centos78 osad[8331]: c = self._get_jabber_client(js)
      Jun 14 23:21:59 centos78 osad[8331]: File "/usr/lib/python2.7/site-packages/osad/jabber_lib.py", line 336, in _get_jabber_client
      Jun 14 23:21:59 centos78 osad[8331]: c.connect()
      Jun 14 23:21:59 centos78 osad[8331]: File "/usr/lib/python2.7/site-packages/osad/jabber_lib.py", line 633, in connect
      Jun 14 23:21:59 centos78 osad[8331]: raise SSLDisabledError
      Jun 14 23:21:59 centos78 osad[8331]: SSLDisabledError
      Jun 14 23:21:59 centos78 systemd[1]: Started OSAD daemon.
      Hint: Some lines were ellipsized, use -l to show in full.

       

       

      Then,I checked the log file,/var/log/osad:

       

      2020-06-14 23:39:57 jabber_lib.main: Unable to connect to jabber servers, sleeping 66 seconds
      2020-06-14 23:41:06 rhn_log.log_error: Not able to reconnect - See https://access.redhat.com/solutions/45332 for possible solutions.

      2020-06-14 23:41:06 rhn_log.log_error: Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/osad/jabber_lib.py", line 264, in setup_connection
          c = self._get_jabber_client(js)
        File "/usr/lib/python2.7/site-packages/osad/jabber_lib.py", line 336, in _get_jabber_client
          c.connect()
        File "/usr/lib/python2.7/site-packages/osad/jabber_lib.py", line 633, in connect
          raise SSLDisabledError
      SSLDisabledError

      2020-06-14 23:41:06 jabber_lib.main: Unable to connect to jabber servers, sleeping 85 seconds

       

      Somebody can help me????