Red Hat Bugzilla – Bug 560678
virt-manager provides reboot menu option that just gives an error
Last modified: 2010-02-26 21:33:20 EST
Right now if I click reboot in virt-manager, I get an ugly error dialog. On first glance, the dialog looks like an internal error or something. Apparently, the problem is the underlying stack can't do a soft reboot.
I'd propose one of:
a) If soft reboot fails, pop up a dialog saying something like "We can't do an orderly restart. Would you like us to pull the plug and plug it back in" (in better words) with a "[ x ] don't ask me again" checkbox
b) Add some hooks in the underlying stack to ask whether or not reboot is likely to work. Then query those hooks when constructing the menu, and hide the reboot menu item in the case the query comes back false.
It looks really rough around the edges the way it works right now.
Effectively a duplicate of bug #532216 ?
If it can't reboot, just shut the machine down then start it up again. Why have the button there if it bothers .. arrrgh !.
Yeah, this is one of those things that has just been that way in the UI for so long I've grown accustomed to ignoring it.
Libvirt certainly needs a better way to determine if an API is actually supported, which would be handy in this case. But I think the way to address this is to just fake the reboot option at the libvirt level, so all API users will benefit (more info in bug 496537).
Anyways, duping to 532216.
*** This bug has been marked as a duplicate of bug 532216 ***