Openstack is not –is-public=true

I using  Centos7  and  Openstack  Kilo version. I want  upload  image on Openstack.
Image should be  public  because  this  image use  public.  I make  public  same following  but Openstack  give me  error.

[[email protected] ~(keystone_admin)]# glance image-create --name=ubuntu-server  --disk-format=qcow2 --container-format=bare --is-public=true  < image/trusty-server-cloudimg-amd64-disk1.img

Error;

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

Can I solve this problem ?

Özge Ayaz Şef on 31 Aralık 2015 yazdı
Yorum Ekle
  • 1 Yanıt(lar)
    En iyi yanıt

    Openstack kilo hasn’t  –is-public  argument . I  use  –visibility public –progress  instead of    –is-public=true  argument   and  solved  this  problem. :)

    Özge Ayaz Şef on 31 Aralık 2015 yanıtladı
    Yorum Ekle
  • Yanıtınız

    Cevabınızı göndererek Gizlilik Politikası ve Hizmet Şartlarını kabul ediyorsunuz.