Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15997

Windows image for certain regions doesn't start agent properly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • None
    • Elastic Bamboo
    • None

      Windows image for certain regions doesn't start agent properly on cloud 5.9 OD3

      Affected region:

      • EU(Frankfurt)
      • US West(Oregon)

      Non-affected:

      • US East
      • EU(Ireland)
      • US West(Northern California)

      The list is still not completed.

          Form Name

            [BAM-15997] Windows image for certain regions doesn't start agent properly

            Windows Stock Image (fixed)
            EU (Frankfurt) - use ami-f4464be9
            US West (Oregon) - use ami-f4f216c7

            Foong (Inactive) added a comment - Windows Stock Image (fixed) EU (Frankfurt) - use ami-f4464be9 US West (Oregon) - use ami-f4f216c7

            Cintia Calvo (Inactive) added a comment - - edited

            From the windows agents logs in Frankfurt:

            Administrator@WIN-63DFGKSFIUJ /cygdrive/c/Documents and Settings/Bamboo
            $ cat bamboo-elastic-agent.out 
            JAVA_HOME: C:\opt\jdk-8 
            PATH: C:\ProgramData\Oracle\Java\javapath;C:\opt\php-5.3.29\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\;C:\Program Files\Amazon\AWSCLI\;C:\cygwin\bin;C:\opt\node-v0.10.35\;C:\opt\mercurial-3.2.1\ 
            HOME: \Users\Bamboo 
            java version "1.8.0_31"
            Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
            Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
            2015-06-16 04:20:31,610 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-c1/5.8.2/91516e3acf11473a8dbc20217e0e6729dd5416b0/ to /opt/bamboo-elastic-agent
            2015-06-16 04:20:37,703 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-eu-c1/5.8.2/91516e3acf11473a8dbc20217e0e6729dd5416b0/ to \opt\bamboo-elastic-agent
            2015-06-16 04:20:37,703 INFO [main] [AmazonClients] Detecting bucket location for [bamboo-agent-release-eu-c1]
            2015-06-16 04:20:39,406 WARN [main] [AmazonS3Client] Attempting to re-send the request to bamboo-agent-release-eu-c1.s3-external-1.amazonaws.com with AWS V4 authentication. To avoid this warning in the future, please use region-specific endpoint to access buckets located in regions that require V4 signing.
            2015-06-16 04:20:40,281 WARN [main] [AmazonClients] Unable to get bucket location for [bamboo-agent-release-eu-c1], using default. Error: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: BF47F584B95CB17E), S3 Extended Request ID: krH7KuLB34B/jEFyasC9PF/uViJM4nWgaGuXLkyVq51e3MEeAPndIJxHuyTcGaVW
            2015-06-16 04:20:40,281 INFO [main] [S3Utils] Fetching the list of remote objects...
            2015-06-16 04:20:40,344 WARN [main] [AmazonS3Client] Attempting to re-send the request to bamboo-agent-release-eu-c1.s3-external-1.amazonaws.com with AWS V4 authentication. To avoid this warning in the future, please use region-specific endpoint to access buckets located in regions that require V4 signing.
            2015-06-16 04:20:41,500 INFO [main] [S3Utils] Found 643 files in s3://bamboo-agent-release-eu-c1/5.8.2/91516e3acf11473a8dbc20217e0e6729dd5416b0
            2015-06-16 04:20:42,406 INFO [main] [S3Utils] Found 693 files in \opt\bamboo-elastic-agent
            2015-06-16 04:20:42,406 INFO [main] [S3Utils] Generating the list of files to fetch from S3...
            2015-06-16 04:20:42,406 INFO [main] [S3Utils] Generating the list of files to remove...
            2015-06-16 04:20:42,453 INFO [main] [S3Utils] Removing 190 files from \opt\bamboo-elastic-agent
            2015-06-16 04:20:42,485 INFO [main] [S3Utils] Fetching 173 files to \opt\bamboo-elastic-agent
            Exception in thread "main" com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: D45E22C7BC90E790), S3 Extended Request ID: Cq9r0JwEysHNxMB5uXOv/dkpIcaf1JRyZvEWNrnhaWIo5GrOR3rlYsSFCdrPjnwkVlAqD47/Qu0=
            	at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1077)
            	at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:725)
            	at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:460)
            	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:295)
            	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3714)
            	at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1010)
            	at com.amazonaws.services.s3.transfer.TransferManager.doDownload(TransferManager.java:788)
            	at com.amazonaws.services.s3.transfer.TransferManager.download(TransferManager.java:696)
            	at com.atlassian.aws.s3.S3Utils.fetch(S3Utils.java:323)
            	at com.atlassian.aws.s3.S3Utils.doSync(S3Utils.java:294)
            	at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:171)
            	at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72)
            	at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66)
            

            Ubuntu image, on the same region, works fine.

            Cintia Calvo (Inactive) added a comment - - edited From the windows agents logs in Frankfurt: Administrator@WIN-63DFGKSFIUJ /cygdrive/c/Documents and Settings/Bamboo $ cat bamboo-elastic-agent.out JAVA_HOME: C:\opt\jdk-8 PATH: C:\ProgramData\Oracle\Java\javapath;C:\opt\php-5.3.29\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\;C:\Program Files\Amazon\AWSCLI\;C:\cygwin\bin;C:\opt\node-v0.10.35\;C:\opt\mercurial-3.2.1\ HOME: \Users\Bamboo java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) 2015-06-16 04:20:31,610 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-c1/5.8.2/91516e3acf11473a8dbc20217e0e6729dd5416b0/ to /opt/bamboo-elastic-agent 2015-06-16 04:20:37,703 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-eu-c1/5.8.2/91516e3acf11473a8dbc20217e0e6729dd5416b0/ to \opt\bamboo-elastic-agent 2015-06-16 04:20:37,703 INFO [main] [AmazonClients] Detecting bucket location for [bamboo-agent-release-eu-c1] 2015-06-16 04:20:39,406 WARN [main] [AmazonS3Client] Attempting to re-send the request to bamboo-agent-release-eu-c1.s3-external-1.amazonaws.com with AWS V4 authentication. To avoid this warning in the future, please use region-specific endpoint to access buckets located in regions that require V4 signing. 2015-06-16 04:20:40,281 WARN [main] [AmazonClients] Unable to get bucket location for [bamboo-agent-release-eu-c1], using default. Error: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: BF47F584B95CB17E), S3 Extended Request ID: krH7KuLB34B/jEFyasC9PF/uViJM4nWgaGuXLkyVq51e3MEeAPndIJxHuyTcGaVW 2015-06-16 04:20:40,281 INFO [main] [S3Utils] Fetching the list of remote objects... 2015-06-16 04:20:40,344 WARN [main] [AmazonS3Client] Attempting to re-send the request to bamboo-agent-release-eu-c1.s3-external-1.amazonaws.com with AWS V4 authentication. To avoid this warning in the future, please use region-specific endpoint to access buckets located in regions that require V4 signing. 2015-06-16 04:20:41,500 INFO [main] [S3Utils] Found 643 files in s3://bamboo-agent-release-eu-c1/5.8.2/91516e3acf11473a8dbc20217e0e6729dd5416b0 2015-06-16 04:20:42,406 INFO [main] [S3Utils] Found 693 files in \opt\bamboo-elastic-agent 2015-06-16 04:20:42,406 INFO [main] [S3Utils] Generating the list of files to fetch from S3... 2015-06-16 04:20:42,406 INFO [main] [S3Utils] Generating the list of files to remove... 2015-06-16 04:20:42,453 INFO [main] [S3Utils] Removing 190 files from \opt\bamboo-elastic-agent 2015-06-16 04:20:42,485 INFO [main] [S3Utils] Fetching 173 files to \opt\bamboo-elastic-agent Exception in thread "main" com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: D45E22C7BC90E790), S3 Extended Request ID: Cq9r0JwEysHNxMB5uXOv/dkpIcaf1JRyZvEWNrnhaWIo5GrOR3rlYsSFCdrPjnwkVlAqD47/Qu0= at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1077) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:725) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:460) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:295) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3714) at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1010) at com.amazonaws.services.s3.transfer.TransferManager.doDownload(TransferManager.java:788) at com.amazonaws.services.s3.transfer.TransferManager.download(TransferManager.java:696) at com.atlassian.aws.s3.S3Utils.fetch(S3Utils.java:323) at com.atlassian.aws.s3.S3Utils.doSync(S3Utils.java:294) at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:171) at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72) at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66) Ubuntu image, on the same region, works fine.

            It's not a dup.

            Cintia Calvo (Inactive) added a comment - It's not a dup.

            Cintia Calvo (Inactive) added a comment - - edited

            hey mfahd,

            Can you confirm to us if you are in Cloud or Server? If you are on server, which version are you running?
            Are you able to provide us the AMI IDs affected? The ones working would be fine as well.

            We have a strong feeling it's a dup, but we'd like to confirm that.

            Cintia Calvo (Inactive) added a comment - - edited hey mfahd , Can you confirm to us if you are in Cloud or Server? If you are on server, which version are you running? Are you able to provide us the AMI IDs affected? The ones working would be fine as well. We have a strong feeling it's a dup, but we'd like to confirm that.

            Is this still an issue? I know we shipped a new image on the 1st of June. Which windows image does this affect?

            Daniel (Inactive) added a comment - Is this still an issue? I know we shipped a new image on the 1st of June. Which windows image does this affect?

              Unassigned Unassigned
              mfahd Fahd
              Affected customers:
              0 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: