Open jessehu opened 9 years ago
Found in chef-server-core-12.2.0-1.el6.x86_64.
= Root cause =
The following code replace lb_internal with lb-internal, but lb_internal is used in the private-chef cookbook.
https://github.com/chef/chef-server/blob/master/omnibus/files/private-chef-cookbooks/private-chef/libraries/private_chef.rb#L227
rkey = if key =~ /^oc_/ || key == "redis_lb" key # leave oc_* keys as is else key.gsub('_', '-') end
This workaround fixed the issue for me.
sed -i 's/key == "redis_lb"/& || key == "lb_internal"/' /opt/opscode/embedded/cookbooks/private-chef/libraries/private_chef.rb
Found in chef-server-core-12.2.0-1.el6.x86_64.
= Root cause =
The following code replace lb_internal with lb-internal, but lb_internal is used in the private-chef cookbook.
https://github.com/chef/chef-server/blob/master/omnibus/files/private-chef-cookbooks/private-chef/libraries/private_chef.rb#L227