10648 Commits

Author SHA1 Message Date
Jenkins
c85642f6e2 Merge "Fix heading levels in write_tests doc" 2017-04-10 09:53:31 +00:00
Jenkins
67bcab8e92 Merge "Fix broken api link and put api link in one line" 2017-04-10 09:51:24 +00:00
zhufl
6ea5f8bedc Fix broken api link and put api link in one line
This is to put api link in one line and fix some
broken api links.

This is the last patch before api-site making any
change of ref links.

Change-Id: I6fe6883f888bdb2678d29ab66b84aaf0f602b2fa
2017-04-10 09:24:04 +08:00
Jenkins
c05a58c0ca Merge "Delete volume with associated snapshots" 2017-04-09 07:25:44 +00:00
Matthew Treinish
8f28d1fff4
Fix heading levels in write_tests doc
This commit fixes the top level header for the write_tests doc.
Previously, the doc title was set as the same as the section. This
caused things like table of contents to confuse the hierarchy of the
sections in the docs. This commit fixes that by setting the doc title
to be a higher lever in the hierarchy.

Change-Id: I2ecb110c766a71e1dc2d9e663ca38ece76dc327d
2017-04-08 21:35:41 -04:00
Jenkins
805f4ddc9b Merge "Remove duplicated testcase test_get_private_image" 2017-04-08 21:21:34 +00:00
Jenkins
b04b587db9 Merge "Remove non-existent config options of oslo modules" 2017-04-08 15:27:37 +00:00
Jenkins
085ab2d4f2 Merge "Remove oslo.i18n entry from config-generator" 2017-04-08 08:03:15 +00:00
Jenkins
416a64e148 Merge "Test live migration back and forth" 2017-04-08 06:28:04 +00:00
Ken'ichi Ohmichi
9e0771f83f Remove non-existent config options of oslo modules
oslo.serialization and oslo.utils don't have any config options at all,
and `tempest init` command did output warning message when generating
tempest.conf. So this patch removes these entries from config-generator.

Closes-Bug: #1620861
Change-Id: Icad81bca5e3e3b69dee99fdac71174c149fd6df2
2017-04-07 12:37:23 -07:00
Ken'ichi Ohmichi
f66799e915 Remove oslo.i18n entry from config-generator
oslo.i18n is not used in Tempest at all and it has been removed
from requirements.txt since Iff37af95269c38e4d435a53a21e5d60e2c5a3fa8
It is not necessary to keep it in config-generator, and this patch
removes it.

Related-Bug: #1620861
Change-Id: Icf43d6421f3a30ca72fdc4e985e070ebeb736fbb
2017-04-07 12:08:54 -07:00
Jenkins
d649055e46 Merge "Skip arbitrary container tests for Ceph" 2017-04-07 16:22:58 +00:00
Jon Bernard
cf769af7b0 Skip arbitrary container tests for Ceph
The Ceph backup driver does not support an arbitrary container name
without there being a corresponding pool already configured on the
cluster.  Unlike swift, Ceph cannot create a pool to match a container
name on the fly, and this test is not supported when configured with a
ceph-backed cinder backup service.

This patch fixes commit f62703b5a4ec420399373480531c5d0428454350 which
causes the ceph job to fail.

Change-Id: Ic8d60d58982bb44bfb233aeccc60c35e8eb0aaf3
2017-04-07 08:40:33 -04:00
Jenkins
add0f82828 Merge "Add Nova version log" 2017-04-07 12:25:25 +00:00
Jenkins
4166de5c94 Merge "Add size assert for creating volume snapshot" 2017-04-07 12:25:17 +00:00
Jenkins
b90426c19b Merge "[DOC] Fix details of tox" 2017-04-07 10:21:09 +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
zhufl
5b346f5b56 Remove duplicated testcase test_get_private_image
test_get_private_image is almost same with test_remove_image_member,
except some assertEquals which are already covered in test_image_share_accept.

Besides, the name "test_get_private_image" is strange in test_images_member.py.

So this is to remove it.
The corresponding defcore patch is Ic86d1d675a16b360e7f368f77ec00c332eec6c03

Change-Id: I328ce319d19bfeb042787385b01bcd92d52ccce2
2017-04-07 14:40:44 +08:00
Jenkins
581bf1c2c4 Merge "Use min_count to create multi servers" 2017-04-07 04:34:13 +00:00
Jenkins
9917be0519 Merge "Add random name in volume.base.create_backup" 2017-04-07 04:33:59 +00:00
Jenkins
60c47cd9e8 Merge "Remove 'reseller' config option" 2017-04-07 02:43:31 +00:00
Hai Shi
6f52fc599a [DOC] Fix details of tox
We need put a space between a param's name and a param's value in tox
and it would be more clear.
eg: from `tox -epy35` to `tox -e py35`.

Change-Id: I86750f42669bb02dcfac2b62e294d557bf44bd4c
2017-04-07 00:47:00 +00:00
Jenkins
1cbdb0e0d8 Merge "Move cinder tests into unversioned path - part2" 2017-04-06 23:58:49 +00:00
Jenkins
82d6f71d6a Merge "Remove 'dvr_extra_resources' option" 2017-04-06 22:31:24 +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
jeremy.zhang
681dff8bea Add size assert for creating volume snapshot
When a volume snapshot being created, the snapshot's volume size
will be equal to the origin volume's size.
This patch add this assert.

Change-Id: I28f30d68db251e9acc7a5f3f63b6663f900acbb4
2017-04-06 22:38:12 +08: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
Jenkins
4ef513006d Merge "Set default value of 'dvr_extra_resources' option to False" 2017-04-05 20:22:55 +00:00
Ken'ichi Ohmichi
e2325f03bf Add Nova version log
We could not see log of Nova versions on the gate.
This patch adds the log to know each version status on the development.

Change-Id: I438754ad78cd07780b21874c9ee9685b549e3652
2017-04-05 12:57:32 -07:00
Jenkins
5a70bd15f2 Merge "Fix no module unit test for Python3.6" 2017-04-05 19:48:30 +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
Yaroslav Lobankov
61d42c7615 Set default value of 'dvr_extra_resources' option to False
The default value of the option was set to True to support Liberty
which is not supported anymore. So let's set the default value of
the option to False.

Related-Bug: #1590049

Change-Id: Idb39e7d60e01bf4a0abf42b1003f0b60fe56cded
2017-04-05 11:01:42 +00:00
Jenkins
d01fde620b Merge "Volume force-delete when volume in maintenance state" 2017-04-05 10:32:50 +00:00
Jenkins
140fc102b7 Merge "Remove a redundant client variable" 2017-04-05 10:31:00 +00:00
Jenkins
11b0030f7d Merge "Add additional roles method to v3 roles client." 2017-04-05 07:48:40 +00:00
zhufl
b4c484e15a Use min_count to create multi servers
When using min_count in test_create_server, it will not create and
wait for server active one by one, and thus will reduce the testcase's
excuting time.

Besides, we can wait for server active after all servers' create
requests are posted in order to save some time.

Change-Id: I68614a27249cc2b17ef6a2b909f01b56dfd6efe9
2017-04-05 15:05:15 +08:00
Jenkins
268f12b870 Merge "Reduce the time waiting for server ACTIVE" 2017-04-05 06:58:39 +00:00
Jenkins
08ef4a928f Merge "Fix flavor info in server response schema" 2017-04-05 06:20:54 +00:00
Jenkins
9b0c25b75c Merge "Fix API reference links in volume/snapshot/type client" 2017-04-05 05:04:43 +00:00
Jenkins
4ae82a9877 Merge "Fix tox coverage section" 2017-04-05 04:45:56 +00:00
Jenkins
b38fc63ee7 Merge "Add volume backup container parameter" 2017-04-05 03:37:56 +00:00
Masayuki Igawa
56e7f38a2f
Fix no module unit test for Python3.6
This commit fixes a unit test of 'test___init___no_module' for
Python3.6. From Python3.6, the error has been changed to
raise a ModuleNotFoundError (subclass of ImportError) when it cannot
find a module[1]. We should keep tempest working on Python3.6 although
we actually don't have py36 gate job now.

So, The testtools.ExpectedException is too strict in this situation. So
I just change it to use assertRaises. This is a bit loose to check
however, I was thinking introducing checking the semver was a bit
overkill here.

[1] https://docs.python.org/3/whatsnew/3.6.html#other-language-changes

Change-Id: I21dc50f20671780f2704d8dd18ca72e0628c8c68
Closes-Bug: #1664454
2017-04-05 11:02:04 +09:00
Jenkins
948d9b9845 Merge "Move test_volume_manage to unversioned path" 2017-04-05 00:54:14 +00:00
ghanshyam
edb2b1244a Fix flavor info in server response schema
Nova show flavor info(id and link) in the server representation
but those are not always going to be present.

If flavor data is being deleted from DB after server creation then,
it will return empty dict. But Tempest schema expect a non-empty dict
always.

Fixing doc for that on nova side- I350dc33df0cb03eb86df1f142e58ae34b02a1334

Also we are not loosing any coverage due to relaxing this in schema as tests
does checks the flavor object presence for normal case where flavor should
be present in server representation.
- test_resize_server_confirm
- test_rebuild_server

Change-Id: I274a86112d78c469970b62334a4301b107a75c5a
Closes-Bug: #1677953
2017-04-05 00:21:18 +00:00
Jenkins
ec2bce20ba Merge "Rename test-removal.rst" 2017-04-04 19:34:48 +00:00
Jenkins
25dbeeff33 Merge "Move Cinder non-admin tests into unversioned path" 2017-04-04 19:19:13 +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