Cannot set nodes to 'manageable' from the UI

Bug #1639262 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Honza Pokorny

Bug Description

In order to run introspection successfully, the nodes need to be in the 'manageable' provision state. If for some reason the user forgot or the nodes are already provided/in 'available' state, it's not possible to go back to 'manageable' and run introspection, which can cause issues with deployments. (Workaround is to use the CLI to change the node state with `ironic node-set-provision-state`.)

It would nice to be able to change the state directly from the Nodes page.

There is a workflow to set node state:

https://github.com/openstack/tripleo-common/blob/30d023/workbooks/baremetal.yaml#L8

(and also a Mistral action: https://github.com/openstack/mistral/blob/ce7fca/mistral/actions/openstack/mapping.json#L1013 though the workflow seems a bit more robust.)

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

In the wireframes I've added a way for users to not only "Activate Nodes" but also "Deactivate Nodes" from the Nodes view. Check out the designs here:
https://openstack.invisionapp.com/share/247VLM4SB#/164572258_2016-6-6_TripleO_UI32

Do you all think this tackles the problem?

Revision history for this message
Julie Pichon (jpichon) wrote :

I think we may end up hitting a terminology issue again if we use the word "activate"...

Once "provided", nodes are marked as "available" for deployment.

"Active" nodes actually cannot be used for deployments, as this state means they already have a workload on them (are part of a deployment already).

http://docs.openstack.org/developer/ironic/dev/states.html (and the linked spec for state descriptions)

Having worked a bit with the Ironic CLI I'm afraid I already find the proposed "activate/deactivate" menu confusing, and would be unsure of what it does.

Revision history for this message
Jiri Tomasek (jtomasek) wrote :

IMHO we should keep up with the Ironic terminology with provide/manage

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/482235

Changed in tripleo:
assignee: nobody → Honza Pokorny (hpokorny)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ui (master)

Change abandoned by Honza Pokorny (<email address hidden>) on branch: master
Review: https://review.openstack.org/482235

Revision history for this message
Julie Pichon (jpichon) wrote :

See also bug 1594879

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/482509

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

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

commit 04955726864239bd16966d3e148eec3b8d96304a
Author: Honza Pokorny <email address hidden>
Date: Tue Jul 11 07:47:45 2017 -0300

    Add manage nodes button to nodes list page

    Change-Id: Ieaf7667924f888cdf665407b88810a2294dc64ec
    Closes-Bug: 1639262

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 7.2.0

This issue was fixed in the openstack/tripleo-ui 7.2.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.