Red Hat Bugzilla – Bug 1465105
Note to update satellite-sync cron job to cdn-sync in upgrade docs provided by rhn-upgrade package
Last modified: 2017-10-19 07:59:23 EDT
Although there is information about the syntax of the cdn-sync nightly cron job here: https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/html/user_guide/chap-automatically_synchronizing_the_red_hat_satellite_server_repository
We are seeing customers who upgrade from a previous version of Satellite 5.x to Satellite 5.8 who are not changing this cron job. Therefore, their satellite-sync cron job is still running, and giving errors such as these in rhn_server_satellite.log:
2017/06/26 01:14:35 -04:00 Commandline: ['/usr/bin/satellite-sync', '--email', '--email@example.com']
2017/06/26 01:14:35 -04:00 Red Hat Satellite - live synchronization
2017/06/26 01:14:35 -04:00 ERROR: Live content synchronizing with RHN Classic Hosted is no longer supported.
Please use the cdn-sync command instead unless you are attempting to sync from another Satellite via Inter-Satelite-Sync (ISS), or from local content on disk via Channel Dump ISOs.
Would it be possible to add a note to the upgrade documentation that is provided by the rhn-upgrade RPM telling the customer to please change their nightly satellite-sync job from:
0 1 * * * perl -le 'sleep rand 9000' && satellite-sync --email >/dev/null 2>1
0 1 * * * perl -le 'sleep rand 9000' && cdn-sync --email >/dev/null 2>1
I think this would prevent a LOT of support cases. Thank you so much!
Sat 5.7 User Guide really suggests to set up a cron job for periodic content synchronization:
Based on this - yes - it makes sense to extend rhn-upgrade instructions with an extra note to update the cron job.
Created attachment 1314591 [details]
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.