Generated clouds.yaml broken in noauth mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bifrost |
Fix Released
|
Undecided
|
Mark Goddard |
Bug Description
Steps to reproduce
------------------
Deploy bifrost without keystone enabled.
Attempt to use the openstack client to list nodes:
OS_CLOUD=bifrost openstack baremetal node list
Expected result
---------------
Nodes are listed
Actual result
-------------
Missing parameter(s):
Set a cloud-name with --os-cloud or OS_CLOUD
Environment
-----------
Bifrost deployed in a CentOS container using stable/queens branch @ 4f7c0eab1d93dab
clouds.yaml:
# WARNING: This file is managed by bifrost.
clouds:
bifrost:
auth_type: "none"
url: http://
Workaround
----------
Reverting to the old format of clouds.yaml allows the client to work:
# WARNING: This file is managed by bifrost.
clouds:
bifrost:
auth_type: None
auth: {}
url: http://
It is also possible to remove the 'auth: {}' line.
Changed in bifrost: | |
status: | New → In Progress |
assignee: | nobody → Mark Goddard (mgoddard) |
Changed in bifrost: | |
status: | In Progress → Fix Released |
Here's the change that switched to the none auth_type: https:/ /github. com/openstack/ bifrost/ commit/ 21ca45937a9cb36 c6f04073182bf2e dea8acbd5d.