Bug 890519 - [RFE] Provide both soft and hard reboot options in Horizon
[RFE] Provide both soft and hard reboot options in Horizon
Status: CLOSED CURRENTRELEASE
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon (Show other bugs)
3.0
Unspecified Unspecified
unspecified Severity medium
: beta
: 3.0
Assigned To: Julie Pichon
Ofer Blaut
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-27 08:25 EST by Ofer Blaut
Modified: 2015-02-15 17:02 EST (History)
7 users (show)

See Also:
Fixed In Version: python-django-horizon-2013.1.1-3.el6ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-19 15:53:16 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1088859 None None None Never
OpenStack gerrit 22300 None None None Never

  None (edit)
Description Ofer Blaut 2012-12-27 08:25:44 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):


How reproducible:


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 

  
Actual results:


Expected results:


Additional info:
Comment 2 Julie Pichon 2013-01-08 09:02:15 EST
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.
Comment 3 Julie Pichon 2013-02-05 04:57:11 EST
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.
Comment 4 Ofer Blaut 2013-02-05 05:11:01 EST
Hi Julie

Seems that reboot is updating horizon on latest build 

python-django-horizon-2012.2.1-3.el6ost.noarch

Ofer
Comment 5 Julie Pichon 2013-02-05 06:11:54 EST
Thank you Ofer. I'm going to update the bug summary to make it clearer what is left to resolve.
Comment 6 IanNeilsen 2013-04-04 00:20:23 EDT
Guys I think the below issue is very similar and didnt open a new bug for it.

Issue:

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.
Comment 7 Julie Pichon 2013-04-04 09:01:55 EDT
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!
Comment 8 Matthias Runge 2013-05-15 03:42:06 EDT
(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
> login.

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.
Comment 9 Matthias Runge 2013-06-03 10:46:42 EDT
OK, back to the original request, the option to hard and soft-reboot was added to horizon in the grizzly release.
Comment 10 Alvaro Lopez Ortega 2013-06-03 10:52:14 EDT
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.
Comment 11 Ofer Blaut 2013-06-05 08:02:22 EDT
works 

python-django-horizon-2013.1.1-2.el6ost.noarch


tested both item 1 &2
Comment 12 Scott Lewis 2013-06-19 15:53:16 EDT
Released with snap2.

Note You need to log in before you can comment on or make changes to this bug.