Hmm, maybe glance-client v2 does not implement "create" function and cinder is calling glance-client v2? See the following command output, which indicate no "create function". If you reset the API_VERSION to 1, you can see the difference.
Command-line interface to the OpenStack Images API.
Positional arguments:
<subcommand>
explain Describe a specific model.
image-delete Delete specified image.
image-download Download a specific image.
image-list List images you can access.
image-show Describe a specific image.
help Display help about this program or one of its subcommands.
Hmm, maybe glance-client v2 does not implement "create" function and cinder is calling glance-client v2? See the following command output, which indicate no "create function". If you reset the API_VERSION to 1, you can see the difference.
root@svl-ceph-10:~# export OS_IMAGE_ API_VERSION= "2"
[--key- file KEY_FILE] [--os-cacert <ca-certificate -file>]
[--ca-file OS_CACERT] [--timeout TIMEOUT] [--no-ssl- compression]
[--os-username OS_USERNAME] [-I OS_USERNAME]
[--os-password OS_PASSWORD] [-K OS_PASSWORD]
[--os-tenant- id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
[--os-region- name OS_REGION_NAME] [-R OS_REGION_NAME]
[--os-auth- token OS_AUTH_TOKEN] [-A OS_AUTH_TOKEN]
[--os-image- url OS_IMAGE_URL] [-U OS_IMAGE_URL]
[--os-image- api-version OS_IMAGE_ API_VERSION]
[--os-service- type OS_SERVICE_TYPE]
[--os-endpoint- type OS_ENDPOINT_TYPE] [-S OS_AUTH_STRATEGY]
<subcommand> ...
root@svl-ceph-10:~# glance --help
usage: glance [--version] [-d] [-v] [-k] [--cert-file CERT_FILE]
[-f] [--dry-run] [--ssl] [-H ADDRESS] [-p PORT]
[-T OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [-N OS_AUTH_URL]
Command-line interface to the OpenStack Images API.
Positional arguments:
subcommands.
<subcommand>
explain Describe a specific model.
image-delete Delete specified image.
image-download Download a specific image.
image-list List images you can access.
image-show Describe a specific image.
help Display help about this program or one of its
Optional arguments: