openstack 上传glance镜像失败 解决

[root@controller ~]# glance image-create --name "cirros" --file cirros-0.3.4-x86_64-disk.img --disk-format qcow2  --container-format bare --visibility public --progress

执行报错

503 Service Unavailable: The server is currently unavailable. Please try again at a later time. (HTTP 503)

查看日志文件

[root@controller ~]# tail /var/log/glance/api.log 

2019-12-14 15:43:04.985 20004 INFO glance.common.wsgi [-] Child 20004 exiting normally
2019-12-14 15:45:38.483 1059 WARNING keystonemiddleware.auth_token [-] Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, admin_password, and admin_tenant_name configuration options is deprecated in favor of auth_plugin and related options and may be removed in a future release.
2019-12-14 15:45:38.486 1059 WARNING keystonemiddleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
2019-12-14 15:45:38.887 1059 INFO glance.common.wsgi [-] Starting 1 workers
2019-12-14 15:45:38.898 1059 INFO glance.common.wsgi [-] Started child 1869
2019-12-14 15:45:38.959 1869 INFO eventlet.wsgi.server [-] (1869) wsgi starting up on http://0.0.0.0:9292/
2019-12-14 16:39:29.378 1869 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2019-12-14 16:39:34.773 1869 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.&
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值