idle_for referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Bruno Costa |
Bug Description
Brief Description
-----------------
At the very beginning of the system initialization, when no periodic tasks are registered yet, sysinv is trowing an error due to a "idle_for" variable referenced before assignment.
Probably since the loop on [1] never starts, idle_for doesn't get a value before being returned on [2]
[1] https:/
[2]https:/
Severity
--------
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
------------------
Just bootstrap a system and take a look at sysinv.log
Expected Behavior
------------------
Sysinv starts witout issues
Actual Behavior
----------------
Sysinv throw error but starts anyway
Reproducibility
---------------
3/8
System Configuration
-------
AIO-SX Debian
Branch/Pull Time/Commit
-------
2022-08-03
Last Pass
---------
n/a
Timestamp/Logs
--------------
sysinv 2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
2022-08-04 16:58:42.043 1916 ERROR oslo.service.
Test Activity
-------------
Developer Testing
Workaround
----------
Not needed, system starts anyway
Changed in starlingx: | |
assignee: | nobody → Thiago Paiva Brito (outbrito) |
Changed in starlingx: | |
importance: | Undecided → Medium |
status: | Fix Committed → Fix Released |
tags: | added: stx.8.0 stx.config |
Changed in starlingx: | |
assignee: | nobody → Bruno Costa (bdacosta) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/852214
Review: https:/