<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/tests/unit/test_shell.py, branch 2.3.0</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>image-download: tests to catch stray output</title>
<updated>2016-06-29T16:08:30+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2015-08-31T10:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=7ed22a91d3a587c8e0af2072a421812d176753f4'/>
<id>7ed22a91d3a587c8e0af2072a421812d176753f4</id>
<content type='text'>
Add unit tests to ensure that any stray output (eg print
statements) during image-download cause a test failure.

Regression test for bug 1488914.

Change-Id: Ic19ba5693d059bf7c283702e7c333672a878a1a1
Partial-bug: 1488914
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add unit tests to ensure that any stray output (eg print
statements) during image-download cause a test failure.

Regression test for bug 1488914.

Change-Id: Ic19ba5693d059bf7c283702e7c333672a878a1a1
Partial-bug: 1488914
</pre>
</div>
</content>
</entry>
<entry>
<title>Use correct order of arguments to assertEqual</title>
<updated>2016-06-29T03:46:30+00:00</updated>
<author>
<name>zhengyao1</name>
<email>zheng.yao1@zte.com.cn</email>
</author>
<published>2016-06-15T08:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=c3de38ed530b8db77185e819af65574e35ebe134'/>
<id>c3de38ed530b8db77185e819af65574e35ebe134</id>
<content type='text'>
The correct order of arguments to assertEqual that is expected by
testtools is (expected, observed).

This patch fixes the inverted usage of arguments in some places
that have cropped up since the last fix of this bug.

Change-Id: If8c0dcb58496bc2fcf4c635f384522a1f7d2b2af
Closes-Bug: #1259292
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The correct order of arguments to assertEqual that is expected by
testtools is (expected, observed).

This patch fixes the inverted usage of arguments in some places
that have cropped up since the last fix of this bug.

Change-Id: If8c0dcb58496bc2fcf4c635f384522a1f7d2b2af
Closes-Bug: #1259292
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated construct method from session init</title>
<updated>2016-06-09T19:31:02+00:00</updated>
<author>
<name>kairat_kushaev</name>
<email>kkushaev@mirantis.com</email>
</author>
<published>2016-02-01T11:58:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=2ab2678140165e82d744f36c999b39ea4e416887'/>
<id>2ab2678140165e82d744f36c999b39ea4e416887</id>
<content type='text'>
construct method is marked as deprecated and might be deleted
in one of future releases. So glanceclient need to be aware of
that and initialize sesssion from command line arguments directly.

Change-Id: Ie81b62b7e70bb177f178caadc41554ae88e51b05
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
construct method is marked as deprecated and might be deleted
in one of future releases. So glanceclient need to be aware of
that and initialize sesssion from command line arguments directly.

Change-Id: Ie81b62b7e70bb177f178caadc41554ae88e51b05
</pre>
</div>
</content>
</entry>
<entry>
<title>Get endpoint if os_image_url is not set</title>
<updated>2016-05-12T12:47:35+00:00</updated>
<author>
<name>Niall Bunting</name>
<email>niall.bunting@hpe.com</email>
</author>
<published>2016-05-09T16:23:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=a862196cfb7f7323b1864b4c1660c39850487a64'/>
<id>a862196cfb7f7323b1864b4c1660c39850487a64</id>
<content type='text'>
If env['OS_IMAGE_URL'] is not set then None is returned. This is then
used ignoring the endpoint_type, service_type and region_name. This
patch will use those values if the endpoint is None.

Change-Id: I76cc527b05d2be75d3dbc33123a0d71be97fe25c
Closes-bug: #1579768
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If env['OS_IMAGE_URL'] is not set then None is returned. This is then
used ignoring the endpoint_type, service_type and region_name. This
patch will use those values if the endpoint is None.

Change-Id: I76cc527b05d2be75d3dbc33123a0d71be97fe25c
Closes-bug: #1579768
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Re-enable stacktracing when --debug is used"</title>
<updated>2016-04-18T17:04:57+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-04-18T17:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=12e92558e50d0aa200d2ca0f98a7110e0adce922'/>
<id>12e92558e50d0aa200d2ca0f98a7110e0adce922</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-enable stacktracing when --debug is used</title>
<updated>2016-04-07T15:42:51+00:00</updated>
<author>
<name>Stuart McLaren</name>
<email>stuart.mclaren@hp.com</email>
</author>
<published>2016-03-30T11:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=d0ec3a7ebb6add2e96c4a06231939baf56e2139a'/>
<id>d0ec3a7ebb6add2e96c4a06231939baf56e2139a</id>
<content type='text'>
Commit 1f89beb6098f4f6a8d8c2912392b273bc068b2e3 introduced the behaviour
that a stacktrace is printed if an exception is encountered.

This helped make the client more supportable:

 $ glance --debug image-list
  .
  .
  .
  File "glanceclient/common/http.py", line 337, in get_http_client
    xxx
 NameError: global name 'xxx' is not defined
 global name 'xxx' is not defined

The behaviour was lost at some point. This patch re-enables it.

Change-Id: I25fc8624797909d606590747f54b9cf649ade079
Closes-bug: 1563830
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 1f89beb6098f4f6a8d8c2912392b273bc068b2e3 introduced the behaviour
that a stacktrace is printed if an exception is encountered.

This helped make the client more supportable:

 $ glance --debug image-list
  .
  .
  .
  File "glanceclient/common/http.py", line 337, in get_http_client
    xxx
 NameError: global name 'xxx' is not defined
 global name 'xxx' is not defined

The behaviour was lost at some point. This patch re-enables it.

Change-Id: I25fc8624797909d606590747f54b9cf649ade079
Closes-bug: 1563830
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix v2 so that you can see the default help info"</title>
<updated>2016-04-04T22:25:43+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-04-04T22:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=8eaefe90a94459b5d8a46af365087e542c4812c4'/>
<id>8eaefe90a94459b5d8a46af365087e542c4812c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix v2 so that you can see the default help info</title>
<updated>2016-03-30T12:37:28+00:00</updated>
<author>
<name>zwei</name>
<email>leidong@unitedstack.com</email>
</author>
<published>2016-03-17T10:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=444ffbeaa9c110b2bd79b93800bd9a24b38bb725'/>
<id>444ffbeaa9c110b2bd79b93800bd9a24b38bb725</id>
<content type='text'>
you can see the default help informatiion is v2
subcommand information if input glance command

Co-Authored-By: Stuart McLaren &lt;stuart.mclaren@hp.com&gt;

Closes-bug: #1563649
Change-Id: I7d227f3e68aa555b2e25848618f76df4872af35d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
you can see the default help informatiion is v2
subcommand information if input glance command

Co-Authored-By: Stuart McLaren &lt;stuart.mclaren@hp.com&gt;

Closes-bug: #1563649
Change-Id: I7d227f3e68aa555b2e25848618f76df4872af35d
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing of debug info after we use session</title>
<updated>2016-03-28T04:34:57+00:00</updated>
<author>
<name>Cao ShuFeng</name>
<email>caosf.fnst@cn.fujitsu.com</email>
</author>
<published>2016-03-17T11:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=87c8c933bd9b79a2cf06f9f0bc02160b21e8920d'/>
<id>87c8c933bd9b79a2cf06f9f0bc02160b21e8920d</id>
<content type='text'>
After the introduce of this patch set[1], cli user can't get debug
info even --debug is passed. With the patch set[1], the request
action will be performed in keystoneclient.session.Session.
However the default log level of keystoneclient module is WARNING,
so user can't get debug info from keystoneclient.session.Session.

This change set the root log level to DEBUG when --debug is
passed.

[1]: https://review.openstack.org/#/c/262220/

Change-Id: I0db0fd7ab07a0d61082b86829a671d8dbc0f2963
Closes-bug: 1551076
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the introduce of this patch set[1], cli user can't get debug
info even --debug is passed. With the patch set[1], the request
action will be performed in keystoneclient.session.Session.
However the default log level of keystoneclient module is WARNING,
so user can't get debug info from keystoneclient.session.Session.

This change set the root log level to DEBUG when --debug is
passed.

[1]: https://review.openstack.org/#/c/262220/

Change-Id: I0db0fd7ab07a0d61082b86829a671d8dbc0f2963
Closes-bug: 1551076
</pre>
</div>
</content>
</entry>
<entry>
<title>Ship the default metadata schema in the client</title>
<updated>2016-03-24T09:04:20+00:00</updated>
<author>
<name>wangxiyuan</name>
<email>wangxiyuan@huawei.com</email>
</author>
<published>2016-01-19T08:31:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=d3de9ed16a16403598d1962b37bb79577be23270'/>
<id>d3de9ed16a16403598d1962b37bb79577be23270</id>
<content type='text'>
Now the help message of namespace and resource_type are wrong,
we could see a &lt;unavailable&gt; error when try to get the help
information, such as "glance help md-namespace-create".

See the patch[1] to get more information. the patch[1] added
image schema, but the metadata schema are needed as well.

This patch adds the current metadata schema into client, so that
help text can't be rendered when there schema is not available in
the system.

[1]: https://review.openstack.org/#/c/209536/3

Change-Id: I2ab94d8768114a7e5c475310ba094af653627658
Closes-Bug: #1536430
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now the help message of namespace and resource_type are wrong,
we could see a &lt;unavailable&gt; error when try to get the help
information, such as "glance help md-namespace-create".

See the patch[1] to get more information. the patch[1] added
image schema, but the metadata schema are needed as well.

This patch adds the current metadata schema into client, so that
help text can't be rendered when there schema is not available in
the system.

[1]: https://review.openstack.org/#/c/209536/3

Change-Id: I2ab94d8768114a7e5c475310ba094af653627658
Closes-Bug: #1536430
</pre>
</div>
</content>
</entry>
</feed>
