Fixes SSLError during cclient.meters.list() by https
The problem causes the function _adjust_kwargs(kwargs) which creates
a new dict client_kwargs with new-named keys. It gets 'os_insecure' key
from kwargs and gives it key-name 'insecure'.
But the bug is in using kwargs.get('insecure') <which is None> to
produse value of 'verify'.
Reviewed: https:/ /review. openstack. org/387391 /git.openstack. org/cgit/ openstack/ python- ceilometerclien t/commit/ ?id=5328c3168a7 ed011fc2c6ac16b a8f8e4f9c5e380
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5328c3168a7ed01 1fc2c6ac16ba8f8 e4f9c5e380
Author: Ekaterina Khripunova <email address hidden>
Date: Mon Oct 17 12:24:25 2016 +0300
Fixes SSLError during cclient. meters. list() by https
The problem causes the function _adjust_ kwargs( kwargs) which creates get('insecure' ) <which is None> to
a new dict client_kwargs with new-named keys. It gets 'os_insecure' key
from kwargs and gives it key-name 'insecure'.
But the bug is in using kwargs.
produse value of 'verify'.
Change-Id: If77b2d3c75bedd cd1a0a82353b56c 84b29184ec7
Closes-Bug: 1634027
Related-Bug: 1394449