ScriptTimedOut
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Start with scripts/deregister_from_elb.sh and scripts/common_functions.sh at line 96, then reproduce the CodeDeploy BeforeInstall event using the shown failure output. Check how the aws command is invoked in that deployment environment; done means explaining the timeout and identifying the required repository or deployment change.
Written by the indexing model from the issue text.
Description
Hello,
I'm trying to use the scripts into elb-v2 folder for a solution with codedeploy and and ALB.
But i receive a timeout to the BeforeInstall event with this output:
Error Code
ScriptTimedOut
Script Name
scripts/deregister_from_elb.sh
Message
Script at specified location: scripts/deregister_from_elb.sh failed to complete in 360 seconds
Log Tail
[stderr]aws --region eu-central-1 autoscaling describe-auto-scaling-instances --instance-ids i-0004630d2544ec616 --output text --query AutoScalingInstances[0].AutoScalingGroupName
[stderr] * 4 failure(s), retrying in 29 second(s)
[stderr]/opt/codedeploy-agent/deployment-root/385c8c99-acfe-4642-b6f4-45bc2db579cb/d-MWAP9TGMQ/deployment-archive/scripts/common_functions.sh: line 96: aws: command not found
[stderr]aws --region eu-central-1 autoscaling describe-auto-scaling-instances --instance-ids i-0004630d2544ec616 --output text --query AutoScalingInstances[0].AutoScalingGroupName
[stderr] * 5 failure(s), retrying in 63 second(s)
[stderr]/opt/codedeploy-agent/deployment-root/385c8c99-acfe-4642-b6f4-45bc2db579cb/d-MWAP9TGMQ/deployment-archive/scripts/common_functions.sh: line 96: aws: command not found
[stderr]aws --region eu-central-1 autoscaling describe-auto-scaling-instances --instance-ids i-0004630d2544ec616 --output text --query AutoScalingInstances[0].AutoScalingGroupName
[stderr] * 6 failure(s), retrying in 120 second(s)
[stderr]/opt/codedeploy-agent/deployment-root/385c8c99-acfe-4642-b6f4-45bc2db579cb/d-MWAP9TGMQ/deployment-archive/scripts/common_functions.sh: line 96: aws: command not found
[stderr]aws --region eu-central-1 autoscaling describe-auto-scaling-instances --instance-ids i-0004630d2544ec616 --output text --query AutoScalingInstances[0].AutoScalingGroupName
[stderr] * 7 failure(s), retrying in 120 second(s)
[stderr]/opt/codedeploy-agent/deployment-root/385c8c99-acfe-4642-b6f4-45bc2db579cb/d-MWAP9TGMQ/deployment-archive/scripts/common_functions.sh: line 96: aws: command not found
[stderr]aws --region eu-central-1 autoscaling describe-auto-scaling-instances --instance-ids i-0004630d2544ec616 --output text --query AutoScalingInstances[0].AutoScalingGroupName
[stderr] * 8 failure(s), retrying in 120 second(s)
What I mistake?
Thanks
- Dominant language
- Shell
- Stars
- 639
- Forks
- 777
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/aws-codedeploy-samples
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
aws-samples/aws-codedeploy-samples#98 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in aws-samples/aws-codedeploy-samples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
community-scripts/ProxmoxVE#17425 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·