← Back to team overview

openstack team mailing list archive

Re: Glance problem when creating image

 

The right command in Essex would be:

glance --os_username=admin --os_password=root --os_tenant cloud
--os_auth_url=http://127.0.0.1:5000/v2.0 image-create *name*="tty-linux-kernel"
*disk-format*=aki *container-format*=aki <
ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
*
*
Follow docs in http://docs.openstack.org/essex.

Regards,
JuanFra.


2012/12/9 Guilherme Russi <luisguilherme.cr@xxxxxxxxx>

> Hello again JuanFra,
>
>  Now I'm getting error in this part:
>
> glance --os_username=admin --os_password=root --os_tenant cloud
> --os_auth_url=http://127.0.0.1:5000/v2.0 image-create *--name="tty-linux-kernel"
> --disk-format=aki --container-format=aki <
> ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz*
>
> Glance returns: glance: error: no such option: --name
>
> Do you know what I must to do?
>
> Thank you.
>
> Guilherme.
>
>
>
>
> 2012/12/9 Guilherme Russi <luisguilherme.cr@xxxxxxxxx>
>
>> Hello JuanFra,
>>
>>  I'm using Essex, I'll try this way and return to you.
>>
>> Thank you so much.
>>
>> Regards.
>>
>> Guilherme Russi.
>>
>>
>> 2012/12/9 JuanFra Rodriguez Cardoso <juanfra.rodriguez.cardoso@xxxxxxxxx>
>>
>>> Hi Guilherme:
>>>
>>> What release are you using? Essex or Folsom?
>>>
>>>    - In Essex: glance --os_username=adminUser --os_password=secretword
>>> --os_tenant=openstackDemo --os_auth_url
>>>    - In Folsom: glance --os-username=adminUser --os-password=secretword
>>> --os-tenant=openstackDemo --os-auth-url
>>>
>>> Regards,
>>> JuanFra.
>>>
>>> 2012/12/9 Guilherme Russi <luisguilherme.cr@xxxxxxxxx>
>>>
>>>>  Hi all,
>>>>
>>>>  I got a problem when I tried installation part:
>>>>
>>>> glance --os-username=admin --os-password=secretword --os-tenant-name=demo --os-auth-url=http://192.168.206.130:5000/v2.0 \
>>>> image-create \
>>>> --name="tty-linux-kernel" \
>>>> --disk-format=aki \
>>>> --container-format=aki < ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
>>>>
>>>> it returns me this error: glance: error: no such option: --os-username
>>>>
>>>> Do you know what I should do?
>>>>
>>>> Thank you.
>>>>
>>>> Guilherme Russi.
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~openstack
>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~openstack
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>

References