<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/shell.py, branch stein-em</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>Fix max version handling for help output</title>
<updated>2019-03-25T12:05:55+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2019-01-30T18:20:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=84d0e50ea30224221ec0436654ac5db94f8bfefe'/>
<id>84d0e50ea30224221ec0436654ac5db94f8bfefe</id>
<content type='text'>
Commit fefe331f218d73ba6d1d7acf81b5eb02609c953e incorrectly set the
default API version to the max the client knew about in order to get the
full help output, including all microversioned commands.

The original intent was to have help print out information for all
versions, but still require the user to specify a version if they wanted
to use any microversioned version of an API. The code accidentally made
it so all commands would request the max version the client knew about.
This meant an unspecified request would get the newer functionality
rather than the default v3 functionality, and also meant the client
could request a microversion higher than what the server knew about,
resulting in an unexpected error being returned.

To keep the originally intended functionality, but keep all help output,
this only uses the max API version for the help command unless the user
specifies otherwise.

Closes-bug: #1813967

Change-Id: I20f6c5471ffefe5524a4d48c967e2e8db53233f1
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
(cherry picked from commit bccbd510a77843824b8187e15c4d8df9c2dfa55e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit fefe331f218d73ba6d1d7acf81b5eb02609c953e incorrectly set the
default API version to the max the client knew about in order to get the
full help output, including all microversioned commands.

The original intent was to have help print out information for all
versions, but still require the user to specify a version if they wanted
to use any microversioned version of an API. The code accidentally made
it so all commands would request the max version the client knew about.
This meant an unspecified request would get the newer functionality
rather than the default v3 functionality, and also meant the client
could request a microversion higher than what the server knew about,
resulting in an unexpected error being returned.

To keep the originally intended functionality, but keep all help output,
this only uses the max API version for the help command unless the user
specifies otherwise.

Closes-bug: #1813967

Change-Id: I20f6c5471ffefe5524a4d48c967e2e8db53233f1
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
(cherry picked from commit bccbd510a77843824b8187e15c4d8df9c2dfa55e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove i18n.enable_lazy() translation</title>
<updated>2019-03-21T17:49:10+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2018-11-13T15:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=381edcf49d59d3a0fd5bbcbf1c7329e3578ac39e'/>
<id>381edcf49d59d3a0fd5bbcbf1c7329e3578ac39e</id>
<content type='text'>
Per [1], don't.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-November/136289.html

Change-Id: I4a1e8cf84a88e5bd301d1baba41b064cde336f38
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
(cherry picked from commit 4b0f5876d6a10e599246f7b6d8c1b3c49aa4afb0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per [1], don't.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-November/136289.html

Change-Id: I4a1e8cf84a88e5bd301d1baba41b064cde336f38
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
(cherry picked from commit 4b0f5876d6a10e599246f7b6d8c1b3c49aa4afb0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Default help output to include MV updates</title>
<updated>2018-09-20T16:42:41+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2018-09-20T16:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=fefe331f218d73ba6d1d7acf81b5eb02609c953e'/>
<id>fefe331f218d73ba6d1d7acf81b5eb02609c953e</id>
<content type='text'>
We are inconsistent with some other projects with hiding client help
output for commands added with microversions by default. This often
leads to confusion with users of the CLI not being aware of these
changes.

This changes the default to display all help output. Users can still
specify a version and have the output limited to include only options up
to the version they specify.

Change-Id: I39d90a1ecc824fcf445e98609de47d45e71a0ff6
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We are inconsistent with some other projects with hiding client help
output for commands added with microversions by default. This often
leads to confusion with users of the CLI not being aware of these
changes.

This changes the default to display all help output. Users can still
specify a version and have the output limited to include only options up
to the version they specify.

Change-Id: I39d90a1ecc824fcf445e98609de47d45e71a0ff6
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated CLI options</title>
<updated>2018-07-23T16:50:35+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2018-07-23T16:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=a331f06df0158fff28162eabc765f164855afcee'/>
<id>a331f06df0158fff28162eabc765f164855afcee</id>
<content type='text'>
The following options were deprecated in Queens or Pike and are now
being removed:

--endpoint-type
--bypass-url
--os-auth-system

Change-Id: I3b951cc4eb3adff23f3d2cbe674971816261ef56
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following options were deprecated in Queens or Pike and are now
being removed:

--endpoint-type
--bypass-url
--os-auth-system

Change-Id: I3b951cc4eb3adff23f3d2cbe674971816261ef56
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow --help for specific commands</title>
<updated>2018-04-10T19:37:22+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2018-04-10T18:43:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=3142e9f9b334a5d5c4fcb5186c5746c9196f5b5e'/>
<id>3142e9f9b334a5d5c4fcb5186c5746c9196f5b5e</id>
<content type='text'>
This makes calls such as:
     $ cinder list --help

work as expected, equivalent to:
     $ cinder help list

rather than just printing the full help message.

Change-Id: I038eeeea554f0bb5dd170f503eaec570441520b3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes calls such as:
     $ cinder list --help

work as expected, equivalent to:
     $ cinder help list

rather than just printing the full help message.

Change-Id: I038eeeea554f0bb5dd170f503eaec570441520b3
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a typo in documentation</title>
<updated>2018-03-23T00:09:10+00:00</updated>
<author>
<name>melissaml</name>
<email>ma.lei@99cloud.net</email>
</author>
<published>2018-03-22T23:41:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=953bd8cb8992cc286c9b0162acd1146a538c40f7'/>
<id>953bd8cb8992cc286c9b0162acd1146a538c40f7</id>
<content type='text'>
Change-Id: Icb6c9808829c6088f6ae2408718bcb03ddc7b53a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Icb6c9808829c6088f6ae2408718bcb03ddc7b53a
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate to keystoneauth identity cli opts.</title>
<updated>2018-01-16T12:49:14+00:00</updated>
<author>
<name>Zhao Chao</name>
<email>zhaochao1984@gmail.com</email>
</author>
<published>2018-01-09T07:43:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=77143d43dc50c9609651d227c7571fcd57565ef8'/>
<id>77143d43dc50c9609651d227c7571fcd57565ef8</id>
<content type='text'>
Use keystoneauth1 to parse keystone authentication arguments. Previously
these arguments are parsed in the different service clients seperately.
Use keystoneauth1 instead will make this consistent across projects and
less error-prone.

This change is inspired by NovaClient.

Co-Authored-By: Morgan Fainberg &lt;morgan.fainberg@gmail.com&gt;
Co-Authored-By: David Hu &lt;david.hu@hp.com&gt;
Co-Authored-By: Monty Taylor &lt;mordred@inaugust.com&gt;

Closes-Bug: #1734945

Change-Id: I3c5141eeddd3747ff542e95b04e4848470ad9508
Signed-off-by: Zhao Chao &lt;zhaochao1984@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use keystoneauth1 to parse keystone authentication arguments. Previously
these arguments are parsed in the different service clients seperately.
Use keystoneauth1 instead will make this consistent across projects and
less error-prone.

This change is inspired by NovaClient.

Co-Authored-By: Morgan Fainberg &lt;morgan.fainberg@gmail.com&gt;
Co-Authored-By: David Hu &lt;david.hu@hp.com&gt;
Co-Authored-By: Monty Taylor &lt;mordred@inaugust.com&gt;

Closes-Bug: #1734945

Change-Id: I3c5141eeddd3747ff542e95b04e4848470ad9508
Signed-off-by: Zhao Chao &lt;zhaochao1984@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add cluster support in migration and manage"</title>
<updated>2017-12-01T15:10:06+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2017-12-01T15:10:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=d17ae43e1d01c5c22da3e5290398ecfbc5b3e5bc'/>
<id>d17ae43e1d01c5c22da3e5290398ecfbc5b3e5bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix OS_AUTH_TYPE env var usage"</title>
<updated>2017-10-19T02:12:06+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2017-10-19T02:12:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=a8364340dd21133831b5f13754bb4a1f7debd4e5'/>
<id>a8364340dd21133831b5f13754bb4a1f7debd4e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cluster support in migration and manage</title>
<updated>2017-10-03T09:03:28+00:00</updated>
<author>
<name>Gorka Eguileor</name>
<email>geguileo@redhat.com</email>
</author>
<published>2016-10-17T12:39:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=8fce74056fa4afd03149ede9d4b8786cc78ada3e'/>
<id>8fce74056fa4afd03149ede9d4b8786cc78ada3e</id>
<content type='text'>
This patch adds support for API microversion 3.16, which allows us to
pass --cluster optional argument to migration and manage operations.

For this, a new type of CLI argument is added, the mutually exclusive
arguments that can be used similarly to the utils.arg decorator, but
with utils.exclusive_arg decorator.

Implements: blueprint cinder-volume-active-active-support
Change-Id: If004715b9887d2a0f9fc630b44d6e11a4a8b778d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for API microversion 3.16, which allows us to
pass --cluster optional argument to migration and manage operations.

For this, a new type of CLI argument is added, the mutually exclusive
arguments that can be used similarly to the utils.arg decorator, but
with utils.exclusive_arg decorator.

Implements: blueprint cinder-volume-active-active-support
Change-Id: If004715b9887d2a0f9fc630b44d6e11a4a8b778d
</pre>
</div>
</content>
</entry>
</feed>
