rcbops / opencenter

http://www.rackspace.com/cloud/private/openstack_software/
Other
9 stars 12 forks source link

[DE127]: Chef download link broken #506

Closed retreved closed 11 years ago

retreved commented 11 years ago

The download URL opencenter uses for chef-server is returning a 404 error.

https://privatecloudforums.rackspace.com/viewtopic.php?f=4&t=475&sid=cee95c07ec5a7b82e580a307ecf6eb8d

wget http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=11.0.4-1 Resolving www.opscode.com... 184.106.28.83 Connecting to www.opscode.com|184.106.28.83|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-05-09 17:42:10 ERROR 404: Not Found.

galstrom21 commented 11 years ago

@retreved: If i do not quote the url string.. I can reproduce the issue:

wget http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=11.0.4-1
--2013-05-09 14:57:43--  http://www.opscode.com/chef/download-server?p=ubuntu
Resolving www.opscode.com (www.opscode.com)... 184.106.28.82
Connecting to www.opscode.com (www.opscode.com)|184.106.28.82|:80... connected. 
HTTP request sent, awaiting response... 404 Not Found
2013-05-09 14:57:43 ERROR 404: Not Found.

However, if i quote it.. it seems to work fine:

wget "http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=11.0.4-1"
--2013-05-09 14:57:54--  http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=11.0.4-1
Resolving www.opscode.com (www.opscode.com)... 184.106.28.82
Connecting to www.opscode.com (www.opscode.com)|184.106.28.82|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.4-1.ubuntu.12.04_amd64.deb [following]
--2013-05-09 14:57:54--  http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.4-1.ubuntu.12.04_amd64.deb
Resolving opscode-omnibus-packages.s3.amazonaws.com (opscode-omnibus-packages.s3.amazonaws.com)... 72.21.214.144
Connecting to opscode-omnibus-packages.s3.amazonaws.com (opscode-omnibus-packages.s3.amazonaws.com)|72.21.214.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 196730466 (188M) [application/x-debian-package]