Unexpected error when configuring interfaces of 'error' node

Bug #1589881 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Julia Aranovich
Mitaka
Fix Released
High
Julia Aranovich

Bug Description

Steps to reproduce in Fuel UI:

1. create an environment (default wizard settings)
2. add a node with 'error' status
3. go to interfaces configuration screen for the node
4. change network assignment to enable Apply button and save the changes

Expected result: the changes should be saved successfully as well as interfaces are configurable for 'error' nodes.

Actual result: PUT /api/nodes/5/interfaces returns 400 Bad Request with the response: {"message": "Node '5': Interfaces configuration can't be changed after or during deployment.", "errors": []}

BUT there was no any deployment process in the environment.

Revision history for this message
Maciej Relewicz (rlu) wrote :

Julia please provide more information about version on which problem occurs, or attach diagnostic snapshot.

Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

It can be seen here: https://review.openstack.org/#/c/322876/ - such changes are allowed for ready, stopped, discover nodes and nodes with discovery error. it is not allowed for nodes with deployment or other errors.

Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

According to the https://review.openstack.org/#/c/322876/ UI should forbid ifc configuration for an error node if it's error_type attribute is not equal to 'discover'.
Node described in the ticket has error_type=null. So, will close this as Invalid

Changed in fuel:
status: Confirmed → Invalid
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Reopened to fix checking of node error type on UI.

Changed in fuel:
status: Invalid → Confirmed
assignee: Fuel Sustaining (fuel-sustaining-team) → Julia Aranovich (jkirnosova)
tags: added: area-ui late-discovery
removed: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

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

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

Reviewed: https://review.openstack.org/329370
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=420fe4d5169de6e5fb45b6aa818b06e07f7352c8
Submitter: Jenkins
Branch: master

commit 420fe4d5169de6e5fb45b6aa818b06e07f7352c8
Author: Julia Aranovich <email address hidden>
Date: Tue Jun 14 13:48:49 2016 +0300

    Allow to modify interfaces of error nodes with error_type=discover only

    If a node has error status, it's error_type attribute should be also checked
    to make a decision if it possible to configure the node interfaces or not.

    Closes-Bug: #1589881

    Change-Id: I664a57eae27ddc255610e2b4d5238b3d92c9e802

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/329793

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-ui (stable/mitaka)

Change abandoned by Julia Aranovich (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/329793
Reason: The issue is fixed in https://review.openstack.org/#/c/334538/

tags: added: on-verification
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

In https://bugs.launchpad.net/fuel/+bug/1592998 decided to allow interfaces configuration for 'error' node with 'deploy' error type.

So, both 'discover' and 'deploy' error types don't lock node configuration.

tags: removed: on-verification
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

How to move a node to error state with "discover" state?

tags: added: on-verification
Revision history for this message
Alexey. Kalashnikov (akalashnikov) wrote :

Verified with FakeUI on stable/mitaka from 14.09.2016
With manual updating nailgun database for getting errors nodes.

tags: removed: on-verification
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.