[Openstack] Fwd: Re: Facing an issue with glance client. Request you to suggest if there are any known issues

Seelam Bhargavi/HYD/TCS seelam.bhargavi at tcs.com
Fri Jan 8 10:08:02 UTC 2016


Hi,

Could you please suggest us if there are any known solutions regarding the issue which we have sent before.

This is a gentle remainder as we have an urgency with glance client.

Thank you,
Bindu
 

----- Original Message -----
From: Seelam Bhargavi/HYD/TCS <seelam.bhargavi at tcs.com>
To: openstack at lists.openstack.org
Sent: Wed, 30 Dec 2015 14:25:44 +0530 (IST)
Subject: Facing an issue with glance client. Request you to suggest if there are any known issues

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160108/781a7bbc/attachment.html>


More information about the Openstack mailing list