Can not remove a part of deployed node roles

Bug #1644141 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Sustaining

Bug Description

Node roles assignment handler (https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/api/v1/handlers/assignment.py) does not support the following case:

1. deploy a node with a few roles (let it be controller + cinder)
2. then mark its cinder role as pending deletion
3. redeploy the node to leave controller role only on it

For now, there is a workaround: to remove this controller+inder node from an environment and add it back with controller role only. But this way requires 2 deployments.

Proposed solution: ?

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Also please consider the following cases:

1.1 How to set a node 'pending_deletion' flag from true to false using node assignment handler (user wants to revert removal a node from its environment)?

1.2 How to reset pending roles of a deployed node using node assignment handler (user wants to revert adding of new roles to a deployed node)? Now it's impossible because NodeUnassignmentHandler always sets 'pending_deletion' node flag to true.

Changed in fuel:
status: Confirmed → Invalid
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.