<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/unit/test_client.py, branch 2.0.0</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>static method to get_highest_client_server_version</title>
<updated>2017-01-31T16:29:17+00:00</updated>
<author>
<name>scottda</name>
<email>scott.dangelo@ibm.com</email>
</author>
<published>2017-01-26T16:48:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=d10b467af4e2aabbd7935ebbe0eeacce2ce533e3'/>
<id>d10b467af4e2aabbd7935ebbe0eeacce2ce533e3</id>
<content type='text'>
This method takes a url for the cinder server endpoint and queries
the server for version info. It then returns the min of the server's
highest supported version and the cinderclients MAX_VERSION.

Change-Id: Ifb3478f1dba660a5d75d243dc2aaf6b421940752
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method takes a url for the cinder server endpoint and queries
the server for version info. It then returns the min of the server's
highest supported version and the cinderclients MAX_VERSION.

Change-Id: Ifb3478f1dba660a5d75d243dc2aaf6b421940752
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "static method to get_server_version"</title>
<updated>2017-01-26T23:57:36+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-26T23:57:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=fc976390e25fa17ce381af8e7c20ff1d0f243b41'/>
<id>fc976390e25fa17ce381af8e7c20ff1d0f243b41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>static method to get_server_version</title>
<updated>2017-01-26T20:18:21+00:00</updated>
<author>
<name>scottda</name>
<email>scott.dangelo@ibm.com</email>
</author>
<published>2017-01-13T18:10:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=4f22510ccf0628554de1b566e007a7af750d99cf'/>
<id>4f22510ccf0628554de1b566e007a7af750d99cf</id>
<content type='text'>
This is a static method that takes a url for the cinder endpoint
and returns the server's min and max api version as APIVersion objects.

Change-Id: I33fa9d0883ad7377c480c9e230412dfa487ccbc9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a static method that takes a url for the cinder endpoint
and returns the server's min and max api version as APIVersion objects.

Change-Id: I33fa9d0883ad7377c480c9e230412dfa487ccbc9
</pre>
</div>
</content>
</entry>
<entry>
<title>x-openstack-request-id logged twice in logs</title>
<updated>2017-01-23T06:23:13+00:00</updated>
<author>
<name>Abhishek Kekane</name>
<email>abhishek.kekane@nttdata.com</email>
</author>
<published>2017-01-18T08:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=6962056c67dca1fee2e832ff8bfbc317ed4b5ec0'/>
<id>6962056c67dca1fee2e832ff8bfbc317ed4b5ec0</id>
<content type='text'>
In the recent release of keystoneauth1 2.18.0 provision is made to log
x-openstack-request-id for session client. Once this new library is synced
in openstack projects, the x-openstack-request-id will be logged twice
on the console if session client is used.

For example,
$ cinder --debug list

DEBUG:keystoneauth:GET call to volumev2 for
http://10.232.48.204:8776/v2/61da9e4b59cf4920acc5e78438f93223/volumes/detail
used request id req-dcc22730-021e-468a-8b12-da7d58b573a7

DEBUG:cinderclient.client:GET call to volumev2 for
http://10.232.48.204:8776/v2/61da9e4b59cf4920acc5e78438f93223/volumes/detail
used request id req-dcc22730-021e-468a-8b12-da7d58b573a7

Above log will be logged twice on the console.

Removed logging of x-openstack-request-id in case of SessionClient as it
is already logged in keystoneauth1. x-openstack-request-id will only be
logged once on console if HTTPClient is used.

Depends-On: Id0693a9958d26162b7a2a40173ca28de2d3e4f62
Closes-Bug: #1657351

Change-Id: I0861212a38466d0e65cf3389c7d2757cff86ea0d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the recent release of keystoneauth1 2.18.0 provision is made to log
x-openstack-request-id for session client. Once this new library is synced
in openstack projects, the x-openstack-request-id will be logged twice
on the console if session client is used.

For example,
$ cinder --debug list

DEBUG:keystoneauth:GET call to volumev2 for
http://10.232.48.204:8776/v2/61da9e4b59cf4920acc5e78438f93223/volumes/detail
used request id req-dcc22730-021e-468a-8b12-da7d58b573a7

DEBUG:cinderclient.client:GET call to volumev2 for
http://10.232.48.204:8776/v2/61da9e4b59cf4920acc5e78438f93223/volumes/detail
used request id req-dcc22730-021e-468a-8b12-da7d58b573a7

Above log will be logged twice on the console.

Removed logging of x-openstack-request-id in case of SessionClient as it
is already logged in keystoneauth1. x-openstack-request-id will only be
logged once on console if HTTPClient is used.

Depends-On: Id0693a9958d26162b7a2a40173ca28de2d3e4f62
Closes-Bug: #1657351

Change-Id: I0861212a38466d0e65cf3389c7d2757cff86ea0d
</pre>
</div>
</content>
</entry>
<entry>
<title>Mask passwords when logging HTTP req/resp bodies</title>
<updated>2016-11-09T14:14:15+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2016-11-08T18:53:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=4d78dfaac2edde5efe56b9550955a761894279e7'/>
<id>4d78dfaac2edde5efe56b9550955a761894279e7</id>
<content type='text'>
The very specific 'password' is being masked when logging
requests but not when logging response bodies.

This change fixes the response logging to mask passwords and
also makes the request logging more robust as it was just
checking for 'password' but the mask_password method handles
much more than that.

Change-Id: Id8bf583ecdf60eafb50fd69d6a19180ea97bd92c
Closes-Bug: #1640269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The very specific 'password' is being masked when logging
requests but not when logging response bodies.

This change fixes the response logging to mask passwords and
also makes the request logging more robust as it was just
checking for 'password' but the mask_password method handles
much more than that.

Change-Id: Id8bf583ecdf60eafb50fd69d6a19180ea97bd92c
Closes-Bug: #1640269
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix NoneType error for cinderclient v1</title>
<updated>2016-08-25T01:59:20+00:00</updated>
<author>
<name>Rui Chen</name>
<email>chenrui.momo@gmail.com</email>
</author>
<published>2016-08-24T03:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=639831b0961c76a8bfbed1fe1f21323159fb4d91'/>
<id>639831b0961c76a8bfbed1fe1f21323159fb4d91</id>
<content type='text'>
Request-id log is recorded in SessionClient.request() method,
but None is used as logger, that causes all the v1 commands
to be broken. This patch fixes the issue and updates the related
unit tests.

Change-Id: I46b973f2baca8d7402a39e0d15dbd8da38f4e590
Closes-Bug: #1616070
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Request-id log is recorded in SessionClient.request() method,
but None is used as logger, that causes all the v1 commands
to be broken. This patch fixes the issue and updates the related
unit tests.

Change-Id: I46b973f2baca8d7402a39e0d15dbd8da38f4e590
Closes-Bug: #1616070
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Switch to keystoneauth"</title>
<updated>2016-07-26T18:59:30+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-07-26T18:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=762212f7fea7a5799cfbc10f9b5a0da1e1add758'/>
<id>762212f7fea7a5799cfbc10f9b5a0da1e1add758</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Make sure --bypass-url honored if specified"</title>
<updated>2016-07-26T17:29:02+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-07-26T17:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=3464a88a70956b8015cdc22e38e7790618ea329a'/>
<id>3464a88a70956b8015cdc22e38e7790618ea329a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to keystoneauth</title>
<updated>2016-07-22T21:35:40+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2016-03-09T12:57:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=16f83c4a531853e1432a47135a8af566b9bb890d'/>
<id>16f83c4a531853e1432a47135a8af566b9bb890d</id>
<content type='text'>
move cinderclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Co-Authored-By: Paulo Ewerton &lt;pauloewerton@lsd.ufcg.edu.br&gt;
Co-Authored-By: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
Co-Authored-By: Jamie Lennox &lt;jamielennox@gmail.com&gt;

Change-Id: Id4bf0e2088e8ad99e83cd4f9b8549c2aca1f65a2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
move cinderclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Co-Authored-By: Paulo Ewerton &lt;pauloewerton@lsd.ufcg.edu.br&gt;
Co-Authored-By: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
Co-Authored-By: Jamie Lennox &lt;jamielennox@gmail.com&gt;

Change-Id: Id4bf0e2088e8ad99e83cd4f9b8549c2aca1f65a2
</pre>
</div>
</content>
</entry>
<entry>
<title>Add api-version to get server versions</title>
<updated>2016-07-11T16:44:12+00:00</updated>
<author>
<name>scottda</name>
<email>scott.dangelo@hpe.com</email>
</author>
<published>2016-04-08T21:35:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=09b51a294ecbe8898580fa75c124a569a386d29f'/>
<id>09b51a294ecbe8898580fa75c124a569a386d29f</id>
<content type='text'>
Mitaka Cinder added an API to return Versions from the base
endpoint URL:
http://&lt;url&gt;:8776/
This patch exposes that API for /v3 endpoint microversions 3.0 and
above with the command:
cinder api-version

Implements: blueprint add-get-server-versions

Change-Id: Ieb1a56b28188ec17946fe5564b28c165833ffc24
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mitaka Cinder added an API to return Versions from the base
endpoint URL:
http://&lt;url&gt;:8776/
This patch exposes that API for /v3 endpoint microversions 3.0 and
above with the command:
cinder api-version

Implements: blueprint add-get-server-versions

Change-Id: Ieb1a56b28188ec17946fe5564b28c165833ffc24
</pre>
</div>
</content>
</entry>
</feed>
