Hide Forgot
Description of problem: I did an upgrade of the hosted-engine VM to EL 6.5 beta (as I did with hypervisors), and after that, the VM no longer booted. I was able to use the --console to see the kernel panic but I was not able to reboot it using keystrokes. I finally needed to shutdown both hypervisors to ensure that VM was left shutdown, and use qemu from my desktop to boot the hardrive, use grub in the VM to select the working entry, and try to do the 'troubleshooting' from there. Hosted should have some sort of 'emergency' or 'rescue' mode for engine, allowing to start the vm paused, maybe pressing for a key or whatever (even a custom iso that just reboots until yo press a key in bios or select another boot entry), or that even allows you to put a custom iso (or rhel one) to do the rescue itself. During that period, no hypervisor should try to start it until the rescue is marked as finished. Tested on IS19
greg - we discussed some central "maint" flag which would cause HA activity to stop?
(In reply to Itamar Heim from comment #1) > greg - we discussed some central "maint" flag which would cause HA activity > to stop? Yes, bug 1015724 covers this part of the rfe. There's a patch sent for it as well. The remainder of the rfe seems to fall on the setup/cli side of things, adding Sandro as cc for this.
So the request is for adding --set-mainteinance=True/False and --vm-start-paused to hosted-engine tool?
Sandro,(In reply to Sandro Bonazzola from comment #3) > So the request is for adding --set-mainteinance=True/False and > --vm-start-paused to hosted-engine tool? I think that both of them could be helpful, adding the ability to start it with an ISO would be useful too, just to use it as a 'rescue' boot. Thanks, Pablo
(In reply to Sandro Bonazzola from comment #3) > So the request is for adding --set-mainteinance=True/False and Probably global/local/none options, see agent api patch at http://gerrit.ovirt.org/#/c/20278/
(In reply to Greg Padgett from comment #5) > (In reply to Sandro Bonazzola from comment #3) > > So the request is for adding --set-mainteinance=True/False and > > Probably global/local/none options, see agent api patch at > http://gerrit.ovirt.org/#/c/20278/ Looks good for me to use that flag, it can also be used by yum or third-party tools to avoid messing the system ;-)
(In reply to Pablo Iranzo Gómez from comment #4) > Sandro,(In reply to Sandro Bonazzola from comment #3) > > So the request is for adding --set-mainteinance=True/False and > > --vm-start-paused to hosted-engine tool? > > I think that both of them could be helpful, adding the ability to start it > with an ISO would be useful too, just to use it as a 'rescue' boot. once you start with --vm-start-paused you can use vdsClient hotplugDisk to attach a cd-rom image. I would like to avoid to replicate vdsClient commands in hosted-engine command if not really needed. > > Thanks, > Pablo
Patches merged on upstream master and 1.0 branches.
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. http://rhn.redhat.com/errata/RHBA-2014-0083.html