Red Hat Bugzilla – Bug 1315448
upgrade from cfme-5.5.0 to 5.5.2 causes ntp_update cronjob to fail
Last modified: 2016-11-07 23:00:02 EST
Description of problem:
after an upgrade from cfme-5.5.0 to cfme-5.5.2, an ntp_update cronjob fails and writes errors to /var/spool/mail/root
this appears to be caused by the removal of the folder /var/www/miq/lib/util/ntp as it no longer exists on 5.5.2, but does exist on 5.5.0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. setup new cfme-5.5.0 appliance
2. register the system with RHSM through the webGUI
2. upgrade to cfme-5.5.2
lots of errors in /var/spool/mail/root:
successful upgrade, no cron errors
If you remove the following two lines from root's crontab it will resolve this issue perminantly:
*/15 * * * * /var/www/miq/lib/util/ntp/run_ntpdate
Nick, can you investigate? Is this already fixed?
Ah I think when we removed this here (https://github.com/ManageIQ/manageiq/pull/5705) we didn't account for existing entries in the crontab files.
We could doc that when upgrading these need to be removed.
Any other ideas Joe?
Also `crontab -l | grep -v "run_ntpdate" | crontab` should do the job
We will look into getting this into the upgrade spec file.
So, I verified and relationships are really unified in both services and clouds, but this BZ describes, that everything should be unified, so I don't know whether to make it verified or wait until all will be unified...
Sorry, wrong BZ.
I updated 5.5.0 to 126.96.36.199 and there is no entry in crontab for running script, that is missing.(There is no entry at all.)
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.