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
Added --dump-version option to rhn-satellite-activate. Modified in spacewalk git: commit 5b4c191060cc1905ed4e3770cec28bec36477d2c 564278 - pass --dump-version to satellite-sync
Testplan: rhn-satellite-activate --dump-version 3.4
This bug has been fixed in Spacewalk 1.0. Closing.