Unable to install nightlies from Omnitruck


#1

Output copied below, broken on Ubuntu 12.04 at least.

–Noah

Step 18 : RUN curl -L https://chef.io/chef/install.sh | bash -s – -n – 2015-08-26

—> Running in 1b81f687a669

% Total % Received % Xferd Average Speed Time Time Time Current

                             Dload  Upload   Total   Spent    Left  Speed

100 178 100 178 0 0 5486 0 --:–:-- --:–:-- --:–:-- 13692

100 18736 100 18736 0 0 274k 0 --:–:-- --:–:-- --:–:-- 274k

Downloading Chef for ubuntu…

downloading https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=true&p=ubuntu&pv=12.04&m=x86_64

to file /tmp/install.sh.6/metadata.txt

trying wget…

url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

md5 030f21cbebbf3f37ffd195f3bb901c71

sha256 40192cfa3dd569620f05557da55b6b429de8fa13919a817cea866f66a41b0fca

downloaded metadata file looks valid…

downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

to file /tmp/install.sh.6/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

trying wget…

ERROR 404

Omnitruck artifact does not exist for version on platform ubuntu

Either this means:

  • We do not support ubuntu

  • We do not have an artifact for

This is often the latter case due to running a prerelease or RC version of chef

or a gem version which was only pushed to rubygems and not omnitruck.

You may be able to set your knife[:bootstrap_version] to the most recent stable

release of Chef to fix this problem (or the most recent stable major version number).

In order to test the version parameter, adventurous users may take the Metadata URL

below and modify the ‘&v=’ parameter until you successfully get a URL that

does not 404 (e.g. via curl or wget). You should be able to use ‘&v=11’ or ‘&v=12’

succesfully.

If you cannot fix this problem by setting the bootstrap_version, it probably means

that ubuntu is not supported.

Metadata URL: https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=true&p=ubuntu&pv=12.04&m=x86_64

Download URL: https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

STDERR: The command ‘/bin/sh -c curl -L https://chef.io/chef/install.sh | bash -s – -n – 2015-08-26’ returned a non-zero code: 1


#2

Thanks for the heads up Noah.
We yanked two nightlies earlier today, looks like we need to clean up
omnitruck. The reason they were yanked is because we have a slightly new
way of publishing that we’re still working out, and it caused the
packagecloud repos to start serving up those builds.
Sorry about that,
Jay

On Wed, Aug 26, 2015 at 12:02 PM Noah Kantrowitz noah@coderanger.net
wrote:

Output copied below, broken on Ubuntu 12.04 at least.

–Noah

Step 18 : RUN curl -L https://chef.io/chef/install.sh | bash -s – -n –
2015-08-26

—> Running in 1b81f687a669

% Total % Received % Xferd Average Speed Time Time Time
Current

                             Dload  Upload   Total   Spent    Left

Speed

100 178 100 178 0 0 5486 0 --:–:-- --:–:-- --:–:--
13692

100 18736 100 18736 0 0 274k 0 --:–:-- --:–:-- --:–:--
274k

Downloading Chef for ubuntu…

downloading
https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=true&p=ubuntu&pv=12.04&m=x86_64

to file /tmp/install.sh.6/metadata.txt

trying wget…

url
https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

md5 030f21cbebbf3f37ffd195f3bb901c71

sha256 40192cfa3dd569620f05557da55b6b429de8fa13919a817cea866f66a41b0fca

downloaded metadata file looks valid…

downloading
https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

to file
/tmp/install.sh.6/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

trying wget…

ERROR 404

Omnitruck artifact does not exist for version on platform ubuntu

Either this means:

  • We do not support ubuntu

  • We do not have an artifact for

This is often the latter case due to running a prerelease or RC version of
chef

or a gem version which was only pushed to rubygems and not omnitruck.

You may be able to set your knife[:bootstrap_version] to the most recent
stable

release of Chef to fix this problem (or the most recent stable major
version number).

In order to test the version parameter, adventurous users may take the
Metadata URL

below and modify the ‘&v=’ parameter until you successfully get a
URL that

does not 404 (e.g. via curl or wget). You should be able to use '&v=11’
or ‘&v=12’

succesfully.

If you cannot fix this problem by setting the bootstrap_version, it
probably means

that ubuntu is not supported.

Metadata URL:
https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=true&p=ubuntu&pv=12.04&m=x86_64

Download URL:
https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.0~current.0%2B20150825212019.git.204.eee28f4-1_amd64.deb

STDERR: The command ‘/bin/sh -c curl -L https://chef.io/chef/install.sh |
bash -s – -n – 2015-08-26’ returned a non-zero code: 1