<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/tests, branch 0.17.3</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 get the image before deleting it</title>
<updated>2015-09-23T09:18:36+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2015-09-16T08:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=68cf63da7a53a88f0b977bf9f9ce875a51ecb407'/>
<id>68cf63da7a53a88f0b977bf9f9ce875a51ecb407</id>
<content type='text'>
The client currently downloads the image metadata to check if it's deleted
or not. This logic belongs to the server and it's already implemented
there. Instead of getting the image, send the delete request and catch
the 404 error, which is already raised by the server.

Change-Id: I1e6ef42340f8e380ff99b9d6ca7ea416e0eebfbc
Closes-bug: #1496305
(cherry picked from commit b8a881f5ea89514d715e61b632bc3081a0dde2c6)
(cherry picked from commit e82d9df74cbac9accc8a6724c0759760e44bb315)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The client currently downloads the image metadata to check if it's deleted
or not. This logic belongs to the server and it's already implemented
there. Instead of getting the image, send the delete request and catch
the 404 error, which is already raised by the server.

Change-Id: I1e6ef42340f8e380ff99b9d6ca7ea416e0eebfbc
Closes-bug: #1496305
(cherry picked from commit b8a881f5ea89514d715e61b632bc3081a0dde2c6)
(cherry picked from commit e82d9df74cbac9accc8a6724c0759760e44bb315)
</pre>
</div>
</content>
</entry>
<entry>
<title>Ship the default image schema in the client</title>
<updated>2015-08-12T13:53:41+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2015-08-05T14:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=e7a801d54aae4a5d9c858888165b431c5854132a'/>
<id>e7a801d54aae4a5d9c858888165b431c5854132a</id>
<content type='text'>
Now that we have stable branches for clients, it's easier to keep track
of the current default image's schema in Glance and update it
respectively. This patch adds the current image schema, including the
schema-properties.

One good reason to do this is to be able to react when a running Glance
instance is not around to be introspected. It's really unfortunate that
things like help text can't be rendered when there image schema is not
available in the system.

We could keep the schema in a json file but rather than shipping data
files with glanceclient we can just have it in the python modules.

Conflicts:
	glanceclient/v2/shell.py

Change-Id: I9b8cc1d18d6717ccf991fb8149ab13c06d653ee4
Closes-bug: #1481729
(cherry picked from commit 3949e0e918e2501c4953a7d9beb58511688d84e1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we have stable branches for clients, it's easier to keep track
of the current default image's schema in Glance and update it
respectively. This patch adds the current image schema, including the
schema-properties.

One good reason to do this is to be able to react when a running Glance
instance is not around to be introspected. It's really unfortunate that
things like help text can't be rendered when there image schema is not
available in the system.

We could keep the schema in a json file but rather than shipping data
files with glanceclient we can just have it in the python modules.

Conflicts:
	glanceclient/v2/shell.py

Change-Id: I9b8cc1d18d6717ccf991fb8149ab13c06d653ee4
Closes-bug: #1481729
(cherry picked from commit 3949e0e918e2501c4953a7d9beb58511688d84e1)
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose 'is_base' schema property attribute</title>
<updated>2015-08-03T22:00:39+00:00</updated>
<author>
<name>Alexander Tivelkov</name>
<email>ativelkov@mirantis.com</email>
</author>
<published>2015-03-27T14:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=0acf7cc35cd2b123abde59e2a7a2fcd0a9a79ef8'/>
<id>0acf7cc35cd2b123abde59e2a7a2fcd0a9a79ef8</id>
<content type='text'>
Changeset I49255255 has added an 'is_base' attribute for Image Schema
properties, thus allowing to differentiate between base and custom image
properties, but the client hasn't make any use of it.

This patch adds appropriate attribute to SchemaProperty class and a
helper method which allows to validate if the given property is base or 
not.

The added helper method (is_base_property) should not be confused with
the existing is_core_property: the latter just checks if the property is
known to the schema, regardless of its being base or not.

Change-Id: I7c397196dad9ae5494ed2f8f3aacef3fc1ce70d8
Partial-Bug: #1323660
(cherry picked from commit 90407d9e473014c24eeab294192f9d3208f58ea7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changeset I49255255 has added an 'is_base' attribute for Image Schema
properties, thus allowing to differentiate between base and custom image
properties, but the client hasn't make any use of it.

This patch adds appropriate attribute to SchemaProperty class and a
helper method which allows to validate if the given property is base or 
not.

The added helper method (is_base_property) should not be confused with
the existing is_core_property: the latter just checks if the property is
known to the schema, regardless of its being base or not.

Change-Id: I7c397196dad9ae5494ed2f8f3aacef3fc1ce70d8
Partial-Bug: #1323660
(cherry picked from commit 90407d9e473014c24eeab294192f9d3208f58ea7)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix Metadef Object update issue with python-glanceclient" into stable/kilo</title>
<updated>2015-07-09T16:41:02+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-07-09T16:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=1d791b886df18c7cc9d59f870027629115858700'/>
<id>1d791b886df18c7cc9d59f870027629115858700</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Creating task with invalid property crashes in py3</title>
<updated>2015-07-08T12:21:20+00:00</updated>
<author>
<name>Kamil Rykowski</name>
<email>kamil.rykowski@intel.com</email>
</author>
<published>2015-04-02T06:15:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=5533018d5cc60007d0abe5b326b4be253e96ef2b'/>
<id>5533018d5cc60007d0abe5b326b4be253e96ef2b</id>
<content type='text'>
Currently when you are trying to set invalid additional property for
task using py3 interpreter it will fail, because function `unicode` does
not exist in py3.

Fix it by replacing `unicode` with `utils.exception_to_str` which is
used in other modules already.

Change-Id: I5897868f801467a2eaa7585b5f2d578cef358426
Closes-Bug: 1439513
(cherry picked from commit a6234d1c4e0ba8c6bbf822cfe89473436b583acc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently when you are trying to set invalid additional property for
task using py3 interpreter it will fail, because function `unicode` does
not exist in py3.

Fix it by replacing `unicode` with `utils.exception_to_str` which is
used in other modules already.

Change-Id: I5897868f801467a2eaa7585b5f2d578cef358426
Closes-Bug: 1439513
(cherry picked from commit a6234d1c4e0ba8c6bbf822cfe89473436b583acc)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Metadef Object update issue with python-glanceclient</title>
<updated>2015-07-08T10:49:55+00:00</updated>
<author>
<name>Lakshmi N Sampath</name>
<email>lakshmi.sampath@hp.com</email>
</author>
<published>2015-03-19T05:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=1990e76ba1647b3267f16b12f63e635541160326'/>
<id>1990e76ba1647b3267f16b12f63e635541160326</id>
<content type='text'>
Disallowed fields(schema, created_at and updated_at) were
getting deleted from Metadef namespace instead of Metadef object.

Change-Id: Id80e204c7af1ac6926c66627d290a15c4e6b00d9
Closes-Bug: #1433884
(cherry picked from commit 5d933b0dd59b6340147d1f2307df98c1b66d76f7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disallowed fields(schema, created_at and updated_at) were
getting deleted from Metadef namespace instead of Metadef object.

Change-Id: Id80e204c7af1ac6926c66627d290a15c4e6b00d9
Closes-Bug: #1433884
(cherry picked from commit 5d933b0dd59b6340147d1f2307df98c1b66d76f7)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix client when using no ssl compression</title>
<updated>2015-04-16T15:05:53+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2015-04-10T14:25:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=f9a2a12f178504b7ca6b31a3e1784dd5877ee018'/>
<id>f9a2a12f178504b7ca6b31a3e1784dd5877ee018</id>
<content type='text'>
Since the release of the 0.16.1 client, using the 'no ssl compression'
option, whether on the command line, or via the library -- Nova does this by
default -- a stack trace was generated.

Closes-bug: 1442664
Related-bug: 1357430

Change-Id: I2b8ddcb0a7ae3cfccdfc20d3ba476f3b4f4ec32d
(cherry picked from commit c698b4e3227b4767f042e435423fcc307d7f6d5c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the release of the 0.16.1 client, using the 'no ssl compression'
option, whether on the command line, or via the library -- Nova does this by
default -- a stack trace was generated.

Closes-bug: 1442664
Related-bug: 1357430

Change-Id: I2b8ddcb0a7ae3cfccdfc20d3ba476f3b4f4ec32d
(cherry picked from commit c698b4e3227b4767f042e435423fcc307d7f6d5c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SSL cert verification regression tests</title>
<updated>2015-04-16T15:02:41+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2014-08-20T15:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=e572ec1d1fa26dc9c1978dbdc332c054f307a0de'/>
<id>e572ec1d1fa26dc9c1978dbdc332c054f307a0de</id>
<content type='text'>
A security bug (1357430) was introduced which meant that SSL certificate
verification was not occurring.

Add new tests which help prevent the 'requests' part of bug 115260
recurring.

Note: Cherry-picking onto the stable branch -- these tests are required
      for proper testing of one of the SSL related fixes.

Change-Id: Iaf56fd8bc34fa8f35c2fd7051f9f8424002352cf
Related-bug: 1357430
(cherry picked from commit 64a1a0fdcc563579a8b01d10debfafc4cc160f81)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A security bug (1357430) was introduced which meant that SSL certificate
verification was not occurring.

Add new tests which help prevent the 'requests' part of bug 115260
recurring.

Note: Cherry-picking onto the stable branch -- these tests are required
      for proper testing of one of the SSL related fixes.

Change-Id: Iaf56fd8bc34fa8f35c2fd7051f9f8424002352cf
Related-bug: 1357430
(cherry picked from commit 64a1a0fdcc563579a8b01d10debfafc4cc160f81)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Extend images CLI v2 with new sorting syntax"</title>
<updated>2015-03-16T20:12:42+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-03-16T20:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=6db625f287ffcce80df65d25a117ceb0de2ea776'/>
<id>6db625f287ffcce80df65d25a117ceb0de2ea776</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add the ability to specify the sort dir for each key"</title>
<updated>2015-03-16T20:11:50+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-03-16T20:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-glanceclient.git/commit/?id=82143e26d36431d4600beef833d6b681119c9245'/>
<id>82143e26d36431d4600beef833d6b681119c9245</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
