-
-
Notifications
You must be signed in to change notification settings - Fork 764
Pin dnspython pip dependency due to regression in v2.0.0 #4997
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
Conversation
dnspython updated to v2.0.0 results in the following errors: ``` 2020-07-19 15:47:56,299 ERROR [-] Failed to connect to database "st2" @ "mongo:27017" as user "None": No servers found yet ``` and ``` pymongo.errors.ServerSelectionTimeoutError: No servers found yet ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need changelog i'm think here too
@nmaludy Thanks! |
Nice find |
I'll need to test the produced packages in both Docker/K8s environments next to verify the fix end-to-end. |
Confirming the fix:
@nmaludy this is RFR now |
Thanks for the fix @armab , It works! |
Recently both
st2-docker
https://circleci.com/gh/StackStorm/st2-docker/2199 andstackstorm-ha
https://circleci.com/gh/StackStorm/stackstorm-ha/2393 nightly builds started to fail 🔥.Fixes StackStorm/stackstorm-k8s#143
Fixes StackStorm/st2-docker#194
The issue is that st2 services started to fail if mongodb is a host and not an IP, meaning all remote-host scenarios are broken:
Looking deeper, the only diff in pip dependencies between the working and broken deb packages was
dnspython
that updated fromv1.16.0
tov2.0.0
.This PR pins
dnspython
to a working non-breaking version before2.0.0
.