Openstack CLI on multi-domain keystone not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On master, following the documentation:
# lxc-attach -n controller-
# . openrc
# openstack user list
Missing parameter(s):
Set a username with --os-username, OS_USERNAME, or auth.username
Set an authentication URL, with --os-auth-url, OS_AUTH_URL or auth.auth_url
Set a scope, such as a project or domain, set a project scope with --os-project-name, OS_PROJECT_NAME or auth.project_name, set a domain scope with --os-domain-name, OS_DOMAIN_NAME or auth.domain_name
Even adding export OS_DOMAIN_
# openstack user list
The request you have made requires authentication. (HTTP 401) (Request-ID: req-b9d9e73a-
Works when using "--domain <domain-name>":
# openstack user list --domain default
+------
| ID | Name |
+------
| 021c8410bf104d8
| 2dd4d85794e1403
| 3ebded248dea438
| 6723dba8cbc6424
| 98090b034bb8412
| a017ba639b084f6
| a55e4f72c44e425
| abaf7dffb9644e3
| bac261582836465
| e79a6c19f3564ca
| f6181719221f48e
+------
There is a case mismatch in your bug description:
"Even adding export OS_DOMAIN_ NAME=Default to the openrc:"
vs
"openstack user list --domain default"
Did you really set OS_DOMAIN_ NAME=Default or "default"