- From: Joseph Holsten <
>
- To:
- Subject: [chef] Re: Proper hostname configuration for chef server 11
- Date: Thu, 30 May 2013 02:21:00 -0700
This sounds familiar to what I dealt with the first time I set up chef 11. I
scrapped the original project and used
http://fnichol.github.io/knife-server
to set up a new server and I didn't have the issue any more. I know it uses
the master
https://github.com/opscode-cookbooks/chef-server cookbook under
the hood, so you may be able to tackle it with only that.
That said, if you've got the time to help improve chef-server-ctl or
otherwise contribute to making the error messages in chef-server improved,
I'd love to stop seeing people with this problem.
On 2013-05-30, at 02:06, İşbaran Akçayır
<
>
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
>
>
>
[0] http://lists.opscode.com/sympa/arc/chef/2013-03/msg00130.html
>
[1] http://community.opscode.com/chat/chef/2013-02-23
>
[2] http://tickets.opscode.com/browse/CHEF-4126
>
>
[Example log] http://pastebin.com/Dd69kwH8
Archive powered by MHonArc 2.6.16.