Red Hat Bugzilla – Bug 890519
[RFE] Provide both soft and hard reboot options in Horizon
Last modified: 2015-02-15 17:02:01 EST
Description of problem:
There are few issues on reboot instance via Horizon
1. Currently reboot instance is rebooting HARD by default ( CLI reboot soft by default )
2. We need option to select hard reboot instead of default one
3. When user reboot Instance via CLI , Horizon doesn't display the current status ( i have check with SOFT & HARD reboot via CLI)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. reboot instance via horizon ( defualt reboot is hard , no option to select soft/hard ) ( bug in upstream as well )
2. reboot via CLI: nova reboot --hard <instance ID > , horizon doesn't upadete the GUI , even upon refresh
For 1 and 2, the upstream decision is going toward providing both soft and hard reboot options in the UI, to avoid just changing the current expected behaviour (see #1088859 on launchpad).
I can't reproduce 3. If I start a soft reboot from the CLI then refresh the instances list, I see the "Reboot" status on the Horizon instance page (Status: Reboot, Task: Rebooting, as long as the nova status is REBOOT). Doing a (single) manual refresh is necessary as Horizon only polls for changing instance status when there is an action on-going.
Could you provide information on how to reproduce 3? As described in Comment 2, I can see the correct REBOOT status after refreshing the page.
Seems that reboot is updating horizon on latest build
Thank you Ofer. I'm going to update the bug summary to make it clearer what is left to resolve.
Guys I think the below issue is very similar and didnt open a new bug for it.
OpenStack dashboard displays one of my instances as showing "Status - Hard Reboot" and "Task - Rebooting Hard" on the /dashboard/nova/instances/ page.
I think the issue above refers to rebooting the machine via the CLI ssh login.
Step to reproduce:
Build a new instance using an image RHEL6.3.x86-64,
ssh -i /home/username/.ssh/dropbear-name.pem cloud-user@10.X.X.X
do not install nova client tools
then perform a "reboot now" from the cli.
Although the machine reboots fine and runs fine, the dashboard shows the task as Rebooting Hard. Browser refresh does not work clear the statue and task message.
Hi Ian. The status Horizon displays should come directly from Nova.
Could you run nova show <instance_id> and see what the status looks like in the output?
Also I think it would be better to open a new bug for this, rather than handle multiple issues in the one report. Thank you!
(In reply to comment #6)
> Guys I think the below issue is very similar and didnt open a new bug for it.
> OpenStack dashboard displays one of my instances as showing "Status - Hard
> Reboot" and "Task - Rebooting Hard" on the /dashboard/nova/instances/ page.
> I think the issue above refers to rebooting the machine via the CLI ssh
Ian, is it possible, you're still using Essex? The path /dashboard/nova/instances does not exist in Grizzly, and I believe, it doesn't even exist in Folsom.
OK, back to the original request, the option to hard and soft-reboot was added to horizon in the grizzly release.
So, that implemented sub-request 1 and 2. The 3rd is missing, but we couldn't reproduce it and its needinfo request was logger 2 months ago. Unless Ian gets back to us soon, I'd vote for closing the bug.
tested both item 1 &2
Released with snap2.