"dcmanager fw-update-strategy apply" subcloud failed, but the subcloud still gets lock/unlocked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
"dcmanager fw-update-strategy apply" subcloud failed, but the subcloud still gets lock/unlock
Thus, user loses best debugging chance.
Severity
--------
Major
Steps to Reproduce
------------------
precondition: subcloud3 FPGA has flashed root-key image
"dcmanager fw-update-strategy apply" to update subcloud3 FPGA with an unsigned image
Expected Behavior
------------------
subcloud3 FPGA updates failed, and the host keeps there without lock/unlock
Then user can debug on it.
Actual Behavior
----------------
subcloud3 FPGA update failed, but the subcloud still gets lock/unlock
seems /var/log/kern.log got cleared. Not sure whether other more info got cleared.
Reproducibility
---------------
permanent
System Configuration
-------
Lab-name: DC-3
Branch/Pull Time/Commit
-------
2020-07-31_20-00-00
Last Pass
---------
N/A
Timestamp/Logs
--------------
on SystemController:
[sysadmin@
+------
| cloud | stage | state | details | started_at | finished_at |
+------
| subcloud3 | 2 | failed | finishing fw update: Not all images applied successfully | 2020-08-05 21:20:08.708953 | 2020-08-05 21:47:41.528227 |
on subcloud3:
[sysadmin@
+------
| hostname | PCI | Device image uuid | status | Update start | updated_at |
| | device | | | time | |
| | address | | | | |
+------
| controller-0 | 0000:b4: | 06265036-
| | 00.0 | | | 20:39. | |
| | | | | 537782+00:00 | |
| | | | | | |
+------
[sysadmin@
Wed Aug 5 21:55:22 UTC 2020
[sysadmin@
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| availability | available |
| bm_ip | None |
| bm_type | none |
| bm_username | None |
| boot_device | /dev/disk/
| capabilities | {u'stor_function': u'monitor', u'Personality': u'Controller-
| clock_synchroni
| config_applied | 75654015-
| config_status | None |
| config_target | 75654015-
| console | ttyS0,115200n8 |
| created_at | 2020-08-
| device_image_update | |
| hostname | controller-0 |
| id | 1 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| inv_state | inventoried |
| invprovision | provisioned |
| location | {} |
| mgmt_ip | fd01:303::3 |
| mgmt_mac | 48:df:37:d6:47:6c |
| operational | enabled |
| personality | controller |
| reboot_needed | False |
| reserved | False |
| rootfs_device | /dev/disk/
| serialid | None |
| software_load | 20.06 |
| subfunction_avail | available |
| subfunction_oper | enabled |
| subfunctions | controller,worker |
| task | |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2020-08-
| uptime | 870 |
| uuid | 56f9e63a-
| vim_progress_status | services-enabled |
+------
[sysadmin@
[sysadmin@
Test Activity
-------------
Functional Testing
summary: |
- subcloud FPGA update failed, but the subcloud still gets lock/unlocked + "dcmanager fw-update-strategy apply" subcloud failed, but the subcloud + still gets lock/unlocked |
Changed in starlingx: | |
assignee: | Al Bailey (albailey1974) → Eric MacDonald (rocksolidmtce) |
tags: | added: stx.nfv |
log: /files. starlingx. kube.cengn. ca/launchpad/ 1890502
https:/