Bug 564278 - rhn-satellite-activate activates satellite, but ends up with error
Summary: rhn-satellite-activate activates satellite, but ends up with error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Jiri Kastner
URL:
Whiteboard:
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2010-02-12 08:25 UTC by Jiri Kastner
Modified: 2010-05-05 14:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-05 14:57:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Jiri Kastner 2010-02-12 08:25:50 UTC
Description of problem:
rhn-satellite-activate activates satellite channel in hosted, but exits with error for client version mismatch

Version-Release number of selected component (if applicable):


How reproducible:
always with spacewalk-nightly

Steps to Reproduce:
1. install spacewalk
2. register to hosted
3. run rhn-satellite-activate
  
Actual results:
+++ sending log as an email +++


Standard-error: 
SYNC ERROR:

(Check logs/email for potentially more detail)

RhnSyncException('\nError Message:\n    Client version 3.5 does not match server version 3.4\nError Class Code: 3012\nError Class Info: Mismatching versions\n',)

Error Message:
    Client version 3.5 does not match server version 3.4
Error Class Code: 3012
Error Class Info: Mismatching versions





ERROR: Population of the Channel Family permissions failed.


Expected results:
no error

Additional info:

when changed PROTOCOL_VERSION = 3.5 in /usr/share/rhn/satellite_tools/constants.py to PROTOCOL_VERSION = 3.4 activation passes.
i suppose that more appropriate place is /etc/rhn/rhn.conf or put default value to 3.4 and for 3.5 use satellite-sync with --dump-version

Comment 1 Michael Mráka 2010-03-17 15:00:48 UTC
Added --dump-version option to rhn-satellite-activate.

Modified in spacewalk git:

commit 5b4c191060cc1905ed4e3770cec28bec36477d2c
    564278 - pass --dump-version to satellite-sync

Comment 2 Michael Mráka 2010-03-17 15:01:25 UTC
Testplan:

rhn-satellite-activate --dump-version 3.4

Comment 3 Miroslav Suchý 2010-05-05 14:57:23 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.


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