Hi, We are facing an error while using shade api "get_image(name_or_id= "name")"
Please find the steps below to reproduce the error: 1. glance image-list (displaying image list) (glance version : 0.12.0) 2. pip install shade (shade installed, but glance version upgraded to 1.2.0) 3. glance image-list ERROR: 'module' object has no attribute 'packages' 4. sudo apt-get install python-glanceclient 5. glance image-list (displaying image-list) 6. cloud.get_image(name_or_id= "imagename") (getting error like) Traceback (most recent call last): File "test.py", line 3, in <module> image=cloud.get_image(name_or_id= "cirros-0.3.4-x86_64-uec") File "/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py", line 1502, in get_image return _utils._get_entity(self.search_images, name_or_id, filters) File "/usr/local/lib/python2.7/dist-packages/shade/_utils.py", line 135, in _get_entity entities = func(name_or_id, filters) File "/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py", line 922, in search_images images = self.list_images() File "/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py", line 1165, in list_images "Error fetching image list: %s" % e) shade.exc.OpenStackCloudException: Error fetching image list: 'module' object has no attribute 'strip_version' Could you please let us know if there are any known issues. Please find the complete log in the attachment. Thanks & Regards, Bindu Bhargavi =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
shade_error.doc
Description: MS-Word document
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack