sysinv errors when vim slow to reply
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
There is a periodic task that runs in sysinv conductor that calls the VIM.
If the vim is not running, or fails to respond in 5 seconds (the timeout of the API call) stracktraces
are created in the sysinv log.
Since this is a periodic task, the next execution may work, thus this is mostly a cosmetic (logs) issue.
Severity
--------
Minor
Steps to Reproduce
------------------
Since this is a timing issue or exposes a bug in another area, there is no real way to reproduce.
Simplest method is to adjust the VIM code and add a 5 second sleep in the API call being invoked.
this ensures the 5 second timeout elapses and produced the expected error criteria.
Expected Behavior
------------------
The expected behaviour is to fail the API query and try again on the next iteration.
Actual Behavior
----------------
It fails the API query and tries again on the next iteration but the logs get polluted.
This leads delaying the install of oidc-auth-apps and platform-integ-apps
Reproducibility
---------------
Seen Once
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
After June 22, 2020 due to this commit that merged on that date.
https:/
Last Pass
---------
Passes all the time. This issue is random, unless there are larger VIM problems
Timestamp/Logs
--------------
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
2020-08-25 12:19:22.283 91971 ERROR sysinv.
Test Activity
-------------
Developer Testing
Workaround
----------
None needed.
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
tags: | added: stx.config stx.distcloud |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.5.0 |
Fix proposed to branch: master /review. opendev. org/749506
Review: https:/