Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

glance installed whit devstack script doesn't show commands

Hi,

I've installed openstack on Ubuntu 12.04 using devstack script. The installation seems to end successfully, but when i run "$ glance" the output doesn't show commands:

usage: glance [--insecure] [--timeout TIMEOUT] [--os-username OS_USERNAME] [--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-image-url OS_IMAGE_URL] [--os-image-api-version OS_IMAGE_API_VERSION] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint-type OS_ENDPOINT_TYPE] <subcommand> ...

Command-line interface to the OpenStack Images API.

Positional arguments: <subcommand> image-create image-delete Delete a specific image. image-list List images. image-show Describe a specific image. image-update member-create member-delete member-list help Display help about this program or one of its subcommands.

Optional arguments: --insecure Explicitly allow glanceclient to perform "insecure" SSL (https) requests. The server's certificate will not be verified against any certificate authorities. This option should be used with caution. --timeout TIMEOUT Number of seconds to wait for a response --os-username OS_USERNAME Defaults to env[OS_USERNAME] --os-password OS_PASSWORD Defaults to env[OS_PASSWORD] --os-tenant-id OS_TENANT_ID Defaults to env[OS_TENANT_ID] --os-tenant-name OS_TENANT_NAME Defaults to env[OS_TENANT_NAME] --os-auth-url OS_AUTH_URL Defaults to env[OS_AUTH_URL] --os-region-name OS_REGION_NAME Defaults to env[OS_REGION_NAME] --os-auth-token OS_AUTH_TOKEN Defaults to env[OS_AUTH_TOKEN] --os-image-url OS_IMAGE_URL Defaults to env[OS_IMAGE_URL] --os-image-api-version OS_IMAGE_API_VERSION Defaults to env[OS_IMAGE_API_VERSION] or 1 --os-service-type OS_SERVICE_TYPE Defaults to env[OS_SERVICE_TYPE] --os-endpoint-type OS_ENDPOINT_TYPE Defaults to env[OS_ENDPOINT_TYPE]

See "glance help COMMAND" for help on a specific command.

When i install glance from ubuntu packages the output of "$ glance" is:

Usage: glance <command> [options] [args]

Commands:

help <command>  Output help for one of the commands below

add             Adds a new image to Glance

update          Updates an image's metadata in Glance

delete          Deletes an image from Glance

index           Return brief information about images in Glance

details         Return detailed information about images in
                Glance

show            Show detailed information about an image in
                Glance

clear           Removes all images and metadata from Glance

Member Commands:

image-members    List members an image is shared with

member-images    List images shared with a member

member-add       Grants a member access to an image

member-delete    Revokes a member's access to an image

members-replace  Replaces all membership for an image

Options: --version show program's version number and exit -h, --help show this help message and exit --silent-upload disable progress bar animation and information during upload -v, --verbose Print more verbose output -d, --debug Print more verbose output -H ADDRESS, --host=ADDRESS Address of Glance API host. Default: 0.0.0.0 -p PORT, --port=PORT Port the Glance API host listens on. Default: 9292 --ssl Use SSL when talking to Glance API host -U URL, --url=URL URL of Glance service. This option can be used to specify the hostname, port and protocol (http/https) of the glance server, for example -U https://localhost:9292/v1 Default: None. If given, this option will override settings for --host, --port, and --ssl. -k, --insecure Explicitly allow glance to perform "insecure" SSL (https) requests. The server's certificate will not be verified against any certificate authorities. This option should be used with caution. -A TOKEN, --os_auth_token=TOKEN, --auth_token=TOKEN Authentication token to use to identify the client to the glance server. --auth_tokenis deprecated and will be removed -I USER, --os_username=USER User name used to acquire an authentication token -K PASSWORD, --os_password=PASSWORD Password used to acquire an authentication token -R REGION, --os_region_name=REGION Region name. When using keystone authentication version 2.0 or later this identifies the region name to use when selecting the service endpoint. A region name must be provided if more than one region endpoint is available -T TENANT, --os_tenant_name=TENANT Tenant name -N AUTH_URL, --os_auth_url=AUTH_URL Authentication URL -S STRATEGY, --os_auth_strategy=STRATEGY Authentication strategy (keystone or noauth) --limit=LIMIT Page size to use while requesting image metadata --marker=MARKER Image index after which to begin pagination --sort_key=KEY Sort results by this image attribute. --sort_dir=[desc|asc] Sort results in this direction. -f, --force Prevent select actions from requesting user confirmation --dry-run Don't actually execute the command, just print output showing what WOULD happen.

--can-share Allow member to further share image.

Why is that? I need to add images with the add command in the source installation.

I hope someone can help me.