Description of problem:
When upgrading Satellite (for some reason, I have only been able to reproduce this on s390x), the upgrade fails with:
---> Package spacewalk-setup-jabberd.noarch 0:2.3.2-1.el6sat will be an update
Error: failed to retrieve repodata/51e2297081b5e027babe8de3c551df5be7702aa37383900507491de558220dfe-filelist
s.xml.gz from rhel-s390x-server-6
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
I then need to 'yum clean all', run upgrade again and everything works. Should we run yum clean during upgrade?
I think it is caused by different path to packages ($YUM0/Satellite vs $YUM0).
Steps to Reproduce:
1. ./install.pl --upgrade
2. cat /var/log/rhn/rhn_installation.log
Error shown above
There's a typo in the error message: s/metadat/metadata/
Verified with rhn-upgrade-188.8.131.52-1, Satellite 570 on EmbPostgreSQL RHEL6 s390x -> 5.8.
Upgrade now works without error even on freshly installed Satellite. Also when manually making yum to download repodata for the old repo before upgrade, everything works.