Node can't be added with the same role after discard node addition

Bug #1277070 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Triaged
High
Fuel Python (Deprecated)

Bug Description

Bug is reproduced on fuel-4.1-91-2014-02-05_01-17-30.iso

Steps:
1. Create new environment with all default values
2. Open Nodes tab
3. Click 'Add Nodes'
4. Assign Compute role to any Node
5. Click Apply Changes – changes are saved and page with added nodes is present
6. Click 'discard addition' for added Node
7. Click 'Add Nodes' again

First Bug:
Actual - 'Compute' checkbox is selected (without tick) - see attach checboxdiscardbug.png.
Expected – all checkboxes aren't selected

8. Assign Compute role to this Node again
Actual – 'apply changes' button is not active and it becomes active only if you unselect Compute checkbox and select Node (attach DiscardBug.png)
Expected - 'apply changes' button is active and node can be added with 'Compute' role again

Tags: nailgun
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

attachment for checkbox bug

Changed in fuel:
importance: Undecided → Medium
milestone: none → 4.1
assignee: nobody → Alexandra Stepanchuk (astepanchuk)
Changed in fuel:
status: New → In Progress
Revision history for this message
Alexandra Morozova (astepanchuk) wrote :

The issue seems to be with python PUT /api/nodes/:id handler - making a PUT-request to the url specified with the next body {
cluster: null
pending_addition: false
pending_roles: []
}
I gain the next response - {
status: "discover"
 ...
error_type
 null

pending_addition
 false
...
cluster
 null

pending_deletion
 false

pending_roles
 ["compute", "cinder"]

...
}

But I expect to get "pending_roles" as an empty array.

Changed in fuel:
status: In Progress → Won't Fix
status: Won't Fix → Triaged
Changed in fuel:
assignee: Alexandra Stepanchuk (astepanchuk) → Fuel Python Team (fuel-python)
Evgeniy L (rustyrobot)
tags: added: nailgun
Evgeniy L (rustyrobot)
Changed in fuel:
importance: Medium → High
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.