← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1697163] Re: glance CLI doesn'tconsider anymore OS_CACERT

 

I believe we can close this, fix to glanceclient was merged >1y ago.

** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1697163

Title:
  glance CLI doesn'tconsider anymore OS_CACERT

Status in Glance:
  Fix Released

Bug description:
  Not sure if the glance cli is still supported, but it looks like
  glance CLI provided with Ocata (the relavent RPM is
  python2-glanceclient-2.6.0-1.el7.noarch) doesn't read anymore the
  OS_CACERT, as it used to do.

  Now it is necessary to use the "--os-cacert" option:

  [root@controller-01 ~]# glance image-list
  SSL exception connecting to https://cloud-areapd-test.pd.infn.it:35357/v3/auth/tokens: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

  [root@controller-01 ~]# glance --os-cacert ${OS_CACERT} image-list
  +--------------------------------------+---------------+
  | ID                                   | Name          |
  +--------------------------------------+---------------+
  | 940c4c27-bd2c-4a16-a751-5f725d6b12ef |               |
  | df7b5ac0-f9f3-42fb-9650-a2d3d863b042 |               |
  | 739dd37b-374b-40e3-9b2f-66b54aaa5670 |               |
  etc etc

  "openstack image list" works as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1697163/+subscriptions


References