linux - How to fix `--os-auth-token: expected one argument` glance error? -


my command:

$ glance --os-auth-token --os-image-url http://google.com:9292 image-create --name cirros-0.3.1-x86_64-uec-kernel --public --container-format aki --disk-format aki 

output:

usage:  glance [--version] [-d] [-v] [-k] [--cert-file cert_file] [--key-file key_file] [--os-cacert <ca-certificate-file>] [--ca-file os_cacert] [--timeout timeout] [--no-ssl-compression] glance: error: argument --os-auth-token: expected 1 argument 

you need have valid auth token glance-api restful api.

you can token keystone, or keep os_username, os_password, os_auth_url, , tenant_name env variables set.


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -