10489 Commits

Author SHA1 Message Date
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
Jenkins
b3be1ca7fb Merge "Remove Cinder v1 tests" 2017-03-22 02:55:27 +00:00
Jenkins
05efdd1265 Merge "keystone roles are case insensitive" 2017-03-21 17:53:39 +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
Jenkins
df9fbe5628 Merge "Improve server tag schema" 2017-03-21 05:39:02 +00:00
Jenkins
296a3a307a Merge "Improve multiple create server tests" 2017-03-21 05:37:48 +00:00
Ken'ichi Ohmichi
c4fcdbbb34 Remove Cinder v1 tests
Cinder v1 API has been deprecated since Juno, so we don't need to
keep the corresponding tests anymore to remove it on Cinder side.

Ref: https://wiki.openstack.org/wiki/ReleaseNotes/Juno#OpenStack_Block_Storage_.28Cinder.29

Change-Id: I04de2d90fe11f8ec4acbfa983bc0ad3aa979f45b
2017-03-16 14:57:27 -07:00
Jenkins
24f5751aa6 Merge "Add test_router_set_gateway_used_ip_returns_409" 2017-03-16 14:53:09 +00:00
Jenkins
1683f73797 Merge "Make remote_client reno readable" 2017-03-16 13:50:32 +00:00
Jenkins
0c192749c8 Merge "Network scenarios: remove some instance variables" 2017-03-16 12:19:37 +00:00
ghanshyam
96490ea349 Improve server tag schema
server tags are limited with max length and numbers
from nova side. Response schema should strictly verify
those.

This commit improve the server tag schema to have limit
on max number and length.

Change-Id: I71f047d7475d18396c0e154377f2592ec8664b17
2017-03-16 10:17:36 +00:00
Jenkins
9782273769 Merge "Fix typo in README.rst" 2017-03-16 10:09:06 +00:00
Jenkins
256f95b62d Merge "Add test_create_router_set_gateway_with_fixed_ip" 2017-03-16 10:08:56 +00:00
Jenkins
5c5e13dc8f Merge "Extend compute API admin test for swap volume" 2017-03-16 08:54:53 +00:00
ghanshyam
176e7cb66b Improve multiple create server tests
multiple create server tests just verify the
reservation id in response.

Let's check whether the requested number of servers
got created or not.

Change-Id: I953fe9cde89d9e8c968889a823911a206b27a4cd
2017-03-16 06:07:46 +00:00
zhufl
5eccdf45a3 Fix typo in README.rst
This is to fix a typo in README.rst

Change-Id: I31fbfc98994ca5137b1999f45beb94b345ae1b08
2017-03-16 10:08:18 +08:00
Jenkins
82a278e88c Merge "Updated from global requirements" 2017-03-15 17:26:24 +00:00
Jenkins
499314a90c Merge "Add "list Glance API versions" test" 2017-03-15 13:22:55 +00:00
OpenStack Proposal Bot
86b92ea9c1 Updated from global requirements
Change-Id: If6d98a694a8655c3f981f20172159051675c1639
2017-03-15 12:53:45 +00:00
Jenkins
af6f482b61 Merge "Add a negative test for security_group api" 2017-03-15 08:32:18 +00:00
Jenkins
8e2f44f412 Merge "Use base.create_image_from_server to create server snapshot" 2017-03-15 06:51:33 +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
Jordan Pittier
d597b95a3f Revert "Docs: Add the remote tag to the badge image"
This reverts commit 63746daa93694dc6a11666d7b0539fe9c3422981.

The faulty docutils version was banned (thanks to global-requirements).
The ':remote:' tag broke our badge image, see [1], so remove the
':remote:' tag.

[1] https://github.com/openstack/tempest/blob/master/README.rst

Change-Id: I484d0ba00ad24936b5a9bf17a0c8942150754878
2017-03-14 09:24:48 +00:00
Jenkins
1b0c530040 Merge "Add api tests for create-image" 2017-03-14 08:49:11 +00:00
Jenkins
db439c2b57 Merge "Add new detail kwarg to show_quota_set to QuotasClient." 2017-03-14 07:36:05 +00:00
zhufl
35a694b64a Use base.create_image_from_server to create server snapshot
In I8ee2e18925e7f4f09d10d857fb25f3d9b8e8bd42, SnapshotNotFoundException
is added to base.create_image_from_server to get more friendly
error info, so testcases should use base.create_image_from_server
as far as possible, moreover, the code will look simpler.

Change-Id: I34ae75d56b4243d67a1a9ec48d033b1e7d6356a7
2017-03-14 15:20:53 +08:00
ZhangHongtao
74e1df513e Add test case for Keystone API "GET /v3/auth/projects"
Change-Id: I491ea5ec6a62c826c39b30eb43d2d9c2d61f0609
2017-03-14 14:42:04 +08:00
lianghao
f37da96fa5 Add test_router_set_gateway_used_ip_returns_409
prevent user to set router gateway to used ip

Change-Id: I023032b5ab63b4070f61506ce1bc3f5f5ffcf9ce
2017-03-14 14:17:03 +08:00
lianghao
8c8074caf8 Add test_create_router_set_gateway_with_fixed_ip
sometimes,we need add fixed_ip to router's gateway

Change-Id: I219118bb590d696df406838ac14955db44264d39
2017-03-14 14:10:59 +08:00
Jenkins
c2478449c4 Merge "Use tempest.lib data_utils - network" 2017-03-14 04:23:56 +00:00
Jenkins
7b19bc982a Merge "Add plugin group names to CONF" 2017-03-14 02:00:57 +00:00
Ken'ichi Ohmichi
fe97e0dfe4 Cleanup ignored_list for T110 and T111
Change-Id: I37d2415571195f09bd4d0754ca0aeda9c0b0e76f
2017-03-13 15:27:32 -07:00
Jenkins
2e7fe40e09 Merge "Use tempest.lib data_utils - image" 2017-03-13 20:42:42 +00:00
Jenkins
17fd7b74e0 Merge "Use tempest.lib data_utils - volume" 2017-03-13 19:23:14 +00:00
Jenkins
09197d4589 Merge "Use tempest.lib data_utils - orchestration" 2017-03-13 19:18:21 +00:00
Jenkins
f03f487da5 Merge "Use tempest.lib data_utils - object_storage" 2017-03-13 19:18:11 +00: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
Jordan Pittier
37b94a05a1 Network scenarios: remove some instance variables
In the patch, I removed some instance variables in some network
scenarios: self.security_group, self.network_v6, self.network.

We still have a lot of instance variables, which is a major reason
why reviewing network scenarios is an absolute pain. But this
is a small step in the right direction.

Change-Id: I482a06a6592bf1b402d1faf5e78c1be17f05b6b1
2017-03-13 14:24:05 +00:00
Andrea Frittoli
382a6f12a3 Add plugin group names to CONF
Plugins have no way of setting the name of their groups to CONF
so that they are available at discovery time, so setting them
up for them, using the get_opt_list hook.

Since plugins may pass an OptGroup object or a string, handle
both cases. Normalise strings with a '-' to '_'.

Added comments and docstring to document this.

Change-Id: I1afae0d1f9c4a6aec2742aaba4928cdde54b224f
2017-03-13 14:20:32 +00:00
Jenkins
6b3d13555f Merge "Add Cinder microversion test info in doc" 2017-03-13 13:30:19 +00:00
Jenkins
e8f27043c9 Merge "Removing sahara from the service available group" 2017-03-13 13:29:04 +00:00
Ken'ichi Ohmichi
ef1c1ce761 Use tempest.lib data_utils - volume
Tempest has duplicated modules of data_utils, one is tempest.lib and
the other is tempest.common. The difference is tempest.common module
refers to the config option resources_prefix. And the option is marked
as deprecated already. So it is nice to replace the calls with tempest.lib
one.

Change-Id: I90cd12ac7a8050125956654feb0fa8a221e7958e
2017-03-13 12:08:04 +00:00
Ken'ichi Ohmichi
60680a8567 Use tempest.lib data_utils - orchestration
Tempest has duplicated modules of data_utils, one is tempest.lib and
the other is tempest.common. The difference is tempest.common module
refers to the config option resources_prefix. And the option is marked
as deprecated already. So it is nice to replace the calls with tempest.lib
one.

Change-Id: I5db7cead61e5891a8e99b608069c2474ca1777a1
2017-03-13 12:07:54 +00:00
Ken'ichi Ohmichi
e88732318f Use tempest.lib data_utils - object_storage
Tempest has duplicated modules of data_utils, one is tempest.lib and
the other is tempest.common. The difference is tempest.common module
refers to the config option resources_prefix. And the option is marked
as deprecated already. So it is nice to replace the calls with tempest.lib
one.

Change-Id: Ifb59b89ec1bd7f8c17a55026b32b8af35c945594
2017-03-13 12:07:29 +00:00