GUI complains "device path is relative to /dev" when editing unprovisioned compute node

Bug #1847508 reported by Bin Qian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Bin Qian

Bug Description

Brief Description
-----------------
From GUI editing a worker node that has not been provisioned. Without changing anything, click "save" button, the gui shows the "installation parameters" tab, with error messages
Device path is relative to /dev
under boot device and rootfs dev.
Both fields shows /dev/sda
--------
Provide the severity of the defect.
Minor, user can correct the device path to remove /dev/, to continue
Steps to Reproduce
------------------
Provision a AIO-DX, manually add a worker node by running system host-add command
Open browser to navigate to click "edit host" associated with the worker node just added on host inventory page
Click save button without making any changes
Expected Behavior
------------------
The dialog shall close, nothing shall be changed
Actual Behavior
----------------
The dialog shows an error mentioned above.

Reproducibility
---------------
Always reproducible

System Configuration
--------------------
found on AIO-DX + worker nodes, suspect it occurs in other system as well
Branch/Pull Time/Commit
-----------------------
Branch and the time when code was pulled or git commit or cengn load info
Master, pulled early Oct 2019

Last Pass
---------
Unknown

Timestamp/Logs
--------------
horizon log:
2019-10-09 16:58:46,142 [INFO] horizon.operation_log: [admin 777f34a5e32d43aeb83288cc36788247] [admin 2baa5a08aa814b2c891cd8e4e62eea52] [POST /admin/3/update/ 200] parameters:[{"boot_device": "/dev/sda", "interfaceProfile": "", "bm_password": "********", "clock_synchronization": "ntp", "cpuProfile": "", "diskProfile": "", "hostname": "compute-0", "bm_ip": "", "console": "ttyS0,115200", "bm_username": "", "location": "", "host_id": "3", "subfunctions": "worker", "bm_confirm_password": "********", "bm_type": "", "csrfmiddlewaretoken": "TiXDF9CJnCfGaBeNdXWEJxHRSLvUJtyBkvJqm2YUhJuqhe96ka6zX8qXQn5vkTSj", "rootfs_device": "/dev/sda", "install_output": "text", "personality": "worker"}] message:[None]

Provide a snippet of logs here and the timestamp when issue was seen.
Please indicate the unique identifier in the logs to highlight the problem
Test Activity
-------------
[Sanity, Feature Testing, Regression Testing, Developer Testing, Evaluation, Other - Please specify]

Revision history for this message
Bin Qian (bqian20) wrote :

horizon.log

Revision history for this message
Bin Qian (bqian20) wrote :

GUI screenshot

Revision history for this message
Ghada Khalil (gkhalil) wrote :

This appears to be a duplicate of https://bugs.launchpad.net/starlingx/+bug/1846362

tags: added: stx.3.0 stx.gui
Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → David Sullivan (dsullivanwr)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as stx.3.0 / medium priority - same as the duplicate bug

Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: David Sullivan (dsullivanwr) → Bin Qian (bqian20)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Duplicate bug fixed by: https://review.opendev.org/687871
Merged 2019-10-10

Marking as Fix Released

Changed in starlingx:
status: Triaged → 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.