<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/image, branch 3.14.1</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>Merge "Replace assert with condition"</title>
<updated>2018-01-22T17:56:31+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-01-22T17:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=7d50e5fc9ab2677d26dc5d1ea70939cd91d4191b'/>
<id>7d50e5fc9ab2677d26dc5d1ea70939cd91d4191b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace assert with condition</title>
<updated>2018-01-22T10:26:17+00:00</updated>
<author>
<name>Pavlo Shchelokovskyy</name>
<email>shchelokovskyy@gmail.com</email>
</author>
<published>2018-01-22T10:24:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=ca90985f4e5e4ebcf97afd6cce38932e73120255'/>
<id>ca90985f4e5e4ebcf97afd6cce38932e73120255</id>
<content type='text'>
a piece of code in image client has some business logic behind
assert, which can be lost when running python in optimized mode (-O).

Change-Id: I2179970df495e1215d691915c51cebe5cb4541a7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a piece of code in image client has some business logic behind
assert, which can be lost when running python in optimized mode (-O).

Change-Id: I2179970df495e1215d691915c51cebe5cb4541a7
</pre>
</div>
</content>
</entry>
<entry>
<title>Check that Glance returns image data before processing it</title>
<updated>2018-01-05T18:36:49+00:00</updated>
<author>
<name>Mike Fedosin</name>
<email>mfedosin@redhat.com</email>
</author>
<published>2018-01-04T16:49:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=ed1b59848fd2a6b7bed7618ab5ac0db00e8110dc'/>
<id>ed1b59848fd2a6b7bed7618ab5ac0db00e8110dc</id>
<content type='text'>
Now if Glance v2 cannot find image data it returns an empty
response with 204 status code, instead of raising an error.

Glance client handles this situation and wraps the response
with a RequestIdProxy object, whose 'wrapped' attribute is
None.

But when openstack client tries to parse this object using
glanceclient's save_image util function, it fails with
"NoneType object is not iterable" message, for the
object doesn't contain any data.

This patch adds additional check to prevent such behaviour
and raises SystemExit exception if no data was returned from
the server.

Glance v1 is not affected, because it raises an error if can't
find an image data.

Change-Id: I016a60462ba586f9fa7585c2cfafffd7be38de7b
Closes-Bug: #1741223
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now if Glance v2 cannot find image data it returns an empty
response with 204 status code, instead of raising an error.

Glance client handles this situation and wraps the response
with a RequestIdProxy object, whose 'wrapped' attribute is
None.

But when openstack client tries to parse this object using
glanceclient's save_image util function, it fails with
"NoneType object is not iterable" message, for the
object doesn't contain any data.

This patch adds additional check to prevent such behaviour
and raises SystemExit exception if no data was returned from
the server.

Glance v1 is not affected, because it raises an error if can't
find an image data.

Change-Id: I016a60462ba586f9fa7585c2cfafffd7be38de7b
Closes-Bug: #1741223
</pre>
</div>
</content>
</entry>
<entry>
<title>Accept 0 for --min-disk and --min-ram</title>
<updated>2017-10-20T19:48:37+00:00</updated>
<author>
<name>ShogoAdachi</name>
<email>sho-adachi@xc.jp.nec.com</email>
</author>
<published>2017-09-07T10:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=4464109c7754a9287f75ec2af84398700d1450e6'/>
<id>4464109c7754a9287f75ec2af84398700d1450e6</id>
<content type='text'>
The current openstackclient implementation cannot accept 0
for --min-disk and --min-ram with the "openstack image set" command.
If theses options get set to 0, the option parser in openstackclient
wrongly interprets 0 as no option value. The 0 is valid for these
options if administrators want to make it the default(no minimum
requirements).

This patch fix the parser so that it avoids only 'None'.

Change-Id: Ie8ee37484c02c26f54adc56263fcd167c0ce7eb3
Closes-bug: #1719499
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current openstackclient implementation cannot accept 0
for --min-disk and --min-ram with the "openstack image set" command.
If theses options get set to 0, the option parser in openstackclient
wrongly interprets 0 as no option value. The 0 is valid for these
options if administrators want to make it the default(no minimum
requirements).

This patch fix the parser so that it avoids only 'None'.

Change-Id: Ie8ee37484c02c26f54adc56263fcd167c0ce7eb3
Closes-bug: #1719499
</pre>
</div>
</content>
</entry>
<entry>
<title>Update image cli doc and fix some typos</title>
<updated>2017-08-25T00:08:31+00:00</updated>
<author>
<name>lihaijing</name>
<email>lihaijing@fiberhome.com</email>
</author>
<published>2017-08-23T03:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=ff91e26983578bf1b77e1d68fb1ae26067eed7ea'/>
<id>ff91e26983578bf1b77e1d68fb1ae26067eed7ea</id>
<content type='text'>
Change-Id: I0a8d095e51a96804c97612e28fac2d00aa94c638
Closes-Bug: #1711284
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0a8d095e51a96804c97612e28fac2d00aa94c638
Closes-Bug: #1711284
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "openstack image unset" command's help message typo</title>
<updated>2017-08-23T04:59:46+00:00</updated>
<author>
<name>lihaijing</name>
<email>lihaijing@fiberhome.com</email>
</author>
<published>2017-08-23T04:59:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=d33ab499ed510a6dfb34a44b0a33945e7f8b0d1f'/>
<id>d33ab499ed510a6dfb34a44b0a33945e7f8b0d1f</id>
<content type='text'>
Change-Id: Ie286d9ee6054cc2126473d7e6e77bafbfd80023b
Closes-Bug: #1712473
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie286d9ee6054cc2126473d7e6e77bafbfd80023b
Closes-Bug: #1712473
</pre>
</div>
</content>
</entry>
<entry>
<title>image-list should support filters 'name','status'</title>
<updated>2017-07-12T22:50:17+00:00</updated>
<author>
<name>nidhimittalhada</name>
<email>nidhimittal19@gmail.com</email>
</author>
<published>2017-06-19T06:07:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=bca8d57eb3963beb74baa5d75e61954c610369d0'/>
<id>bca8d57eb3963beb74baa5d75e61954c610369d0</id>
<content type='text'>
nova api support parameters like 'name', 'server', 'status',
etc in image-list(). So openstackclient should support this too.

DocImpact
Closes-Bug: #1698742
Change-Id: Ice66b409f989e6785aa3b2d42f2fdbf6e23fa0aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nova api support parameters like 'name', 'server', 'status',
etc in image-list(). So openstackclient should support this too.

DocImpact
Closes-Bug: #1698742
Change-Id: Ice66b409f989e6785aa3b2d42f2fdbf6e23fa0aa
</pre>
</div>
</content>
</entry>
<entry>
<title>Added 'openstack image set --visibility'</title>
<updated>2017-06-30T20:35:01+00:00</updated>
<author>
<name>M V P Nitesh</name>
<email>m.nitesh@nectechnologies.in</email>
</author>
<published>2017-06-30T08:43:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=3468ea1ca429e8b6403ae5f989cfed521d8f5690'/>
<id>3468ea1ca429e8b6403ae5f989cfed521d8f5690</id>
<content type='text'>
This feature will allow image owners to share images across multiple
tenants/projects without explicitly creating members individually
through the glance API V2. “Community images” will not appear iu
user's default image listings

Change-Id: Ic02bf44cca5d6d793d68a8737d3cfe3f44407d88
Closes-Bug: #1626837
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This feature will allow image owners to share images across multiple
tenants/projects without explicitly creating members individually
through the glance API V2. “Community images” will not appear iu
user's default image listings

Change-Id: Ic02bf44cca5d6d793d68a8737d3cfe3f44407d88
Closes-Bug: #1626837
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "To display image size in human friendly format"</title>
<updated>2017-06-01T17:48:11+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-06-01T17:48:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=3707717f8f36160994b11097924e9d2d1a60edff'/>
<id>3707717f8f36160994b11097924e9d2d1a60edff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Help/docs cleanups: marker, limit, ip-address metavars</title>
<updated>2017-04-04T03:56:19+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2017-04-03T21:15:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=1686dc54f09b6e77b1de3abc708c297710987a04'/>
<id>1686dc54f09b6e77b1de3abc708c297710987a04</id>
<content type='text'>
Cleanup help strings and docs for clarity and to keep things consistent:
* --limit metavar should be &lt;num-resource&gt; to indicate what is being counted
* --marker metavar should be &lt;resource&gt; or &lt;resource-id&gt; to indicate the
  type of value being specified
* &lt;*-ip-address&gt; metavars should be just &lt;ip-address&gt; as there is no difference
  in format between fixed and floating IPs
* Move all occurances of '(name or ID)' to end of help text

Change-Id: I2c31746ed6ded3845244e03e57d809f8bc0e6b9d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleanup help strings and docs for clarity and to keep things consistent:
* --limit metavar should be &lt;num-resource&gt; to indicate what is being counted
* --marker metavar should be &lt;resource&gt; or &lt;resource-id&gt; to indicate the
  type of value being specified
* &lt;*-ip-address&gt; metavars should be just &lt;ip-address&gt; as there is no difference
  in format between fixed and floating IPs
* Move all occurances of '(name or ID)' to end of help text

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