- From: Motiejus Jakštys <
>
- To:
- Subject: [chef] Re: knife error
- Date: Mon, 18 Jun 2012 19:07:41 +0200
On Mon, Jun 18, 2012 at 6:33 PM, David Montgomery
<
>
wrote:
>
Hi,
>
>
In an automated python script under runit supervision, I am getting
>
this error and I have no idea what it means. The only knife command I
>
am using via a os.system call is knife client delete mynode --yes
>
>
Any ideas? running the command manually from the command line works.
>
>
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/lib/chef/knife/core/subcommand_loader.rb:51:in
>
`join': can't convert nil into String (TypeError)
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/lib/chef/knife/core/subcommand_loader.rb:51:in
Offending line in subcommand_loader.rb:51:
user_specific_files.concat Dir.glob(File.join(env['HOME'], '.chef',
'plugins', 'knife', '*.rb'))
I suspect env['HOME'] is nil. Set HOME=/some/existing/directory and try again.
--
Motiejus Jakštys
- [chef] knife error, David Montgomery, 06/18/2012
- [chef] Re: knife error, Motiejus Jakštys, 06/18/2012
Archive powered by MHonArc 2.6.16.