搭建iaas时上传镜像失败!!!OpenStack的身份凭据无效。

# glance image-create --name "centos6.5" --disk-format qcow2 --container-format bare --is-public True --progress < centos_65_x86_6420140327.qcow2 [=============================>] 100%Request returned failure status.Invalid OpenStack Identity credenti...显示全部
# glance image-create --name "centos6.5" --disk-format qcow2 --container-format bare --is-public True --progress < centos_65_x86_6420140327.qcow2
[=============================>] 100%
Request returned failure status.
Invalid OpenStack Identity credentials.



这是环境变量文件:
# cat admin-openrc.sh
export OS_USERNAME=admin
export OS_PASSWORD=000000
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://controller:35357/v2.0收起
参与4

查看其它 2 个回答博飞信息科技的回答

博飞信息科技博飞信息科技CTO博飞信息科技(上海)有限公司
建议直接在glance后面加上--debug参数查看详细交互过程
软件开发 · 2015-05-21
浏览4895

回答者

博飞信息科技
CTO博飞信息科技(上海)有限公司
擅长领域: 云计算私有云云管平台

博飞信息科技 最近回答过的问题

回答状态

  • 发布时间:2015-05-21
  • 关注会员:1 人
  • 回答浏览:4895
  • X社区推广