Affects Version/s: 0.8.2
Fix Version/s: None
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:
Chef::Config[:node_name] = Chef::Config[:web_ui_client_name]
Chef::Config[:client_key] = Chef::Config[:web_ui_key]
Runs after the admin user creation in the class definition. If I invoke "loaded" before running that code, everything works as expected.