-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
cloud-init is failing due to urllib3 dependency #3678
Comments
I have also seen this issue. Installing the latest aws-cli on an image is preventing new AMIs based on that image from booting due to the above issue with urllib3. |
I'm facing the same issue on Ubuntu 14.04 (AWS EC2), but it's reproducible on Vagrant. Boot a clean machine and |
Did some more checks, version pip install awscli==1.16.38 |
This is an issue with how Python packages are installed and upstream in You can use newer versions of the CLI, you'll just need to help See: urllib3/urllib3#1456 |
I have forced a requests update to |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
This issue should be reopened. I've spent many hours trying to track this down and I am completely horrified that installing a new version of |
This is still going on. I had to specifically pip upgrade |
@richid Unfortunately, there's nothing we can do to fix this for you. This is not an issue with the There's three options to get around this issue:
|
This is one of the many reasons why awscli should just be a statically compiled binary. It's typically required to be installed on a system with various other requirements and as such is easily broken by requirements from other dependencies. |
@joguSD Is this official AWS advice, specifically option 3? This just bit us (twice) and we're preparing a general advice for other teams so that they can avoid their instances not booting. |
details within aws/aws-cli#3678, closes #2339
details within aws/aws-cli#3678, closes #2339
Seeing this issue with awscli 1.16.41, which does seem to pin boto to a newer version, which in turn seems to pick the correct urllib3 (which is where the ordered_dict problem starts), but it's still broken.
To make some sense of what I mean above:
installed version of awscli: 1.16.41
relevant commit line in awscli: 5a42121#diff-2eeaed663bd0d25b7e608891384b7298R26
relevant commit in boto: boto/botocore@c4d3b1a
Error from system log:
The text was updated successfully, but these errors were encountered: