Bootstrap fails if trying to get the Salt Master container while two exist #2434
Labels
complexity:easy
Something that requires less than a day to fix
kind:bug
Something isn't working
topic:deployment
Bugs in or enhancements to deployment stages
topic:flakiness
Some test are flaky and cause CI to do transient failing
Milestone
Component: salt, scripts
What happened:
During execution of
bootstrap.sh
(observed at least on 2.6):What was expected: The bootstrap script shouldn't fail for this kind of issue
Steps to reproduce: It's a timing issue, and only rarely happens.
Resolution proposal (optional):
In the
get_salt_container
function, defined inscripts/common.sh
, wait for thecrictl ps
query to only return a single container (if two are Running, we can't know for sure which one we should use, so better wait than try to guess).The text was updated successfully, but these errors were encountered: