Red Hat Bugzilla – Bug 224844
Older satellites error out sat-syncing virtualization_host group arch types
Last modified: 2007-04-18 13:58:08 EDT
Description of problem:
the older satellites < 5.0 error out when trying to satellite-sync against
hosted. Basically hosted exports the virtualization_host arch type to sats, this
would work for 5.0 sats but older ones cannot understand it and hence error out..
Version-Release number of selected component (if applicable):
older satellites should be able to sync successfully.
This should now be fixed, turns out kinda tricky. Basically what i have done is
add some code to check if the version of client is older than 5.0 , for this
we'll need to bump the server and sat-5.0 xml_dump_versions to 3.1 and older
clients remain at 3.0 in /etc/rhn/default/rhn_server_satexport.conf
< xml_dump_version = 3.1
> xml_dump_version = 3.0
We basically check if the client is older if so enable virt_filter which
basically restricts server from exporting the virt* data from
rhnServerGroupType to the sat- client
the code is checked in subversion: Committed revision 109928
tested this with a 5.0(with client version bump to 3.1) and 4.1(client version
still 3.0) satellite against webdev(version bump to 3.1).
and now syncs seems to complete successfully on older and newer version of
*** Bug 221324 has been marked as a duplicate of this bug. ***
sat sync is working on rhn 415.. verified
sat sync working in stage sat=4.0
Closed in rhn500h Release.