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
This commit removes the skip condition with flavor_ref and
flavor_ref_alt when the resize feature is enable. Because when
resize feature is enable, the flavor_ref and flavor_ref_alt should be
set properly, otherwise, it is a misconfiguration. So we should fail
but not skip at the situation.
And This commit also add a help message for the resize config to avoid
users confusing.
Change-Id: I8eab2e57eb77e7a1a8dae7ffd63ec95ae6a026c3
This commit makes tempest workspace command use cliff.lister to show
various formats. And this commit splits the original class -
TempestWorkspace into the subcommand classes to use the cliff.lister
class. With this splitting, we can get the subcommand helps as a side
effect.
Change-Id: I07c69c467743a2f132c99d992773a53bda3bec7b
Update testcases to force delete a backup when the state is error
steps:
- create a backup
- reset backup state to error
- force delete the backup
Fixed create backup cleanup
Added API:
- force_delete_backup
Change-Id: I2495e9c10e888f5a01d2a3e7f09a4b6dfc3d58a0
This commit makes bash shebangs through /usr/bin/env. The originals work
correctly. However, it could be more flexible through /usr/bin/env. And
we already have a same thing in tools/tox_install.sh. So this commit
makes them consistent, too.
Change-Id: I35a6940cbd95c3b0f0d0f6391584b826e4de2ce5
Current compute baremetal tests involve ironic and nova. Ironic to
create baremetal node and then GET nodes using nova APIs.
Nova only provides GET APIs for baremetal nodes which has been deprecated.
This tests is testing Ironic node GET/POST etc which are covered on
ironic tempest plugin and nova API testing is covered in nova functional
tests.
It needs Ironic to be present and so ironic baremetal client.
With all points in consideration we should remove this tests from tempest.
It satisfy all rules as defined in tests removal procedure.
1. Nova functional test is enough for this API testing.
-http://git.openstack.org/cgit/openstack/nova/tree/nova/tests/functional/api_sample_tests/test_baremetal_nodes.py
2. gate does not run this test.
3. No external usage:
- http://codesearch.openstack.org/?q=test_list_get_baremetal_nodes&i=nope&files=&repos=
Change-Id: Ide9ca3a349f396c994f1c822c3d040d93547ad48
Closes-Bug: #1675416
when server live-migration with volume ,after success of live_migration,
we should check the volume is whether attach or not.
Change-Id: I2bfd993f67e3fc7a00cd9ed1dfdfdf78516f6085
This is to add name param in setup_test_role, only when
name is not specified then random name is generated, thus
setup_test_role can be more widely used to make the code
clean.
Change-Id: Ice8cf92cdbb7294f43cb880997cc5d51f6406f50
When the VNC url is https, wrap the socket client with SSL.
If the VNC url is of http, use a regular socket client.
Change-Id: I7e5d6ccb65293b89540f528cc84da6c0d8699fee
Closes-Bug: #1677142
Api ref links in TransfersClient are broken, this is
to fix them.
No other broken links in current code.
Change-Id: I19be9d4afcb82b546cda093655d35c930f85c932
Don't use 'list' as a parameter name since this assert can be used
for any sequence or collection. Add docstring for both helpers.
Change-Id: I747507c3a5d0cf6f84915c8dd9222f4c082cbc04
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
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
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
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
If you omit the attribute of security_groups, the API creates the server
in the default security group,and also openstack can accept to
remove all security groups of server ,so add the test.
Change-Id: I39e272f7b7655a9821cc5ff9e5701f9da80c9bd4
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
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
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
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
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
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
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
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