If you get this : Net::HTTPServerException: 401 "Unauthorized"
when running chef-client, you need to verify that you have the fqdn / node name (node_name) in your client configuration.
About Me
- Shavit Netzer
- Cloud Operations Team Leader at Conduit - http://il.linkedin.com/in/shavit
Friday, September 14, 2012
Wednesday, August 29, 2012
Chef bootstrap - public key failure
I tried running chef bootstrap using public key on amazon ec2 server, and get some errors:
ERROR: ArgumentError: invalid option(s): keys_only
Or
/usr/lib/ruby/1.8/net/ssh.rb:155:in `start': invalid option(s): keys_only (ArgumentError)
well, i don't know if it is a bug, but i create a simple solution for this with a simple script
the following script will allow password, run bootstrap and disallow password
ERROR: ArgumentError: invalid option(s): keys_only
Or
/usr/lib/ruby/1.8/net/ssh.rb:155:in `start': invalid option(s): keys_only (ArgumentError)
well, i don't know if it is a bug, but i create a simple solution for this with a simple script
the following script will allow password, run bootstrap and disallow password
Sunday, April 22, 2012
Nagios with graphs installation (step by step)
Did you ever wanted to have alerting system (such as Nagios) and add some graphs
you can find here a short post, with a full description of adding graphs to Nagios
I also add configuration example
Friday, February 24, 2012
EC2 security access when working with ELB
As you know /or not, when working with ELB the security
group on the Amazon ec2 instances will not catch the real IP, only the internal ELB ip.
So, how can we prevent this Security hole?
EC2 Instance backup - auto backup for prod
Did you ever wonder how to automatically create a backup to
only your prod (or some other) environment on Amazon ec2?
Well this is easy, all you need to do is to add a tag to the
instances and set a cron job.
Copy the following script to your manage machine and replace
the EC2 certs path ….. with your
Subscribe to:
Comments (Atom)