← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1569585] [NEW] openstack image create: error: unrecognized arguments: --is-public

 

Public bug reported:

Trying to create the image by using 
glance image-create or openstack image create command, 
got error: openstack image create: error: unrecognized arguments: --is-public

glance --version
1.1.0

openstack --version
openstack 1.7.0


glance --debug image-create --name "cirros-0.3.4-x86_64" --disk-format qcow2   --container-format          bare --is-public True --progress < cirros-0.3.4-x86_64-disk.img
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: --is-public True

openstack image create --disk-format qcow2 --container-format bare --is-public True < cirros-0.3.4-x86_64-disk.img
usage: openstack image create [-h] [-f {html,json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>]
                              [--prefix PREFIX] [--id <id>] [--store <store>]
                              [--container-format <container-format>]
                              [--disk-format <disk-format>]
                              [--owner <project>] [--size <size>]
                              [--min-disk <disk-gb>] [--min-ram <ram-mb>]
                              [--location <image-url>]
                              [--copy-from <image-url>] [--file <file>]
                              [--volume <volume>] [--force]
                              [--checksum <checksum>]
                              [--protected | --unprotected]
                              [--public | --private] [--property <key=value>]
                              <image-name>
openstack image create: error: unrecognized arguments: --is-public

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1569585

Title:
  openstack image create: error: unrecognized arguments: --is-public

Status in Glance:
  New

Bug description:
  Trying to create the image by using 
  glance image-create or openstack image create command, 
  got error: openstack image create: error: unrecognized arguments: --is-public

  glance --version
  1.1.0

  openstack --version
  openstack 1.7.0

  
  glance --debug image-create --name "cirros-0.3.4-x86_64" --disk-format qcow2   --container-format          bare --is-public True --progress < cirros-0.3.4-x86_64-disk.img
  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: --is-public True

  openstack image create --disk-format qcow2 --container-format bare --is-public True < cirros-0.3.4-x86_64-disk.img
  usage: openstack image create [-h] [-f {html,json,shell,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--prefix PREFIX] [--id <id>] [--store <store>]
                                [--container-format <container-format>]
                                [--disk-format <disk-format>]
                                [--owner <project>] [--size <size>]
                                [--min-disk <disk-gb>] [--min-ram <ram-mb>]
                                [--location <image-url>]
                                [--copy-from <image-url>] [--file <file>]
                                [--volume <volume>] [--force]
                                [--checksum <checksum>]
                                [--protected | --unprotected]
                                [--public | --private] [--property <key=value>]
                                <image-name>
  openstack image create: error: unrecognized arguments: --is-public

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1569585/+subscriptions


Follow ups