[UI] Node renaming issues

Bug #1317107 reported by Andrey Sledzinskiy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexandra Morozova

Bug Description

Bug is reproduced on {"build_id": "2014-05-07_01-00-26", "mirantis": "yes", "build_number": "184", "ostf_sha": "fe718434f88f2ab167779770828a195f06eb29f8", "nailgun_sha": "6b5e2797dae6a3b803b3ac7102ae3d9164a013cf", "production": "docker", "api": "1.0", "fuelmain_sha": "cb99264a1d5c5cd949f95a835f86ea1eb00c766f", "astute_sha": "9c83d3ecec69df03cd94620e2df92249ba4ec786", "release": "5.0", "fuellib_sha": "616a164132a6a195b756236923bc2f4345bc93f0"}

Steps:
1. Create cluster with default values
2. Click Add nodes
3. Select Node and select some role
4. Click on selected node's name, change name and hit enter

Expected - node's name has been changed and role is still the same
Actual - node's name has been changed but role is discarded to unallocated for a couple of seconds (see attached screen)

The next one is that new node name is not set to the node model immediately (please see an attached screenshot).
I tried to rename 456Dell Inspiron node to Dell Inspiron. Saving request completed successfully but UI models are not updated.

Exact steps:
1. The node should be checked. Rename it.
2. Uncheck the node
3. Try to rename - previous name is shown

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: New → Confirmed
assignee: Fuel UI Team (fuel-ui) → Alexandra Morozova (astepanchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Confirmed → In Progress
description: updated
summary: - [UI] Node's role discarded to Unallocated if change node name on Add
- node page
+ [UI] Node renaming issues
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/92799
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=233cafab72707bd4e25e8f764f20fdba91f29432
Submitter: Jenkins
Branch: master

commit 233cafab72707bd4e25e8f764f20fdba91f29432
Author: Alexandra Morozova <email address hidden>
Date: Thu May 8 12:26:31 2014 +0300

    Fix for node's role discarded to Unallocated if change node name on Add node page

    added check for renaming to update roles before scheduled update

    Change-Id: I12cb4c333ccaede2691e64baa7cb88eae226094f
    Closes-bug: 1317107

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {"build_id": "2014-05-15_01-10-31", "mirantis": "yes", "build_number": "205", "ostf_sha": "69bdb9729cbf16d2c8ba927e946d64a8898909af", "nailgun_sha": "0c88805f28d658be82b305eaeafc5466b563569d", "production": "docker", "api": "1.0", "fuelmain_sha": "fc249cd1fe62d5303f531cf00d9e31ee2ab642d2", "astute_sha": "2b19f9cda281a4e53fb4a2e241d882e29ab9724b", "release": "5.0", "fuellib_sha": "1c7d598a65309f8bda1391360f0b94bfb5015180"}

Changed in fuel:
status: Fix Committed → Fix Released
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.