9295 Commits

Author SHA1 Message Date
Matthew Treinish
cc4ae4887e
Ignore deb-* packaging repos in the plugin list
This commit starts ignoring plugin hits from deb-* repos when generating
the plugin list for the plugin registry doc. These are just packaging
repos and not really relevant for a plugin list.

Change-Id: I5146936824c17476d4e7f3fab058c80fd932e512
2016-09-13 19:23:18 -04:00
Jenkins
78b4d29fb5 Merge "Move method to v2 volumes_client" 2016-09-13 02:01:58 +00:00
Jenkins
c5e9c39cd0 Merge "Remove tests/fake_auth_provider" 2016-09-13 01:50:06 +00:00
Jenkins
5b60c2765d Merge "Add description to the help of enable_instance_password" 2016-09-12 19:30:17 +00:00
Jenkins
d6f4b0d144 Merge "Use an instance method instead of class method" 2016-09-12 19:28:38 +00:00
Jenkins
498255196c Merge "Update tempest init help message" 2016-09-12 19:28:30 +00:00
Jenkins
a5b72636eb Merge "Use local variable for volume instead of instance one" 2016-09-12 19:27:32 +00:00
Masayuki Igawa
7cf41185b6 Remove tests/fake_auth_provider
This commit removes tests/fake_auth_provider and make some test clients
use tests/lib/fake_auth_provider instead. To do so, this commit also
adds get_token() to the FakeAuthProvider class for test_object_client.

Change-Id: I5c968051970b8c3c8633296cc47593cab3a3dfd4
2016-09-12 23:32:42 +09:00
Anna Babich
506efe2d75 Use local variable for volume instead of instance one
The patch is a follow up to finish replacing instance variables
by local ones for volume, as it has been done in [1] for server.
Also, the _delete_volume() helper function has been replaced by
self.delete_volume method from base class, which waits for volume
to be gone itself, so we don't need to use an extra check for it.

[1] https://review.openstack.org/#/c/333305

Change-Id: Id217d7a374c663982a9f97b83c72923136305f9f
2016-09-12 15:04:36 +03:00
Jenkins
479bfaccf5 Merge "Remove auth_request as no used" 2016-09-12 08:41:00 +00:00
zhufl
e8a703b564 Add description to the help of enable_instance_password
enable_instance_password in tempest.conf is a little
confusing to users who are not so familier with nova.
So this is to add a simple guide for setting its value
(just the same as the value in nova.conf)

Change-Id: I1ee732c3673cac1b64dcadeb1f6f65e3691fd9c6
2016-09-12 16:34:02 +08:00
Jenkins
9badfb1c7a Merge "Use api_extensions to decide security_group type nova used" 2016-09-12 05:57:15 +00:00
Masayuki Igawa
0670a2b112 Update tempest init help message
This commit updates the help message of tempest init command to be more
adequate.

Change-Id: I99c4505cf6b1806b127e32bf1b857f0c71f0d301
2016-09-12 14:55:11 +09:00
Jenkins
d68a268cbf Merge "Define v3 credentials_client as library" 2016-09-12 01:27:04 +00:00
guo yunxian
05e86efadf Remove auth_request as no used
Function auth_request() isn't be used, it can be removed for the
code clean.

Change-Id: I979b67e934c72f50dd62c75ac614f99f136cfeae
2016-09-11 17:23:31 +08:00
Jenkins
5e2e4670a3 Merge "Define v3 trusts_client as library" 2016-09-10 14:25:43 +00:00
Jenkins
5a08f5b73c Merge "py3: Miscellaneous fixes" 2016-09-10 14:11:29 +00:00
Jenkins
c2b8299449 Merge "Added logic to validate storage policy info" 2016-09-09 14:59:45 +00:00
Sirushti Murugesan
12dc9735a5 py3: Miscellaneous fixes
* Use base64 from oslo_serialization
* Use six.BytesIO instead of StringIO
* Use sys.maxsize instead of sys.maxint
* Use sorted with a key argument to sort by
* Use range instead of moves.xrange or xrange
* Use floor division instead of float division
* Use 'r+' to open a file than 'rw'
* Use six.int2byte instead of chr
* Stop using conn.strict in response_class()
* Tests: Only compare length for bytes, not assertRegex

These changes are tested here: I3a1dfde76009cbac1d419e0ff3f1d20c4a2e99c3

Change-Id: Iab9c23e497956e45c5d04a3d6513acf1b026aafb
2016-09-09 16:54:11 +02:00
Martin Kopec
356bb48382 Define v3 credentials_client as library
Migrate v3 API credentials_client to tempest.lib and add unit
tests for the service client.
Partially implements blueprint consistent-service-method-names

Change-Id: I0ae04d76738fe6f639d90af8c142bdbc6a1fa83f
2016-09-09 14:29:01 +02:00
Daniel Mellado
c8d641a0f9 Define v3 trusts_client as library
Migrate v3 API trusts_client to tempest.lib and add unit tests for the
service client.
Partially implements blueprint consistent-service-method-names

Change-Id: I3aab5f4906718e94612e4e62a460ba13418cdc1c
2016-09-09 14:24:07 +02:00
Jenkins
d00166fb46 Merge "Move v3 inherited_roles_client to library interface" 2016-09-09 12:12:01 +00:00
Jenkins
9d597549da Merge "Update Available params of image" 2016-09-09 12:07:53 +00:00
guo yunxian
f4ff0a26c9 Move method to v2 volumes_client
As this is a v2 only API call, it should be in the v2 client only.
This patch moves it into V2 volumes_client before defining stable
interfaces.

Partially implements blueprint consistent-service-method-names

Change-Id: Ibfa087aac961346579e730c2c1e1673097a0975a
2016-09-09 19:24:18 +08:00
zhufl
ba3edecdd2 Update Available para link of keystone v3 client
Some ref urls of keystone v3 clients is changed
in http://developer.openstack.org, so this is to
update available para links in keystone v3 clients

Change-Id: Ifb7126bd6473e728606d3468eabddf4c52946cb9
2016-09-09 09:05:17 +08:00
zhufl
6edd34bd50 Use api_extensions to decide security_group type nova used
Even the system enables neutron, if neutron's security_group
extension is disabled, Nova can still use nova's security_group
by setting security_group_api=nova in nova.conf. So this is to
use neutron's security group only when neutron is enabled and
neutron's security_group extension is enabled.

Change-Id: Id23fdb8cd47fb0ecf0ad0b055dcbb423ff23a239
2016-09-08 16:55:45 +08:00
ghanshyam
e660d70c88 Move v3 inherited_roles_client to library interface
v3 inherited_roles_client is stable now and good to be moved
as stable library interface.

Partially implements blueprint consistent-service-method-names

Change-Id: I88b972d72b7ad5c2f4ee14ea2ddae0c03b8eaedf
2016-09-08 15:34:37 +09:00
ghanshyam
53015677cd Move v3 roles_client to library interface
v3 roles_client is stable now and good to be moved
as stable library interface.

Partially implements blueprint consistent-service-method-names

Change-Id: I18a4219496754809ae67d99904872bfaf5c61ea9
2016-09-08 05:58:04 +00:00
ghanshyam
ad55eb8e44 Define separate inherited_roles_client for inherited roles
os-inherit APIs enables projects to inherit role assignments from either
their owning domain or projects that are higher in the hierarchy.

Currently roles_client has all the os-inherit APIs methods
but for better maintenance and readability, those should be
in separate client.

Partially implements blueprint consistent-service-method-names

Change-Id: I2d5a5699bfe85fde6219758f28f381006b21daa0
2016-09-08 05:57:58 +00:00
Jenkins
ca40dc85f1 Merge "Update Available para link of network client" 2016-09-08 04:48:36 +00:00
Jenkins
0b75824303 Merge "Remove base_types_client for the reability" 2016-09-07 17:22:46 +00:00
Jenkins
2605a11dd2 Merge "Define v3 identity_client as library" 2016-09-07 17:22:37 +00:00
Jenkins
d74da9d018 Merge "Move 3 volume methods to v2 volumes_client" 2016-09-07 12:53:22 +00:00
lkuchlan
5fc6936112 Use an instance method instead of class method
There is an advantage to use an instance method, it allows using
addCleanup method, therefore, 'create_server' method will be responsible
for cleaning the server resource in the end of the test.

Change-Id: I59b8b52bb542741bbba779bac5c7ee01515211c1
2016-09-07 14:57:12 +03:00
Martin Kopec
8d2392b3b7 Define v3 identity_client as library
Migrate identity v3 API identity_client to tempest.lib and implement
unit test for the service clients.

Change-Id: If42e7aad0e57b1d6f8a17b8f6a646ac22a6b0fa3
2016-09-07 11:31:40 +00:00
Jenkins
f2df65643e Merge "Delete duplicate if judgment" 2016-09-07 09:35:45 +00:00
Jenkins
eabe0a5117 Merge "Use testcase name as prefix of resource name" 2016-09-07 09:35:26 +00:00
Jenkins
3f95a6f518 Merge "Update the links to api-ref of network" 2016-09-07 09:19:12 +00:00
Jenkins
2620d62263 Merge "Narrow assertion in attach/delete volume test" 2016-09-07 09:19:02 +00:00
Jenkins
b0b1e16dae Merge "Don't create network resources for identity tests" 2016-09-07 09:18:54 +00:00
Jenkins
4004dcd1c5 Merge "Define the v3 Users Client as a library" 2016-09-07 09:18:46 +00:00
Jenkins
7c1335efdc Merge "Define v3 Groups Client as library" 2016-09-07 09:17:04 +00:00
Jenkins
cc0cc90f11 Merge "Fix checks for content length in object storage tests." 2016-09-07 08:06:51 +00:00
Jenkins
ede58787e8 Merge "Separate encryption_types_client from types_client" 2016-09-07 07:36:48 +00:00
zhufl
4c351cd5f2 Update Available para link of network client
Some ref urls of network clients is changed in
http://developer.openstack.org, so this is to
update available para links in network clients

Change-Id: Ied8b81539589c847561dd5dea6d97c0f52110058
2016-09-07 11:57:52 +08:00
Jenkins
a93fd8069f Merge "Make identity v3 roles_client use **kwargs" 2016-09-07 03:53:53 +00:00
Ken'ichi Ohmichi
50d9bb0fdc Move 3 volume methods to v2 volumes_client
These 3 volume methods are used in Cinder V2 API tests only, so
this patch moves these methods into v2 volumes_client before defining
stable interfaces.

Partially implements blueprint consistent-service-method-names

Change-Id: I9eda6faabb324671d85155660f9d14667ebf0e00
2016-09-06 16:46:24 -07:00
Ken'ichi Ohmichi
938fbe9d74 Remove base_types_client for the reability
The service clients for the volume service are different from the
other services and it is a little difficult to read and debug because
that consists of multiple layers for v1 and v2.
That could be useful for the code optimization, but actually the merit
seems small and unreadable.
This patch removes these layers from the volume clients.

Partially implements blueprint consistent-service-method-names

Change-Id: I0d59b16d706ca3ca0bf629b1374530cc5927b7c2
2016-09-06 12:57:16 -07:00
Ken'ichi Ohmichi
a6ebf626aa Separate encryption_types_client from types_client
The is_resource_deleted() of types_client covers both volume_type and
encryption_type and the method interface became different from the
other service client, because the existence check way is different
from both resources. That is not so good for stable interface and
it is nice to separate encryption_type way to simple code.

Partially implements blueprint consistent-service-method-names

Change-Id: If4ecd61d2886d616b677d8bbeaf31646cb1b19cd
2016-09-06 12:57:10 -07:00
Jenkins
8f325a69bc Merge "Count volumes vs partitions and remove hard-coded expected result" 2016-09-06 16:10:13 +00:00