<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/releasenotes/notes, branch master</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Merge "Add support for collect-timing option"</title>
<updated>2023-02-13T18:53:56+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2023-02-13T18:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4655a239877b6a09e51cb2b7b0cba6985b294fe4'/>
<id>4655a239877b6a09e51cb2b7b0cba6985b294fe4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle downgraded client for snapshot-create</title>
<updated>2022-11-08T23:48:18+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2022-11-08T16:58:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=9df653571d4da06c25222189be27e87a6da75628'/>
<id>9df653571d4da06c25222189be27e87a6da75628</id>
<content type='text'>
When a CLI user specifies --os-volume api-version 3.66, the shell
will execute the appropriate shell code, but if the server only
supports &lt; 3.66, the client is automatically downgraded and correctly
uses the pre-3.66 SnapshotManager.create() method.

In that case, the 'force' parameter, which is technically not allowed
in mv 3.66 (but which silently accepts a True value for backward
compatibility), will have a value of None, which the pre-3.66 code
happily passes to cinder as '"force": null' in the request body, and
which then fails the Block Storage API request-schema check.

Handle this situation by detecting a None 'force' value and setting
it to its pre-3.66 default value of False.

Change-Id: I3ad8283c2a9aaac58c8d2b50fa7ac86b617e5dd3
Closes-bug: #1995883
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a CLI user specifies --os-volume api-version 3.66, the shell
will execute the appropriate shell code, but if the server only
supports &lt; 3.66, the client is automatically downgraded and correctly
uses the pre-3.66 SnapshotManager.create() method.

In that case, the 'force' parameter, which is technically not allowed
in mv 3.66 (but which silently accepts a True value for backward
compatibility), will have a value of None, which the pre-3.66 code
happily passes to cinder as '"force": null' in the request body, and
which then fails the Block Storage API request-schema check.

Handle this situation by detecting a None 'force' value and setting
it to its pre-3.66 default value of False.

Change-Id: I3ad8283c2a9aaac58c8d2b50fa7ac86b617e5dd3
Closes-bug: #1995883
</pre>
</div>
</content>
</entry>
<entry>
<title>Update python testing as per zed cycle testing runtime</title>
<updated>2022-05-19T18:24:31+00:00</updated>
<author>
<name>Ghanshyam Mann</name>
<email>gmann@ghanshyammann.com</email>
</author>
<published>2022-05-12T02:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=2c7d463f376c4cb6259291a925ad6cfc48c00f09'/>
<id>2c7d463f376c4cb6259291a925ad6cfc48c00f09</id>
<content type='text'>
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Moving the py36 job to py38 based but to run on
ubuntu focal as c8s does not seems to have py38.
Also updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ic26a360d2bb09fa6622d1acaa5021c5afbc70240
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Moving the py36 job to py38 based but to run on
ubuntu focal as c8s does not seems to have py38.
Also updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ic26a360d2bb09fa6622d1acaa5021c5afbc70240
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for Yoga cinderclient release</title>
<updated>2022-02-24T21:19:44+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2022-02-24T19:40:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=ee59b68d717b871d034139bbb9c3546e4b17d950'/>
<id>ee59b68d717b871d034139bbb9c3546e4b17d950</id>
<content type='text'>
Add a release note prelude for the Yoga release.

Change-Id: Id601999762596713c94e7805a7d76dbcf31edf24
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a release note prelude for the Yoga release.

Change-Id: Id601999762596713c94e7805a7d76dbcf31edf24
</pre>
</div>
</content>
</entry>
<entry>
<title>Add volume reimage command</title>
<updated>2022-02-24T17:43:19+00:00</updated>
<author>
<name>whoami-rajat</name>
<email>rajatdhasmana@gmail.com</email>
</author>
<published>2018-10-01T07:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=12075cb71067563f60de929e61f79eae33b2c2ec'/>
<id>12075cb71067563f60de929e61f79eae33b2c2ec</id>
<content type='text'>
A new reimage API will be introduced on cinder API side with
change in depends on. This patch provides the CLI support for
the same by adding a reimage command.

Implements: blueprint add-volume-re-image-api

Change-Id: I37c254d4caf2f416e456ff6a78b5a4df4e08a176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A new reimage API will be introduced on cinder API side with
change in depends on. This patch provides the CLI support for
the same by adding a reimage command.

Implements: blueprint add-volume-re-image-api

Change-Id: I37c254d4caf2f416e456ff6a78b5a4df4e08a176
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for collect-timing option</title>
<updated>2022-02-09T16:37:37+00:00</updated>
<author>
<name>Gorka Eguileor</name>
<email>geguileo@redhat.com</email>
</author>
<published>2022-02-08T16:51:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=da5ecebb3353618542aa84c2078b03f1a9f6ad83'/>
<id>da5ecebb3353618542aa84c2078b03f1a9f6ad83</id>
<content type='text'>
When we run "cinder help" we can see that there is a --collect-timing
option:

  --collect-timing Collect per-API call timing information.

This is a keystone session option that we are not currently acting on
from a user perspective.

This patch adds support for this option, and we'll be able to see the
timing in a similar way as we do with OSC:

$ cinder --collect-timing api-version
+------+---------+---------+-------------+
| ID   | Status  | Version | Min_version |
+------+---------+---------+-------------+
| v3.0 | CURRENT | 3.66    | 3.0         |
+------+---------+---------+-------------+
+--------+------------------------------------------------+----------+
| method | url                                            | seconds  |
+--------+------------------------------------------------+----------+
| GET    | http://192.168.121.243/identity                | 0.003591 |
| POST   | http://192.168.121.243/identity/v3/auth/tokens | 0.016649 |
| GET    | http://192.168.121.243/volume/                 | 0.004012 |
| GET    | http://192.168.121.243/volume/                 | 0.004543 |
+--------+------------------------------------------------+----------+

The patch formats the "elapsed" time attribute into seconds and renames
the column to "seconds" to make it more user friendly similar to OSC.
If we didn't it would look like 0:00:00.003744

Closes-Bug: #1960337
Change-Id: Ia6b31794bf60a351007cc4476a76b9bcb76bf378
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we run "cinder help" we can see that there is a --collect-timing
option:

  --collect-timing Collect per-API call timing information.

This is a keystone session option that we are not currently acting on
from a user perspective.

This patch adds support for this option, and we'll be able to see the
timing in a similar way as we do with OSC:

$ cinder --collect-timing api-version
+------+---------+---------+-------------+
| ID   | Status  | Version | Min_version |
+------+---------+---------+-------------+
| v3.0 | CURRENT | 3.66    | 3.0         |
+------+---------+---------+-------------+
+--------+------------------------------------------------+----------+
| method | url                                            | seconds  |
+--------+------------------------------------------------+----------+
| GET    | http://192.168.121.243/identity                | 0.003591 |
| POST   | http://192.168.121.243/identity/v3/auth/tokens | 0.016649 |
| GET    | http://192.168.121.243/volume/                 | 0.004012 |
| GET    | http://192.168.121.243/volume/                 | 0.004543 |
+--------+------------------------------------------------+----------+

The patch formats the "elapsed" time attribute into seconds and renames
the column to "seconds" to make it more user friendly similar to OSC.
If we didn't it would look like 0:00:00.003744

Closes-Bug: #1960337
Change-Id: Ia6b31794bf60a351007cc4476a76b9bcb76bf378
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for Xena cinderclient release</title>
<updated>2021-09-02T22:53:41+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2021-08-25T19:23:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=fab6ddf30c4bc0add1551d5de05b9bf336317063'/>
<id>fab6ddf30c4bc0add1551d5de05b9bf336317063</id>
<content type='text'>
Includes prelude plus a note for change I524490aa988f.

Change-Id: I233faad57c9708cae9544c965fd0d94abdf6d684
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Includes prelude plus a note for change I524490aa988f.

Change-Id: I233faad57c9708cae9544c965fd0d94abdf6d684
</pre>
</div>
</content>
</entry>
<entry>
<title>Support Block Storage API mv 3.66</title>
<updated>2021-09-02T22:48:28+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2021-08-31T23:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=c3c15f6cb2f50ec5bb2ae561d8fc61f27fae80d2'/>
<id>c3c15f6cb2f50ec5bb2ae561d8fc61f27fae80d2</id>
<content type='text'>
Block Storage API mv 3.66 enables snapshots of in-use volumes
without requiring a 'force' flag.  For backward compatibility,
the API silently accepts force=true, even though the 'force' flag
is considered invalid for that call.  That behavior is replicated
in the client, where --force with a true value is silently accepted.
The --force option is not advertised in the shell and an option
value that doesn't evaluate to true raises an UnsupportedAttribute
error.  Similar behavior from the v3 Snapshot class, except it
raises a ValueError under similar circumstances.

Change-Id: I7408d0e3a5ed7f4cbcaf65cf3434ad60aaed511d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Block Storage API mv 3.66 enables snapshots of in-use volumes
without requiring a 'force' flag.  For backward compatibility,
the API silently accepts force=true, even though the 'force' flag
is considered invalid for that call.  That behavior is replicated
in the client, where --force with a true value is silently accepted.
The --force option is not advertised in the shell and an option
value that doesn't evaluate to true raises an UnsupportedAttribute
error.  Similar behavior from the v3 Snapshot class, except it
raises a ValueError under similar circumstances.

Change-Id: I7408d0e3a5ed7f4cbcaf65cf3434ad60aaed511d
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Make instance_uuid optional in attachment create"</title>
<updated>2021-07-20T17:06:47+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2021-07-20T17:06:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=e03111dea33d671661d01eadbb068d6ee6987cec'/>
<id>e03111dea33d671661d01eadbb068d6ee6987cec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove v2 classes</title>
<updated>2021-07-14T18:28:44+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2021-05-24T18:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=cb5235250cc10957b4392764b1dc3a6757784da5'/>
<id>cb5235250cc10957b4392764b1dc3a6757784da5</id>
<content type='text'>
Remove all cinderclient.v2 classes, mostly incorporating them into
their v3 counterparts and updating the tests and test fixtures.

Depends-on: https://review.opendev.org/c/openstack/horizon/+/800814

Change-Id: I335db5c1799edb2273bf8bfc9e1bc9de404a4ba5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove all cinderclient.v2 classes, mostly incorporating them into
their v3 counterparts and updating the tests and test fixtures.

Depends-on: https://review.opendev.org/c/openstack/horizon/+/800814

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