<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/shell.py, branch 1.0.7</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>Override endpoint URL check for API version</title>
<updated>2013-10-17T20:03:55+00:00</updated>
<author>
<name>Jay S. Bryant</name>
<email>jsbryant@us.ibm.com</email>
</author>
<published>2013-10-01T18:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=84ea630be01cc8a847ba73daa90f609fcc5aa00b'/>
<id>84ea630be01cc8a847ba73daa90f609fcc5aa00b</id>
<content type='text'>
get_volume_api_version_from_endpoint currently assumes that the
management_url will always be in the format of
http://&lt;ip&gt;:&lt;port&gt;/vX/&lt;tenant_id&gt;. Customers using a gateway, however,
can get a mangement_url in a different form like
https://&lt;ip&gt;:&lt;port&gt;/&lt;resource&gt;/vX/&lt;tenant_id&gt;.  This causes the
get_volume_api_version_from_endpoint to find the resource portion of the
url when looking for the Volume API version which makes the
cinder client unusable.

To resolve this I have implemented an exception handler in the case that
get_volume_api_version_from_endpoint fails.  If the exception is thrown, I
check for OS_VOLUME_API_VERSION in the environment and use the value of that
environment variable, if it is set, to determine the API version to use.

There are proposals to fix this via changes to keystone in future releases,
but this provides a way for IaaS Gateway users to proceed with Havana.

Change-Id: I8b978a6ecd87b81c6ae34938e37623ad1cc33994
Closes-Bug: 1233311
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
get_volume_api_version_from_endpoint currently assumes that the
management_url will always be in the format of
http://&lt;ip&gt;:&lt;port&gt;/vX/&lt;tenant_id&gt;. Customers using a gateway, however,
can get a mangement_url in a different form like
https://&lt;ip&gt;:&lt;port&gt;/&lt;resource&gt;/vX/&lt;tenant_id&gt;.  This causes the
get_volume_api_version_from_endpoint to find the resource portion of the
url when looking for the Volume API version which makes the
cinder client unusable.

To resolve this I have implemented an exception handler in the case that
get_volume_api_version_from_endpoint fails.  If the exception is thrown, I
check for OS_VOLUME_API_VERSION in the environment and use the value of that
environment variable, if it is set, to determine the API version to use.

There are proposals to fix this via changes to keystone in future releases,
but this provides a way for IaaS Gateway users to proceed with Havana.

Change-Id: I8b978a6ecd87b81c6ae34938e37623ad1cc33994
Closes-Bug: 1233311
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "python3: Refactor dict for python2/python3 compat"</title>
<updated>2013-10-13T05:53:35+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-10-13T05:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=0c2839414f999a8b9a0b085419de7a00d18e52ff'/>
<id>0c2839414f999a8b9a0b085419de7a00d18e52ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Refactor dict for python2/python3 compat</title>
<updated>2013-10-11T13:04:49+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-10-07T02:39:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1'/>
<id>b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1</id>
<content type='text'>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix DeprecationWarning when printing exception</title>
<updated>2013-10-09T21:31:49+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2013-10-09T21:26:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=98e9df62ee29f6d611214961ca82a162ee312030'/>
<id>98e9df62ee29f6d611214961ca82a162ee312030</id>
<content type='text'>
On Python 2.6, this results in an error like:
/usr/lib/python2.6/site-packages/cinderclient/shell.py:524:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
  message = e.message

Should use the method from novaclient commit 8c4e145b92, which
works well with python2 and python3.

Change-Id: Ifbd78ad158ae87670bdee4e247469091efaa3260
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Python 2.6, this results in an error like:
/usr/lib/python2.6/site-packages/cinderclient/shell.py:524:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
  message = e.message

Should use the method from novaclient commit 8c4e145b92, which
works well with python2 and python3.

Change-Id: Ifbd78ad158ae87670bdee4e247469091efaa3260
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace OpenStack LLC with OpenStack Foundation</title>
<updated>2013-09-28T15:13:54+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2013-09-19T19:31:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=5ad95e9fd236a1f27cbcf1105494d6680a7d8ffe'/>
<id>5ad95e9fd236a1f27cbcf1105494d6680a7d8ffe</id>
<content type='text'>
NOTE:
* openstack/common/* should be synced from oslo, so i leave them
untouched.
* add (c) symbol for related lines, leave others untouched.

Change-Id: I46a87c7f248d3468b1fdf5661411962faf2fb875
Fixes-Bug: #1214176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NOTE:
* openstack/common/* should be synced from oslo, so i leave them
untouched.
* add (c) symbol for related lines, leave others untouched.

Change-Id: I46a87c7f248d3468b1fdf5661411962faf2fb875
Fixes-Bug: #1214176
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for multiple cinder endpoints</title>
<updated>2013-08-08T18:07:36+00:00</updated>
<author>
<name>Mike Perez</name>
<email>thingee@gmail.com</email>
</author>
<published>2013-08-07T17:01:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=34c7c8c2e2c87a6203ec9f4d8ac67fef816eb868'/>
<id>34c7c8c2e2c87a6203ec9f4d8ac67fef816eb868</id>
<content type='text'>
Before v1 and v2 were set to the same service_type, so you could only
have one set at a time. This assumes the catalog is setup for v1
service_type 'volume' and v2 service_type 'volumev2'.

For backwards compatibility, we will allow v2 to be setup with
service_type 'volume' for existing installations.

Change-Id: Ife6d2cdb12d894b84ea3b276767fb93d487355d5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before v1 and v2 were set to the same service_type, so you could only
have one set at a time. This assumes the catalog is setup for v1
service_type 'volume' and v2 service_type 'volumev2'.

For backwards compatibility, we will allow v2 to be setup with
service_type 'volume' for existing installations.

Change-Id: Ife6d2cdb12d894b84ea3b276767fb93d487355d5
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Use exceptions from oslo"</title>
<updated>2013-07-15T16:30:05+00:00</updated>
<author>
<name>John Griffith</name>
<email>john.griffith@solidfire.com</email>
</author>
<published>2013-07-15T16:25:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=3d30126e93b66488b5c680578f6078201cdedc15'/>
<id>3d30126e93b66488b5c680578f6078201cdedc15</id>
<content type='text'>
This reverts commit a7cce08eab5e2e42275b84bd56127bd09b00f5bf

Change-Id: I6c0047adbc33d0d6b5890f11853974578c36c78c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a7cce08eab5e2e42275b84bd56127bd09b00f5bf

Change-Id: I6c0047adbc33d0d6b5890f11853974578c36c78c
</pre>
</div>
</content>
</entry>
<entry>
<title>Use exceptions from oslo</title>
<updated>2013-07-01T08:55:31+00:00</updated>
<author>
<name>Alessio Ababilov</name>
<email>ilovegnulinux@gmail.com</email>
</author>
<published>2013-05-19T15:12:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=a7cce08eab5e2e42275b84bd56127bd09b00f5bf'/>
<id>a7cce08eab5e2e42275b84bd56127bd09b00f5bf</id>
<content type='text'>
These exceptions can be used in novaclient, keystoneclient,
glanceclient, and other client projects.

Partially implements: blueprint common-client-library

Change-Id: I43918316622b1c1d722872fe30199db6a3a7bb76
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These exceptions can be used in novaclient, keystoneclient,
glanceclient, and other client projects.

Partially implements: blueprint common-client-library

Change-Id: I43918316622b1c1d722872fe30199db6a3a7bb76
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Connectivity between the endpoint version and OS_VOLUME_API_VERSION."</title>
<updated>2013-06-25T16:29:09+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-06-25T16:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=dcc2f67bee4451e177c4f4fe7b48d896fb76d7ec'/>
<id>dcc2f67bee4451e177c4f4fe7b48d896fb76d7ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Connectivity between the endpoint version and OS_VOLUME_API_VERSION.</title>
<updated>2013-06-25T13:01:33+00:00</updated>
<author>
<name>Anastasia Latynskaya</name>
<email>anlatynskaya@mirantis.com</email>
</author>
<published>2013-06-10T09:08:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=6adda93c9d52a1bb841261725f666a439b54539c'/>
<id>6adda93c9d52a1bb841261725f666a439b54539c</id>
<content type='text'>
Adds functionality which allows user to work with
that cinder API version which is the same as
the endpoint version.

Fixes: bug #1169455

Change-Id: I9bb46e602d15856d2da502a6ac2b6c25e76f4fa3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds functionality which allows user to work with
that cinder API version which is the same as
the endpoint version.

Fixes: bug #1169455

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