Bug 1404195 - jabberd doesn't run after upgrade from Satellite 5.6
Summary: jabberd doesn't run after upgrade from Satellite 5.6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Patrik Segedy
URL:
Whiteboard:
Depends On:
Blocks: sat580-upgrades
TreeView+ depends on / blocked
 
Reported: 2016-12-13 10:08 UTC by Pavel Studeník
Modified: 2017-06-21 12:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:19:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.