← Back to team overview

openstack team mailing list archive

Re: Nova image-list error

 

Le Tuesday 26 Jun 2012 à 15:24:18 (+0530), Trinath Somanchi a écrit :
>    Hi-
>    I have uploaded an image using glance. "  $> glance index  "Â
>    command has given the output.
>    But nova image-list is giving me error.
>    root@OpenstackController:~# glance add name="Ubuntu_1204_Server"
>    is_public=true container_format=ovf disk_format=qcow2 <
>    ubuntu_server.img
>    Uploading image 'Ubuntu_1204_Server'
>    =======================================================================
>    =========================================[100%] 24.9M/s, ETAÂ  0hÂ
>    0m  0s
>    Added new image with ID: 5fde92d7-84da-49a5-b690-4ebdf7c1b2d4
>    root@OpenstackController:~# glance index
>    IDÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
>    Name                           Disk
>    Format          Container Format   Â
>    Size        Â
>    ------------------------------------ ------------------------------
>    -------------------- -------------------- --------------
>    5fde92d7-84da-49a5-b690-4ebdf7c1b2d4
>    Ubuntu_1204_Server           Â
>    qcow2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
>    ovf                      1544224768
>    root@OpenstackController:~# nova image-list
>    ERROR: string indices must be integers, not str
>    root@OpenstackController:~#
>    Can any one help me out in resolving the issue.
>    thanking you...
>    --
>    Regards,
>    ----------------------------------------------
>    Trinath Somanchi,
> 
>    +91 9866 235 130

Please post the output for
# keystone service-list && keystone endpoint-list

-- 
All mail clients suck. This one just sucks less.



References