179 Commits

Author SHA1 Message Date
Jenkins
2c3f1a794b Merge "Add reno for Tempest v15.0.0" 2017-02-22 04:10:11 +00:00
Jenkins
41cb36e121 Merge "Add test for compute API List Security Groups By Server" 2017-02-21 21:03:00 +00:00
Ken'ichi Ohmichi
4e9c1dcf8f Add reno for Tempest v15.0.0
Change-Id: I328eb214781a965d4f02692ee4349cbe53ab5044
2017-02-21 20:55:45 +00:00
zhufl
c092892dc2 There are some typos in releasenotes
This is to correct the typos in releasenotes

Change-Id: Ibe15293e0a950e08d7077b6b43467c4d78a0beac
2017-02-21 12:09:06 +08:00
zwhe
3beb6cf3c4 Add test for compute API List Security Groups By Server
Change-Id: I36dfdee780ef1796b360537b5649b0957392ef08
2017-02-20 08:33:41 +00:00
Masayuki Igawa
a1f3f859fc
Add v15.0.0 releasenote
This commit adds v15.0.0 releasenote. Because v15.0.0 was already
released.

Change-Id: Icc58ea6bd2e792a7fd38af6ef2f28d9cf5741a39
2017-02-18 11:56:24 +09:00
Jenkins
68d22c8eea Merge "Remove deprecated compute config options for validation" 2017-02-17 09:44:15 +00:00
Jenkins
d53e2204e0 Merge "Remove deprecated network config options" 2017-02-16 13:13:55 +00:00
ghanshyam
ade71d2a4d Remove deprecated compute config options for validation
Below compute config options for validation server had been
deprecated with corresponding options in validation group almost
year back.
- I1908e37d2551760831e338788511db93d5129e16

    - ``compute.use_floatingip_for_ssh`` (available as ``validation.connect_method``)
    - ``compute.ssh_auth_method`` (available as ``validation.auth_method``)
    - ``compute.image_ssh_password`` (available as ``validation.image_ssh_password``)
    - ``compute.ssh_shell_prologue`` (available as ``validation.ssh_shell_prologue``)
    - ``compute.ping_size `` (available as ``validation.ping_size``)
    - ``compute.ping_count `` (available as ``validation.ping_count``)
    - ``compute.floating_ip_range `` (available as ``validation.floating_ip_range``)

This patch removes them from tempest conf.

Devstack and all plugins are good on those config options.

Few options are also deprecated same time but those are being
used in some plugin and will be removed in next commit with fix
in corresponding plugins.

Change-Id: Ia601e8e08284beceff0e2d02182cedc684044ec2
2017-02-16 05:00:01 +00:00
Jenkins
7a884c222c Merge "Remove deprecated compute microversion config options" 2017-02-16 00:42:32 +00:00
ghanshyam
e9c7b9f1ed Remove input-scenario config options
input scenarios functionality has already been removed
from tempest and corresponding config options also been
deprecated and schedule to remove in Ocata-
 Ie7814bd50f1c57c5f8da8355f665f09c9ac8e2d9

This commit removes the deprecated input-scenario config options.

Change-Id: Idd4050994d007715a19179f11b745ba27745ca8e
2017-02-14 17:53:05 +00:00
ghanshyam
8515b8ffca Remove deprecated network config options
Below network config options have been deprecated with
new names long back
- Ied68c0326cf891a4e6eb3db51dc5f43241e4b8d2

    - 'tenant_network_cidr' -> 'project_network_cidr'
    - 'tenant_network_mask_bits' -> 'project_network_mask_bits'
    - 'tenant_network_v6_cidr' -> 'project_network_v6_cidr'
    - 'tenant_network_v6_mask_bits' -> 'project_network_v6_mask_bits'
    - 'tenant_networks_reachable' -> 'project_networks_reachable'

This patch removes them from tempest conf.
Devstack already use the new config options.

Change-Id: Ic0c39e607265f1b8e60caaacd11912ba9d558e01
Depends-On: I31f83ec70b8803a29a7be765661517d890ffd6f1
2017-02-14 09:40:52 +00:00
ghanshyam
8889d2b6fb Remove deprecated compute microversion config options
Compute min_microversion and max_microversion in group
'compute-feature-enabled' had been deprecated long back
- I29f0cb9962fdaaecf60a886467c4665fe4010353

This commit removes those options from deprecated group.

Change-Id: If96cbad9098d511ec0b031390d19f6756d27de15
Depends-On: I31f83ec70b8803a29a7be765661517d890ffd6f1
2017-02-14 05:21:54 +00:00
Masayuki Igawa
84e3e613fc
Add v14.0.0 releasenote
This commit adds v14.0.0 releasenote. Because v14.0.0 was already
released.

Change-Id: I3bc54be900b3e06145192e392d09d7038bfd2166
2017-02-09 14:08:37 +09:00
Rodrigo Duarte Sousa
49a2c7e6b6 Implied roles methods
Adds the implied roles API calls to the roles_client library:
create, get, check and delete inference rules.

This will enable the possibility to create additional identity
API tests for some features, like implied roles and domain
specific roles.

Change-Id: I1587eb862fac5b533aa4715334d54c86d9af85ff
2017-02-04 12:23:40 -03:00
ghanshyam
f9ded35366 Fix date-time format checking in response schema
Currently datetime attributes in response schema like
'created_at' etc are being validated against type 'string' only
not with ISO 8601 date time format.

Another issue is with jsonschema validation for built-in 'date-time'
format. It needs 'strict_rfc3339' or 'isodate' module to be installed
for proper date-time validation as per rfc3339.
Otherwise it returns True wihtout doing any validation.

This patch define the new format checker for 'iso8601-date-time' format
which checks the format as per ISO 8601 with help of oslo_utils.timeutils
and validate all the date time attributes against JSON schema
'iso8601-date-time' format.

NOTE: date in image API header is returned in different format than
ISO 8601 date time format which is not consistent with other date-time
format in nova. So validating this as string only.
This API is already deprecated so not worth to fix on nova side.

Change-Id: Ief7729975daea373dcfa54a23ec76c3ec7754a70
Closes-Bug: #1567640
2017-01-31 07:40:25 +00:00
Jenkins
580d24d390 Merge "Add namespace tags client and tests" 2017-01-19 18:22:21 +00:00
guo yunxian
4f67d82b1b Add namespace tags client and tests
As in the doc following, there are namespace tags apis, this patch
is to add them to the code.

[doc]http://developer.openstack.org/api-ref/image/v2/metadefs-index.html

Change-Id: I92b2c58d11828eafd9f876a46581279bb9b26e3d
2017-01-18 13:44:54 +08:00
Jenkins
4dd523a3af Merge "Formally deprecate the allow_port_security_disabled feature flag" 2017-01-13 11:50:44 +00:00
Jenkins
802291bbc9 Merge "Removes unnecessary utf-8 encoding" 2017-01-12 09:58:28 +00:00
Jenkins
e3785d7092 Merge "Unmanage and manage snapshots" 2017-01-11 09:13:46 +00:00
Jordan Pittier
b2926fc76c Formally deprecate the allow_port_security_disabled feature flag
Now that Liberty is EOL, the feature flag is not needed anymore. But
we still need to deprecate it in order to remove it later.

Change-Id: If0b2168080a0b0ecdc6682ef69856a0879f4f6d3
2017-01-10 10:12:17 +00:00
Jenkins
1a76ea2215 Merge "Deprecate the identity-feature-enabled.reseller config option." 2017-01-08 06:51:59 +00:00
Jenkins
665d944f87 Merge "Deprecate the volume_feature_enabled.volume_services feature flag" 2017-01-08 06:51:51 +00:00
lkuchlan
cb2f859a05 Unmanage and manage snapshots
This feature provides the ability to import/export volume snapshot
from one Cinder to another and to import snapshots that have not been
managed by Cinder from a storage back end to Cinder.

Added:
- Api for snapshot-unmange
- Api for snapshot-manage
- New client 'snapshot_manage_client'
- 'delete_snapshot' method
Note: Cinder V1 does not support unmanage & manage snapshot.

Change-Id: Ib02fe171b07814aa12d311171dceac834ecbfe39
2017-01-07 21:37:14 +02:00
Jenkins
051ebd06b0 Merge "Add test namespace object functions in images" 2017-01-05 23:16:56 +00:00
Jordan Pittier
653f5cb70c Deprecate the volume_feature_enabled.volume_services feature flag
Now that Liberty is EOL, the feature flag is not needed anymore. But
we still need to deprecate it in order to remove it later.

Change-Id: I7073106988a79aad19c6b95bb050d2eaf00c36c0
2017-01-05 10:46:36 +01:00
Jordan Pittier
cf6a035d34 Deprecate the identity-feature-enabled.reseller config option.
All supported version of OpenStack now supports the 'reseller'
[1] feature. So let's deprecate the related feature flag.

[1]: http://specs.openstack.org/openstack/keystone-specs/specs/kilo/reseller.html

Change-Id: Ia86c6f351919bddf2611524bf0b143aa09dbddee
2017-01-04 19:57:36 +01:00
Cao Xuan Hoang
3f0530b0ca Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8 encoding in
tempest/api/orchestration/stacks/test_swift_resources.py
tempest/tests/lib/test_tempest_lib.py
doc/source/conf.py
releasenotes/source/conf.py

For tempest/api/baremetal/admin/test_chassis.py
==> Still need the encoding for Non-ASCII characters in the file

Change-Id: I2e1bff1f64dfe08f40562fa51e08a8ba25c9c3ae
2017-01-04 09:12:29 +07:00
Li Wei
37aff3ca9f Add test namespace object functions in images
Related link:
http://developer.openstack.org/api-ref/image/v2/metadefs-index.html

Co-Authored-By: guo yunxian <yunxian.guo@easystack.cn>
Change-Id: Ic60e3c78ade0eefe21f79c6bfb716beb13b08483
2016-12-27 18:14:36 +08:00
Jenkins
bb3102d2a2 Merge "Define v3 domains_client as library" 2016-12-22 01:02:13 +00:00
Ken'ichi Ohmichi
1fba65eb1b Rename reno files for releasing 14.0.0
This patch renames the corresponding reno files before 14.0.0.

Change-Id: I4bf37ff65edc23f366630c23e7fb76d1aec492aa
2016-12-21 00:05:36 -08:00
Martin Kopec
7dcd797745 Define v3 domains_client as library
Migrate identity v3 API domains_client to tempest.lib and implement
unit test for the service clients.
Init files are edited and the old ones in tempest/services/identity are removed
as this is the last identity client to migrate.

Partially implements blueprint consistent-service-method-names

Co-Authored-By: ghanshyam <ghanshyammann@gmail.com>
Change-Id: Ia3f5693156d6d9dff4f8b0b1986c5bc456af804a
2016-12-20 12:42:26 +00:00
ghanshyam
9b261b501a Add releasenotes for baremtal tests removal
Patch - Id518a6d87d0949737cd1c50cb6a83149b85e5f85
remove the baremetal tests from tempest.

This patch adds release notes which got missed in
previous patch.

Change-Id: Iba3b613aa7bd00abdada7e503c366acc7a12e19d
2016-12-20 12:09:14 +00:00
Jenkins
8114d4c391 Merge "Create two new clients under tempest.lib libary" 2016-12-13 16:22:06 +00:00
Jenkins
8092d56844 Merge "Network test: rework the service types/service providers tests" 2016-12-12 13:43:59 +00:00
Jordan Pittier
e579463b04 Network test: rework the service types/service providers tests
The test `test_service_provider` has been skip for more than 2 years
because of bug #1400370 . In the mean time, the Neutron service-type
extension has been reworked heavily.

The connection between service-types and service-providers from the
documentation PoV is briefly discussed in bug #1239153

What's left in the Neutron Core API is 'GET /service-providers'
as per the official doc here [1]

The patch adds the test for the corresponding API route.

[1] : http://developer.openstack.org/api-ref/networking/v2/index.html?
expanded=list-service-providers-detail#service-providers

Related-Bug: #1400370
Change-Id: I66a077b61aa260bf0acaae1adf77f44104b67f0e
2016-12-09 13:36:12 +00:00
Jordan Pittier
8e4397a21f Remove the Auto Tests Generators
They weren't used by any Tempest test.

Change-Id: Iaf64f21e779ff089ca4eb4049a826049ea4173de
2016-12-07 15:13:42 +01:00
Benny Kopilov
37b2bee80e Remove old v3 volume services library and use lib/service for v3
Moving volume v3 folders to /lib/services/volumes
Remove old left overs from service/volumes.

The patch removes services/volume api code
Tempest volume api will run from /lib/service

Change-Id: I76fec9c42ecb7038f01a186f3eb51bb471b1679d
2016-11-27 09:51:29 +02:00
lkuchlan
7bba16c4c3 Create two new clients under tempest.lib libary
There are two API v2 actions that only admin has the permission to excute,
according to:
http://developer.openstack.org/api-ref-blockstorage-v2.html#listPools
http://developer.openstack.org/api-ref-blockstorage-v2.html#showBackendCapabilities

Currently, those actions reside on BaseVolumesClient class and I think we
should separate them to new files: tempest/lib/services/volume/v2/capabilities_client.py
                                   tempest/lib/services/volume/v2/scheduler_stats_client.py

Partially implements blueprint consistent-service-method-names

Change-Id: I48e5e19331dd636a093e1817e5c2ea31534ae2c3
2016-11-26 21:51:32 +02:00
Jenkins
56c5a14525 Merge "Cinder absolute-limits tests" 2016-11-25 17:22:38 +00:00
Jenkins
71bfd2b376 Merge "Remove CONF.volume_feature_enabled.bootable" 2016-11-25 15:07:20 +00:00
Jenkins
bf6021758e Merge "Move role_assignments_client to tempest lib" 2016-11-25 14:11:31 +00:00
Rodrigo Duarte Sousa
bd128d1b40 Move role_assignments_client to tempest lib
This patch adds unit tests for the role_assignments_client and also
moves it to the lib.

Additionally, the method is refactored to be generic and handle the
full set of the role_assignments API parameters.

Change-Id: I1452d4f7be927f87f180badee377afa116d55ed6
2016-11-25 02:17:41 +00:00
Ken'ichi Ohmichi
f8b5eb0fc6 Remove CONF.volume_feature_enabled.bootable
The option is deprecated already and the os-set_bootable feature has
been implemented since Ib6cdca15950fe86b4fb2a43cfc7338e28260e453 .
That was 2.5 years ago. So we can remove this option.

Change-Id: I83085bc9e9747a5f427d1651408b265cc1e2030e
2016-11-23 19:46:08 -08:00
guo yunxian
753e90aebc Add namespace properties client and tests
As in the doc following, there are namespace properties apis, this patch
is to add them to the code.

[doc]http://developer.openstack.org/api-ref/image/v2/metadefs-index.html

Change-Id: I593c72cea6ed1381d0ddef1569d40e65ae45625b
2016-11-24 10:14:30 +08:00
bkopilov
141930822f Cinder absolute-limits tests
Added a volume limits client

Added testcase:
- show cinder absolute-limit api

Tests:
 - tests get absolute limits and verify counter and defaults.

Change-Id: I35ac2aeae7e9bda8db69fbc8bf625db1839412ed
2016-11-21 16:14:28 +02:00
Cady_Chen
8696cc815a Typo fixing
Change-Id: Ic73ec784726f1f2e1e0e0a88a753918b3a7d31e0
2016-11-14 20:34:27 +08:00
Matthew Treinish
3787e4c234
Move cred_client to tempest.lib
This commit migrates the cred_client module from tempest.common to
tempest lib. This module provides an abstraction around the differences
between v2 credential operations and v3 credential operations. Since for
a lot of tests you just need to interact with credentials and which
version of keystone is deployed or being used doesn't matter. As part of
this migration unit tests are added to handle testing the abstraction
layer.

Change-Id: I196033483e06c96c16eaefeaac68b3253c3347f5
2016-11-07 10:03:27 -05:00
Jenkins
e16218e59f Merge "Fix Release Notes index page title" 2016-11-04 15:03:00 +00:00