openstack mitaka 版本中 swift作为glance存储后端的问题

lsmls 2016-12-02 03:16:52
配置文件:
[glance_store]

default_store = swift
stores = file, http, swift
swift_store_auth_version = 3
swift_store_auth_address = http://controller:5000/v3
swift_store_user = service:swift
swift_store_key = swift
swift_store_container = glance
swift_store_create_container_on_put = True
swift_store_large_object_size = 51200
swift_store_large_object_chunk_size = 200

日志提示错误:ERROR glance.common.wsgi BackendException: Cannot find swift service endpoint : The request you have made requires authentication. (HTTP 401) (Request-ID: req-e70306fa-9281-46bf-a70c-25e420ff61e2)

认证内容:
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=ADMIN_PASS
export OS_AUTH_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
...全文
2474 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
SimonYCJ 2017-11-16
  • 打赏
  • 举报
回复
@lsmls 首先问你的是,你有没有安装swift,我看报错你都没装swift呢
overpus 2017-11-11
  • 打赏
  • 举报
回复
stores=glance.store.filesystem.Store,glance.store.swift.Store,glance.store.http.Store 加上这行参数试试
lsmls 2016-12-05
  • 打赏
  • 举报
回复
别沉啊,help help

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧