Chef 0.10.10 msi installer


#1

When will the msi installer be updated?

http://www.opscode.com/chef/install.msi still points at 0.10.8.

Thanks,

Greg Symons
Developer
DrillingInfo


#2

On Mon, May 14, 2012 at 9:16 PM, Gregory Symons
gsymons@drillinginfo.com wrote:

When will the msi installer be updated?

http://www.opscode.com/chef/install.msi still points at 0.10.8.

I’ve built one here:
http://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-1.msi

It should have Ohai 0.6.10 because of OHAI-351 [1] breaking
node[:network] on Windows in 0.6.12. I haven’t had a chance to test it
yet, which is why I didn’t replace latest with it yet.

Bryan

[1] http://tickets.opscode.com/browse/OHAI-351


#3

On 05/14/2012 08:33 PM, Bryan McLellan wrote:

On Mon, May 14, 2012 at 9:16 PM, Gregory Symons
gsymons@drillinginfo.com wrote:

When will the msi installer be updated?

http://www.opscode.com/chef/install.msi still points at 0.10.8.

I’ve built one here:
http://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-1.msi

It should have Ohai 0.6.10 because of OHAI-351 [1] breaking
node[:network] on Windows in 0.6.12. I haven’t had a chance to test it
yet, which is why I didn’t replace latest with it yet.

Bryan

[1] http://tickets.opscode.com/browse/OHAI-351

Thanks for the pointer. I tried it out, and it seems to be broken. It
looks like ffi is missing from the embedded ruby:

localhost no such file to load – ffi (LoadError)
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/win32/api.rb:20:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/win32/api/security.rb:19:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/win32/security.rb:19:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control/windows.rb:20:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control.rb:30:inclass:FileAccessControl
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control.rb:27:in
<class:Chef>' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control.rb:22:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/provider/cookbook_file.rb:19:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/providers.rb:20:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef.rb:25:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/bin/chef-client:23:in<top (required)>'
localhost from C:/opscode/chef/bin/chef-client:19:in load' DEBUG: read 1988 bytes localhost from C:/opscode/chef/bin/chef-client:19:in

This is on Windows 2008 R2.


Greg Symons
Developer
DrillingInfo


#4

Bryan,

Is the recommended upgrade path for Windows user to uninstall and
reinstall the MSIs?

On 5/14/12 6:33 PM, “Bryan McLellan” btm@loftninjas.org wrote:

On Mon, May 14, 2012 at 9:16 PM, Gregory Symons
gsymons@drillinginfo.com wrote:

When will the msi installer be updated?

http://www.opscode.com/chef/install.msi still points at 0.10.8.

I’ve built one here:
http://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-1.m
si

It should have Ohai 0.6.10 because of OHAI-351 [1] breaking
node[:network] on Windows in 0.6.12. I haven’t had a chance to test it
yet, which is why I didn’t replace latest with it yet.

Bryan

[1] http://tickets.opscode.com/browse/OHAI-351


#5

This new release breaks a lot of things in the windows cookbook. For example, using windows_zipfile to unzip something, it errors on not having an owner for a created directory. Also, the reboot_handler recipe fails because the remote_directory does not have an owner/group specified there either.

-----Original Message-----
From: Gregory Symons [mailto:gsymons@drillinginfo.com]
Sent: Tuesday, May 15, 2012 8:17 AM
To: chef@lists.opscode.com
Subject: [chef] Re: Re: Chef 0.10.10 msi installer

On 05/14/2012 08:33 PM, Bryan McLellan wrote:

On Mon, May 14, 2012 at 9:16 PM, Gregory Symons
gsymons@drillinginfo.com wrote:

When will the msi installer be updated?

http://www.opscode.com/chef/install.msi still points at 0.10.8.

I’ve built one here:
http://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10
-1.msi

It should have Ohai 0.6.10 because of OHAI-351 [1] breaking
node[:network] on Windows in 0.6.12. I haven’t had a chance to test it
yet, which is why I didn’t replace latest with it yet.

Bryan

[1] http://tickets.opscode.com/browse/OHAI-351

Thanks for the pointer. I tried it out, and it seems to be broken. It looks like ffi is missing from the embedded ruby:

localhost no such file to load – ffi (LoadError)
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/win32/api.rb:20:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/win32/api/security.rb:19:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/win32/security.rb:19:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control/windows.rb:20:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control.rb:30:inclass:FileAccessControl
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control.rb:27:in
<class:Chef>' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/file_access_control.rb:22:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/provider/cookbook_file.rb:19:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef/providers.rb:20:in<top (required)>'
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/lib/chef.rb:25:in
<top (required)>' localhost from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
localhost from
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' localhost from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.10/bin/chef-client:23:in<top (required)>'
localhost from C:/opscode/chef/bin/chef-client:19:in load' DEBUG: read 1988 bytes localhost from C:/opscode/chef/bin/chef-client:19:in

This is on Windows 2008 R2.


Greg Symons
Developer
DrillingInfo


#6

On Tue, May 15, 2012 at 11:16 AM, Gregory Symons
gsymons@drillinginfo.com wrote:

Thanks for the pointer. I tried it out, and it seems to be broken. It looks
like ffi is missing from the embedded ruby:

Thanks, this one should have ffi in it:
https://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-2.msi

Bryan


#7

On Tue, May 15, 2012 at 12:03 PM, Tim Smith Tim.Smith@webtrends.com wrote:

Is the recommended upgrade path for Windows user to uninstall and
reinstall the MSIs?

Yes, the MSI’s don’t currently upgrade so you should uninstall through
’add/remove programs’

Bryan


#8

Is there an ETA on a full featured MSI that supports upgrades? I’d love
to roll out several hundred Windows clients, but the upgrade path needs to
be clear and simple.

On 5/15/12 10:25 AM, “Bryan McLellan” btm@loftninjas.org wrote:

On Tue, May 15, 2012 at 12:03 PM, Tim Smith Tim.Smith@webtrends.com
wrote:

Is the recommended upgrade path for Windows user to uninstall and
reinstall the MSIs?

Yes, the MSI’s don’t currently upgrade so you should uninstall through
’add/remove programs’

Bryan


#9

Other than the ACL issues I mentioned previously, doing a gem install chef and ffi seem to work for upgrading clients.

-----Original Message-----
From: Tim Smith [mailto:Tim.Smith@Webtrends.com]
Sent: Tuesday, May 15, 2012 10:39 AM
To: chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Re: Chef 0.10.10 msi installer

Is there an ETA on a full featured MSI that supports upgrades? I’d love to roll out several hundred Windows clients, but the upgrade path needs to be clear and simple.

On 5/15/12 10:25 AM, “Bryan McLellan” btm@loftninjas.org wrote:

On Tue, May 15, 2012 at 12:03 PM, Tim Smith Tim.Smith@webtrends.com
wrote:

Is the recommended upgrade path for Windows user to uninstall and
reinstall the MSIs?

Yes, the MSI’s don’t currently upgrade so you should uninstall through
’add/remove programs’

Bryan


#10

On Tue, May 15, 2012 at 1:39 PM, Tim Smith Tim.Smith@webtrends.com wrote:

Is there an ETA on a full featured MSI that supports upgrades? I’d love
to roll out several hundred Windows clients, but the upgrade path needs to
be clear and simple.

I just added a PBI for discussion at the next backlog refinement
meeting at Opscode so I don’t have an answer yet, but we do have other
MSI work scheduled for first half of 2012. Unless it is a yak, it
should be soon.

Bryan


#11

On Tue, May 15, 2012 at 12:35 PM, Kendrick Martin
Kendrick.Martin@webtrends.com wrote:

This new release breaks a lot of things in the windows cookbook. For example, using windows_zipfile to unzip something, it errors on not having an owner for a created directory. Also, the reboot_handler recipe fails because the remote_directory does not have an owner/group specified there either.

Can you file a bug at http://tickets.opscode.com please?

Bryan


#12

On 05/15/2012 11:44 AM, Bryan McLellan wrote:

On Tue, May 15, 2012 at 11:16 AM, Gregory Symons
gsymons@drillinginfo.com wrote:

Thanks for the pointer. I tried it out, and it seems to be broken. It looks
like ffi is missing from the embedded ruby:

Thanks, this one should have ffi in it:
https://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-2.msi

Bryan

Cool. I’ll give it a try.


Greg Symons
Developer
DrillingInfo


#13

On 05/15/2012 11:44 AM, Bryan McLellan wrote:

On Tue, May 15, 2012 at 11:16 AM, Gregory Symons
gsymons@drillinginfo.com wrote:

Thanks for the pointer. I tried it out, and it seems to be broken. It looks
like ffi is missing from the embedded ruby:

Thanks, this one should have ffi in it:
https://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-2.msi

Bryan

Looks like it has Ohai 0.6.12 in it:

C:\Users\Administrator>ohai -v
Ohai: 0.6.12


Greg Symons
Developer
DrillingInfo


#14

On Tue, May 15, 2012 at 4:01 PM, Gregory Symons
gsymons@drillinginfo.com wrote:

Looks like it has Ohai 0.6.12 in it:

C:\Users\Administrator>ohai -v
Ohai: 0.6.12

I was unfamiliar with that build system and modified it incorrectly.
I’ve fixed that.

https://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-3.msi

This has ohai 0.6.10 and systemu 2.2.0 (OHAI-306)

Bryan


#15

On 05/15/2012 04:35 PM, Bryan McLellan wrote:

On Tue, May 15, 2012 at 4:01 PM, Gregory Symons
gsymons@drillinginfo.com wrote:

Looks like it has Ohai 0.6.12 in it:

C:\Users\Administrator>ohai -v
Ohai: 0.6.12

I was unfamiliar with that build system and modified it incorrectly.
I’ve fixed that.

https://s3.amazonaws.com/opscode-full-stack/windows/chef-client-0.10.10-3.msi

This has ohai 0.6.10 and systemu 2.2.0 (OHAI-306)

Bryan

This one seems to work, at least as far as running a bootstrap. We’re
just starting to build out Windows infrastructure code, so we don’t have
much of a test case yet.


Greg Symons
Developer
DrillingInfo