Bug 1037661 - Problems with OSAD/OSA-dispatcher with Ubuntu
Summary: Problems with OSAD/OSA-dispatcher with Ubuntu
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-12-03 15:01 UTC by Martin Juhl
Modified: 2017-09-28 18:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-04 14:11:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Martin Juhl 2013-12-03 15:01:11 UTC
Description of problem:
I have an Ubuntu client (13.04) registered to my SpaceWalk-server, using the apt-transport-spacewalk and rhnsd from the official Ubuntu repositories...

Package installation/removal/updating seems to work fine, but each time I submit something, I have to wait for rhnsd to run rhn_check in a given interval..

I wanted to get OSAD to run on Ubuntu as well..

I found the repository that Miroslav Suchý have created for Debian, (http://miroslav.suchy.cz/spacewalk/debian) but I found the there are missing some dependecies (python-rhnlib and pyjabber).. Also the OSAD startup script didn't work on Ubuntu...

I have created the following repository:

https://launchpad.net/~mj-casalogic/+archive/spacewalk-ubuntu/

Fixed the dependencies and startup scripts.. 

One of the dependencies, pyjabber, is actually in the official Ubuntu repository under another name, python-jabber, but it has to be altered before it will work with OSAD: https://bugs.launchpad.net/bugs/1256956... When this is done, the pyjabber package will be obsolete...

But for now I have OSAD running on Ubuntu, it starts up fine and it connects to the Spacewalk server.. 

==> /var/log/rhn/rhn_server_xmlrpc.log <==
2013/12/03 15:42:59 +02:00 3740 192.168.239.131: xmlrpc/registration.welcome_message('lang: None',)
2013/12/03 15:42:59 +02:00 1529 192.168.239.131: xmlrpc/registration.register_osad
2013/12/03 15:42:59 +02:00 1524 192.168.239.131: xmlrpc/registration.register_osad_jid

But nothing happens when I submit something to the system (updates, pings, whatever)...

Can someone please help me debug, where it goes wrong....


How reproducible:
Everytime

Steps to Reproduce:
1. Install Spacewalk
2. Register Ubuntu client
3. Add https://launchpad.net/~mj-casalogic/+archive/spacewalk-ubuntu/ repository to Ubuntu server

4. Start osa-dispatcher on Spacewalk and OSAD on Ubuntu Client
5. Alter system in Spacewalk interface

Actual results:
Nothing happens before rhnsd checks in (every 240 minutes)

Expected results:
Package install/upgrade/remove/pings should happen

Comment 1 Martin Juhl 2013-12-03 15:02:14 UTC
One more thing.. remember to fetch certificate from Spacewalk to Ubuntu Client:

wget -O /usr/share/rhn/RHNS-CA-CERT http://<spacewalk-server>/pub/RHN-ORG-TRUSTED-SSL-CERT

Comment 2 Martin Juhl 2013-12-04 14:11:12 UTC
apparently a network issue on my test network... sorry...

Comment 3 Eric Herget 2017-09-28 18:08:16 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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