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
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
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
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
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
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
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
The servers which `nova list` showing are not only active servers.
This patch revises this description.
Change-Id: Ie962f79dd15c1bb0ef34f5c280f5b19b0e5705c2
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
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
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>
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>
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
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
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
The name and availability_zone positional arguments
were deprecated in Newton as part of change:
8030879330da432d4791f64fad4df24c7fc16f71
This change removes them.
Change-Id: I61031eb9eea37891f0be5d67942aaae0859065f0
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
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
These were deprecated in Newton:
aaebeb05a03e34281a091dc6dfc4672b01cdfbbb
Apparently we did not have any tests for this code.
Change-Id: I33c18433e57941b26a4abd290b3cd03994d26327