The request you have made requires authentication. (HTTP 401)

报错;The request you have made requires authentication. (HTTP 401) (Request-ID: req-0360519c-92bb-4f85-9815-771b2721803f)

openssl rand -hex 10 生成密钥令牌:265ddc8e5225595f8283

vim /etc/keystone/keystone.conf
[DEFAULT]
admin_token = xxxxxx #输入你上面获得的令牌 #我的令牌:265ddc8e5225595f8283

export OS_TOKEN=265ddc8e5225595f8283

如果还有问题将 export OS_TOKEN置空
export OS_TOKEN=" "
然后输入export OS_PASSWORD=密码
export OS_PASSWORD=keystone

  1. 编辑 /etc/keystone/keystone.conf
    vim /etc/keystone/keystone.conf
    [DEFAULT]
    admin_token = xxxxxx #输入你上面获得的令牌
    [database]、?、
    connection = MysqL+pyMysqL://keystone:[email protected]/keystone
    [token]
    provider = fernet

相关文章

项目需要,有个数据需要导入,拿到手一开始以为是mysql,结果...
本文小编为大家详细介绍“怎么查看PostgreSQL数据库中所有表...
错误现象问题原因这是在远程连接时pg_hba.conf文件没有配置正...
因本地资源有限,在公共测试环境搭建了PGsql环境,从数据库本...
wamp 环境 这个提示就是说你的版本低于10了。 先打印ph...
psycopg2.OperationalError: SSL SYSCALL error: EOF detect...