-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Can't detect any of the required Python libraries cryptography (>= 1.2.3) or PyOpenSSL (>= 0.6) #1920
Comments
I see that pyOpenSSL was updated to version 20.0.0 on 2020-11-27 and the Changelog says:
The Release Notes for Amazon Linux AMI 2017.09 say:
So maybe that version of Linux is now too old to use for Algo. I'm not sure of the best way forward that will allow you to continue to manage users on your existing AlgoVPN(s). You might try editing playbooks/cloud-pre.yml and specifying a specific version of pyOpenSSL, like |
Thanks @davidemyers for the reply, but I don't understand, I didn't update anything anywhere and this "management server" was already working (I manage only one VPN server with it). |
In your detailed log (thanks for that) we see:
I'm guessing it was upgraded to the just released version 20.0.0 when you ran |
Would a normal Only after getting the error I did Thank you :-) |
Based on your log it looks like:
is run when running |
I see, that's not really good...I will check if there is any way to block these updates. |
I'm also surprised that packages in the virtual environment can be upgraded by |
David, thanks to your hint I've restored a backup from last night on a temporary directory and swapped it with the current, then removed the section
from This time it worked (or at least it went through and I can still connect with my user). Obviously a workaround. Do I keep this issue open as you mentioned it might be a bug or shall I close it? |
Leave this issue open. I'll try to come up with a fix, and if I do and it's accepted it will close the issue. |
I don't understand Ansible well enough to come up with a solution so I'll defer to @jackivanov as to how to fix this, if indeed a fix is appropriate. Jack, I believe the issues are:
|
Thanks for the debug @davidemyers @maraboshi! I don't think we can add backward compatibility for older versions of openssl, because they are out of support. I sent a PR to disable requirements upgrade in the update-users playbook |
I have an install of Algo on Amazon Linux, that I use to manage another server in AWS, all setup by the Algo script:
I never touched anything else than adding/removing new users (also nothing was touched anywhere else in the management server) and it worked last week. Today suddenly I get the error:
To Reproduce
Expected behavior
the script completes successfully
Full log
The text was updated successfully, but these errors were encountered: