<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/tests/test_client.py, branch stable/kilo</title>
<subtitle>opendev.org: openstack/python-ceilometerclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/'/>
<entry>
<title>Add timeout for keystoneclient session</title>
<updated>2015-04-20T17:55:42+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>zhiqiang.fan@huawei.com</email>
</author>
<published>2015-03-31T07:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=801f4b3e1b0f9a5f9e568659a912146ce35a47b4'/>
<id>801f4b3e1b0f9a5f9e568659a912146ce35a47b4</id>
<content type='text'>
Currently, we only apply timeout on ceilometer api, but not on keystone
api as well, this is not consistent. Keystone api may be slow, or worse,
stuck, then ceilometerclient will not return timely. This issue has caused
availability problem in our environment when ceilometer alarm service
has been running for a long time.

Change-Id: I0d5f82ff9cf4132a1de2f0b649908483326e116e
Closes-Bug: #1436249
(cherry picked from commit 44af2d4087815d5d451305b549f91ab6130528c0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, we only apply timeout on ceilometer api, but not on keystone
api as well, this is not consistent. Keystone api may be slow, or worse,
stuck, then ceilometerclient will not return timely. This issue has caused
availability problem in our environment when ceilometer alarm service
has been running for a long time.

Change-Id: I0d5f82ff9cf4132a1de2f0b649908483326e116e
Closes-Bug: #1436249
(cherry picked from commit 44af2d4087815d5d451305b549f91ab6130528c0)
</pre>
</div>
</content>
</entry>
<entry>
<title>add region_name to auth plugin parameters</title>
<updated>2015-04-20T17:53:47+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>zhiqiang.fan@huawei.com</email>
</author>
<published>2015-04-02T08:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=e1439f5c726174d0ac69e328fe9ef760e00fdb4a'/>
<id>e1439f5c726174d0ac69e328fe9ef760e00fdb4a</id>
<content type='text'>
If endpoint is not specified, then auth plugin will request to keystone
to get target endpoint, however, we don't provide region name for it,
this will cause critical issue in multiple region scenario.

Change-Id: I99ceafec25072988435018ca1affbd778ca9b22f
Closes-Bug: #1439553
(cherry picked from commit bfb6d122fa99d94a61aea4432f74cbbf3f5d03cc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If endpoint is not specified, then auth plugin will request to keystone
to get target endpoint, however, we don't provide region name for it,
this will cause critical issue in multiple region scenario.

Change-Id: I99ceafec25072988435018ca1affbd778ca9b22f
Closes-Bug: #1439553
(cherry picked from commit bfb6d122fa99d94a61aea4432f74cbbf3f5d03cc)
</pre>
</div>
</content>
</entry>
<entry>
<title>ceilometerclient insecure argument no longer works</title>
<updated>2015-04-20T17:46:12+00:00</updated>
<author>
<name>Matthew Edmonds</name>
<email>edmondsw@us.ibm.com</email>
</author>
<published>2015-03-31T13:53:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=7d7e4b878215c609653989a1ab5e9257b34ee5c6'/>
<id>7d7e4b878215c609653989a1ab5e9257b34ee5c6</id>
<content type='text'>
The os_insecure argument needs to be parsed and passed to the auth
plugin for non-shell usage.

Change-Id: Id45a680396a9b646b273d971a0f6c274e95019a6
Closes-Bug: #1438750
(cherry picked from commit a5df77d8730284e278fde087e8bb3c2520c6ddb1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The os_insecure argument needs to be parsed and passed to the auth
plugin for non-shell usage.

Change-Id: Id45a680396a9b646b273d971a0f6c274e95019a6
Closes-Bug: #1438750
(cherry picked from commit a5df77d8730284e278fde087e8bb3c2520c6ddb1)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes bug with Client function not setting up SSL params</title>
<updated>2015-04-16T12:59:19+00:00</updated>
<author>
<name>Srinivas Sakhamuri</name>
<email>srinivas.sakhamuri@hp.com</email>
</author>
<published>2015-03-05T23:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=f2b4473c12a6d4f36f1ccc8d81480f40743c2904'/>
<id>f2b4473c12a6d4f36f1ccc8d81480f40743c2904</id>
<content type='text'>
There are instances where some applications (heat, rally) instantiate
ceilometer client using Client function (instead of get_client) which
doesn't use the insecure and verify params properly. This fix will address
that.

Change-Id: I2f6346496e6ee36b5cd97ec6d9a732431532ff96
Closes-Bug: #1428370
(cherry picked from commit e7b8c48c60e85378e1e1d3c30bfb4cfa79f3105a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are instances where some applications (heat, rally) instantiate
ceilometer client using Client function (instead of get_client) which
doesn't use the insecure and verify params properly. This fix will address
that.

Change-Id: I2f6346496e6ee36b5cd97ec6d9a732431532ff96
Closes-Bug: #1428370
(cherry picked from commit e7b8c48c60e85378e1e1d3c30bfb4cfa79f3105a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix improper parameter setup for cacert and client certs</title>
<updated>2015-01-15T18:22:02+00:00</updated>
<author>
<name>Srinivas Sakhamuri</name>
<email>srinivas.sakhamuri@hp.com</email>
</author>
<published>2015-01-13T18:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=4d3651dd898cba1c79cf31476ed7c9b181369b2c'/>
<id>4d3651dd898cba1c79cf31476ed7c9b181369b2c</id>
<content type='text'>
The client passes cacert incorrectly, CA cert need to be passed
in verify parameter to requests library. Also at present, key file
is not being used, which if it is supplied need to be passed as a
tuple in cert parameter

Python requests library relevant doc link
http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification

Change-Id: Ie71e760bce6a78ed1444373adfa0a133e82ec434
Closes-Bug: 1408372
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The client passes cacert incorrectly, CA cert need to be passed
in verify parameter to requests library. Also at present, key file
is not being used, which if it is supplied need to be passed as a
tuple in cert parameter

Python requests library relevant doc link
http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification

Change-Id: Ie71e760bce6a78ed1444373adfa0a133e82ec434
Closes-Bug: 1408372
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Enable --os-insecure CLI option"</title>
<updated>2015-01-07T18:41:02+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-01-07T18:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=5d53e0a4964ced211cf8d05186f8a90c2a22f7f1'/>
<id>5d53e0a4964ced211cf8d05186f8a90c2a22f7f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make methods static where it's possible</title>
<updated>2014-12-10T12:24:37+00:00</updated>
<author>
<name>Dina Belova</name>
<email>dbelova@mirantis.com</email>
</author>
<published>2014-12-10T10:01:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=ce8c06d413d52e3e392eca3f311fc2d3334c05a2'/>
<id>ce8c06d413d52e3e392eca3f311fc2d3334c05a2</id>
<content type='text'>
Change-Id: If6c1fa05044e65ec1e72a3e5f63e6db826469a2d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If6c1fa05044e65ec1e72a3e5f63e6db826469a2d
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable --os-insecure CLI option</title>
<updated>2014-12-06T14:00:52+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2014-11-28T16:46:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=3f4b657f7a3dbd79ccad4558a85713a85d51c261'/>
<id>3f4b657f7a3dbd79ccad4558a85713a85d51c261</id>
<content type='text'>
--os-insecure is not correctly passed to Keystoneclient because it
expects a bool type but we assgin a string value to the insecure
parameter, this patch fixes it by using oslo.utils.strutils.bool_from_string.

--os-insecure is ignored by Ceilometerclient.v2.client because it
expects parameter verify rather than insecure, this patch fixes it
by converting insecure to verify if that field is not set.

Change-Id: I545de167cdf8cfec6b5c67984b74327fb76c513a
Closes-Bug: #1394449
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--os-insecure is not correctly passed to Keystoneclient because it
expects a bool type but we assgin a string value to the insecure
parameter, this patch fixes it by using oslo.utils.strutils.bool_from_string.

--os-insecure is ignored by Ceilometerclient.v2.client because it
expects parameter verify rather than insecure, this patch fixes it
by converting insecure to verify if that field is not set.

Change-Id: I545de167cdf8cfec6b5c67984b74327fb76c513a
Closes-Bug: #1394449
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix wrong initialization of AuthPlugin for keystone v3"</title>
<updated>2014-11-25T11:30:20+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-11-25T11:30:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=d8c15a967b638f6c1099172724ebb8018f9ff460'/>
<id>d8c15a967b638f6c1099172724ebb8018f9ff460</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix timeout argument not treated as integer</title>
<updated>2014-11-14T14:00:48+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>zhiqiang.fan@huawei.com</email>
</author>
<published>2014-11-13T03:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=878e32e525bdb0ed3ca125597ea83dd64a4884d9'/>
<id>878e32e525bdb0ed3ca125597ea83dd64a4884d9</id>
<content type='text'>
Currently, if we specify --timeout 30 in CLI commands. we will get
'a float is required' error. Since we already specify timeout is
ingeter in ceilometer.v2.client, this patch converts CLI argument
timeout to integer.

Note, if zero is passed to v2.client, we treat it as disable timeout.

Change-Id: I213b6c24964095297cb4e87c25bb871ebd668bb4
Closes-Bug: #1391606
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, if we specify --timeout 30 in CLI commands. we will get
'a float is required' error. Since we already specify timeout is
ingeter in ceilometer.v2.client, this patch converts CLI argument
timeout to integer.

Note, if zero is passed to v2.client, we treat it as disable timeout.

Change-Id: I213b6c24964095297cb4e87c25bb871ebd668bb4
Closes-Bug: #1391606
</pre>
</div>
</content>
</entry>
</feed>
