-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error when updating all packages #194
Comments
I have this problem too with the latest AMI, I can probably work around this for now, just wandering when this will be run by AWS to create a new public AMI? |
It's like nobody even tests these things. |
@brandond this is an open-source project...if you're going to be that rude about it, submit a PR instead. |
@tylernisonoff I can't exactly submit a PR to have AWS publish new non-broken AMIs though. All I can do is whine to my TAM, point at our giant bill, and hope that they do better next time. |
great, I'm sure you can find ways to not contribute to open-source toxicity while you're waiting then. |
Hi all, we'll be releasing an updated AMI next week or two with a fix for this. We do test our AMIs, but our testing up to this point hasn't involved installing additional RPM packages after AMI build. We do a As always, if you need something changed in the AMI and can't or don't want to wait for a release from us, you are free to build and run your own AMIs. Locking this conversation |
When using the latest AMI (amazon-eks-node-v25) as input to a further Packer run for customisations, one step does a mass
yum update -y
... this today started erroring (worked 10 days ago). Repeating that command on a mid-erroring packer build run showed the detail:This looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1187057
Given I can see this repo does include a "sudo pip install" at
amazon-eks-ami/install-worker.sh
Line 42 in c1934bb
I'm guessing that is what happened. The output of
pip freeze
shows urllib3 1.24.1, whereas yum thinks that 1.10.2 is still installed.What you expected to happen:
Given AWS provides awscli as a yum package, can you switch to installing that and python-pip3 via yum instead of messing with get-pip.py and sudo pip.
Anything else we need to know?:
Issuing the RH suggested workaround of
sudo pip uninstall urllib3
seems to get things going for now.Environment:
uname -a
): Linux ip-192-168-201-184.eu-west-1.compute.internal 4.14.72-73.55.amzn2.x86_64 Template is missing source_ami_id in the variables section #1 SMP Thu Sep 27 23:37:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxcat /tmp/release
on a node): No such file!The text was updated successfully, but these errors were encountered: