Problem with knife-windows with chef-client 0.10.2

Hi Guys,

I’ve just started in attempting to get chef working with Windows, and I’m not sure if this is the right place to post this kind of issue, if wrong, could you please redirect me to the correct forum.

I had some success with an experiment using chef-client 0.10.0 and bootstrapping chef to a new node using knife-windows from an Ubuntu machine at home. I then went and replicated the setup at work, in both Ubuntu and Windows, but chef had now been upgraded to 0.10.2, and I am getting the following output when I try and bootstrap another machine.

C:\chef-repo>knife bootstrap windows winrm 10.0.1.123 -r ‘role[testserver]’ -x Administrator -P ’ -VV
DEBUG: Using configuration from C:/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in C:/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/dave.sykes/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo “Rendering bootstrap.bat chunk 1” && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the “License”^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem http://www.apache.org/licenses/LICENSE-2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an “AS IS” BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^(“url”^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^(“path”^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^(“MSXML2.ServerXMLHTTP.6.0”^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( “WScript.Shell” ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^(“USER”^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in
env_namespace': undefined methodenv_namespace’ for Savon:Module (NoMethodErr
or)
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap
/xml.rb:73:in namespaces' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/winrm-1.0.1/lib/winrm/winr m_service.rb:72:inopen_shell’
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/shell.rb:29:in initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr m/server.rb:48:innew’
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/server.rb:48:in block (2 levels) in run_command' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3- x86-mingw32/lib/eventmachine.rb:1009:incall’
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3-
x86-mingw32/lib/eventmachine.rb:1009:in `block in spawn_threadpool’

Anyone got any ideas, is it something that I have done wrong, or is knife-windows not yet compatible with 0.10.2

Regards,
Dave Sykes
Head of Engineering
+44 (0)1252 740721

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

I haven't heard any reports of knife-windows not working correctly under Chef 0.10.2. I'll actually be doing some windows related stuff later today so I'll try to recreate your bug under Chef 0.10.2.

Just to verify, you see the same exception (env_namespace': undefined method env_namespace' for Savon:Module) when bootstrapping from an Ubuntu and Windows machine? Can you also do a 'gem list' on the workstation in question please? The exception appears to be coming from an upstream gem.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

On Wednesday, July 6, 2011 at 6:43 AM, Dave Sykes wrote:

Hi Guys,

I’ve just started in attempting to get chef working with Windows, and I’m not sure if this is the right place to post this kind of issue, if wrong, could you please redirect me to the correct forum.

I had some success with an experiment using chef-client 0.10.0 and bootstrapping chef to a new node using knife-windows from an Ubuntu machine at home. I then went and replicated the setup at work, in both Ubuntu and Windows, but chef had now been upgraded to 0.10.2, and I am getting the following output when I try and bootstrap another machine.

C:\chef-repo>knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from C:/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in C:/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/dave.sykes/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in
env_namespace': undefined method env_namespace' for Savon:Module (NoMethodErr
or)
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap
/xml.rb:73:in namespaces' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/winrm-1.0.1/lib/winrm/winr m_service.rb:72:in open_shell'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/shell.rb:29:in initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr m/server.rb:48:in new'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/server.rb:48:in block (2 levels) in run_command' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3- x86-mingw32/lib/eventmachine.rb:1009:in call'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3-
x86-mingw32/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Anyone got any ideas, is it something that I have done wrong, or is knife-windows not yet compatible with 0.10.2

Regards,
Dave Sykes
Head of Engineering
+44 (0)1252 740721

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

Hi Seth,

Thanks for your very prompt reply.

Yes, this is the same under both Ubuntu (11.04) and Windows 7 (x64). The target machine (10.0.1.123) is a newly deployed windows 2008 R2 machine that I set up just for this task, so hopefully shouldn't have anything strange on it.

Here is the output from Ubuntu

chef@chef-workstation:~/chef-repo$ knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from /home/chef/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
/home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in env_namespace': undefined method env_namespace' for Savon:Module (NoMethodError)
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:73:in namespaces' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/winrm-1.0.1/lib/winrm/winrm_service.rb:72:in open_shell'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/shell.rb:29:in initialize' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in new'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in block (2 levels) in run_command' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in call'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Regards,

Dave Sykes
Head of Engineering
+44 (0)1252 740721

-----Original Message-----
From: Seth Chisamore [mailto:schisamo@opscode.com]
Sent: 06 July 2011 14:36
To: chef@lists.opscode.com
Subject: [chef] Re: Problem with knife-windows with chef-client 0.10.2

I haven't heard any reports of knife-windows not working correctly under Chef 0.10.2. I'll actually be doing some windows related stuff later today so I'll try to recreate your bug under Chef 0.10.2.

Just to verify, you see the same exception (env_namespace': undefined method env_namespace' for Savon:Module) when bootstrapping from an Ubuntu and Windows machine? Can you also do a 'gem list' on the workstation in question please? The exception appears to be coming from an upstream gem.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

On Wednesday, July 6, 2011 at 6:43 AM, Dave Sykes wrote:

Hi Guys,

I’ve just started in attempting to get chef working with Windows, and I’m not sure if this is the right place to post this kind of issue, if wrong, could you please redirect me to the correct forum.

I had some success with an experiment using chef-client 0.10.0 and bootstrapping chef to a new node using knife-windows from an Ubuntu machine at home. I then went and replicated the setup at work, in both Ubuntu and Windows, but chef had now been upgraded to 0.10.2, and I am getting the following output when I try and bootstrap another machine.

C:\chef-repo>knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from C:/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in C:/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/dave.sykes/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in
env_namespace': undefined method env_namespace' for Savon:Module (NoMethodErr
or)
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap
/xml.rb:73:in namespaces' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/winrm-1.0.1/lib/winrm/winr m_service.rb:72:in open_shell'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/shell.rb:29:in initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr m/server.rb:48:in new'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/server.rb:48:in block (2 levels) in run_command' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3- x86-mingw32/lib/eventmachine.rb:1009:in call'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3-
x86-mingw32/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Anyone got any ideas, is it something that I have done wrong, or is knife-windows not yet compatible with 0.10.2

Regards,
Dave Sykes
Head of Engineering
+44 (0)1252 740721

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

Dave,
I've been able to recreate the issue. It appears a newer version of savon, a dependency of the upstream WinRM gem, is causing the issue.

I've opened a ticket in the KNIFE_WINDOWS project [0] and the upstream WinRM gem [1]. Current quick fix is to just downgrade the savon gem to version 0.9.2:

gem uninstall savon
gem install savon -v 0.9.2

Sorry for the inconvenience.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

[0] http://tickets.opscode.com/browse/KNIFE_WINDOWS-7
[1] https://github.com/zenchild/WinRM/issues/11

On Wednesday, July 6, 2011 at 10:13 AM, Dave Sykes wrote:

Hi Seth,

Thanks for your very prompt reply.

Yes, this is the same under both Ubuntu (11.04) and Windows 7 (x64). The target machine (10.0.1.123) is a newly deployed windows 2008 R2 machine that I set up just for this task, so hopefully shouldn't have anything strange on it.

Here is the output from Ubuntu

chef@chef-workstation:~/chef-repo$ knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from /home/chef/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem http://www.apache.org/licenses/LICENSE-2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
/home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in env_namespace': undefined method env_namespace' for Savon:Module (NoMethodError)
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:73:in namespaces' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/winrm-1.0.1/lib/winrm/winrm_service.rb:72:in open_shell'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/shell.rb:29:in initialize' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in new'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in block (2 levels) in run_command' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in call'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Regards,

Dave Sykes
Head of Engineering
+44 (0)1252 740721

-----Original Message-----
From: Seth Chisamore [mailto:schisamo@opscode.com]
Sent: 06 July 2011 14:36
To: chef@lists.opscode.com (mailto:chef@lists.opscode.com)
Subject: [chef] Re: Problem with knife-windows with chef-client 0.10.2

I haven't heard any reports of knife-windows not working correctly under Chef 0.10.2. I'll actually be doing some windows related stuff later today so I'll try to recreate your bug under Chef 0.10.2.

Just to verify, you see the same exception (env_namespace': undefined method env_namespace' for Savon:Module) when bootstrapping from an Ubuntu and Windows machine? Can you also do a 'gem list' on the workstation in question please? The exception appears to be coming from an upstream gem.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

On Wednesday, July 6, 2011 at 6:43 AM, Dave Sykes wrote:

Hi Guys,

I’ve just started in attempting to get chef working with Windows, and I’m not sure if this is the right place to post this kind of issue, if wrong, could you please redirect me to the correct forum.

I had some success with an experiment using chef-client 0.10.0 and bootstrapping chef to a new node using knife-windows from an Ubuntu machine at home. I then went and replicated the setup at work, in both Ubuntu and Windows, but chef had now been upgraded to 0.10.2, and I am getting the following output when I try and bootstrap another machine.

C:\chef-repo>knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from C:/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in C:/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/dave.sykes/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem http://www.apache.org/licenses/LICENSE-2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in
env_namespace': undefined method env_namespace' for Savon:Module (NoMethodErr
or)
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap
/xml.rb:73:in namespaces' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/winrm-1.0.1/lib/winrm/winr m_service.rb:72:in open_shell'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/shell.rb:29:in initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr m/server.rb:48:in new'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/server.rb:48:in block (2 levels) in run_command' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3- x86-mingw32/lib/eventmachine.rb:1009:in call'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3-
x86-mingw32/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Anyone got any ideas, is it something that I have done wrong, or is knife-windows not yet compatible with 0.10.2

Regards,
Dave Sykes
Head of Engineering
+44 (0)1252 740721

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

Hi Seth,

Fantastic, thank you, I'll check this out in the morning and let you know if that fixes it.
Thanks for your help

Regards

Dave

Sent from my iPad

On 6 Jul 2011, at 18:24, "Seth Chisamore" schisamo@opscode.com wrote:

Dave,
I've been able to recreate the issue. It appears a newer version of savon, a dependency of the upstream WinRM gem, is causing the issue.

I've opened a ticket in the KNIFE_WINDOWS project [0] and the upstream WinRM gem [1]. Current quick fix is to just downgrade the savon gem to version 0.9.2:

gem uninstall savon
gem install savon -v 0.9.2

Sorry for the inconvenience.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

[0] http://tickets.opscode.com/browse/KNIFE_WINDOWS-7
[1] https://github.com/zenchild/WinRM/issues/11

On Wednesday, July 6, 2011 at 10:13 AM, Dave Sykes wrote:

Hi Seth,

Thanks for your very prompt reply.

Yes, this is the same under both Ubuntu (11.04) and Windows 7 (x64). The target machine (10.0.1.123) is a newly deployed windows 2008 R2 machine that I set up just for this task, so hopefully shouldn't have anything strange on it.

Here is the output from Ubuntu

chef@chef-workstation:~/chef-repo$ knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from /home/chef/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
/home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in env_namespace': undefined method env_namespace' for Savon:Module (NoMethodError)
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:73:in namespaces' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/winrm-1.0.1/lib/winrm/winrm_service.rb:72:in open_shell'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/shell.rb:29:in initialize' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in new'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in block (2 levels) in run_command' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in call'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Regards,

Dave Sykes
Head of Engineering
+44 (0)1252 740721

-----Original Message-----
From: Seth Chisamore [mailto:schisamo@opscode.com]
Sent: 06 July 2011 14:36
To: chef@lists.opscode.com (mailto:chef@lists.opscode.com)
Subject: [chef] Re: Problem with knife-windows with chef-client 0.10.2

I haven't heard any reports of knife-windows not working correctly under Chef 0.10.2. I'll actually be doing some windows related stuff later today so I'll try to recreate your bug under Chef 0.10.2.

Just to verify, you see the same exception (env_namespace': undefined method env_namespace' for Savon:Module) when bootstrapping from an Ubuntu and Windows machine? Can you also do a 'gem list' on the workstation in question please? The exception appears to be coming from an upstream gem.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

On Wednesday, July 6, 2011 at 6:43 AM, Dave Sykes wrote:

Hi Guys,

I’ve just started in attempting to get chef working with Windows, and I’m not sure if this is the right place to post this kind of issue, if wrong, could you please redirect me to the correct forum.

I had some success with an experiment using chef-client 0.10.0 and bootstrapping chef to a new node using knife-windows from an Ubuntu machine at home. I then went and replicated the setup at work, in both Ubuntu and Windows, but chef had now been upgraded to 0.10.2, and I am getting the following output when I try and bootstrap another machine.

C:\chef-repo>knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from C:/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in C:/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/dave.sykes/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in
env_namespace': undefined method env_namespace' for Savon:Module (NoMethodErr
or)
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap
/xml.rb:73:in namespaces' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/winrm-1.0.1/lib/winrm/winr m_service.rb:72:in open_shell'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/shell.rb:29:in initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr m/server.rb:48:in new'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/server.rb:48:in block (2 levels) in run_command' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3- x86-mingw32/lib/eventmachine.rb:1009:in call'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3-
x86-mingw32/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Anyone got any ideas, is it something that I have done wrong, or is knife-windows not yet compatible with 0.10.2

Regards,
Dave Sykes
Head of Engineering
+44 (0)1252 740721

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

Hi Seth,

Good news, I'm back working again. Thank you for your very speedy response in this issue.

Regards,

Dave Sykes
Head of Engineering
+44 (0)1252 740721

-----Original Message-----
From: Dave Sykes [mailto:dave.sykes@elateral.com]
Sent: 06 July 2011 22:05
To: chef@lists.opscode.com
Subject: [chef] Re: Re: RE: Re: Problem with knife-windows with chef-client 0.10.2

Hi Seth,

Fantastic, thank you, I'll check this out in the morning and let you know if that fixes it.
Thanks for your help

Regards

Dave

Sent from my iPad

On 6 Jul 2011, at 18:24, "Seth Chisamore" schisamo@opscode.com wrote:

Dave,
I've been able to recreate the issue. It appears a newer version of savon, a dependency of the upstream WinRM gem, is causing the issue.

I've opened a ticket in the KNIFE_WINDOWS project [0] and the upstream WinRM gem [1]. Current quick fix is to just downgrade the savon gem to version 0.9.2:

gem uninstall savon
gem install savon -v 0.9.2

Sorry for the inconvenience.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

[0] http://tickets.opscode.com/browse/KNIFE_WINDOWS-7
[1] https://github.com/zenchild/WinRM/issues/11

On Wednesday, July 6, 2011 at 10:13 AM, Dave Sykes wrote:

Hi Seth,

Thanks for your very prompt reply.

Yes, this is the same under both Ubuntu (11.04) and Windows 7 (x64). The target machine (10.0.1.123) is a newly deployed windows 2008 R2 machine that I set up just for this task, so hopefully shouldn't have anything strange on it.

Here is the output from Ubuntu

chef@chef-workstation:~/chef-repo$ knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from /home/chef/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.chef/bootstrap
DEBUG: Looking for bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
/home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in env_namespace': undefined method env_namespace' for Savon:Module (NoMethodError)
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/savon-0.9.5/lib/savon/soap/xml.rb:73:in namespaces' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/winrm-1.0.1/lib/winrm/winrm_service.rb:72:in open_shell'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/shell.rb:29:in initialize' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in new'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/em-winrm-0.0.5/lib/em-winrm/server.rb:48:in block (2 levels) in run_command' from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in call'
from /home/chef/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Regards,

Dave Sykes
Head of Engineering
+44 (0)1252 740721

-----Original Message-----
From: Seth Chisamore [mailto:schisamo@opscode.com]
Sent: 06 July 2011 14:36
To: chef@lists.opscode.com (mailto:chef@lists.opscode.com)
Subject: [chef] Re: Problem with knife-windows with chef-client 0.10.2

I haven't heard any reports of knife-windows not working correctly under Chef 0.10.2. I'll actually be doing some windows related stuff later today so I'll try to recreate your bug under Chef 0.10.2.

Just to verify, you see the same exception (env_namespace': undefined method env_namespace' for Savon:Module) when bootstrapping from an Ubuntu and Windows machine? Can you also do a 'gem list' on the workstation in question please? The exception appears to be coming from an upstream gem.

Seth

--
Opscode, Inc.
Seth Chisamore, Senior Technical Evangelist
IRC, Skype, Twitter, Github: schisamo

On Wednesday, July 6, 2011 at 6:43 AM, Dave Sykes wrote:

Hi Guys,

I’ve just started in attempting to get chef working with Windows, and I’m not sure if this is the right place to post this kind of issue, if wrong, could you please redirect me to the correct forum.

I had some success with an experiment using chef-client 0.10.0 and bootstrapping chef to a new node using knife-windows from an Ubuntu machine at home. I then went and replicated the setup at work, in both Ubuntu and Windows, but chef had now been upgraded to 0.10.2, and I am getting the following output when I try and bootstrap another machine.

C:\chef-repo>knife bootstrap windows winrm 10.0.1.123 -r 'role[testserver]' -x Administrator -P ' -VV
DEBUG: Using configuration from C:/chef-repo/.chef/knife.rb
Bootstrapping Chef on 10.0.1.123
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/mixin/windows/bootstrap
DEBUG: Looking for bootstrap template in C:/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/dave.sykes/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/knife-windows-0.5.3/lib/chef/knife/bootstrap
DEBUG: Adding 10.0.1.123
DEBUG: :session => :init
DEBUG: :relay_to_servers => cmd.exe /C echo "Rendering bootstrap.bat chunk 1" && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Author:: Seth Chisamore ^(^<schisamo@opscode.com^>^)) && >> %TEMP%\bootstrap.bat (echo.@rem Copyright:: Copyright ^(c^) 2011 Opscode, Inc.) && >> %TEMP%\bootstrap.bat (echo.@rem License:: Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^):wink: && >> %TEMP%\bootstrap.bat (echo.@rem you may not use this file except in compliance with the License.) && >> %TEMP%\bootstrap.bat (echo.@rem You may obtain a copy of the License at) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Apache License, Version 2.0) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> %TEMP%\bootstrap.bat (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> %TEMP%\bootstrap.bat (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> %TEMP%\bootstrap.bat (echo.@rem See the License for the specific language governing permissions and) && >> %TEMP%\bootstrap.bat (echo.@rem limitations under the License.) && >> %TEMP%\bootstrap.bat (echo.@rem) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.mkdir C:\chef) && >> %TEMP%\bootstrap.bat (echo.) && >> %TEMP%\bootstrap.bat (echo.^> C:\chef\wget.vbs ^() && >> %TEMP%\bootstrap.bat (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> %TEMP%\bootstrap.bat (echo.echo.)
DEBUG: :relayed => 10.0.1.123
DEBUG: 10.0.1.123 => :run_command
C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap/xml.rb:64:in
env_namespace': undefined method env_namespace' for Savon:Module (NoMethodErr
or)
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/savon-0.9.5/lib/savon/soap
/xml.rb:73:in namespaces' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/winrm-1.0.1/lib/winrm/winr m_service.rb:72:in open_shell'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/shell.rb:29:in initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr m/server.rb:48:in new'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/em-winrm-0.0.5/lib/em-winr
m/server.rb:48:in block (2 levels) in run_command' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3- x86-mingw32/lib/eventmachine.rb:1009:in call'
from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.3-
x86-mingw32/lib/eventmachine.rb:1009:in `block in spawn_threadpool'

Anyone got any ideas, is it something that I have done wrong, or is knife-windows not yet compatible with 0.10.2

Regards,
Dave Sykes
Head of Engineering
+44 (0)1252 740721

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710

The information contained in this e-mail is confidential. If you are not an intended recipient of this e-mail please notify the sender immediately and delete all copies from your system. You must not read, copy, distribute or take any further action in relation to or reliance on this e-mail.

Elateral will not, to the extent permitted by the law, accept responsibility or liability for the timeliness, accuracy or completeness of this e-mail or any attachments to it (unless specifically stated) nor for the presence of any virus, worm or similar malicious or disabling code in it or in the attachments. Please be aware that e-mail is not a secure form of communication.

Elateral Limited, Registered in England No. 3036315. Elateral House, Crosby Way, Farnham, Surrey GU9 7XX. VAT No. GB 742 577710