# 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
收起