237 Commits

Author SHA1 Message Date
Jenkins
517c95fcb7 Merge "Prepare release notes for release 16.0.0" 2017-04-13 13:57:33 +00:00
Andrea Frittoli
5bb006900b Prepare release notes for release 16.0.0
Create a new note for Mitaka EOL.

Change-Id: I890fad800b8a7ae939ea01a980deb6d9ffb3af2a
2017-04-13 10:40:42 +00:00
Jenkins
0d93900ba6 Merge "Deprecate client_parameters from ServiceClients" 2017-04-13 03:42:26 +00:00
Andrea Frittoli
3b6d599c9b Deprecate client_parameters from ServiceClients
client_parameters was been designed as a way to pass parameters
for service clients to the ServiceClients class.

After the initial implementation, the client registry was added,
which allows for automatic registration of all clients and their
parameters. If configuration is available, parameters will be
pushed into the registry automatically.

When the registry part was implemented, the client_parameters logic
has been broken. Parameters are loaded and prepared correctly, but
ultimately they are not used for registration, they are basically ignored.

So this commit simply deprecates client_parameters, so that once it's not
used in tempest/clients.py anymore and the deprecation periodic is over
it can be removed.

closes-bug: #1680915
Change-Id: Ib37bde098d15ce440297728f0d0e1087b8693b6c
2017-04-12 08:43:12 +00:00
Andrea Frittoli
b86de8898f Format multi-line release notes properly
Change-Id: Ia3753f054eb7aee1c9e9a7af77bbefd7693b39f9
2017-04-10 10:01:14 -04:00
Jenkins
c05a58c0ca Merge "Delete volume with associated snapshots" 2017-04-09 07:25:44 +00:00
Jenkins
b3d86fe872 Merge "Separate volume v2 transfers service clients" 2017-04-07 09:28:45 +00:00
Jenkins
df147c7376 Merge "Remove 'allow_port_security_disabled' option" 2017-04-07 08:14:13 +00:00
Jenkins
60c47cd9e8 Merge "Remove 'reseller' config option" 2017-04-07 02:43:31 +00:00
Ken'ichi Ohmichi
ad1b862e8b Remove 'allow_port_security_disabled' option
The allow_port_security_disabled option had been added as a temporary
option for skipping the test on Liberty. Current Tempest doesn't support
Liberty, so this patch removes the config option from Tempest.

Change-Id: Ia7d7f3f545e7582be3c3f005576adceede5e97cb
2017-04-06 20:23:26 +00:00
lkuchlan
0e3bbdfe7e Delete volume with associated snapshots
This feature provides the ability to delete a volume and have Cinder
handle deletion of snapshots associated with that volume.
It is allow a volume and its snapshots to be removed in one operation
both for usability and performance reasons.

Change-Id: I99f9910f75aef095f2bbb37680ee584e52bf82da
2017-04-06 08:27:30 +03:00
ghanshyam
59614b445c Separate volume v2 transfers service clients
v2 volume transfers service clients does API calls on
separate resource url "os-volume-transfer" but those
are currently in v2 volumes_client.py.

Each resource service clients should be in separate file.

This commit separate the transfer service client from volumes client
and deprecate the same from volumes service client.

Change-Id: Ia85bcfbadbff4f7c594dc5631ecdd595c5d275f3
2017-04-06 01:20:59 +00:00
Ken'ichi Ohmichi
8b0213a0d4 Remove 'dvr_extra_resources' option
The dvr_extra_resources option had been added since the commit
Ib1a6007bbd65182743e1f1ed5819134d748e8d92 . This option was for extra
resources which were provisioned to bind a router to Neutron L3 agent.
The extra resources need to be provisioned in Liberty release or older,
and are not required since Mitaka release. Current Tempest doesn't
support Liberty, so this patch removes the config option from Tempest.

Change-Id: I1eb228559a170a2a157a180ac8404bcbd5efd062
2017-04-05 10:29:37 -07:00
Ken'ichi Ohmichi
1eaf6d4144 Remove 'reseller' config option
The reseller feature has been implemented as built-in feature which
can not be disabled since Mitaka, and Tempest doesn't support Liberty
now. So this patch removes the corresponding config option from Tempest.

Change-Id: Ieb974047fb204674cef82cf896016d6780a4757a
2017-04-05 09:41:45 -07:00
Jenkins
11b0030f7d Merge "Add additional roles method to v3 roles client." 2017-04-05 07:48:40 +00:00
Felipe Monteiro
fe96c26ba6 Add additional roles method to v3 roles client.
Adds the following API call to the roles_client library:
  - list all role inference rules (/v3/role_inferences)

This enables querying these APIs for a list of all the
role assignments or all the role inferences.

Note that listing all role inference rules is distinct
from listing inference rules. This can be confirmed
in the API docs [0] and in the code itself [1]
(see list_role_inference_rules vs list_implied_roles).

[0] https://developer.openstack.org/api-ref/identity/v3/#list-all-role-inference-rules
[1] 3e5ead0a45/keystone/assignment/routers.py

Change-Id: I9d6c0dc83a85bbca173b753183d838adfee04008
2017-04-04 19:26:33 +01:00
Jenkins
90d505ae75 Merge "Identity V3-ext Oauth1 Consumers Client" 2017-04-03 09:58:00 +00:00
Jenkins
ed183f9747 Merge "Remove deprecated compute config options for validation-2" 2017-03-30 12:08:49 +00:00
ghanshyam
244cf7cfb1 Remove deprecated compute config options for validation-2
Below compute config options for validation server had been
deprecated with corresponding options in validation group almost
year back.
- 1908e37d2551760831e338788511db93d5129e16

    - ``compute.image_ssh_user`` (available as ``validation.image_ssh_user``)
    - ``compute.ssh_user`` (available as ``validation.image_ssh_user``)
    - ``scenario.ssh_user`` (available as ``validation.image_ssh_user``)
    - ``compute.network_for_ssh`` (available as ``validation.network_for_ssh``)
    - ``compute.ping_timeout `` (available as ``validation.ping_timeout``)

This patch removes them from tempest conf.

Few plugins still using the old configs and this depends on their fix.

Change-Id: I2221b2d50fee97a464c7d5f0b3c2e13142cb394f
2017-03-30 09:14:56 +00:00
Jenkins
a92a428b8c Merge "Add test case for volume unmanage and manage" 2017-03-28 19:42:01 +00:00
Jenkins
9e5cea7f16 Merge "Add test case for update volume encryption type" 2017-03-28 10:25:37 +00:00
Jenkins
03e36b63bd Merge "Deprecate the dvr_extra_resources config switch." 2017-03-28 01:18:31 +00:00
Jenkins
40c8f6097e Merge "Adding server evacuate client" 2017-03-27 19:43:41 +00:00
raiesmh08
14158c95fb Adding server evacuate client
This patch adds compute server evacuate API client method.

This client method is required to implement evacuate related tests
in OpenStack Patrole project.

Change-Id: Ie0d65d83923331caaa9cbbbd63b096ff8400bffa
Partial-Bug:: #1673811
2017-03-25 06:52:37 +00:00
Nicolas Helgeson
8e2d403283 Identity V3-ext Oauth1 Consumers Client
Adding a new client lib to handle the OAUTH consumers API testing

Included unit tests for the client lib, and
API tests for the OAUTH consumers API

Co-Authored-By: Nishant Kumar <nk613n@att.com>
Co-Authored-By: Avishek Dutta <ad620p@att.com>

Change-Id: I6d0884637cfe00a5313a5d019e1e062316f76d57
Closes-Bug: #1672810
2017-03-23 16:15:37 +00:00
Jenkins
57fb135d7e Merge "Deprecate the `deactivate_image` configuration switch" 2017-03-23 14:27:54 +00:00
Jenkins
ddb1150c90 Merge "Add "list Cinder API versions"" 2017-03-23 11:22:03 +00:00
Jenkins
8700d268f9 Merge "Deprecate Cinder v1 API option" 2017-03-23 02:57:20 +00:00
Ken'ichi Ohmichi
4adae2fff6 Add "list Cinder API versions"
Many projects provides multiple API versions and the version
information is very important for users, because users can know
what features are available on clouds. However, Tempest didn't
test the Cinder API versions in long-term. So this patch adds
the corresponding test.

NOTE: This patch adds the response status code validation also
      for 300 but Cinder api-ref currently shows 200 and 202 also.
      These status codes are never returned actually and the patch
      Id28e26fca0adbdcfb0d905f52ca697a74db3be75 will fix it on
      Cinder side.

Change-Id: Id5791665d8435fac7552733b0c1126cee4359d00
2017-03-22 10:14:59 -07:00
jeremy.zhang
f4fbf30742 Add test case for volume unmanage and manage
Lots of Cinder backend drivers have support unmanage and manage
features. It's necessary to add test case for these feature apis.

Including:

[1] Add volume manage client as library
[2] Add unmanage volume api to v2 volumes client
[3] Add release note
[4] Add test case: test_volume_unmanage_manage

Depends-On: I055aa66738deb5ae2fb925429cec565e3901340c
Change-Id: I4294de92a801db2697ba870ff1b5fdbe4b2f5a4b
2017-03-22 16:01:00 +08:00
jeremy.zhang
316d56462c Add test case for update volume encryption type
Including:

[1] Add update encryption type api to v2 encryption types client
[2] Add release note
[3] Modify test case: test_volume_type_encryption_create_get_delete

Change-Id: I60ee36b4d751eafc875e073e30a4f426ebd2a0d7
2017-03-22 14:31:28 +08:00
Jenkins
4411b2992c Merge "Add reno for removing Cinder v1 API tests" 2017-03-22 02:57:00 +00:00
Ken'ichi Ohmichi
39d180e2be Add reno for removing Cinder v1 API tests
Cinder v1 API tests have been removed since the commit
I04de2d90fe11f8ec4acbfa983bc0ad3aa979f45b
Then this patch adds the corresponding reno.

Change-Id: I7cab71962ed33c196ef2c00825bfcc4f2917398e
2017-03-21 09:04:50 -07:00
Jordan Pittier
ee88041bf4 Deprecate the `deactivate_image` configuration switch
It was added to support the older-than-kilo releases which we
don't support anymore.

Change-Id: I584cd40a9b5f297537333336b1b9a46ccf1ddc67
2017-03-21 09:36:19 +00:00
Ken'ichi Ohmichi
7a0811edb1 Deprecate Cinder v1 API option
Cincer v1 API has been deprecated since Juno, and Tempest doesn't
need to run the corresponding tests as the default. Then this patch
makes Cinder v1 API deprecated.

Change-Id: I836dc9d75f361078b7c8bd8430e6cb463a6e1ca1
2017-03-17 09:32:48 -07:00
Jenkins
1683f73797 Merge "Make remote_client reno readable" 2017-03-16 13:50:32 +00:00
Jordan Pittier
d1ef129094 Deprecate the dvr_extra_resources config switch.
It was added to support the Liberty Release which we don't support
anymore.

Change-Id: I832923ee930f11111623583854ae2511f70f2dd2
2017-03-16 09:15:24 +00:00
Jenkins
499314a90c Merge "Add "list Glance API versions" test" 2017-03-15 13:22:55 +00:00
Jenkins
140ad5bd4b Merge "Add test case for Keystone API "GET /v3/auth/projects"" 2017-03-15 06:45:33 +00:00
Jenkins
a3bb273bae Merge "Deprecate glance APIs version config options" 2017-03-14 19:34:35 +00:00
Ken'ichi Ohmichi
8499c19170 Make remote_client reno readable
The items of remote_client methods were unreadable, so this patch
makes it readable.

Change-Id: I40688fe5e7151dde48c6be0124c2c621f02de585
Ref: https://docs.openstack.org/releasenotes/tempest/unreleased.html
2017-03-14 11:03:22 -07:00
Ken'ichi Ohmichi
f72343e003 Add "list Glance API versions" test
Many projects provides multiple API versions and the version
information is very important for users, because users can know
what features are available on clouds. However, Tempest didn't
test the Clance API versions in long-term. So this patch adds
the corresponding test.

Change-Id: Ib85819fb71f0b12b64351b307d83a3beb77d7fad
2017-03-14 10:24:49 -07:00
Jenkins
db439c2b57 Merge "Add new detail kwarg to show_quota_set to QuotasClient." 2017-03-14 07:36:05 +00:00
ZhangHongtao
74e1df513e Add test case for Keystone API "GET /v3/auth/projects"
Change-Id: I491ea5ec6a62c826c39b30eb43d2d9c2d61f0609
2017-03-14 14:42:04 +08:00
Felipe Monteiro
3f52a4aba8 Add new detail kwarg to show_quota_set to QuotasClient.
Currently, quotas_client.QuotasClient doesn't support the
'os-quota-sets/{tenant_id}/detail' endpoint [0] but is supported
by Nova [1].

Nova uses the policy 'os_compute_api:os-quota-sets:detail'
for the endpoint ending with /detail and
'os_compute_api:os-quota-sets:show' without the /detail uri [2].
This is needed by Patrole for complete test coverage for Nova.

This patch adds the kwarg to show_quota_set which calls the '/detail'
endpoint, if True. Also updated quotas schema with
get_quota_set_details, because each property in the response body
is of type object, not integer [1].

[0] https://github.com/openstack/tempest/blob/master/tempest/lib/services/compute/quotas_client.py
[1] https://developer.openstack.org/api-ref/compute/?expanded=show-the-detail-of-quota-detail#show-the-detail-of-quota
[2] https://github.com/openstack/nova/blob/master/nova/policies/quota_sets.py

Change-Id: I9a65411c6bf65bf20842719bffe46c7fa7db82eb
Closes-Bug: #1662593
2017-03-13 11:43:44 -04:00
Jenkins
d20a3c885e Merge "Add content-type without spaces" 2017-03-13 14:48:51 +00:00
Jenkins
94e44fcdae Merge "Fix volume v2 capabilities/scheduler-stats tests to test v2 APIs" 2017-03-13 14:43:55 +00:00
Jenkins
e8f27043c9 Merge "Removing sahara from the service available group" 2017-03-13 13:29:04 +00:00
Andrea Frittoli
5ba1aa2323 Removing sahara from the service available group
This is a leftover from when sahara was moved out of tree.
It causes conflicts when the sahara plugin loads, and it should
be removed.

This option is not used right now by Tempest code, so even if someone
is using it, it has not effect whatsoever on test execution.
The only case in which this option may have effect, is when the
sahara-tests Tempest plugin is installed. When the
sahara plugin is loaded, the config option will be there.

I think in this case we should skip deprecation, and just remove it
like we did in the past when moving Tempest code to a plugin.

Change-Id: Ie7556b97237b0101000d140d351edea5e518783f
2017-03-13 10:13:11 +00:00
Jenkins
f48d046a4a Merge "Add RemoteClient under tempest.lib" 2017-03-13 09:42:36 +00:00