[原]openstack-kilo--issue(十三)Unauthorized: The request you have made requires authentication. (HTTP 4...

在使用OpenStack Kilo时遇到401 Unauthorized错误,原因是admin用户密码变更。解决方法是更新admin用户的环境配置文件admin-openrc.sh。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在运行nova-list 的时候发现报错401:如下面


========>>>>>>>>> 正常显示

[root@controller ~]# nova --debug list DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: app" -H "User-Agent: python-keystoneclient" INFO (connectionpool:203) Starting new HTTP connection (1): controller DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 250 DEBUG (session:224) RESP: [200] content-length: 250 vary: X-Auth-Token keep-alive: ti100 server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 mod_wsgi/3.4 Pynnection: Keep-Alive date: Tue, 17 Jan 2017 07:38:53 GMT content-type: application/jsk-request-id: req-9f10a8db-4c05-408a-934b-0b1d96f07146 RESP BODY: { "version": { "status": "stable", "updated": "2015-03-30T00:00:00Z", "mediaase": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "idinks": [{ "href": "http://controller:35357/v3/", "rel": "self"}]}} DEBUG (base:171) Making authentication request to http://controller:35357/v3/auth/tok DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 5326 DEBUG (iso8601:184) Parsed 2017-01-17T08:38:53.247506Z into { 'tz_sign': None, 'second'247506', 'hour': u'08', 'daydash': u'17', 'tz_hour': None,
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值