glance - unable to create image
cat centos-release
Red Hat enterprise Linux Server release 7.0 (Maipo)
openstack-glance.noarch 2015.1.0-3.el7 @openstack-kilo
python-glance.noarch 2015.1.0-3.el7 @openstack-kilo
python-glance-store.noarch 0.4.0-1.el7 @openstack-kilo
python-glanceclient.noarch 1:0.17.0-2.el7 @openstack-kilo
glances.noarch 1.7.7-1.el7 epel
openstack-glance-doc.noarch 2015.1.0-3.el7 openstack-kilo
python-glanceclient-doc.noarch 1:0.17.0-2.el7 openstack-kilo
I am following the kilo install guide and getting stuck when trying to create an image via glance (page 52). I get the following message:
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
usage: glance [--version] [-d] [-v] [--get-schema] [--timeout TIMEOUT]
[--no-ssl-compression] [-f] [--os-image-url OS_IMAGE_URL]
[--os-image-api-version OS_IMAGE_API_VERSION]
[--profile HMAC_KEY] [-k] [--os-cert OS_CERT]
[--cert-file OS_CERT] [--os-key OS_KEY] [--key-file OS_KEY]
[--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT]
[--os-username OS_USERNAME] [--os-user-id OS_USER_ID]
[--os-user-domain-id OS_USER_DOMAIN_ID]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-project-id OS_PROJECT_ID]
[--os-project-name OS_PROJECT_NAME]
[--os-project-domain-id OS_PROJECT_DOMAIN_ID]
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
[--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID]
[--os-tenant-name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL]
[--os-region-name OS_REGION_NAME]
[--os-auth-token OS_AUTH_TOKEN]
[--os-service-type OS_SERVICE_TYPE]
[--os-endpoint-type OS_ENDPOINT_TYPE]
<subcommand> ...
glance: error: unrecognized arguments: --name --disk-format qcow2 --container-format bare --visibility public
I have also tried switching each option to a --property <flag>=<value> format, but get the following:
glance image-create --property name="cirros-0.3.4-x86_64" --file /tmp/images/cirros-0.3.4-x86_64-disk.img --property disk-format=qcow2 --property container-format=bare --property visibility=public --progress
usage: glance image-create [--property <key=value>] [--file <FILE>]
[--progress]
<unavailable>
glance image-create: error: too few arguments
I've seen some posts asking what the output of "glance image-list" is, so here it is:
glance image-list
Invalid OpenStack Identity credentials.
If I switch to OS_AUTH_URL=http://localhost:35357/v2.0
glance image-list
An auth plugin is required to fetch a token
Any help in determining why glance isn't recognizing the parameters?
For me, Invalid OpenStack Identity credentials. came when I created the keystone user with a wrong password.
I have exactly the same problem following the same installation guide. I'm almost to the point of trying to write to the REST API myself, the app seems unusable.