openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20182
Re: Help with Glance
"My glance version is 2012.1.1"
i think command like the following way may solve your problem:
# glance add is_public=true name="Ubuntu 12.04 UEC" container_format=
ovf disk_format=qcow2 < precise-server-cloudimg-amd64.img
use "# glance help" to get more details
good luck
On 1/16/13, JuanFra Rodriguez Cardoso
<juanfra.rodriguez.cardoso@xxxxxxxxx> wrote:
> It shouldn't be problem with your distro.
>
> Can you enable flags 'verbose=True' and 'debug=True' both
> glance-registry.conf as glance-api.conf?
> In this way, you can paste more useful info returned by the error.
>
>
> 2013/1/16 Guilherme Russi <luisguilherme.cr@xxxxxxxxx>
>
>> I've tried to type all over again: glance image-create --name= "Ubuntu
>> 12.04 UEC" is_public= true --container-format= ovf --disk-format= qcow2 <
>> precise-server-cloudimg-amd64.img and got the same error, I'm using
>> Debian
>> Wheezy, maybe can be some problem with my dist?
>>
>> Thanks.
>>
>>
>>
>> 2013/1/16 JuanFra Rodriguez Cardoso <juanfra.rodriguez.cardoso@xxxxxxxxx>
>>
>>> mmm... can be an error related with quotes copied?
>>> Test typing manually "Ubuntu 12.04 UEC"
>>>
>>>
>>> 2013/1/16 Guilherme Russi <luisguilherme.cr@xxxxxxxxx>
>>>
>>>> It returned the same error, it looks like my glance doesn't know the
>>>> commando --name, "no such option: --name"
>>>>
>>>>
>>>>
>>>> 2013/1/16 JuanFra Rodriguez Cardoso
>>>> <juanfra.rodriguez.cardoso@xxxxxxxxx
>>>> >
>>>>
>>>>> glance image-create --name="Ubuntu 12.04 UEC" *is_public=true*
>>>>> --container-format=
>>>>> ovf --disk-format=qcow2 < precise-server-cloudimg-amd64.img
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> JuanFra
>>>
>>
>>
>
>
> --
> JuanFra
>
References