[openstack]"The request you have made requires authentication. (HTTP 401)l"
2017-12-22 11:08
5251 查看
在按照官方手册手动安装Ocata indentity时,执行下面命令时报错
找到这一行:
将注释取消
2.
root用户下不需要加su
3.
4.
5.
将ADMIN_PASS替换成自己设置的密码
6.
问题就解决了
参考:
https://ask.openstack.org/en/question/67398/error-openstack-the-request-you-have-made-requires-authentication-http-401/
openstack project create --domain default \ --description "Service Project" service
解决方案:
1.vi /etc/keystone/keystone.conf
找到这一行:
#admin_token = <None>
将注释取消
2.
root用户下不需要加su
# /bin/sh -c "keystone-manage db_sync"
3.
keystone-manage fernet_setup --keystone-user keystone --keystone-group keystone
4.
keystone-manage credential_setup --keystone-user keystone --keystone-group keystone
5.
keystone-manage bootstrap --bootstrap-password ADMIN_PASS --bootstrap-admin-url http://controller:35357/v3/ --bootstrap-internal-url http://controller:35357/v3/ --bootstrap-public-url http://controller:5000/v3/ --bootstrap-region-id RegionOne
将ADMIN_PASS替换成自己设置的密码
6.
openstack project create --domain default \ --description "Service Project" service
问题就解决了
参考:
https://ask.openstack.org/en/question/67398/error-openstack-the-request-you-have-made-requires-authentication-http-401/
相关文章推荐
- [原]openstack-kilo--issue(十三)Unauthorized: The request you have made requires authentication. (HTTP 401) (Request
- curl 访问openstack keystone v3 时出现The request you have made requires authentication 401
- Web Service 之 Exception: "The HTTP request is unauthorized with client authentication scheme......"
- [Code Sample]Alert "Do you want to save the changes you have made?"
- 关于使用Git的时候出现"HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large"的解决方法
- HTTP Status 406 --- not acceptable according to the request "accept" headers
- Entities passed to the choice field must have a "__toString()" method defined (or you can also override the "property" option)
- django提交表单提示"You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SL
- Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created.
- Web Service出现The request failed with HTTP status 401: Unauthorized错误
- The request failed with HTTP status 401:Access Denied
- IIS "Bad Request - Request Too Long. HTTP Error 400. The size of the request headers is too long."
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."
- Web Service Error: “The request failed with HTTP status 401: Unauthorized.”-ZT
- 【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】
- git "Could not read from remote repository.Please make sure you have the correct access rights."解决方案
- nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:37
- 访问WebService出现IIS错误:The request failed with HTTP status 401: Unauthorized
- Web service: The HTTP request is unauthorized with client authentication scheme 'Anonymous'.....
- django提交表单提示"You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SL