Sysinv Startup - Download & Push Images Routine Intermittently Fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Joshua Reed |
Bug Description
Brief Description
-----------------
When the sysinv conductor starts up, one of its tasks is to kick off an ansible playbook which obtains static images required
for normal operation to be available on the system. In some cases, the local registry credentials stored in keyring are not
able to be retrieved. Sometimes the function returns None and others it works. This may be to due system load at the time
sysinv starts up, but the exact reason behind this behavior is unknown. What is known is that the number of times the software
accesses the credentials is equal to the number of images. The solution should seek to minimize that to the fewest accesses
possible.
Severity
--------
Major
Steps to Reproduce
------------------
Perform an upgrade from stx7 to stx8. After installing stx8, startup sysinv. Observe the sysinv.log for an error where the
system is unable to download an image.
Expected Behavior
------------------
At sysinv startup, if there are images to download then it should download all of them and push to local registry.
Actual Behavior
----------------
At sysinv startup, all images are downloaded. The software pushes some to the local registry but fails at other times.
Reproducibility
---------------
Intermittent
System Configuration
-------
Seen on SX / DX - But possible in all configurations.
Branch/Pull Time/Commit
-------
master
Last Pass
---------
Unknown / Intermittent
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Sanity
Workaround
----------
Must manually pull, tag and push missing images before upgrade activation.
Changed in starlingx: | |
assignee: | nobody → Joshua Reed (jreed7) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.config |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/898847
Review: https:/