aws / opsworks-cookbooks

Chef Cookbooks for the AWS OpsWorks Service
Other
1.05k stars 1.23k forks source link

Berkshelf Pre-Built Packages Not Available (3.1.5) #412

Closed richseviora closed 6 years ago

richseviora commented 7 years ago

I'm receiving the following errors when starting an instance with Berkshelf 3.1.5 set on my stack. Do these packages exist for us-west-2?

[Sun, 04 Jun 2017 03:36:53 +0000] downloader: Successfully created temporary download directory. (/var/lib/aws/opsworks/cache.stage1/opsworks_assets/opsworks-berkshelf.u3HQNeiK)
[Sun, 04 Jun 2017 03:36:53 +0000] downloader: [ERROR] File size test failed. HTTP/1.1 403 Forbidden url: https://opsworks-instance-assets-us-west-2.s3.amazonaws.com/packages/amazon/2017.03/opsworks-berkshelf-3.1.5-1.x86_64.rpm
[Sun, 04 Jun 2017 03:36:53 +0000] downloader: Retrying download after 0 seconds
[Sun, 04 Jun 2017 03:36:53 +0000] downloader: Deleting content of directory /var/lib/aws/opsworks/cache.stage1/opsworks_assets/opsworks-berkshelf.u3HQNeiK
[Sun, 04 Jun 2017 03:36:53 +0000] downloader: [ERROR] File size test failed. HTTP/1.1 403 Forbidden url: https://opsworks-instance-assets-us-west-2.s3.amazonaws.com/packages/amazon/2017.03/opsworks-berkshelf-3.1.5-1.x86_64.rpm
[Sun, 04 Jun 2017 03:36:53 +0000] downloader: Retrying download after 5 seconds
[Sun, 04 Jun 2017 03:36:58 +0000] downloader: Deleting content of directory /var/lib/aws/opsworks/cache.stage1/opsworks_assets/opsworks-berkshelf.u3HQNeiK
[Sun, 04 Jun 2017 03:36:58 +0000] downloader: [ERROR] File size test failed. HTTP/1.1 403 Forbidden url: https://opsworks-instance-assets-us-west-2.s3.amazonaws.com/packages/amazon/2017.03/opsworks-berkshelf-3.1.5-1.x86_64.rpm
[Sun, 04 Jun 2017 03:36:58 +0000] downloader: Retrying download after 10 seconds
[Sun, 04 Jun 2017 03:37:08 +0000] downloader: Deleting content of directory /var/lib/aws/opsworks/cache.stage1/opsworks_assets/opsworks-berkshelf.u3HQNeiK
[Sun, 04 Jun 2017 03:37:08 +0000] downloader: [ERROR] No file was downloaded.
[2017-06-04T03:37:08+00:00] ERROR: Failed to download asset opsworks-berkshelf-3.1.5-1.x86_64.rpm for Try to install berkshelf prebuilt package with url https://opsworks-instance-assets-us-west-2.s3.amazonaws.com/packages/amazon/2017.03/opsworks-berkshelf-3.1.5-1.x86_64.rpm.
[2017-06-04T03:37:08+00:00] INFO: Processing log[installing gem] action nothing (opsworks_berkshelf::install line 32)
[2017-06-04T03:37:08+00:00] INFO: Processing gem_package[berkshelf] action install (opsworks_berkshelf::install line 39)
githuesch commented 7 years ago

The only Berkshelf version available for Amazon Linux 2017.03 is 3.2.0.

richseviora commented 7 years ago

@githuesch is that documented anywhere? I know there's references to Berkshelf availability being limited by AMI, but there isn't a reference table available.

githuesch commented 7 years ago

@richseviora I'm afraid it isn't. I think at some point there was a list of available Berkshelf versions in our documentation, but the current version doesn't include it. We haven't been keeping up with more recent Berkshelf versions for quite some time, but we've always provided an asset for 3.2.0. I guess that should be documented somewhere.