Red Hat Bugzilla – Bug 1464166
cancel reboot causes that the next task is not picked up
Last modified: 2017-07-14 05:31:06 EDT
Description of problem:
I plan to restart system and the osad pick this task. I changed opinion and I cancel restarting shutdown -c. But the task still is not finished. Problem is that the next task is not picked up by osad/rhn_check and it is still in queue.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run osad
2. schedule reboot system
3. shudown -c
after cancel, the following tasks are not picked up
the next tasks are picked up and the task with reboot is cancel/finished
could you please provide me some more detailed information about steps 2. and 3.?
2. Did you schedule the reboot using the remote command? What exactly the command was?
3. Did you execute "shutdown -c" directly on the client or via remote command?
I think that it is same. But steps are:
1) Install osad and start service
2) click to "Schedule System Reboot" (shutdown -r 3)
3) run the command in bash to cancel rebooting: shutdown -c
The same problem exists on RHEL 6.
The issue is very specific situation. I try to figure out real situation. For example that first person are working on the system and other person set reboot for it. First person sees that the reboot is planned (reboot sends message to wall each minute) and cancels reboot.
Or (my situation) I choose bad system to reboot and need to quick cancel it.
Described case is definitely correct, but in order to keep event handling consistent, we won't do any code change for this BZ. In case you want to cancel pending action, please use API schedule.failSystemAction.
I created new bug 1471018 for described issue.