Instance actions displayed when instance is locked

Bug #1573566 reported by Marcos Lobo
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Low
wei.ying

Bug Description

When you lock an instance some actions, like STOP, SOFT REBOOT, etc, can not be executed. In Horizon Liberty (8.0.0), when you lock an instance, the drop down actions button displays actions that can not be done in "LOCKED" state.

How to reproduce:
1. Go to instance list
2. Click on the drop down button and click on "Lock" action for an instance
3. Refresh the browser
4. Click on the drop drop down button

Actual result: It shows instance actions that can not done when the instance is locked

Excepted result: do not show instance actions that can not done when the instance is locked

I would say that this is an unexpected behaviour from user experience point of view, because if a user locks an instance and then clicks on START or STOP action, Horizon will rise the red bubble with the error message.

Itxaka Serrano (itxaka)
Changed in horizon:
status: New → Confirmed
Changed in horizon:
assignee: nobody → Marcellin Fom Tchassem (mf6510)
Changed in horizon:
importance: Undecided → Low
milestone: none → next
Revision history for this message
Marcellin Fom Tchassem (mf6510) wrote :

Hi all,

I'm currently working on this bug and I would like to know if you can point me to a documentation that shows which actions cannot be performed when an instance is locked.

Thank you

Revision history for this message
Akihiro Motoki (amotoki) wrote :

Clearing the assignee due to long inactivity

Changed in horizon:
assignee: Marcellin Fom Tchassem (mf6510) → nobody
Changed in horizon:
assignee: nobody → Trygve Vea (trygve-vea-gmail)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/515179

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Trygve Vea (<email address hidden>) on branch: master
Review: https://review.openstack.org/515179
Reason: This is already covered by change 512019.

Changed in horizon:
assignee: Trygve Vea (trygve-vea-gmail) → wei.ying (wei.yy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.openstack.org/512019
Reason: This review is > 4 months without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "wei.ying <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/horizon/+/512019
Reason: No plan to continue processing this patch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.