<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-novaclient.git/novaclient/shell.py, branch stein-eol</title>
<subtitle>opendev.org: openstack/python-novaclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/'/>
<entry>
<title>Update hacking version</title>
<updated>2019-01-04T06:46:07+00:00</updated>
<author>
<name>ZhijunWei</name>
<email>wzj334965317@outlook.com</email>
</author>
<published>2018-12-28T15:04:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=85e9b58e9b638bc49679d2c7460dd1db7f39f48a'/>
<id>85e9b58e9b638bc49679d2c7460dd1db7f39f48a</id>
<content type='text'>
1. update hacking version to latest
2. fix the pep8 failed

Change-Id: I484a40fe3cb868d223a807edcd3e20f5e0ebdf4e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. update hacking version to latest
2. fix the pep8 failed

Change-Id: I484a40fe3cb868d223a807edcd3e20f5e0ebdf4e
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename --endpoint-override to --os-endpoint-override</title>
<updated>2018-07-09T13:02:13+00:00</updated>
<author>
<name>Takashi NATSUME</name>
<email>natsume.takashi@lab.ntt.co.jp</email>
</author>
<published>2018-07-09T09:40:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=2e6ef0c45a6ada10440eb0ce87df74bf7070c1e4'/>
<id>2e6ef0c45a6ada10440eb0ce87df74bf7070c1e4</id>
<content type='text'>
The ``--endpoint-override`` command line argument has been deprecated.
It is renamed to ``--os-endpoint-override`` to avoid misinterpreting
command line arguments.
It defaults to the ``OS_ENDPOINT_OVERRIDE`` environment variable.

The deprecated ``--bypass-url`` command line argument has been removed.

Change-Id: Ic8a6559cd62d46b837fa9c04b482a46ceba829db
Closes-Bug: #1778536
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ``--endpoint-override`` command line argument has been deprecated.
It is renamed to ``--os-endpoint-override`` to avoid misinterpreting
command line arguments.
It defaults to the ``OS_ENDPOINT_OVERRIDE`` environment variable.

The deprecated ``--bypass-url`` command line argument has been removed.

Change-Id: Ic8a6559cd62d46b837fa9c04b482a46ceba829db
Closes-Bug: #1778536
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify novaclient to support basic attributes</title>
<updated>2018-06-15T06:21:31+00:00</updated>
<author>
<name>shilpa.devharakar</name>
<email>shilpa.devharakar@nttdata.com</email>
</author>
<published>2018-05-23T07:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=ab1f6bd763873863e0b4cd02699f6b46fdbfd85d'/>
<id>ab1f6bd763873863e0b4cd02699f6b46fdbfd85d</id>
<content type='text'>
Added support for parsing OS_PROJECT_DOMAIN_ID, OS_PROJECT_DOMAIN_NAME,
OS_USER_DOMAIN_ID, and OS_USER_DOMAIN_NAME options.

Change-Id: I9e1a3426f174c2e6d9f4f6bf10e9aecb62bad8d0
Closes-Bug: #1744118
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for parsing OS_PROJECT_DOMAIN_ID, OS_PROJECT_DOMAIN_NAME,
OS_USER_DOMAIN_ID, and OS_USER_DOMAIN_NAME options.

Change-Id: I9e1a3426f174c2e6d9f4f6bf10e9aecb62bad8d0
Closes-Bug: #1744118
</pre>
</div>
</content>
</entry>
<entry>
<title>[CLI] Fix token auth type</title>
<updated>2018-04-19T18:43:45+00:00</updated>
<author>
<name>Andrey Kurilin</name>
<email>andr.kurilin@gmail.com</email>
</author>
<published>2017-01-23T17:22:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=6049be67c0f66bd2d15c7b52f77dd89ac4ec2e94'/>
<id>6049be67c0f66bd2d15c7b52f77dd89ac4ec2e94</id>
<content type='text'>
There are 2 known issues which breaks token auth method in CLI:

* The wrong check of flag (the check should be for --os-token since
  arguments are not parsed at that moment) is performed in CLI inner method
  `_append_global_identity_args`. It led to usage of "password" auth
  type by default[1] even if `--os-token` cli argument is specified.
  If `--os-auth-type` is specified to token, keystoneauth1 library makes
  the right decision[2].

* Based on an auth type, keystoneauth library registers different CLI
  arguments[3]. It means that `--os-username` argument is available only
  in password auth type, `--os-token` is available only in token auth
  type, etc.
  It also affects the way in which the python code should access such
  arguments. The arguments which are unrelated to the selected auth type
  are omitted from the parsed arguments object.
  That sounds reasonable, but unfortunately the code assumes the
  unrelated arguments are always present which leads to an
  AttributeError.

Combination of these 2 issues made token auth type broken in CLI layer.

[1] https://github.com/openstack/python-novaclient/blob/ee2221f0526c4a6bed431229e363c740d07b8ee9/novaclient/shell.py#L255-L257
[2] https://github.com/openstack/keystoneauth/blob/14dd37b34c4821abf145ea24e593eddaa9f607c8/keystoneauth1/loading/cli.py#L51-L52
[3] https://github.com/openstack/keystoneauth/blob/14dd37b34c4821abf145ea24e593eddaa9f607c8/keystoneauth1/loading/cli.py#L65-L73

Closes-Bug: #1659015
Change-Id: Ibc861d396b71fe105288d8336623cc22cf92523e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are 2 known issues which breaks token auth method in CLI:

* The wrong check of flag (the check should be for --os-token since
  arguments are not parsed at that moment) is performed in CLI inner method
  `_append_global_identity_args`. It led to usage of "password" auth
  type by default[1] even if `--os-token` cli argument is specified.
  If `--os-auth-type` is specified to token, keystoneauth1 library makes
  the right decision[2].

* Based on an auth type, keystoneauth library registers different CLI
  arguments[3]. It means that `--os-username` argument is available only
  in password auth type, `--os-token` is available only in token auth
  type, etc.
  It also affects the way in which the python code should access such
  arguments. The arguments which are unrelated to the selected auth type
  are omitted from the parsed arguments object.
  That sounds reasonable, but unfortunately the code assumes the
  unrelated arguments are always present which leads to an
  AttributeError.

Combination of these 2 issues made token auth type broken in CLI layer.

[1] https://github.com/openstack/python-novaclient/blob/ee2221f0526c4a6bed431229e363c740d07b8ee9/novaclient/shell.py#L255-L257
[2] https://github.com/openstack/keystoneauth/blob/14dd37b34c4821abf145ea24e593eddaa9f607c8/keystoneauth1/loading/cli.py#L51-L52
[3] https://github.com/openstack/keystoneauth/blob/14dd37b34c4821abf145ea24e593eddaa9f607c8/keystoneauth1/loading/cli.py#L65-L73

Closes-Bug: #1659015
Change-Id: Ibc861d396b71fe105288d8336623cc22cf92523e
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove SecretsHelper</title>
<updated>2017-11-16T17:45:51+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem.os@gmail.com</email>
</author>
<published>2017-11-16T17:45:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=8bfcd2b0e6ff90c7a0e80af4ee14e60a71401cc3'/>
<id>8bfcd2b0e6ff90c7a0e80af4ee14e60a71401cc3</id>
<content type='text'>
This code hasn't worked for over two years when
9ed9ab68f7d2fb98c505afc3a1079a72f15c959c was added
which does API version discovery, which requires auth,
which happens before the SecretsHelper is used. That was
back in the 2.27.0 release in the Liberty series.

Given how long this has been broken without anyone noticing,
and it's undocumented and untested (basically), and
python-openstackclient properly handles prompting for a password,
we should just remove this code rather than try to fix it.

Change-Id: I62188e73a48f6878ce920a3b4724dba101564aef
Closes-Bug: #1732744
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This code hasn't worked for over two years when
9ed9ab68f7d2fb98c505afc3a1079a72f15c959c was added
which does API version discovery, which requires auth,
which happens before the SecretsHelper is used. That was
back in the 2.27.0 release in the Liberty series.

Given how long this has been broken without anyone noticing,
and it's undocumented and untested (basically), and
python-openstackclient properly handles prompting for a password,
we should just remove this code rather than try to fix it.

Change-Id: I62188e73a48f6878ce920a3b4724dba101564aef
Closes-Bug: #1732744
</pre>
</div>
</content>
</entry>
<entry>
<title>Make --profile load from environment variables</title>
<updated>2017-06-19T06:37:51+00:00</updated>
<author>
<name>Tovin Seven</name>
<email>vinhnt@vn.fujitsu.com</email>
</author>
<published>2017-06-19T03:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=c23324ef4806706bef257e711ac6ffaa8a833ea4'/>
<id>c23324ef4806706bef257e711ac6ffaa8a833ea4</id>
<content type='text'>
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.

Co-Authored-By: Hieu LE &lt;hieulq@vn.fujitsu.com&gt;
Change-Id: I52415354f0c7a7483eddaa48f2acafcdecbb26fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.

Co-Authored-By: Hieu LE &lt;hieulq@vn.fujitsu.com&gt;
Change-Id: I52415354f0c7a7483eddaa48f2acafcdecbb26fd
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove various deprecated options</title>
<updated>2017-05-18T13:35:57+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>sfinucan@redhat.com</email>
</author>
<published>2017-05-17T10:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=3a762401245de8c2941ea41d6168c17ddd30aacd'/>
<id>3a762401245de8c2941ea41d6168c17ddd30aacd</id>
<content type='text'>
These are all deprecated with at least one release and can be removed
now.

Change-Id: I5d11eda2a6b35de98f0484492f597a87df882013
Related-Bug: 1570593
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are all deprecated with at least one release and can be removed
now.

Change-Id: I5d11eda2a6b35de98f0484492f597a87df882013
Related-Bug: 1570593
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix devstack python-novaclient warning</title>
<updated>2017-02-23T19:42:55+00:00</updated>
<author>
<name>Diana Clarke</name>
<email>diana.joan.clarke@gmail.com</email>
</author>
<published>2017-02-22T15:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=1a9bfc424a59b4f2675d607881a5f0b2605a3f06'/>
<id>1a9bfc424a59b4f2675d607881a5f0b2605a3f06</id>
<content type='text'>
The following warning is emitted for every nova command using devstack,
stable/ocata.

    site-packages/novaclient/client.py:278:
        UserWarning: The 'tenant_id' argument is deprecated in Ocata and
        its use may result in errors in future releases. As 'project_id'
        is provided, the 'tenant_id' argument will be ignored.

See the following commit for related changes:

    Clarify meaning of project_id var
    9bbe5a87b7df62a7962debba5db7c96555da6761

Change-Id: Ifa5ed16f10a43c9961e98b03fc0535e12d7977ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following warning is emitted for every nova command using devstack,
stable/ocata.

    site-packages/novaclient/client.py:278:
        UserWarning: The 'tenant_id' argument is deprecated in Ocata and
        its use may result in errors in future releases. As 'project_id'
        is provided, the 'tenant_id' argument will be ignored.

See the following commit for related changes:

    Clarify meaning of project_id var
    9bbe5a87b7df62a7962debba5db7c96555da6761

Change-Id: Ifa5ed16f10a43c9961e98b03fc0535e12d7977ba
</pre>
</div>
</content>
</entry>
<entry>
<title>Add profiling support to novaclient</title>
<updated>2017-01-19T03:50:06+00:00</updated>
<author>
<name>Boris Pavlovic</name>
<email>boris@pavlovic.me</email>
</author>
<published>2015-12-08T11:17:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=0fed79fd8fc84b6a1564fbb70655cdebc543381d'/>
<id>0fed79fd8fc84b6a1564fbb70655cdebc543381d</id>
<content type='text'>
To be able to create profiling traces for Nova, client should be
able to send special HTTP header that contains trace info.
This patch is also important to be able to make cross project
traces. (Typical case heat calls nova via python client, if
profiler is initialized in heat, nova client will add extra
header, that will be parsed by special osprofiler middleware in nova
api.)

Security considerations: trace information is signed by one of the
HMAC keys that are set in nova.conf. So only person who knows HMAC key
is able to send proper header.

oslo-spec: https://review.openstack.org/#/c/103825/
Based on: https://review.openstack.org/#/c/105089/

Co-Authored-By: Dina Belova &lt;dbelova@mirantis.com&gt;
Co-Authored-By: Roman Podoliaka &lt;rpodolyaka@mirantis.com&gt;
Co-Authored-By: Tovin Seven &lt;vinhnt@vn.fujitsu.com&gt;

Partially implements: blueprint osprofiler-support-in-nova

Depends-On: I82d2badc8c1fcec27c3fce7c3c20e0f3b76414f1
Change-Id: I56ce4b547230e475854994c9d2249ef90e5b656c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To be able to create profiling traces for Nova, client should be
able to send special HTTP header that contains trace info.
This patch is also important to be able to make cross project
traces. (Typical case heat calls nova via python client, if
profiler is initialized in heat, nova client will add extra
header, that will be parsed by special osprofiler middleware in nova
api.)

Security considerations: trace information is signed by one of the
HMAC keys that are set in nova.conf. So only person who knows HMAC key
is able to send proper header.

oslo-spec: https://review.openstack.org/#/c/103825/
Based on: https://review.openstack.org/#/c/105089/

Co-Authored-By: Dina Belova &lt;dbelova@mirantis.com&gt;
Co-Authored-By: Roman Podoliaka &lt;rpodolyaka@mirantis.com&gt;
Co-Authored-By: Tovin Seven &lt;vinhnt@vn.fujitsu.com&gt;

Partially implements: blueprint osprofiler-support-in-nova

Depends-On: I82d2badc8c1fcec27c3fce7c3c20e0f3b76414f1
Change-Id: I56ce4b547230e475854994c9d2249ef90e5b656c
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate volume_service_name argument</title>
<updated>2016-12-17T17:51:57+00:00</updated>
<author>
<name>Andrey Kurilin</name>
<email>akurilin@mirantis.com</email>
</author>
<published>2016-12-08T17:44:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-novaclient.git/commit/?id=0bdd24518e95279b77514a1e16443f9941a8bb38'/>
<id>0bdd24518e95279b77514a1e16443f9941a8bb38</id>
<content type='text'>
We forgot about it while removing all methods related to Volume API.

Change-Id: I465b91a17e2633ae876c0011bc8af6ec475c8d48
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We forgot about it while removing all methods related to Volume API.

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