glance: error: unrecognized arguments: --name --disk-format qcow2 --container-format bare --visibility public --debug
Hello, While trying to install OpenStack Kilo on Ubuntu Sever 14.04, in the "Verify operation" section of the "Add the Image service" chapter, I tried to create an image with glance:
glance image-create --name "cirros-0.3.4-x86_64" --file /tmp/images/cirros-0.3.4-x86_64-disk.img \ --disk-format qcow2 --container-format bare --visibility public --progress
And the system replies with :
glance: error: unrecognized arguments: --name --disk-format qcow2 --container-format bare --visibility public
What does that mean ?
Checking the logs: /var/log/glance/glance-api.log
2015-10-15 11:14:03.555 26808 WARNING oslo_config.cfg [-] Option "username" from group "keystone_authtoken" is deprecated. Use option "username" from group "keystone_authtoken".
My current possibly-related environment variables are (by printenv
command):
OS_PROJECT_DOMAIN_ID=default
OS_IMAGE_API_VERSION=2
OS_USER_DOMAIN_ID=default
OS_PASSWORD=ADMIN_PASS
OS_AUTH_URL=http://controller:35357/v3
OS_USERNAME=admin
OS_TENANT_NAME=admin
Any help would be extremely appreciated.