-
Notifications
You must be signed in to change notification settings - Fork 890
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
Yum does not have perl-Bundle-LWP available for installation #109
Comments
I tried removing
and as of https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html#mon-scripts-perl_prereq,
and now I can see the metrics on CloudWatch. I am not sure that the issue was because of removing |
@samkit-jain Thanks. I'll check with the Elastic Beanstalk service team and attempt to fix the example. |
@dankhen Has this example been fixed anywhere? I am attempting to run a similar script (https://aws.amazon.com/premiumsupport/knowledge-center/elastic-beanstalk-memory-monitoring/) and am running into the same issues as above. |
Any update here? got the same problem here. 2020/07/06 15:09:05.085882 [ERROR] An error occurred during execution of command [app-deploy] - [PreBuildEbExtension]. Stop running the command. Error: EbExtension build failed. Please refer to /var/log/cfn-init.log for more details. ` |
Update: This perl bundle issue is now being investigated by the Elastic Beanstalk team as a potential bug. We'll hold on fixing the example until we have results. |
@dankhen thanks for the update. I notice this issue is marked closed. So, how would you recommend we follow the issue so we know when it is fixed? Will you update this issue? |
@dhruvg This repo is for documentation examples. The issue isn't likely in docs, and it's now in the hands of the Beanstalk platform team, so the docs team isn't tracking it. Unfortunately this repo isn't the place to track it. |
Hello |
Please do that to fix this issue for Amazon Linux 2 based platforms, replace the perl-Bundle-LWP yum package in the preceding configuration file with perl-Digest-SHA. |
yes, I have tried in that way but no use @dharmendraka
|
This is causing my Elastic Beanstalk environment to enter an infinite loop and continuously restart the Docker daemon, causing images to fail to download with a cryptic "Unexpected EOF" error. I finally found this issue report, and it seems that it is causing cfn-init to loop, and basically makes my Elastic Beanstalk environment unusable. I was hoping for a smooth upgrade from the previous, deprecated platform to this, so I wonder how many other customers this is affecting. [ec2-user@ip-172-31-45-207 ~]$ cat /var/log/cfn-init.log And then it continues to run _OnInstanceReboot and other stages again: 2021-08-09 15:44:18,135 [INFO] -----------------------Starting build----------------------- |
I would suggest this gotcha be documented here: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/docker-multicontainer-migration.html Definitely bit me and had me scratching my head for hours... |
@sudeepmalepati - In my case, it looks like CloudWatch agent is already installed and configured. I see a |
This issue was closed here by @dankhen with a note to say that this isn't an issue for the documentation. But this repo contains an example that is incorrect so this bug affects this repo as well as the documentation. I've left feedback on the documentation page, but could we get an update for this repo too? Its still a problem. |
Full traceback
This happens when using the script https://github.com/awsdocs/elastic-beanstalk-samples/blob/master/configuration-files/aws-provided/resource-configuration/autoscaling-memory-utlization.config on the platform
Docker running on 64bit Amazon Linux 2/3.0.0
.Running yum search on the instance results in
What is the fix/workaround?
The text was updated successfully, but these errors were encountered: