<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/common, branch stable/stein</title>
<subtitle>opendev.org: openstack/python-glanceclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/'/>
<entry>
<title>Don't quote colon in HTTP headers</title>
<updated>2018-11-01T21:38:19+00:00</updated>
<author>
<name>imacdonn</name>
<email>iain.macdonnell@oracle.com</email>
</author>
<published>2018-11-01T21:36:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=1156346dc243dc46bcc7c78a64454ff4bae7ddc5'/>
<id>1156346dc243dc46bcc7c78a64454ff4bae7ddc5</id>
<content type='text'>
Since the introduction of quoting of header content in
https://review.openstack.org/568698, the 'x-image-meta-location' header
has been broken, because urllib.quote() is really intended to be applied
to only the path section of a URL, but in this case, it gets applied to
the entire URL, and catches the colon that separates the scheme from the
remainder of the URL.

This change adds the colon to the list of characters that should not get
quoted. Since a colon can be directly represented in ASCII, this should
not invalidate the previous change.

Change-Id: I76a1c9a361b6c9f6eb95ae766b8c3bcf2267703a
Closes-Bug: #1788942
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the introduction of quoting of header content in
https://review.openstack.org/568698, the 'x-image-meta-location' header
has been broken, because urllib.quote() is really intended to be applied
to only the path section of a URL, but in this case, it gets applied to
the entire URL, and catches the colon that separates the scheme from the
remainder of the URL.

This change adds the colon to the list of characters that should not get
quoted. Since a colon can be directly represented in ASCII, this should
not invalidate the previous change.

Change-Id: I76a1c9a361b6c9f6eb95ae766b8c3bcf2267703a
Closes-Bug: #1788942
</pre>
</div>
</content>
</entry>
<entry>
<title>Use "multihash" for data download validation</title>
<updated>2018-09-07T18:50:24+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-08-22T02:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=8fd7e8c664e82d805dc4a12534b3d7e3fcaac606'/>
<id>8fd7e8c664e82d805dc4a12534b3d7e3fcaac606</id>
<content type='text'>
When the Glance "multihash" is available on an image, the
glanceclient should use it instead of MD5 to validate data
downloads.  For cases in which the multihash specifies an
algorithm not available to the client, an option is added
to the image-download command that will allow fallback to
the legacy MD5 checksum verification.

Change-Id: I4ee6e5071eca08d3bbedceda2acc170e7ed21a6b
Closes-bug: #1788323
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the Glance "multihash" is available on an image, the
glanceclient should use it instead of MD5 to validate data
downloads.  For cases in which the multihash specifies an
algorithm not available to the client, an option is added
to the image-download command that will allow fallback to
the legacy MD5 checksum verification.

Change-Id: I4ee6e5071eca08d3bbedceda2acc170e7ed21a6b
Closes-bug: #1788323
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip quote '=' for token header</title>
<updated>2018-07-26T03:41:27+00:00</updated>
<author>
<name>wangxiyuan</name>
<email>wangxiyuan@huawei.com</email>
</author>
<published>2018-07-26T03:31:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=eba4bb06d9aeaaf18a7e393ae8c03d47bd052f20'/>
<id>eba4bb06d9aeaaf18a7e393ae8c03d47bd052f20</id>
<content type='text'>
If the token is encoded by base64, it may contain '=' char
as well.

We should skip quoting it.

Change-Id: I1ca63d251fa366f0e8e58128d45b729a2489b65c
Partial-Bug: #1783290
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the token is encoded by base64, it may contain '=' char
as well.

We should skip quoting it.

Change-Id: I1ca63d251fa366f0e8e58128d45b729a2489b65c
Partial-Bug: #1783290
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not quote '+' for token header</title>
<updated>2018-07-25T08:22:43+00:00</updated>
<author>
<name>wangxiyuan</name>
<email>wangxiyuan1007@gmail.com</email>
</author>
<published>2018-07-18T03:30:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=818362147d0622752d051bd78ae839497a602e44'/>
<id>818362147d0622752d051bd78ae839497a602e44</id>
<content type='text'>
The token in request header may contain url char, such as '+',
if quote it, '+' will change to '%2B' which will lead to 401 error.

Our CI doesn't notice this bug because Keystone use fernet token
which doesn't contain url char by default. But token format in
keystone is plugable, some out-tree token formats may contain
url char (for example, PKI/PKIZ token).

So we should skip quote token to avoiding information changing.

Closes-bug: #1783290
Change-Id: I5aa71b3e2b9b19581e46ccf8a80eda5d637f17d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The token in request header may contain url char, such as '+',
if quote it, '+' will change to '%2B' which will lead to 401 error.

Our CI doesn't notice this bug because Keystone use fernet token
which doesn't contain url char by default. But token format in
keystone is plugable, some out-tree token formats may contain
url char (for example, PKI/PKIZ token).

So we should skip quote token to avoiding information changing.

Closes-bug: #1783290
Change-Id: I5aa71b3e2b9b19581e46ccf8a80eda5d637f17d1
</pre>
</div>
</content>
</entry>
<entry>
<title>Image show: print human readable string when the virtual size is unknown</title>
<updated>2018-05-31T16:52:20+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril@redhat.com</email>
</author>
<published>2018-05-03T13:54:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=abfe0f4bf3295a4bc807b7e4e6b46a16061b29de'/>
<id>abfe0f4bf3295a4bc807b7e4e6b46a16061b29de</id>
<content type='text'>
Currently, when the virtual size of an image is not known, "None" is displayed.
To a regular user, it feels like a programming error. We try and make things
clearer by using a "human readable" string instead.

Change-Id: Id7b8799356857d9bc58cc8a3677024fe1a7f4f56
Partial-Bug: #1665037
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, when the virtual size of an image is not known, "None" is displayed.
To a regular user, it feels like a programming error. We try and make things
clearer by using a "human readable" string instead.

Change-Id: Id7b8799356857d9bc58cc8a3677024fe1a7f4f56
Partial-Bug: #1665037
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Removes unicode 'u' response from "glance image-tag-update""</title>
<updated>2018-05-18T16:23:20+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-05-18T16:23:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=1ef5e5d16976df4b48c0925cdc6c5dc0dfbfb610'/>
<id>1ef5e5d16976df4b48c0925cdc6c5dc0dfbfb610</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle HTTP headers per RFC 8187</title>
<updated>2018-05-17T19:53:34+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-05-15T20:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=ee029a9b927a41c028427f8afc1821ed914e6d47'/>
<id>ee029a9b927a41c028427f8afc1821ed914e6d47</id>
<content type='text'>
According to RFC 8187, HTTP headers should use 7-bit ASCII encoding.
The glanceclient was encoding them as UTF-8, which can leave the 8th
bit nonzero when representing unicode, and which presents problems
for any recipient following the standard and decoding the headers as
ASCII.

This change requires keystoneauth1 3.6.2, which has a fix for a
bug that made it unable to handle bytes in headers.  The dependency
is a patch bumping the keystoneauth1 version in upper-constraints.

Depends-on: https://review.openstack.org/#/c/569138/

Change-Id: I0d14974126fcb20e23a37347f4f1756c323cf2f5
Closes-bug: #1766235
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to RFC 8187, HTTP headers should use 7-bit ASCII encoding.
The glanceclient was encoding them as UTF-8, which can leave the 8th
bit nonzero when representing unicode, and which presents problems
for any recipient following the standard and decoding the headers as
ASCII.

This change requires keystoneauth1 3.6.2, which has a fix for a
bug that made it unable to handle bytes in headers.  The dependency
is a patch bumping the keystoneauth1 version in upper-constraints.

Depends-on: https://review.openstack.org/#/c/569138/

Change-Id: I0d14974126fcb20e23a37347f4f1756c323cf2f5
Closes-bug: #1766235
</pre>
</div>
</content>
</entry>
<entry>
<title>Removes unicode 'u' response from "glance image-tag-update"</title>
<updated>2018-02-02T05:06:27+00:00</updated>
<author>
<name>Abijitha Nadagouda</name>
<email>abijitha.nadagouda@tatacommunications.com</email>
</author>
<published>2018-02-02T04:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=195add500bac78637f94a008feee986b7800968d'/>
<id>195add500bac78637f94a008feee986b7800968d</id>
<content type='text'>
"glance image-tag-update" command returns unicoded response
for lists. Therefore it requires print_list method from util
class to handle such case. Added unicode_key_value_to_string()
method to remove extra 'u' from lists and dictionaries. This
fix is inspired from cinderclient's implementation.

Change-Id: I16a04e8d34f7629f72fe389456001ca1db9335ea
Closes-bug: #1534046
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"glance image-tag-update" command returns unicoded response
for lists. Therefore it requires print_list method from util
class to handle such case. Added unicode_key_value_to_string()
method to remove extra 'u' from lists and dictionaries. This
fix is inspired from cinderclient's implementation.

Change-Id: I16a04e8d34f7629f72fe389456001ca1db9335ea
Closes-bug: #1534046
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix python 3.6 escape char warning</title>
<updated>2017-07-31T15:58:41+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2017-07-31T15:57:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=1868200e9c1554f58ef06644890787921c0879cb'/>
<id>1868200e9c1554f58ef06644890787921c0879cb</id>
<content type='text'>
In python 3.6, escape sequences that are not
recognized in string literals issue DeprecationWarnings.

Convert these to raw strings.

Change-Id: I508a9147b932e219069eeee756bcbc43c7e961c5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In python 3.6, escape sequences that are not
recognized in string literals issue DeprecationWarnings.

Convert these to raw strings.

Change-Id: I508a9147b932e219069eeee756bcbc43c7e961c5
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed the --no-ssl-compression parameter which is deprecated</title>
<updated>2017-07-25T13:21:38+00:00</updated>
<author>
<name>PranaliD</name>
<email>pdeore@redhat.com</email>
</author>
<published>2017-05-02T10:35:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=28c003dc1179ddb3124fd30c6f525dd341ae9213'/>
<id>28c003dc1179ddb3124fd30c6f525dd341ae9213</id>
<content type='text'>
--no-ssl-compression is deprecated and no longer used. So, it is
removed from the help message.

Change-Id: I2b886671a568ed191ee380cf16335ccd9ae85062
Closes-Bug: #1583919
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--no-ssl-compression is deprecated and no longer used. So, it is
removed from the help message.

Change-Id: I2b886671a568ed191ee380cf16335ccd9ae85062
Closes-Bug: #1583919
</pre>
</div>
</content>
</entry>
</feed>
