<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/v2, branch kilo-eol</title>
<subtitle>opendev.org: openstack/python-glanceclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/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://git.baserock.org/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>Merge "V2: Do not validate image schema when listing" into stable/kilo</title>
<updated>2015-08-24T15:31:08+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-08-24T15:31:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=ed19cd3af3a0294f310d399a77058dc66c23372b'/>
<id>ed19cd3af3a0294f310d399a77058dc66c23372b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://git.baserock.org/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>V2: Do not validate image schema when listing</title>
<updated>2015-08-10T10:25:19+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2015-07-24T12:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=320bc6f0c991c85108f139971a5109b789fad3bf'/>
<id>320bc6f0c991c85108f139971a5109b789fad3bf</id>
<content type='text'>
Previously when listing images via v2, the first image of each batch
was validated against the v2 schema.

This could lead to unpredictable behaviour where a particular image
which failed the schema check may or may not be the first of a batch.

In some cases it also meant that operation by one user could affect the
ability of another other to list images.

Change-Id: I22974a3e3d9cbdd254099780752ae45ff2a557af
Closes-bug: 1477910
(cherry picked from commit 43769d6cc7266d7c81db31ad58b4fa403c35b611)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously when listing images via v2, the first image of each batch
was validated against the v2 schema.

This could lead to unpredictable behaviour where a particular image
which failed the schema check may or may not be the first of a batch.

In some cases it also meant that operation by one user could affect the
ability of another other to list images.

Change-Id: I22974a3e3d9cbdd254099780752ae45ff2a557af
Closes-bug: 1477910
(cherry picked from commit 43769d6cc7266d7c81db31ad58b4fa403c35b611)
</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://git.baserock.org/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://git.baserock.org/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>Merge "Omit 'locations' as image-create parameter" into stable/kilo</title>
<updated>2015-07-09T16:31:44+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-07-09T16:31:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=0e41724cddb00f8c532283e484d5d970400cf3f5'/>
<id>0e41724cddb00f8c532283e484d5d970400cf3f5</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://git.baserock.org/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>Omit 'locations' as image-create parameter</title>
<updated>2015-07-08T12:18:05+00:00</updated>
<author>
<name>Fei Long Wang</name>
<email>flwang@catalyst.net.nz</email>
</author>
<published>2015-04-10T12:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=28dc1da28843ac4e3a524746e5fc9e8e5f87fcbd'/>
<id>28dc1da28843ac4e3a524746e5fc9e8e5f87fcbd</id>
<content type='text'>
Based on current implementation, locations is reserved
attribute, so it should not be a parameter for image
create.

Closes-Bug: #1399778

Change-Id: Ie51e52157e905fdecf736125be0dac87b1a966ec
(cherry picked from commit c73026634cc4bef7e648bb1e82bde29d6b737af2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on current implementation, locations is reserved
attribute, so it should not be a parameter for image
create.

Closes-Bug: #1399778

Change-Id: Ie51e52157e905fdecf736125be0dac87b1a966ec
(cherry picked from commit c73026634cc4bef7e648bb1e82bde29d6b737af2)
</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://git.baserock.org/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>
</feed>
