2916 Commits

Author SHA1 Message Date
jichenjc
ea3b9f7fef 2.43: Deprecate novaclient /os-hosts usage
os-hosts is deprecated in the compute REST API with
microversion 2.43 via change:

Ieb85653b85a1eff38a9fb0c9ff05e4cd39150ecc

So nova shell and API bindings should be deprecated as well.

Implements blueprint deprecate-os-hosts

Change-Id: I79091edf5a2569e49e79deba312456fdcdee09e1
2017-04-25 17:37:47 -04:00
Monty Taylor
ff1eff18d9
Remove direct dependency on requests
keystoneauth is the library that pulls in requests. If we have client
libraries also depend directly on requests, we can get into situations
for end users in installations where, because of sequencing of client
library releases there are conflicting versions of requests needed and
pkg_resources/entrypoints break.

Remove the direct depend and let keystoneauth pull it in for us.

Change-Id: I76fe89f9c166e61971b5c116c7f01fbd5ccb5cf7
2017-04-21 10:01:30 -05:00
Jenkins
2ed7d2b5d0 Merge "Microversion 2.42 - Fix tag attribute disappearing" 2017-04-20 17:38:02 +00:00
Takashi NATSUME
4b8863341a Microversion 2.42 - Fix tag attribute disappearing
The 2.32 microversion added the support for creating a
server with a tagged block device mapping and/or tagged
nic.

Due to a bug, block device tags would only work in the
2.32 microversion but nic tags would still work up until
the 2.37 microversion, which regressed that functionality
as well.

Both block device and nic tags were fixed again in the 2.42
microversion.

This change updates the help text for the 'nova boot' CLI
and client-side validation in the shell for the various
microversion ranges of support for both block device and
nic tags.

Co-Authored-By: Andrey Kurilin <akurilin@mirantis.com>
Change-Id: I7492b20b5d2daa0f8391abed07ef861043c3e51e
Implements: blueprint fix-tag-attribute-disappearing
Closes-Bug: #1658571
2017-04-20 15:05:16 +00:00
Stephen Finucane
ac25ae6fee doc: Remove cruft from conf.py
Change-Id: Ieec1309762b2c120e944ef7afaa2e4ebf6098a65
2017-04-19 09:53:47 +01:00
Stephen Finucane
3512fca87b Explicitly set 'builders' option
An upcoming release of pbr will require explicitly stating which
builders are requested, rather than defaulting to html and man. Head off
any potential impact this may cause by explicitly setting this
configuration now.

Change-Id: Idfa27bb6b235f8cc4de6d62baf9e9e9a55bae95b
2017-04-19 09:53:03 +01:00
Jenkins
080a8e4d48 Merge "Add novaclient client_name and client_version to user-agent" 2017-04-18 15:17:35 +00:00
Jenkins
90a14a6805 Merge "Explicitly specify arguments of server_groups creation" 2017-04-18 14:52:44 +00:00
Monty Taylor
92665dbcd8
Add novaclient client_name and client_version to user-agent
keystoneauth supports setting additional info into the user-agent string
about what the client is. Set it so that novaclient shows up in server
logs as the client.

Change-Id: I084a16f5372ec7df598505e9f925a70d26d66f69
2017-04-18 08:03:23 -05:00
OpenStack Proposal Bot
6182a01998 Updated from global requirements
Change-Id: Ibb1c0330f5e40624f2a8cf046856b483267c1b65
2017-04-12 04:21:44 +00:00
Jenkins
d848f95c31 Merge "Remove version 1.1 support" 2017-04-10 18:13:03 +00:00
Jenkins
6448215bba Merge "Fix cinder volume leakage" 2017-04-10 17:40:50 +00:00
Jenkins
9250ab0281 Merge "Deprecate certs commands and APIs" 2017-04-10 17:12:45 +00:00
Jenkins
d8b996a9dc Merge "Revise nova list description" 2017-04-10 15:54:35 +00:00
Takashi NATSUME
4d956d06f8 Fix cinder volume leakage
A cinder volume remains after
the 'test_boot_server_with_legacy_bdm_volume_id_only'
functional test.
It is resource leakage. So fix it.

Change-Id: I3cacbac6468b5fad1c9666892fc57906af24b169
Partial-Bug: #1613105
2017-04-10 16:29:40 +09:00
OpenStack Proposal Bot
878c77aae2 Updated from global requirements
Change-Id: I3d11f4e0fa42fb900f0f7066696de3e0461bea6a
2017-04-07 06:16:19 +00:00
Matt Riedemann
b6aea66963 Deprecate certs commands and APIs
The nova-cert service was deprecated in Newton:

789edad0e811d866551bec18dc7729541105f59d

We're going to remove the nova-cert service and
os-certificates API from the server in Pike, so
we need to also get started on the deprecation
in the client.

Part of blueprint remove-nova-cert

Change-Id: If3e1e40947a8ad3f665f6a96d46de8cef6a2a190
2017-04-06 16:07:20 -04:00
jonnary
9486890425 Revise nova list description
The servers which `nova list` showing are not only active servers.
This patch revises this description.

Change-Id: Ie962f79dd15c1bb0ef34f5c280f5b19b0e5705c2
2017-04-06 19:18:57 +08:00
Matt Riedemann
9ca9ae6c10 Update reno for removed network CLIs
We still support the add/remove fixed IP commands for
nova-network (the multinic API which isn't deprecated yet),
so this updates the release notes to clarify that.

Change-Id: Ib3468b93e2b396fa1372d3df4be4454f8bc64314
2017-04-05 13:31:32 -04:00
Jenkins
e1b9e76abe Merge "Remove deprecated network APIs" 2017-04-05 16:29:14 +00:00
Matt Riedemann
3a03a0e10d Remove deprecated network APIs
These were deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

The 'find network' convenience helper when
booting a server only works with neutron now,
and assumes the 'network' endpoint is in the
service catalog.

The functional tests are changed to use
python-neutronclient for listing and finding
the network to use. At this point, we don't
have any nova-network CI jobs that will work
with novaclient, so the non-voting mitaka
nova-network job is also being removed in change
I63b36fb8acc5c9a273e6adcb271df16d0f71031e.

As noted in the release note, the only remaining
pure nova-network CLI/API that will work is for
listing virtual interfaces, which is only implemented
for nova-network within Nova. The functional tests
for this API are removed since we don't have any
nova-network CI jobs that will test it besides
unit tests. Long-term we'll likely deprecate the
os-virtual-interfaces API as well and replace it with
the os-interface API.

Change-Id: I8c520100a0016eed3959619c71dae037ebd72939
2017-04-03 13:17:25 -04:00
Simon Leinen
0010ab79b4 Update Compute API Guide pointer
Since the description of the individual API calls have been moved to
the API Reference, the API Guide is more or less what the "overview"
in the original guide was.  Therefore I just pointed to the guide, and
removed the phrase "-- the overview, at least --".

Change-Id: I8b1cb6a7ea4469a91f0dfe69d26f4ffec178ed43
Closes-Bug: 1678591
Signed-off-by: Simon Leinen <simon.leinen@gmail.com>
2017-04-02 13:03:27 +02:00
Arvinder Singh
b98a033d16 Fix 'nova list --fields' error in no instances case
Code changes done so that nova list command with filters run without
error when no instances are present. It shows a blank table instead of
error message.

Closes-Bug: #1624978
Change-Id: Iff879a520c607b8205a3ce5db8fc92287253dbe0
Co-Authored-By: Diana Clarke <diana.joan.clarke@gmail.com>
2017-03-28 09:58:15 -04:00
Andrey Kurilin
773aea23b8 Explicitly specify arguments of server_groups creation
Create API call expectes two parameters - name and policies[*]. It is not a
complex structure, so there is no reason to support kwargs. It is better to
specify explicitly all expected parameters.

PS: removing support of kwargs is "backward compatible", since we have
validation at API side and usage of additional parameters was an error
previously.

[*] - https://developer.openstack.org/api-ref/compute/?expanded=create-server-group-detail

Change-Id: I8b40b0db450287bbc5ee8d69834aa764353dbd98
2017-03-28 15:53:44 +03:00
Jenkins
85106a6f70 Merge "Remove py34 tox env and pypi classifier" 2017-03-27 12:44:13 +00:00
jichenjc
4c18c8bd97 Remove version 1.1 support
v2 and v2.1 is supported now and it ask user to use v2.x API
should be what we wanted , this already deprecated for a
couple of release, so we can remove it now

Change-Id: I8de6fdbf21ccc4969297044a49590ffcd9cd27d8
2017-03-26 17:58:58 +08:00
libing
736ed310ac Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I4c8c83315897c7e64b05402c233b0fa67eb03a6e
2017-03-25 14:03:26 +08:00
OpenStack Proposal Bot
5e9e42e47c Updated from global requirements
Change-Id: I0f4997ce3e4eda167dbeced74525869cc280bb50
2017-03-24 16:36:14 +00:00
OpenStack Proposal Bot
53381a9f50 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I8937bb1435d04e67de49eba6af5d6b3a53e5e179
2017-03-24 10:14:28 +00:00
Jenkins
c3b0572c5a Merge "Remove deprecated floating_ips APIs" 2017-03-24 04:48:26 +00:00
Jenkins
1feda02155 Merge "Remove deprecated fixed_ips APIs" 2017-03-24 04:47:30 +00:00
Jenkins
adf885ccbb Merge "Remove deprecated security_groups APIs" 2017-03-24 04:47:23 +00:00
Jenkins
a86c95c1a7 Merge "Remove deprecated security_group_rules APIs" 2017-03-24 04:46:51 +00:00
Jenkins
c2545d4df4 Merge "Remove deprecated security_group_default_rules APIs" 2017-03-24 04:46:45 +00:00
Jenkins
8551ee3b36 Merge "Remove the deprecated fping API" 2017-03-24 04:46:39 +00:00
Jenkins
06abf1fd21 Merge "Remove deprecated floating_ip_pools API" 2017-03-24 04:46:33 +00:00
Jenkins
e5e010e6d1 Merge "Remove deprecated floating_ips_bulk API" 2017-03-24 04:46:28 +00:00
Jenkins
5b68d5ca73 Merge "Remove deprecated floating IP DNS domain/entry APIs" 2017-03-24 04:46:22 +00:00
Jenkins
61916ecd71 Merge "Remove deprecated tenant network APIs" 2017-03-24 04:46:16 +00:00
Jenkins
8d9c092efd Merge "Remove deprecated baremetal CLIs and APIs" 2017-03-24 02:13:44 +00:00
Sean Dague
79fd13f000 Set test timout to 300 seconds
This prevents tests from hanging indefinitely, which we
are seeing in the trigger crash dump tests, which are
also skipped in this patch.

Partial-Bug: #1675526

Change-Id: If4858040187834ccdebb3f83bfbfa14d5d3251fc
2017-03-23 14:55:17 -04:00
Matt Riedemann
db55f563ad Drop deprecated aggregate-update positional args
The name and availability_zone positional arguments
were deprecated in Newton as part of change:

8030879330da432d4791f64fad4df24c7fc16f71

This change removes them.

Change-Id: I61031eb9eea37891f0be5d67942aaae0859065f0
2017-03-20 21:51:21 -04:00
Matt Riedemann
0f46143f3b Remove deprecated floating_ips APIs
These were deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

The floating IP fixtures and GET API methods in the
manager are still used for testing the addFloatingIP
and removeFloatingIP server operations, so the manager
is moved to the test_servers module.

Change-Id: I2138e43160772c7c896bc5e93195a8169ebfe6c3
2017-03-20 19:26:58 -04:00
Matt Riedemann
4dbb20e5ac Remove deprecated fixed_ips APIs
These were deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

Change-Id: Iee5bc26384d2079d6a5a8eded1ce5a003439fc95
2017-03-20 19:26:58 -04:00
Matt Riedemann
a298b29cc7 Remove deprecated security_groups APIs
These were deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

The SecurityGroup resource object is left
since the list-secgroup command and
list_security_group servers API code
still uses that object. The
/servers/{server_id}/os-security-groups API
is a proxy to Neutron but was not deprecated
in microversion 2.36 so it's not yet deprecated
here in the client.

Change-Id: I6fa14f43d48f1e035ef54bd2d0078506f0c6d6e0
2017-03-20 19:26:43 -04:00
Matt Riedemann
0896bdc52a Remove deprecated security_group_rules APIs
These were deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

Change-Id: I2ff1e97c022bc57d468947e90d536a37c65b8a7a
2017-03-20 17:43:49 -04:00
Matt Riedemann
a52c86c203 Remove deprecated security_group_default_rules APIs
These were deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

Apparently we did not have any tests for this code.

Change-Id: I33c18433e57941b26a4abd290b3cd03994d26327
2017-03-20 17:38:00 -04:00
Matt Riedemann
8030b2604d Remove the deprecated fping API
This was deprecated in Newton:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

Change-Id: I8deb3b479ec9fd06ab7f527725f489e63fe970c6
2017-03-20 17:34:03 -04:00
Matt Riedemann
31a12984b3 Remove deprecated floating_ip_pools API
These were deprecated in Newton in change:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

Change-Id: I9ec33231bbf060e7daae8f3567a38c71e52f5c42
2017-03-20 17:28:28 -04:00
Matt Riedemann
ab3315b46f Remove deprecated floating_ips_bulk API
These were deprecated in Newton in change:

aaebeb05a03e34281a091dc6dfc4672b01cdfbbb

Change-Id: Idee91ca8fc4715cd952f97dafcdd5519c9bec919
2017-03-20 17:16:54 -04:00