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
Docker "AttributeError: 'RecentlyUsedContainer' object has no attribute 'lock'" #21896
Comments
@strocknar, what is the output of |
-=# DOCKER VERSION #=-
-=# SALT VERSION #=-
|
Looks like this may be something that is fixed in 2014.7.2 and later. I'm using CentOS 6.6, and the packages in EPEL for docker and salt are out of date. Downloading the newest docker binary and doing 'pip install --upgrade salt==2014.7.2' seems to have cleared this (and brought about some other issues).
|
@strocknar, yes, the docker module/state are known to need a cleanup. @terminalmage is currently working on this. Since the original issue has been resolved, do you mind if this issue is closed? Please open new issues if you find new bugs, though, or if you run into this issue again, we can reopen it, thanks. |
I'm actually getting this identical issue, but with newer salt: Minion versions report:
Minion docker version:
Master:
Stack trace:
|
I figured out the problem - in |
As further information - after upgrading my versions I also had to restart the docker minion. It was holding on to the old urllib3 references and making things present very oddly. |
I'm attempting to use salt.states.dockerio with a single "pulled" state, but keep getting the referenced error. I have tried updating docker-py and urllib3 (both through yum and pip), but to no avail. Any ideas as to where I might start looking to figure out what is causing this error?
-=# STATE #=-
-=# ERROR #=-
The text was updated successfully, but these errors were encountered: