-
Suggestion
-
Resolution: Fixed
The following has been observed:
The EA does not start up if shell scripts fail to run successfully. So far this has happened in
/opt/bamboo-elastic-agent/bin/restoreSnapshot.sh and /opt/bamboo-elastic-agent/bin/setAwsEnv.sh
can be failing on getting the availability zone using curl. This is stopping the agent from starting successfully.
The response from amazon is
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html>
and the agent is not started up. The instance remains idle - no warning or error messages are sent to the server.
then restoreSnapshot.sh hangs
1 0 1122 1114 23 0 2648 484 wait S ? 0:00 /bin/sh /opt/bamboo-elastic-agent/bin/restoreSnapshot.sh 0 0 1123 1122 24 0 2640 1136 wait S ? 0:00 bash /usr/local/ec2/ec2-api-tools/bin/ec2-create-volume --snapshot snap-d64885bf --availability-zone
[BAM-4087] Improve error handling and reporting for EC2 ebs snapshot / volume procedures (scripts)
Workflow | Original: JAC Suggestion Workflow [ 3017491 ] | New: JAC Suggestion Workflow 3 [ 3602883 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2699227 ] | New: JAC Suggestion Workflow [ 3017491 ] |
Backlog Order (Obsolete) | Original: 18870000000 | |
Issue Type | Original: Improvement [ 4 ] | New: Suggestion [ 10000 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1417962 ] | New: Confluence Workflow - Public Facing v4 [ 2699227 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 606963 ] | New: Bamboo Workflow 2016 v1 [ 1417962 ] |
Workflow | Original: Bamboo Workflow 2014 [ 594939 ] | New: Bamboo Workflow 2014 v2 [ 606963 ] |
Workflow | Original: Bamboo Workflow 2010 [ 201242 ] | New: Bamboo Workflow 2014 [ 594939 ] |
Workflow | Original: reviewflow [ 196405 ] | New: Bamboo Workflow 2010 [ 201242 ] |
Workflow | Original: Feature Request Workflow [ 177033 ] | New: reviewflow [ 196405 ] |
Fix Version/s | New: 2.3 [ 14572 ] |