Description of problem: satellite-sync always fail using 5.0.2 exported (dumped) data. (using rhn-satellite-exporter on satellite 5.0.2) Also I couldn't satellite-sync on satellite 5.0.1 and 5.1.0 using this dump. But if I export channel on satellite 5.0.1, I could sync data on satellite 5.0.1/5.0.2/5.1.0. Version-Release number of selected component (if applicable): rhn-satellite-5.0.2-9-redhat-linux-as-i386-4 How reproducible: Always Steps to Reproduce: 1. run 'rhn-satellite-exporter' on satellite 5.0.2. 2. run 'satellite-sync' using exported channel ---LOG--- root@station8 ~]# rhn-satellite-exporter --list-channels Channel List: B = Base Channel C = Child Channel B rhel-i386-server-5 [root@station8 ~]# rhn-satellite-exporter -c rhel-i386-server-5 --dir dump 15:20:17 Gathering channel info... 15:20:17 Gathering binary RPM info... 15:20:17 Gathering package info... 15:20:17 Gathering errata info... 15:20:17 Gathering kickstart data... 15:20:17 Gathering kickstart files info... 15:20:17 Exporting channel families... ____________________ Exporting: #################### - Done! 3 ls -l export/ rting: #################### - Done! <snip> Exporting: #################### - Done! [root@station8 ~]# [root@station8 ~]# satellite-sync -l -m ./dump 15:50:41 Red Hat Network Satellite - file-system synchronization 15:50:41 mp: /root/dump 15:50:41 db: rhnsat/<password>@rhnsat 15:50:41 15:50:41 Retrieving / parsing channel-families data 15:50:42 channel-families data complete 15:50:42 WARNING: ignoring unavailable channel family rhel-client-vt 15:50:42 WARNING: ignoring unavailable channel family rhel-server-hts 15:50:42 15:50:42 Retrieving / parsing channel data Exception reported from station8.example.com Time: Fri May 30 15:50:42 2008 Exception type exceptions.ValueError Exception Handler Information Traceback (most recent call last): File "/usr/share/rhn/satellite_tools/xmlSource.py", line 123, in process self.__parser.parse(self.__stream) File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.3/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 314, in end_element self._cont_handler.endElement(name) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 216, in endElement self.__container.endElement(element) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 777, in endElement self.endItemCallback() File "/usr/share/rhn/satellite_tools/sync_handlers.py", line 154, in endItemCallback xmlSource.ChannelContainer.endItemCallback(self) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 791, in endItemCallback item = _createItem(obj) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 372, in _createItem return item.populate(element.attributes, element.subelements) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 283, in populate self.populateFromAttributes(item, attributes) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 300, in populateFromAttributes obj[key] = _normalizeAttribute(obj.attributeTypes.get(key), value) File "/usr/share/rhn/satellite_tools/xmlSource.py", line 914, in _normalizeAttribute return int(attribute) ValueError: invalid literal for int(): None [root@station8 ~]#
As per EOL Errata. https://rhn.redhat.com/errata/RHSA-2012-1546.html This is the End Of Life notification for RHN Satellite Server 5 versions released to run on Red Hat Enterprise Linux 4. On December 1st, 2012, per the life-cycle support policy, the following versions of Satellite and Proxy products, released on Red Hat Enterprise Linux 4, exited Production Phase 2 marking the end of their support by Red Hat. RHN Satellite & RHN Proxy: - 5.0 - 5.1 - 5.2 on Red Hat Enterprise Linux 4 - 5.3 on Red Hat Enterprise Linux 4 Marking this specific bug tracking against EOL product as CLOSED. Cliff