For Compute microversion 2.50:
1. fixed_ips, floating_ips, security_group_rules and security_groups
are removed from:
* GET /os-quota-class-sets/{id}
* PUT /os-quota-class-sets/{id}
2. server_groups and server_group_members are added to:
* GET /os-quota-class-sets/{id}
* PUT /os-quota-class-sets/{id}
For Compute microversion 2.57:
1. injected_file_content_bytes, injected_file_path_bytes, injected_files
are removed from:
* GET /os-quota-class-sets/{id}
* PUT /os-quota-class-sets/{id}
Partially Implements: blueprint fix-microversion-gap
Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I2a9dcb20251d9682fbcafd706ac60325a60e35ef
For Compute microversion 2.64:
1. change policies to policy in:
* GET /os-server-groups
* POST /os-server-groups
* GET /os-server-groups/{server_group_id}
2. add rules in:
* GET /os-server-groups
* POST /os-server-groups
* GET /os-server-groups/{server_group_id}
3. remove metadata from:
* GET /os-server-groups
* POST /os-server-groups
* GET /os-server-groups/{server_group_id}
The testcases of create_server_group should also be modified.
Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I8fc37415c968eb64380b8bd66b713aa6b733578f
1. For microversion 2.33
hypervisor_links is added to the response body for the following APIs:
- GET /os-hypervisors
- GET /os-hypervisors/detail
2. For microversion 2.53
servers is added to the response body for the following APIs:
- GET /os-hypervisor
- GET /os-hypervisors
- GET /os-hypervisors/detail
This is to fix the hypervisor schema for microversion 2.33 and 2.53.
Partially Implements: blueprint fix-microversion-gap
Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: Ifeb26a50b604d257e9ab00cceed7cd2f34621419
This adds delete_on_termination field for the compute API response schema
for the 2.79 microversion in the following APIs:
- GET /servers/{server_id}/os-volume_attachments (list)
- GET /servers/{server_id}/os-volume_attachments/{volume_id} (show)
- POST /servers/{server_id}/os-volume_attachments (attach)
Change-Id: I7a9b22477b800c6d60acb67c27aff5dcb61d7875
compute microversion 2.3 schema is already covered in
I2f36a51fa47b28df1afada5396dec3ce7dc43d78
This commit update the doc for the same.
Change-Id: I58160cc2bd42cabce1abc482dd769e2323c90026
Microversion 2.59 [1] compute API added a "uuid" parameter to the body of
the following migration responses:
- GET /os-migrations
- GET /servers/{server_id}/migrations/{migration_id}
- GET /servers/{server_id}/migrations
This commit adds the uuid to the response validation schema for
list_migrations.
[1] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id55
Change-Id: Ic748f70d90446c79324df30147e4a270b72d710e
Microversion v2.73 was introduced in Nova by I46edd595e7417c58410648
changing the request responses of ``GET servers/{server_id}``, ``GET
/servers/detail``, ``POST /servers/{server_id}/action`` where the
action is rebuild and ``PUT servers/{server_id}``.
Change-Id: I8c800f6e280ec6fdf204d344124d994a25d0af19
The 2.71 compute API includes the "server_groups" parameter
in the response to the following APIs:
- GET /servers/{server_id} (show)
- PUT /servers/{server_id} (update)
- POST /servers/{server_id}/action (rebuild)
This will be used in an upcoming change to test attaching
and detaching the root volume of a shelved offloaded instance.
Change-Id: I612a15c475404ded0af15b6241b9ac8ec9fb8e26
This adds the compute API response schema validation for the
2.70 microversion and the following APIs:
- GET /servers/{server_id}/os-volume_attachments (list)
- GET /servers/{server_id}/os-volume_attachments/{volume_id} (show)
- POST /servers/{server_id}/os-volume_attachments (attach)
This will be used in an upcoming change for testing root volume
attach/detach of a shelved offloaded server.
Since the response schema for these have not changed since 2.1 we
have to backfill all of the other servers API response schema
files going back to 2.1.
Change-Id: I2f36a51fa47b28df1afada5396dec3ce7dc43d78
This commit adds servers schema for microversion 2.8 [0]:
Add ‘mks’ protocol and ‘webmks’ type for remote consoles.
The appropriate api_schema files are updated with the
2.8 microversion changes.
Note that no test is added to cover this new microversion
since it isn't possible to test mks protocol in Tempest
gates so as per REVIEWING documentation [1] we shouldn't
add such a test. So, we could only cover the vnc protocol
for 2.8 but this would also not be of much value since
the vnc value (instead of mks) would be returned by the
server.
[0] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id7
[1] https://docs.openstack.org/tempest/latest/REVIEWING.html#ensuring-code-is-executed
partially-implements: blueprint full-schema-for-all-microversions
Change-Id: I5a6d2852db8e2a67013eee71a094e9b521a92524
The ‘uuid’ attribute of an aggregate is returned from calls
to the /os-aggregates endpoint from microversion 2.41, so
this is to add 'uuid' in schema of aggregate.
https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id37
Change-Id: I90e53056ceae5ad6b6ea2995f3f8c6eceea4739a
partially-implements: blueprint full-schema-for-all-microversions
1. Some limits fields are removed from Microversion 2.35/2.38/2.56,
so we should check limits fields according to microversion.
2. In test_max_metadata_exceed_limit, maxImageMeta is deprecated from
Microversion 2.38, so maxServerMeta is used instead, btw, maxServerMeta
seems to be more suitable for this testcase.
Besides, test_max_metadata_exceed_limit is not used in interop, so we
can safely change its name.
ref: https://developer.openstack.org/api-ref/compute/#show-rate-and-absolute-limits
Implements blueprint: clear-deprecated-api
Change-Id: I53e2ee82c9c52afb0a56526c655eb9b3b6b8f483
This patchset adds update_service to compute module's services_client
library. This API is introduced in microversion 2.53 and supersedes
the following APIs:
* ``PUT /os-services/disable`` (``disable_service``)
* ``PUT /os-services/disable-log-reason`` (``disable_log_reason``)
* ``PUT /os-services/enable`` (``enable_service``)
* ``PUT /os-services/force-down`` (``update_forced_down``)
Negative tests were added for all the APIs above. The negative
tests only test the microversion >= 2.53 case: the new
udpate_service API is called (also with bad parameters).
The v2_11 schema was updated to reference all the unchanged
APIs from v2_1 for the compute services api_schema. Also,
the v2_53 schema was introduced for the new update_service
API and it also references all the unchanged APIs from v2_1.
Finally, unit tests and releasenotes are included.
Change-Id: I5e7b81496cbb87cda81413124b5f82bd5356e666
Compute microversion 2.61 adds 'extra_specs' in flavor APIs response
This commit fill the schema gap for that.
Change-Id: Id1f1e51fbae1cc3d0c9efdcd9009f384745915d6
This patchset fixes some incorrect compute microversion references.
2.54: should have id 49 (was 4)
2.55: should have id 50 (was 49)
2.57: should have id 52 (was 51)
Change-Id: I81d90637fe16e1d5de1e26f50a86f9ff83d355ca
This microversion adds the trusted_image_certificates parameter to the
server rebuild, server create, server update, and servers details
responses.
Change-Id: I48f62d36a871a95601ebf277a2f39a41a873daa8
Implements blueprint: nova-validate-certificates
Compute microversion 2.57 adds 'user_data' in rebuild servers
APIs response.
This commit fill the schema gap for that.
Change-Id: I3472ea78f08b48a8c1bda23147275198a7cd3b0f
This tests nova microversion 2.49, tagged attach of network interfaces
and block devices.
Change-Id: I50b9aa168629457ce8270e456161727bd7b91a86
Implements: blueprint virt-device-tagged-attach-detach
Compute microversion 2.54 adds 'key_name' in rebuild servers
APIs response.
This commit fill the schema gap for that.
Change-Id: I6c46319a873a34d74e8ed1a32ffc0b32c4d04ab2
Microversion 2.47 has changed the response of update
list, and rebuild API also but we did not updated corresponding
response schema.
Also this commits add single test which covers the schema change
of microversions 2.9, 2.19, 2.26 and 2.47.
-https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id42
Change-Id: I64cc37c78bcded9d4dd85b7003319a17f3ac2137
Compute microversion 2.55 adds 'description' in
flavor APIs response and new API to update the same.
This commit fill the schema gap for that and also
add new updte flavor API in flavors_client lib.
Change-Id: I91c049c3aa9dab5a272369edd18f2c5890d1e5b0
This adds basic compute API tests for testing a multiattach volume in
Cinder being attached to multiple instances in Nova and then
detaching them.
This change depends on the nova series that adds the support to nova's
libvirt driver.
Devstack change I46b7eabf6a28f230666f6933a087f73cb4408348 is used to
enable this test when using the libvirt driver.
Depends-On: I02120ef8767c3f9c9497bff67101e57e204ed6f4
Depends-On: Iac67f112b0dc9353c6a66e6fbc81cc8324a2b37c
Part of nova blueprint multi-attach-volume
Change-Id: I80c20914c03d7371e798ca3567c37307a0d54aaa
InstanceActionsV221TestJSON tests v2.21 and
LiveMigrationRemoteConsolesV26Test tests v2.6, so
this is to add v2.21 and v2.6 in microversion_testing doc.
Change-Id: I3a8d76e484e10a10a2a53f5a9b084123eeb7b0d3
According to api microversion history of Cinder[1], min microversion for
volume groups (create/delete/update/list/show) is 3.13, min microversion
for group snapshots(create/delete/list/show) and create group from group
or group snapshot is 3.14.
While in GroupsTest in Tempest, the min microversion for volume groups is
set to 3.14. This patch aims to refactor the original GroupsTest to correct
the min microversion for volume groups, and also spilt it into two parts,
one for groups tests and the other for group snapshot tests, which will make
the code more clear and readable.
[1] https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html
Change-Id: Ic98e8892c4a44850d7a7afac9be1aa59ab38bb8c
This commit fixes indentation in tempest docs. These indentations are
not necessary and it causes a weird html outputs.
Change-Id: I9c8714558a3327b7ad0b0ab0d3fdc7e770c3c75b
We have lot of volume microversion tests implemented
but microversion doc is out of date ti list all.
Adding below microversion in doc:
- 3.9 - I41d0c3f459c139a0e5e415c030cddbb1fe8beb46
- 3.11 - Ic409db6f1258befc6f1772ea19e7e634170269f8
- 3.12 - I9904bc53896e7d58a22aef11f6a3128147c0a373
- 3.14 - Id1779fe5dce50b062ca0ff841a7ede72cac9dd73
- 3.19 - I14f5b8fd0f386ea5f84cc3a2decede430a7e7893
- 3.20 - I41d0c3f459c139a0e5e415c030cddbb1fe8beb46
Change-Id: Ifbd4d00e5b75a0c099cac1d1f393490ee326a17f
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
Change-Id: I56ee6a1aa8fd63c336849affb8d6aff5c9e66e9e
compute microversion 2.52, and 2.53 are not implemented
in Tempest and should not be added in doc also.
Those were added in Icc43342e4b64f415593700cb5ab19156a5d2bc19
Change-Id: I8bdd32adcb2bb775099db3a8b8af3832a4025d96