BMC username,password change through horizon UI is not working, through cli it works fine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Enzo Candotti |
Bug Description
Brief Description
BMC change through horizon UI is not working, through cli it works fine
Severity
major
Steps to Reproduce
1)goto horizon https://<fip>:8443->host inventory->click on any host "edit host"
2)click on Board management, change the existing username, password and save
3)Now login to cli and verify the change , the change is not reflected
[sysadmin@
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| apparmor | disabled |
| availability | available |
| bm_ip | 128.224.64.231 |
| bm_type | ipmi |
| bm_username | sysadmin |
| boot_device | /dev/disk/
| capabilities | {'is_max_
| | 'Personality': 'Controller-
| clock_synchroni
| config_applied | 00783e0e-
| config_status | None |
| config_target | 00783e0e-
| console | ttyS0,115200n8 |
| created_at | 2022-11-
| device_image_update | None |
| hostname | controller-0 |
| id | 1 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| inv_state | inventoried |
| invprovision | provisioned |
| location | {} |
| max_cpu_mhz_allowed | 3200 |
| max_cpu_
| mgmt_ip | 192.168.204.2 |
| mgmt_mac | 3c:fd:fe:19:ee:00 |
| operational | enabled |
| personality | controller |
| reboot_needed | False |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 22.12 |
| subfunction_avail | available |
| subfunction_oper | enabled |
| subfunctions | controller,worker |
| task | |
| tboot | |
| ttys_dcd | False |
| updated_at | 2022-11-
| uptime | 117787 |
| uuid | 61cc4d9a-
| vim_progress_status | services-enabled |
+------
[sysadmin@
4)try changing it from cli, the change is reflected in horizon and on the system as well
[sysadmin@
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| apparmor | disabled |
| availability | available |
| bm_ip | 128.224.64.231 |
| bm_type | ipmi |
| bm_username | root |
| boot_device | /dev/disk/
| capabilities | {'is_max_
| clock_synchroni
| config_applied | 00783e0e-
| config_status | None |
| config_target | 00783e0e-
| console | ttyS0,115200n8 |
| created_at | 2022-11-
| device_image_update | None |
| hostname | controller-0 |
| id | 1 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| inv_state | inventoried |
| invprovision | provisioned |
| location | {} |
| max_cpu_mhz_allowed | 3200 |
| max_cpu_
| mgmt_ip | 192.168.204.2 |
| mgmt_mac | 3c:fd:fe:19:ee:00 |
| operational | enabled |
| personality | controller |
| reboot_needed | False |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 22.12 |
| subfunction_avail | available |
| subfunction_oper | enabled |
| subfunctions | controller,worker |
| task | |
| tboot | |
| ttys_dcd | False |
| updated_at | 2022-11-
| uptime | 117787 |
| uuid | 61cc4d9a-
| vim_progress_status | services-enabled |
+------
[sysadmin@
show command
[sysadmin@
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| apparmor | disabled |
| availability | available |
| bm_ip | 128.224.64.231 |
| bm_type | ipmi |
| bm_username | root |
| boot_device | /dev/disk/
| capabilities | {'is_max_
| | 'Personality': 'Controller-
| clock_synchroni
| config_applied | 00783e0e-
| config_status | None |
| config_target | 00783e0e-
| console | ttyS0,115200n8 |
| created_at | 2022-11-
| device_image_update | None |
| hostname | controller-0 |
| id | 1 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| inv_state | inventoried |
| invprovision | provisioned |
| location | {} |
| max_cpu_mhz_allowed | 3200 |
| max_cpu_
| mgmt_ip | 192.168.204.2 |
| mgmt_mac | 3c:fd:fe:19:ee:00 |
| operational | enabled |
| personality | controller |
| reboot_needed | False |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 22.12 |
| subfunction_avail | available |
| subfunction_oper | enabled |
| subfunctions | controller,worker |
| task | |
| tboot | |
| ttys_dcd | False |
| updated_at | 2022-11-
| uptime | 117787 |
| uuid | 61cc4d9a-
| vim_progress_status | services-enabled |
+------
[sysadmin@
Expected Behavior
bm username/password should be changed from UI as well, currently on through ci it is working
Actual Behavior
bm username/password change not working from UI
Reproducibility
100%
System Configuration
-------
All systems
Last Pass
---------
Unknown
Timestamp/Logs
---------
N/A
Changed in starlingx: | |
assignee: | nobody → Enzo Candotti (ecandotti) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.gui |
Fix proposed to branch: master /review. opendev. org/c/starlingx /gui/+/ 868611
Review: https:/