In the Create user times
[[email protected] ~]# OpenStack user Create--password-prompt Neutron
User Password:
Repeat User Password:
The request you have made requires authentication. (HTTP 401) (request-id:req-6750cf88-b2b0-4f07-89fa-
Workaround:
Remove the Admin-token environment variables from the Admin-token
[Email protected] ~]# echo $OS _token
D55a8891f4adb5796f32
[Email protected] ~]# unset Os_token
[Email protected] ~]# echo $OS _token
[[email protected] ~]# OpenStack user Create--password-prompt Neutron
User Password:
Repeat User Password:
+-----------+----------------------------------+
| Field | Value |
+-----------+----------------------------------+
| domain_id | Default |
| Enabled | True |
| ID | 8004b1a254674184a47000058b28cb8c |
| name | Neutron |
+-----------+----------------------------------+
If you have tokens, you can delete and view users, but you cannot create users. (Reason for query)
This article is from "Perfect world!" "Blog, be sure to keep this provenance http://shyln.blog.51cto.com/6890594/1791097
OpenStack Error Collection