Chef Server version 0.9.16 and Client version 0.10


#1

Hi,

Is it possible to use Chef Server 0.9.16, but client to be version 0.10?

Chef Server was installed prior Chef 0.10 released. For client hosts,
“knife bootstrap” is used, which will install automatically Chef Client
version 0.10.
Now we are getting this error:

INFO: HTTP Request Returned 404 Not Found: No routes match the request: /environments/_default/cookbook_versions


Vladimir Girnet
Infrastructure Engineer
Tacit Knowledge
http://www.tacitknowledge.com


#2

No, the 0.10 client requires a 0.10 or higher server. You can, however, run 0.9 clients against a 0.10 server.

–Noah

On May 23, 2011, at 10:34 PM, Vladimir Girnet wrote:

Hi,

Is it possible to use Chef Server 0.9.16, but client to be version 0.10?

Chef Server was installed prior Chef 0.10 released. For client hosts, “knife bootstrap” is used, which will install automatically Chef Client version 0.10.
Now we are getting this error:
INFO: HTTP Request Returned 404 Not Found: No routes match the request: /environments/
_default/cookbook_versions


Vladimir Girnet
Infrastructure Engineer
Tacit Knowledge

http://www.tacitknowledge.com


#3

I believe if the bootstrap_version is not set in your knife.rb, it should default to the same version installed on the workstation calling knife bootstrap.

Alex

On May 23, 2011, at 10:34 PM, Vladimir Girnet wrote:

Hi,

Is it possible to use Chef Server 0.9.16, but client to be version 0.10?

Chef Server was installed prior Chef 0.10 released. For client hosts, “knife bootstrap” is used, which will install automatically Chef Client version 0.10.
Now we are getting this error:
INFO: HTTP Request Returned 404 Not Found: No routes match the request: /environments/_default/cookbook_versions

Vladimir Girnet
Infrastructure Engineer
Tacit Knowledge
http://www.tacitknowledge.com


#4

Thanks, I’ll look into this one.

On 5/24/11 8:45 AM, Alex Soto wrote:

I believe if the bootstrap_version is not set in your knife.rb, it
should default to the same version installed on the workstation
calling knife bootstrap.

Alex

On May 23, 2011, at 10:34 PM, Vladimir Girnet wrote:

Hi,

Is it possible to use Chef Server 0.9.16, but client to be version 0.10?

Chef Server was installed prior Chef 0.10 released. For client hosts,
“knife bootstrap” is used, which will install automatically Chef
Client version 0.10.
Now we are getting this error:
INFO: HTTP Request Returned 404 Not Found: No routes match the request: /environments/_default/cookbook_versions

Vladimir Girnet
Infrastructure Engineer
Tacit Knowledge
http://www.tacitknowledge.com


#5

On Monday, May 23, 2011 at 11:10 PM, Vladimir Girnet wrote:
Thanks, I’ll look into this one.

Upgrade your knife version to 0.9.16 and you’ll be able to specify the client version used when bootstrapping.


Dan DeLeo