Nodes that are assigned to custom roles are "Not Assigned" in other plans (UI)

Bug #1644801 reported by Julie Pichon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Jiri Tomasek

Bug Description

Nodes are shared by all plans, but if different plans define different roles, the nodes that assigned to those roles will appear as "not assigned" in plans that don't recognise them.

Note: tested after applying the patches for bug 1644310 and bug 1643882.

Steps to Reproduce:
1. Upload a plan with custom roles
2. Assign nodes to these roles and check in the Nodes page that the assigned role is displayed on the nodes
3. Switch to another active plan
4. Look in the Nodes page again

Actual results:
The nodes appear as "not assigned". We could have a collision here if the same nodes are assigned to different roles in different plans.

Expected results:
The assigned role should be displayed even if such a role doesn't exist in the plan that is currently active.

This is confusing at the moment. For example I assigned a node to a custom role in a plan, but didn't deploy it. Later on I started working with another plan and wondered why I only had two nodes available for deployment in the Deployment Plan page, when there should have been three. Looking at the Nodes page, the 3 nodes are showing correctly, including one "Not assigned" (which is actually assigned to the custom-role) - it's not obvious why it's not available from the plan page or why it's not possible to assign/manage it. You have to remember which plan had that role associated to go unassign it.

Changed in tripleo:
milestone: ocata-2 → ocata-3
Revision history for this message
Jiri Tomasek (jtomasek) wrote :

related to bug 1640103

Changed in tripleo:
assignee: nobody → Jiri Tomasek (jtomasek)
Changed in tripleo:
milestone: ocata-3 → ocata-rc1
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/424174

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/424174
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=116e98dee04e4576331ee3debb3e424193fa7df2
Submitter: Jenkins
Branch: master

commit 116e98dee04e4576331ee3debb3e424193fa7df2
Author: Jiri Tomasek <email address hidden>
Date: Mon Jan 23 15:40:27 2017 +0100

    Display Role tag when role is not available

    In case when Role the Node is tagged to does not exist in current
    Plan, display the tag instead of 'Not Assigned'

    Closes-Bug: 1644801
    Change-Id: I3f098491734509be8cd075e989207ff370d8dd74

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/427204

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

Reviewed: https://review.openstack.org/427204
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=36b0b587b6fabcc4df78ceb1c7932f5981885068
Submitter: Jenkins
Branch: stable/newton

commit 36b0b587b6fabcc4df78ceb1c7932f5981885068
Author: Jiri Tomasek <email address hidden>
Date: Mon Jan 23 15:40:27 2017 +0100

    Display Role tag when role is not available

    In case when Role the Node is tagged to does not exist in current
    Plan, display the tag instead of 'Not Assigned'

    Closes-Bug: 1644801
    Change-Id: I3f098491734509be8cd075e989207ff370d8dd74
    (cherry picked from commit 116e98dee04e4576331ee3debb3e424193fa7df2)

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

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

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

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