Created attachment 849366 [details] log_collector Description of problem: cron job gets removed during upgrading RHEVH 3.2 to RHEVH 3.3 Version-Release number of selected component (if applicable): before upgrade Red Hat Enterprise Virtualization Hypervisor release 6.5 (20131115.0.3.2.el6_5) after upgrade rhev-hypervisor6-6.5-20140112.0.el6ev RHEVM used: Red Hat Enterprise Virtualization Manager Version: 3.3.0-0.44.el6ev How reproducible: 100% Steps to Reproduce: 1) Install RHEV-H via PXE [root@localhost ~]# cat /etc/redhat-release Red Hat Enterprise Virtualization Hypervisor release 6.5 (20131115.0.3.2.el6_5) 2) add RHEV-H to 3.3 RHEV-M with 3.2 DC and 3.2 CL 3) add cron job in /var/spool/cron/root and persist the file [root@localhost ~]# crontab -l * * * * * echo `date` > /tmp/test 4) install rhev-hypervisor6-6.5-20140112.0.el6ev.noarch.rpm on RHEVM and upgrade RHEV-H via RHEVM GUI Actual results: after reboot crontab is empty Expected results: [root@localhost ~]# crontab -l * * * * * echo `date` > /tmp/test Additional info: this is seems to be related to bug 1035804
Based on Fabian´s input, we don´t support installation of custom cron jobs. Already the upgrade from 3.1 to 3.2 (or 3.2 to 3.3) used to wipe cronjobs to make space for the reboot entry to be removed later.
RHEV build only. Tested PASS on RHEV-H base image(rhevh-6.5-20140110.1) both TUI and cmdline upgrade, no such issue. cron persisted yet. Tested Failed on RHEV-H for rhev3.3 build(rhev-hypervisor6-6.5-20140112.0.el6ev) upgrading by RHEV-M. cron setting is not persisted. So this is RHEV build only bug.
This is actually a bug in RHEV-H 6.4s reboot code. The codebase of RHEV-H 6.4 used cron to reboot. On 6.5 this function does not exist anymore. And we can not fix this on 6.4. Besides that cronjobs are not supported on RHEV-H. Martin, did a customer run into his?
(In reply to Fabian Deutsch from comment #3) > This is actually a bug in RHEV-H 6.4s reboot code. > > The codebase of RHEV-H 6.4 used cron to reboot. On 6.5 this function does > not exist anymore. > And we can not fix this on 6.4. Besides that cronjobs are not supported on > RHEV-H. > > Martin, > > did a customer run into his? No customer did not run into this
Right. Then I'd say we close this as CURRENTRELEASE, as this doesn't exist in 6.5 anymore. (Reminder: The cron file is overwritten by the 6.4 logic).
Verified with rhevm-3.4.0-0.18.el6ev.noarch. 1. installed rhev-h rhevh-6.5-20140423.0.el6ev.iso on engine. 2. added crontab job on the host as per description. 3. upgrade host to latest rhev-h : rhevh-6.5-20140508.0.el6ev.iso 4. upgrade was successfull 5. crontab job remain the same.
Closing as part of 3.4.0