← Back to team overview

openstack team mailing list archive

Re: Nova image-list error

 

Try "nova --debug image-list" - It should give you more information/stack trace.

-Mandar



From: openstack-bounces+mandar.vaze=nttdata.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+mandar.vaze=nttdata.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Trinath Somanchi
Sent: Tuesday, June 26, 2012 3:24 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] 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


______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding

References