[chef] Re: Proper hostname configuration for chef server 11


Chronological Thread 
  • From: Chandan Maheshwari < >
  • To:
  • Subject: [chef] Re: Proper hostname configuration for chef server 11
  • Date: Thu, 30 May 2013 15:05:25 +0530

Is your ec2 instance is created in VPN? Well should not matter, but just to confirm.

Also what error you are getting, Is the error you are getting is : "“/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name or service not known (SocketError)”


On Thu, May 30, 2013 at 2:36 PM, İşbaran Akçayır < " target="_blank"> > wrote:
Hello,

Trying to configure chef server 11 on EC2 and i think i hit that internal redirect problem [0] also mentioned here [1]
( Can update roles, environments, but can't upload cookbooks )

I would like to know what are the dependencies for chef server 11 to just work.

My steps:
Boot ec2 instance
Point chef.example.com to public ip of that instance
Put "public_ip chef.example.com" to /etc/hosts ( can resolve chef.example.com anyway )
/etc/init.d/hostname start ( even reboot )
Get 11.0.8 and install
chef-server-ctl reconfigure
And problem starts

As suggested, tried overwriting it with chef-server.rb:

server_name = "chef.example.com"
api_fqdn server_name

nginx['url'] = "https://#{server_name}"
nginx['server_name'] = server_name
lb['fqdn'] = server_name

bookshelf['vip'] = server_name

reconfigured with no luck.

Thanks






--
Chandan Maheshwari,




Archive powered by MHonArc 2.6.16.

§