[chef] windows knife troubles, ATTN: adamed


Chronological Thread 
  • From: Sergey Romanovsky < >
  • To:
  • Subject: [chef] windows knife troubles, ATTN: adamed
  • Date: Wed, 23 Apr 2014 17:57:29 -0700

Hello,

I have troubles with running knife on windows. A simple task of adding
a role fails. Here http://pastebin.com/P4cFwH6u you can see that role
"role[_123456789-qwerqvasfrqetftwgrsygahbafd]" cannot be assigned to
the box, recipe[roles] assigned instead.

irc#chef @coderanger guy suggested to ask adamed for help.

I used that strange long role name because I can easily reproduce the
problem. Sometimes it fails with pretty small and human readable role
names like 'foo-bar'. But the problem is hard to reproduce every time.
The same command works very well on linux.

One more issue windows knife command runs 4.25 times slower than linux
knife command:
linux$ time knife search node 'name:BBX032-VA-1'
...
real 0m1.916s

windows>  Measure-Command {knife search node 'name:BBX032-VA-1'}
...
TotalSeconds      : 8.1286333.

I.e. it's x4.25 slower

We're evaluating enterprise chef as a solution to manage 4k boxes.
Mostly windows boxes managed by mostly windows sysadmins. So we need a
good windows support for workstation and for nodes.
That first issue is a showstopper for us. The second issue isn't so
critical but still it's a pain.

Thanks.



Archive powered by MHonArc 2.6.16.

§