-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap fails with locked Yum database #1970
Comments
Not sure if it's really a flaky issue. Three attempts to deploy locally on a fresh Vagrant always yielded this issue, and re-running the bootstrap always fixed it. |
Yup, I think I've an idea why it's failing, may be a concurrent access on the yum db because of the ordering of salt states in the repo formula. |
I would agree there is an existence of a race condition but this will not really explain why we do not have this same issue in the CI. no?? |
A race condition is flaky by definition. |
We forgot to close databases after checking the presence of packages in repositories, it can lead to DB related errors when trying to use yum just after calling the salt custom module Refs: #1970
We forgot to close databases after checking the presence of packages in repositories, it can lead to DB related errors when trying to use yum just after calling the salt custom module Refs: #1970
Component: salt
What happened:
Locally, using Vagrant, we hit an issue during bootstrap (most often during the
Deploy early-stage bootstrap node
step), showing errors when trying to install packages, e.g.:What was expected: No failure at all, or if that was an actual configuration issue outside of the bootstrap script control, a better error message with help on how to resolve said issue.
Steps to reproduce: Not sure, since flaky, but happens on fresh Vagrant deployment.
The text was updated successfully, but these errors were encountered: