[root@controller ~]# openstack user create --domain demo --password 000000 glance
The request you have made requires authentication. (HTTP 401) (Request-ID: req-038d8115-c3b2-4b35-8d4d-f4b274497117)
检查export变量,查看变量脚本是否写错,检查无误后再次创建
[root@controller ~]# openstack user create --domain demo --password 000000 glance
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | 22ae39b46635459c9ef07b0f7b80d5e0 |
| enabled | True |
| id | 979d8a205ea94d458fd8f81645ea1b6f |
| name | glance |
| options | {
} |
| password_expires_at | None |
+---------------------+----------------------------------+