The request you have made requires authentication. (HTTP 401) (Request-ID: req-f94bebba-f0c5-4a92-85

Posted 抛物线.

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The request you have made requires authentication. (HTTP 401) (Request-ID: req-f94bebba-f0c5-4a92-85相关的知识,希望对你有一定的参考价值。

The request you have made requires authentication. (HTTP 401) (Request-ID: req-f94bebba-f0c5-4a92-85

如果安装openstack的keystone服务出现这个报错后

把keystone配置文件修改下

ADMIN_TOKEN=$(openssl rand -hex 10)  如果长期使用,就放到变量里去


openssl rand -hex 10  #######这个就是获取随机值 

获取一个随机值 并填写进去就可以了
然后设置下环境变量

export OS_TOKEN=$ADMIN_TOKEN
export OS_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3

2022/04/08 更新

可以用账号密码的方式

[root@control01 ~]# cat admin-openrc.sh
export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=qmef37sw4syNZUqqGTv2IZ2Db7w78voNwHoiVuST
export OS_AUTH_URL=http://IP:35357/v3    # 这里填写集群的VIP 
export OS_INTERFACE=internal
export OS_IDENTITY_API_VERSION=3
export OS_REGION_NAME=RegionOne
export OS_AUTH_PLUGIN=password
[root@control01 ~]# source admin-openrc.sh

# 就可以正常使用了

以上是关于The request you have made requires authentication. (HTTP 401) (Request-ID: req-f94bebba-f0c5-4a92-85的主要内容,如果未能解决你的问题,请参考以下文章

Kafka - which is larger than the maximum request size you have configured with the max.request

Access forbidden! You don't have permission to access the requested object. It is either read-pr

mac上的xampp出现Access forbidden! You don’t have permission to access the requested object. It is either

if you wanna the rainbow, you have to deal with the rain.

You have defined query method in the repository

[ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id....