Bug 1404195

Summary: jabberd doesn't run after upgrade from Satellite 5.6
Product: Red Hat Satellite 5 Reporter: Pavel Studeník <pstudeni>
Component: UpgradesAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Patrik Segedy <psegedy>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: eherget, psegedy, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:19:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1393921    

Description Pavel Studeník 2016-12-13 10:08:22 UTC
Description of problem:
I upgraded Satellite 5.6 ext Oracle to new release 5.8 with oracle and the upgrade finished correct. I didn't find some error, but osa-dispatcher doesn't run (no connect to jabber server).

Interesting point is that old version of jabberd is installed on system.
jabberd-2.2.8-22.el6sat.x86_64

and some configuration files are missing on system.

>> ll /etc/jabberd/c2s.xml
ls: cannot access /etc/jabberd/c2s.xml: No such file or directory

Compose Satellite-5.8-RHEL-6-20161212.n.0-Satellite-x86_64-dvd1.iso contains jabberd-2.2.8-23.el6sat.x86_64.rpm 

When I do following steps then it starts work correct.

## upgrade jabberd to new version of package
>> spacewalk-setup-jabberd 
>> rhn-satellite restart

Version-Release number of selected component (if applicable):
rhn-upgrade-5.8.0.3-1.el6sat.noarch

How reproducible:
always from Sat 5.6 (looks that problem is not from Sat 5.7)

Steps to Reproduce:
1. ./install.pl --disconnected --external-oracle --upgrade
2. spacewalk-schema-upgrade
3. rhn-satellite restart


Additional info:
==> /var/log/rhn/osa-dispatcher.log <==
osad/jabber_lib.connect('Server did not return a <features /> stanza, reconnecting',)
osad/jabber_lib.connect('ERROR', 'Not able to reconnect')
osad/jabber_lib.print_message('SSLError',)
osad/jabber_lib.print_message('Could not connect to jabber server', u'<hostname>')
osad/jabber_lib.setup_connection('ERROR', 'Traceback (most recent call last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 252, in setup_connection\n    c = self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 309, in _get_jabber_client\n    c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 589, in connect\n    raise SSLDisabledError\nSSLDisabledError\n')
osad/jabber_lib.setup_connection('Could not connect to any jabber server',)

Comment 2 Patrik Segedy 2017-01-26 12:00:51 UTC
Steps to verify with rhn-upgrade-5.8.0.9-1.el6sat.noarch:
1. ./install.pl --disconnected --external-oracle --upgrade
2. spacewalk-schema-upgrade
3. rhn-satellite restart
4. jabberd-2.2.8-23.el6sat.x86_64 is installed
5. jabberd and osa-dispatcher are running

VERIFIED