popularity question answers views user  
0
Chef Workstation on WIndows, knife-windows plug not working

I am running Chef-Client 10.24 on my windows workstation to match the Chef server, 10.24. I used the chef omnibus to install chef-client on my Windows 7 workstation. I can use the regular knife commands and bootstrap *nix clients. However, I installed knife-windows plugin using RubyGems, and it put that plug in in the ruby folder and the Chef-Client knife command cannot access it I believe. Is there a way to either move the knife-windows plugin to the chef-client directory, or a way to use the chef-client omnibus installer to install knife-windows plugins?

more →
1 22  
0
Timeout with knife bootstrap windows winrm

I am receiving an error with my ‘knife bootstrap windows winrm FQDN’ command. It keeps timing out, and I’m not sure what I can do.

 C:\Users\USER>knife bootstrap windows winrm myserver.net
Bootstrapping Chef on myserver.net
Enter your password:
ERROR: Network Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (http://myserver.net:5985)
Check your knife configuration and network settings
more →
0 24  
0
knife cookbook upload --all returns internal server error

When I run: knife cookbook upload --all

This is returned:

Uploading apache2      [1.6.2]
Uploading apt          [1.9.2]
Uploading build-essential [1.4.0]
Uploading chef_handler [1.1.4]
Uploading dmg          [1.1.0]
Uploading git          [2.5.0]
Uploading mysql        [3.0.0]
Uploading openssl      [1.0.2]
Uploading php          [1.1.8]
Uploading runit        [1.1.4]
Uploading sudo         [2.1.2]
Uploading users        [1.5.0]
Uploading vim          [1.0.2]
Uploading windows      [1.8.10]
Uploading xml          [1.1.2]
Uploading yum          [2.2.0]
ERROR: Server returned error for https://chef.lbox.com/sandboxes/000000000000a7f169ffc8cbaefb57e7, retrying 1/5 in 3s
ERROR: Server returned error for https://chef.lbox.com/sandboxes/000000000000a7f169ffc8cbaefb57e7, retrying 2/5 in 8s
ERROR: Server returned error for https://chef.lbox.com/sandboxes/000000000000a7f169ffc8cbaefb57e7, retrying 3/5 in 16s
ERROR: Server returned error for https://chef.lbox.com/sandboxes/000000000000a7f169ffc8cbaefb57e7, retrying 4/5 in 18s
ERROR: Server returned error for https://chef.lbox.com/sandboxes/000000000000a7f169ffc8cbaefb57e7, retrying 5/5 in 53s
ERROR: internal server error
Response: internal service error

I checked the server logs with chef-server-ctl tail

But it doesn’t seem like anything is there:

find: `/var/log/chef-server/erchef': Permission denied
find: `/var/log/chef-server/chef-expander': Permission denied
find: `/var/log/chef-server/rabbitmq': Permission denied
find: `/var/log/chef-server/chef-solr': Permission denied
find: `/var/log/chef-server/chef-pedant': Permission denied
find: `/var/log/chef-server/bookshelf': Permission denied
find: `/var/log/chef-server/chef-server-webui': Permission denied
find: `/var/log/chef-server/nginx': Permission denied
2013-05-15_17:50:58.23488 FATAL:  terminating connection due to administrator command
2013-05-15_17:50:58.23488 FATAL:  terminating connection due to administrator command
2013-05-15_17:50:58.23489 FATAL:  terminating connection due to administrator command
2013-05-15_17:50:58.23489 received TERM from runit, sending INT instead to force quit connections
2013-05-15_17:50:58.23490 LOG:  shutting down
2013-05-15_17:50:58.23491 LOG:  received fast shutdown request
2013-05-15_17:50:58.23491 LOG:  database system is shut down
2013-05-15_17:51:36.71153 LOG:  database system was shut down at 2013-05-15 17:50:58 GMT
2013-05-15_17:51:36.74589 LOG:  database system is ready to accept connections
2013-05-15_17:51:36.75655 LOG:  autovacuum launcher started

Any suggestions on why I can’t upload cookbooks? Where can I go to see more detailed errors? I’m at a loss. Thank you.

more →
0 25  
-1
Chef and Ruby 1.9.3

Hello!

How to install chef with/on ruby 1.9.3? All my attempts to install chef install Ruby 1.8.

Debian GNU/Linux wheezy/sid

Linux chef 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux

$ cat /etc/apt/sources.list.d/opscode.list

deb http://apt.opscode.com/ wheezy-0.10 main

more →
0 88