Ask Your Question
0

glance error: unrecognized argument [closed]

asked 2016-02-29 09:06:47 -0600

bubbles gravatar image

Hi All

Following the openstack-install-guide for Kilo on Ubuntu 14.04 (http://docs.openstack.org/kilo/install-guide/install/apt/content/glance-verify.html (http://docs.openstack.org/kilo/instal...)) step 5 , i run -

glance image-create --name "cirros-0.3.4-x86_64" --file /tmp/images/cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress

I then get the 'usage: glance' output and the following error -

glance: error unrecognized arguments:  --name cirros-0.3.4-x86_64 --disk-format qcow2 --container-format bare --visibility public

I have googled for a solution and whilst others are having the same issue, I cannot find a fix, I have been through this section of the guide multiple times but I am stuck at this point :(

please help !

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bubbles
close date 2016-03-01 07:46:47.476087

Comments

having built the controller node from the ground up as per the user guide, the command now works, so the error was a typo somewhere in my configs...

bubbles gravatar imagebubbles ( 2016-03-01 07:46:33 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2016-03-01 03:07:43 -0600

lufaxo gravatar image

updated 2016-03-01 07:21:01 -0600

Try using the openstack - cli:

openstack image create --file cirros-0.3.4-x86_64-disk.img --disk-format qcow2 \
–container-format bare --public cirros
edit flag offensive delete link more

Comments

does that work for you ? I get :

ERROR: openstack Invalid command 'image create --file

openstack --help shows four image commands

image delete
image list
images save
image show
bubbles gravatar imagebubbles ( 2016-03-01 07:35:07 -0600 )edit

openstack image create --file cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --public cirros2

works. probably you are not using the newest version of the openstack-cli.

lufaxo gravatar imagelufaxo ( 2016-03-01 12:08:10 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-02-29 08:40:27 -0600

Seen: 792 times

Last updated: Mar 01 '16