[chef] RE: Re: RE: Re: Can login to Chef 12 WebUI


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: Re: RE: Re: Can login to Chef 12 WebUI
  • Date: Thu, 20 Nov 2014 13:59:51 +0000
  • Accept-language: en-US

Thanks.

“The documentation for what you can configure in that file is located at http://docs.getchef.com/config_rb_manage.html.”

 

What is the equivalent entry for chef_server_webui[‘cookie_domain’] = ‘myserver.domain.com’ in manage.rb file?

 

I can always enable the port in ip*tables, but what port does Chef server webui use?

 

Chris

 

 

From: Nathan L Smith [mailto:
Sent: Wednesday, November 19, 2014 10:35 PM
To:
Subject: [chef] Re: RE: Re: Can login to Chef 12 WebUI

 

Chris,

 

Are you able to access the Chef user using knife or curl? What do you see if you try accessing it without the Management Console installed?

 

> What would I put in /etc/opscode-manage/manage.rb? Currently the file is NOT even there.

 

The documentation for what you can configure in that file is located at http://docs.getchef.com/config_rb_manage.html.

 

We have an issue open to create that file upon installation, but currently you can create it with a text editor.

 

> To make it work, I disabled the SELinux and ip*tables services, for now. There’s got to be a better solution?

 

By this do you mean that the problem you were experiencing was because the port that you were running on was blocked by the system's internal firewall? If that's the case then I'm not sure there is a better solution, since the port was blocked.

 

Hope that helps.

 

Thanks

 

On Wed, Nov 19, 2014 at 4:53 PM, Fouts, Chris < " target="_blank"> > wrote:

Thanks.

 

/etc/opscode/chef-server.rb has nothing in it.

 

What would I put in /etc/opscode-manage/manage.rb? Currently the file is NOT even there.

 

To make it work, I disabled the SELinux and ip*tables services, for now. There’s got to be a better solution?

 

Chris

 

From: Stephen Delano [mailto: " target="_blank"> ]
Sent: Wednesday, November 19, 2014 5:28 PM
To: " target="_blank">
Subject: [chef] Re: Can login to Chef 12 WebUI

 

Hi there,

 

Is it possible for you to share the portion of the /etc/opscode/chef-server.rb that you've tried to configure for the Manage Console?

 

The instructions you linked to are out of date for Chef 12. The Manage Console is an addon in Chef 12, so the configuration for that service will live in /etc/opscode-manage/manage.rb and for the configuration changes to go live, you would run `opscode-manage-ctl reconfigure`.

 

Thanks,

Stephen

 

On Wed, Nov 19, 2014 at 2:06 PM, Fouts, Chris < " target="_blank"> > wrote:

I installed the latest Chef 12 on an RH6.x VM, and installed the management feature. I can go to that VM’s console session, open up Firefox and am able to access https://my-server.domain.com

 

However, I can’t access the same URL on a browser running on my Windows machine.

 

I saw this post http://serverfault.com/questions/557250/chef-server-webui-session-not-working-when-access-from-external-ip-address but it may only pertain to Chef 11 Enterprise since chef 12 install ins /etc/opscode, and when I implement the accepted solution and run chef-server-ctl reconfigure I get

 

“Error loading file: /etc/opscode/chef-server.rb:1 in ‘from_file’: undefined method ‘[]=’ for nil:NilClass

 

 

Any clues?

 

Chris

 


 

--

Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104



 

--




Archive powered by MHonArc 2.6.16.

§