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

-Mandar



From: openstack-bounces+mandar.vaze=nttdata....@lists.launchpad.net 
[mailto:openstack-bounces+mandar.vaze=nttdata....@lists.launchpad.net] On 
Behalf Of Trinath Somanchi
Sent: Tuesday, June 26, 2012 3:24 PM
To: openstack@lists.launchpad.net
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
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to