During load-import fail scenario, load is kept and can not be removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
system load-import failed during upgrade tests. There is no way to abort or delete the failed import.
Severity
--------
Minor: System/Feature is usable with minor issue
Steps to Reproduce
------------------
Attempt image load:
system load-import bootimage.iso bootimage.sig
Load failed with error:
Timeout while waiting on RPC response - topic: "sysinv.
System fails to report aborted image import and is stuck in this state for ever. Reboot did not help. Delete or re-import will not work:
[sysadmin@
Max number of loads (2) reached. Please remove the old or unused load before importing a new one.
[sysadmin@
Expected Behavior
-----------------
1. "system load-list" should reported correct state (i.e. not importing)
2. there should be a method for aborting or deleting the failed task
Should this happen in production environment it would halt the upgrade until a solution is provided.
Actual Behavior
---------------
system load-list claims an active import when there is none running.
Reproducibility
---------------
Seen once
System Configuration
-------
AIO-SX
Branch/Pull Time/Commit
-------
n/a
Last Pass
---------
n/a.
Timestamp/Logs
--------------
...
sysinv.log:sysinv 2021-06-30 08:18:57.333 129725 INFO sysinv.
sysinv.log:sysinv 2021-06-30 08:34:44.496 129725 ERROR wsme.api [-] Server-side error: "Timeout while waiting on RPC response - topic: "sysinv.
sysinv.log: File "/usr/lib64/
sysinv.log: system_
sysinv.log: File "/usr/lib64/
sysinv.log: import_
sysinv.log:: Timeout: Timeout while waiting on RPC response - topic: "sysinv.
sysinv.log:sysinv 2021-06-30 10:48:08.612 129725 ERROR wsme.api [-] Server-side error: "Only a load in an imported or error state can be deleted". Detail:
sysinv.log: _("Only a load in an imported or error state can be deleted"))
sysinv.
...
[sysadmin@
Thu Jul 1 11:24:29 UTC 2021
[sysadmin@
Only a load in an imported or error state can be deleted
[sysadmin@
{{ 11:24:43 up 1 day, 34 min, 1 user, load average: 2.54, 2.90, 3.45}}
[sysadmin@
Test Activity
-------------
Feature testing
Workaround
----------
n/a
summary: |
- During load-import fail scenario load is kept and can not be removed + During load-import fail scenario, load is kept and can not be removed |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.6.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/801706
Review: https:/