<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/tests, branch stable/queens</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>Update local copy of image schema for 2.6</title>
<updated>2018-04-11T13:55:24+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-04-08T18:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=ae8d7d52c8b32f4c12fe75e8b788ee88da60fda9'/>
<id>ae8d7d52c8b32f4c12fe75e8b788ee88da60fda9</id>
<content type='text'>
Update the local copy of the image schema to reflect Image API 2.6.

Change-Id: Ib0e56027927880d0fa198ffd8ea4b57e39f9d0fe
Closes-bug: #1762044
Depends-on: https://review.openstack.org/#/c/560126/
(cherry picked from commit e89fcae346eee1e3e5b5beb65e641fbc666fd59c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the local copy of the image schema to reflect Image API 2.6.

Change-Id: Ib0e56027927880d0fa198ffd8ea4b57e39f9d0fe
Closes-bug: #1762044
Depends-on: https://review.openstack.org/#/c/560126/
(cherry picked from commit e89fcae346eee1e3e5b5beb65e641fbc666fd59c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Make image-import fail faster" into stable/queens</title>
<updated>2018-04-09T18:32:29+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-04-09T18:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=204d5dbb3784097dc4196ac4e49d1e1bce98fddd'/>
<id>204d5dbb3784097dc4196ac4e49d1e1bce98fddd</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 intermittent v2 shell unit test failures" into stable/queens</title>
<updated>2018-04-09T18:17:43+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-04-09T18:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=947ce4d3c9e6c6df9d0f29ac05d3a83208f1d169'/>
<id>947ce4d3c9e6c6df9d0f29ac05d3a83208f1d169</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make image-import fail faster</title>
<updated>2018-04-09T14:23:03+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-03-25T18:47:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=2bc0e65d91be1a8711fa49f07aa2fd910737eaee'/>
<id>2bc0e65d91be1a8711fa49f07aa2fd910737eaee</id>
<content type='text'>
Add checks to image-import command so that it provides better user
feedback in failure situations.

Change-Id: I8b6b32c3d1d1a745aa68ff8dc629419dff9bb130
Closes-bug: #1758718
(cherry picked from commit 46dd4dd60fa31aff71f3ba94cf496aa6fea0d582)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add checks to image-import command so that it provides better user
feedback in failure situations.

Change-Id: I8b6b32c3d1d1a745aa68ff8dc629419dff9bb130
Closes-bug: #1758718
(cherry picked from commit 46dd4dd60fa31aff71f3ba94cf496aa6fea0d582)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix intermittent v2 shell unit test failures</title>
<updated>2018-04-06T15:09:11+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-03-29T21:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=22568b0c131e41d57b9c24631925517c933307bc'/>
<id>22568b0c131e41d57b9c24631925517c933307bc</id>
<content type='text'>
The do_image_download code has a check to make sure that there's
a place to put the data (either filename or stdout redirect) before
initiating the download.  The location of this check was moved by
change I841bebeda38814235079429eca0b1e5fd2f04dae to happen at the
beginning of the function.  The two intermittently failing tests
do not explicitly address the check condition, and as a result the
tests do exit early, but before they can check what they're supposed
to be testing.

Closes-bug: #1759951

Change-Id: I3c85bb358f669504b364d55618c21382b7a2a66b
(cherry picked from commit dc3ee4aedbd9023bba1581a987b517f00b9bfd0e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The do_image_download code has a check to make sure that there's
a place to put the data (either filename or stdout redirect) before
initiating the download.  The location of this check was moved by
change I841bebeda38814235079429eca0b1e5fd2f04dae to happen at the
beginning of the function.  The two intermittently failing tests
do not explicitly address the check condition, and as a result the
tests do exit early, but before they can check what they're supposed
to be testing.

Closes-bug: #1759951

Change-Id: I3c85bb358f669504b364d55618c21382b7a2a66b
(cherry picked from commit dc3ee4aedbd9023bba1581a987b517f00b9bfd0e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Make image-create-via-import fail faster</title>
<updated>2018-04-05T12:11:13+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-03-22T19:49:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=4211b67e7aa560b97e19945d3bbb07a697628382'/>
<id>4211b67e7aa560b97e19945d3bbb07a697628382</id>
<content type='text'>
Add checks to the image-create-via-import commmand so that it provides
better user feedback and doesn't begin the import workflow unless the
input has a chance of succeeding.  Preserves backward compatibility
with the current image-create command by (1) allowing an image record
only to be created when no import-method is specified AND no data is
supplied, and (2) doing the glance-direct workflow when no import-
method is specified AND data is provided.  Also adds the ability for
the import-method to be set as an env var OS_IMAGE_IMPORT_METHOD.

Change-Id: I0a225f5471a9311217b5d90ebb5fd415c369129a
Closes-bug: #1758149
(cherry picked from commit 79543a67edd7a15aa23426548d3be9ac5b99366d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add checks to the image-create-via-import commmand so that it provides
better user feedback and doesn't begin the import workflow unless the
input has a chance of succeeding.  Preserves backward compatibility
with the current image-create command by (1) allowing an image record
only to be created when no import-method is specified AND no data is
supplied, and (2) doing the glance-direct workflow when no import-
method is specified AND data is provided.  Also adds the ability for
the import-method to be set as an env var OS_IMAGE_IMPORT_METHOD.

Change-Id: I0a225f5471a9311217b5d90ebb5fd415c369129a
Closes-bug: #1758149
(cherry picked from commit 79543a67edd7a15aa23426548d3be9ac5b99366d)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Check for container,disk_format on web-download" into stable/queens</title>
<updated>2018-03-26T15:02:46+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-03-26T15:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=ba425b0b9287a2eff528bb5bc5b5a583ec280edc'/>
<id>ba425b0b9287a2eff528bb5bc5b5a583ec280edc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for container,disk_format on web-download</title>
<updated>2018-03-23T18:56:53+00:00</updated>
<author>
<name>Brian Rosmaita</name>
<email>rosmaita.fossdev@gmail.com</email>
</author>
<published>2018-03-22T05:13:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=91c19dddddd6b7ba4a9c3ab6ec23cab64b481c3c'/>
<id>91c19dddddd6b7ba4a9c3ab6ec23cab64b481c3c</id>
<content type='text'>
Fail image-create-via-import requests for the web-download import
method that don't include values for container_format or disk_format.

Closes-bug: #1757927

Depends-on: I0e1d18844f64723608288de473e97710798eb602

Change-Id: Ic5c81916823ff32f2dbddd32b40e825de0697dc9
(cherry picked from commit 6cd537e2748fa636aa3061812b257d549a6d603f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fail image-create-via-import requests for the web-download import
method that don't include values for container_format or disk_format.

Closes-bug: #1757927

Depends-on: I0e1d18844f64723608288de473e97710798eb602

Change-Id: Ic5c81916823ff32f2dbddd32b40e825de0697dc9
(cherry picked from commit 6cd537e2748fa636aa3061812b257d549a6d603f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for web-download import method</title>
<updated>2018-03-22T12:06:58+00:00</updated>
<author>
<name>PranaliD</name>
<email>pdeore@redhat.com</email>
</author>
<published>2018-03-12T09:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=75775a133d22d377522ba6c1093b751dad7efd3c'/>
<id>75775a133d22d377522ba6c1093b751dad7efd3c</id>
<content type='text'>
This change adds support for 'web-download' import method
to 'image-import' and 'create-image-via-import' call.
To use this 'web-download' import method, user needs to pass
--uri option 'a valid uri to external image to import in glance'
to 'image-import' and 'create-image-via-imaport' calls.

Co-authored-by: Pranali Deore &lt;pdeore@redhat.com&gt;
Co-authored-by: Erno Kuvaja &lt;jokke@usr.fi&gt;

Closes-Bug: #1758039

Change-Id: I0e1d18844f64723608288de473e97710798eb602
(cherry picked from commit aedabec9e46e80266cdefb315f112a30927e216a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support for 'web-download' import method
to 'image-import' and 'create-image-via-import' call.
To use this 'web-download' import method, user needs to pass
--uri option 'a valid uri to external image to import in glance'
to 'image-import' and 'create-image-via-imaport' calls.

Co-authored-by: Pranali Deore &lt;pdeore@redhat.com&gt;
Co-authored-by: Erno Kuvaja &lt;jokke@usr.fi&gt;

Closes-Bug: #1758039

Change-Id: I0e1d18844f64723608288de473e97710798eb602
(cherry picked from commit aedabec9e46e80266cdefb315f112a30927e216a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Compare against 'RequestIdProxy.wrapped'</title>
<updated>2018-01-02T11:36:02+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>sfinucan@redhat.com</email>
</author>
<published>2017-12-12T10:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=4dcbc30e317a25495bebc073bb9913d9fd9d43a2'/>
<id>4dcbc30e317a25495bebc073bb9913d9fd9d43a2</id>
<content type='text'>
Due to the 'glanceclient.common.utils.add_req_id_to_object' decorator,
an instance of 'glanceclient.common.utils.RequestIdProxy' is returned
for most calls in glanceclient. If we wish to compare to None, we have
to compare the contents of this wrapper and not the wrapper itself.

Unit tests are updated to highlight this.

Change-Id: I7dadf32d37ac2bda33a92c71d5882e9f23e38a82
Closes-Bug: #1736759
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to the 'glanceclient.common.utils.add_req_id_to_object' decorator,
an instance of 'glanceclient.common.utils.RequestIdProxy' is returned
for most calls in glanceclient. If we wish to compare to None, we have
to compare the contents of this wrapper and not the wrapper itself.

Unit tests are updated to highlight this.

Change-Id: I7dadf32d37ac2bda33a92c71d5882e9f23e38a82
Closes-Bug: #1736759
</pre>
</div>
</content>
</entry>
</feed>
