Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.8.2
-
Fix Version/s: None
-
Component/s: WebUI
-
Labels:None
Description
When booting WebUI for the first time, I was seeing this exception:
"Cannot sign the request without a client name, check that :node_name is assigned"
Tracing the code, it was blowing up when trying to create the "admin" user. The problem seems to be that this code:
def self.loaded
Chef::Config[:node_name] = Chef::Config[:web_ui_client_name]
Chef::Config[:client_key] = Chef::Config[:web_ui_key]
end
Runs after the admin user creation in the class definition. If I invoke "loaded" before running that code, everything works as expected.