[Openstack] Fwd: error connection refused while creating glance image

Srinivasreddy R srinivasreddy4390 at gmail.com
Thu Sep 11 15:16:54 UTC 2014


hi Erno ,
 Thanks alot ..
i have set the  OS_IMAGE_URL=2 .

After that i have run glance image-create . Now i am getting different
error .
pls help me .

root at user-ThinkCentre-M73:/tmp/images# glance image-create --name
"cirros-0.3.2-x86_64" --disk-format qcow2 --container-format bare
--is-public True --progress < cirros-0.3.2-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] [-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: --name --disk-format qcow2
--container-format bare --is-public True --progress



Thanks,
srinivas.


 Hi srinivas,



If you issue just command glance, it will give you help text. The 4th from
the bottom is –os-image-api-version which defaults to 1. I’m pretty sure
you have not set this for yourself.



-          Erno



*From:* Srinivasreddy R [mailto:srinivasreddy4390 at gmail.com]
*Sent:* 11 September 2014 11:06
*To:* openstack at lists.openstack.org
*Subject:* [Openstack] error connection refused while creating glance image



hi ,

i am creating openstack 3 node setup .  following then installation guide .

http://docs.openstack.org/icehouse/install-guide/install/apt/content/

i am getting connection refused error . someone pls help me .


glance image-create --name "cirros-0.3.2-x86_64" --disk-format qcow2
--container-format bare --is-public True --progress <
cirros-0.3.2-x86_64-disk.img
Error finding address for http://controller:9292/v1/images: [Errno 111]
Connection refused

i have configured fo v2 but in error log it is v1.

thanks,
srinivas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140911/bdf221e6/attachment.html>


More information about the Openstack mailing list