Maintenance status not shown in "Assign nodes" screen

Bug #1637131 reported by Julie Pichon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Jiri Tomasek

Bug Description

When assigning a role to nodes in the UI, all nodes are shown regardless of maintenance status. This is probably fine, however whether there is no visual indication if a node is truly available or off for maintenance.

Steps to reproduce:
-------------------
1. Switch an available node to maintenance
$ ironic node-set-maintenance <node_uuid> on
2. Go the deployment plan and click Assign Role for any role

Expected result:
----------------
3. The node on maintenance is on the list, but the 'maintenance' status is clearly indicated.

Actual result:
--------------
3. The node on maintenance is on the list, shown as available and looks exactly the nodes that are deployable.

I think this will create unexpected results when deploying.

Revision history for this message
Ana Krivokapić (akrivoka) wrote :

Since the maintenance nodes are filtered out in the Nodes table, do we want to simply also exclude them from the Assign Nodes dialog? I think it would make sense.

Revision history for this message
Ana Krivokapić (akrivoka) wrote :

Oh now I see that they are actually moved to a separate tab and not filtered out. Never mind.

Revision history for this message
Liz Blanchard (lblanchard) wrote :

The proposed wireframe shows the different states that could be shown including whether a node is in maintenance or not. Also, this will show any tags or role assignment:
https://openstack.invisionapp.com/share/PA99PGMZV#/203867080_2016-11-4_TripleO_UI15

Thoughts?

Jiri Tomasek (jtomasek)
Changed in tripleo:
assignee: nobody → Jiri Tomasek (jtomasek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ui (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (master)

Reviewed: https://review.openstack.org/431515
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=da08626267a89e4851f1e0707341b1a2d53365eb
Submitter: Jenkins
Branch: master

commit da08626267a89e4851f1e0707341b1a2d53365eb
Author: Jiri Tomasek <email address hidden>
Date: Thu Feb 9 13:40:01 2017 +0100

    Cleanup Nodes selectors

    * unify and simplify selectors which work with node capabilities
    * replace non selector getAssingedNodes with getAvailableNodesByRole
      selector
    * fix available nodes selector, to filter on registeredNodes as
      deployed and maintenance nodes are not considered available for
      deployment

    Closes-Bug: #1637131
    Change-Id: Ib057129dd5f813801ee58a0f64218c7ed9ecf5c6

Changed in tripleo:
status: In Progress → Fix Released
Changed in tripleo:
milestone: none → ocata-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ui (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/439591

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (stable/ocata)

Reviewed: https://review.openstack.org/439591
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=6c30b2a575a239758eac4f309f330cd60190eaa9
Submitter: Jenkins
Branch: stable/ocata

commit 6c30b2a575a239758eac4f309f330cd60190eaa9
Author: Jiri Tomasek <email address hidden>
Date: Thu Feb 9 13:40:01 2017 +0100

    Cleanup Nodes selectors

    * unify and simplify selectors which work with node capabilities
    * replace non selector getAssingedNodes with getAvailableNodesByRole
      selector
    * fix available nodes selector, to filter on registeredNodes as
      deployed and maintenance nodes are not considered available for
      deployment

    Closes-Bug: #1637131
    Change-Id: Ib057129dd5f813801ee58a0f64218c7ed9ecf5c6
    (cherry picked from commit da08626267a89e4851f1e0707341b1a2d53365eb)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 3.1.0

This issue was fixed in the openstack/tripleo-ui 3.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 7.0.0

This issue was fixed in the openstack/tripleo-ui 7.0.0 release.

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

Other bug subscribers

Remote bug watches

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