При выполнении этой команды в Ubuntu 14.02 Server edition.
glance image-create --name "cirros" --file cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress
Я получил следующее сообщение об ошибке:
"publicURL endpoint for image not found"
Ниже приведены серии команд, которые я выполнил:
$ nano admin-openrc.sh
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=XXXXXX
export OS_AUTH_URL=http://controller:35357/v2.0
$ source admin-openrc.sh
$ wget -P /tmp/images http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
$ glance image-create --name "cirros-0.3.3-x86_64" --file /tmp/images/cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress
Пожалуйста, помогите ...
Большое спасибо заранее.
- В
Я решил проблему путем долго обсуждения identity_uri как это:
[keystone_authtoken]
auth_host = controller
auth_port = 35357
auth_protocol = http
auth_uri = http://controller:5000/v2.0
#identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = openstack