← Back to team overview

openstack team mailing list archive

Nova image-list error

 

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

Follow ups