The ec2 api's skip decision maker logic is convoluted and doesn't work
if we don't set any of the options. This commit adds an explicity config
flag to make it clear to say that your deployment doesn't support/use
the ec2 api and have the boto tests skipped.
Change-Id: I47f44830b1aa38c32682c6c3e6f619a3ca59b5f3
Add a file for testing new-style container synchronization. The file is named
as "test_container_sync_middleware.py" because new-style function is defined
in wsgi middleware. Add two config items for container-sync settings for
the new test.
Almost all test code is the same as "old-style" container sync test so new
test class overrides the old one. To reuse source code of the old class,
test_container_sync.py file is cleaned up.
!!!CONFIG DEFAULT VALUE IS CHANGED!!!
The default value of 'container_sync_timeout' item is changed from 120 to
600 because the default interval time when container-sync daemon process
runs is 300 sec so tests related to container-sync had a potential to
terminate in failure. From this patch, the default value is changed to
the double of the interval time for the purpose of safety.
Partially implements blueprint add-icehouse-swift-tests
Change-Id: I81c4ad6d452ed6a96ed81af3404f47cf802c41a0
The list of plugins can be tuned by cloud administrator, so make
sure that the list of checked plugins is not hardcoded.
The default list of plugins matches the one currently enabled.
This commit introduces also a new section for data_processing enabled
features in the tempest configuration.
Change-Id: Ie29aeef2df605cfe840e053bc57ff980e9332636
Tests that subnet's DNS server configurations are effecting the VMs
1. Configure subnet with DNS nameserver
2. Retrieve the VM's configured DNS and verify it matches the one configured
for the subnet.
3. Update subnet's DNS
4. Retrieve the VM's configured DNS and verify it matches the new one
configured for the subnet.
DNS nameservers' addresses are arbitrary as any resolution check would be
testing either:
* L3 forwarding - tested in test_network_basic_ops
* External DNS service resolution - out of scope for Tempest tests
Adds dhcp_client to tempest.conf which should indicate the image DHCP client
used for renewing dhcp lease.
Supported: 'udhcpc', 'dhclient'
Empty value should skip subnet update parts of scenario
TODO: add support for dhcpcd client
Change-Id: Idd8d11929320aa9208dd14d718e1f8f264d9de80
This commit moves the tempest_roles option to the auth group. This
option was previously in the identity section which was the incorrect
place for it. The identity group is used for config settings related
to keystone, while the auth section is used for tempest specific user
auth.
Change-Id: Id89c7c265b648cf31b3f2e684d4467a7c8c2f554
Adds configuration option identity.tempest_roles which is a list of
roles that are added to all tempest created users.
This is useful when tempest users require priviledges between default
and admin.
Change-Id: I545d8f595dad6e4fe3da57e936baf18bc16c0e78
Closes-Bug: #1411256
This patch Ibc4307b406b71db258975da90a39c1f51ad27e12 changed
the RestClient so that it does not use the
CONF.compute.build_timeout variable anymore.
For this reason, there is no way to specify a timeout for the image
client, which inherits the hardcoded 60 seconds timeout.
This patch introduces a config option for this. For consistency,
a config option was added for build interval as well.
Change-Id: I0ac5ead60c4dc5a0c04feee513ae299ca14bd38e
Partial-bug: #1394519
Closes-bug: #1407943
Oslo.config 1.6.0 was recently released which updated the config sample
generator. This changes the sample generated for the pep8 job. This
commit updates the in repo sample config file to allow the gating job
to pass again.
Change-Id: I76b94f9bd99d283dac0b2246654d14c4d25d2f65
Drop ComputeAdmin config group, credential type and manager as
they are not used anywhere anymore.
The test-accounts-continued bp will provide a better framework
to support more types of test accounts in future if needed.
Change-Id: Id5508ecbf0ac78168858d5c21bccbeeb8b818f73
Nova v3 API has disappeared, and Tempest isn't testing the API on the
gate now. In addition, Nova team is creating a new REST API "Nova v2.1
API + microversions" and the interfaces are different from v3 API.
So it is not necessary to keep Nova v3 API tests in Tempest.
This patch removes the API config.
Change-Id: I6c0dc4ff1b05dcf29aae2937104dacf55384d12f
Compute's build_timeout applies to other services that don't define that
value. This patch adds a comment to make that explicit.
Change-Id: I8bbe7a654a548317d0c66fa24506eff7424cf9ef
Closes-Bug: #1394519
This commit removes all of the network debugging gorp usage from
tempest. These were added as a crutch over a year ago to enable
real neutron testing in the gate, which was impossible to debug
at the time. This debug info is an inherent layer violation in tempest
which is only supposed to be black-box and not care about any of the
underlying internals. It also assumes a single host environment and
that tempest is running on that machine, which is mostly specific to
the gate and devtest setups. Additionally the amount of output on a
failure is staggering to the point where keeping this around is
counter-productive. If we are unable to debug issues at this point
neutron needs to improve their logging so people can figure out what
failed.
Change-Id: Ia1ed4ab3cd2e4941fb072b3390f4859420989e74
tempest has an option to ignore SSL errors
(disable_ssl_certificate_validation) but no way to pass in
a CA bundle to be used to do actual validation. This new option,
ca_certificates_file, will provide this bundle.
boto testing will be handled separately as it gets CA
certificates from its configuration file.
This is configured in either /etc/boto.cfg or the file pointed
to by $BOTO_CONFIG via:
[Boto]
ca_certificates_file = /path/to/ca-bundle.pem
Change-Id: I5662e881f7d71ed34a8fe4b9d0a2541a6ff1bad3
Closes-bug: #1395754
This patch removes the xml configuration options from tempest. Since
the xml testing has all been removed from tempest these options no
longer do anything, so let's just remove them from config.
Change-Id: I5b3e221d942e09134024b82acaf179dc869357e0
This commit syncs the latest version of the log module oslo-incubator.
Depends-On: Iee20319e7596232de5bed5b9755381ead44e3f46
Closes-Bug: #1386530
Change-Id: Ibc6fde39f93dd620f8e6020129aa7c10d12b581f
This will allow us to remove XML support from Keystone in Kilo, but keep
testing XML support for previous releases.
Devstack patch for stable/icehouse:
Ibb402640c5b744f1ea38ce548994079996c72508
Devstack patch for stable/juno:
I576c93303575812c44afa36ad18205ecbc494e5f
Change-Id: I823fda34081f28863fcc6a3889f5f04a87134b38
Now that we are starting to try testing multi node devstack we want to
test live_migration. In single node setups the live_migration tests will
be skipped since the tests make sure there are at least two compute nodes first.
Change-Id: I8e8a940a6eb3fa28adafb1035c549eb6d572baac
The first step to removing XML in Kilo is making XML testing optional.
Stable test configs will need to be updated to enable this feature to prevent
regressions in stable releases.
Change-Id: I30b9565e01c623814a9c503c4b1c26642afed878
Also fixes tempest reported bug with old generator in oslo-incubator,
when identical options are registered in different groups.
Change-Id: I274f48503c1b61ca09cabc8d8c50245ba1059943
Closes-bug: 1282887
Add a method to select the appropriate credentials provider based
on configuration, and replace all the flow branches based on
allow_tenant_isolation to use the factory.
This also includes handling NotImplemented exceptions on admin creds
for scenarios tests which is a new potential condition by using the
factory.
Partially-implements bp:test-accounts
Change-Id: I280f2b1659c593e14ab9213a161b55bcfc08fa5c
Zaqar is a messaging service which provides support for different
messaging patterns and messaging related semantics.
This fix changes the old API name -queuing- to a more accurate name, -messaging-.
Change-Id: I63321e8b9f277be040d0f75d5ed9f4461da0defc
This commit fixes cases in tempest.common.accounts cases where some
methods were attempting to use non-existent class level variables.
It also improves the get_hash methods and calls to remove_hash.
Co-Authored-By: Andrea Frittoli <andrea.frittoli@hp.com>
Change-Id: I30cf59b981e0db3a3e50357a8db489519767c0ca
IETF doesn't recommend use of IPv6 networks
with masks not "/64". Recommended subnetting is
3-1-4 - 48 for provider, 16 for subnetting and
64 for network. For example SLAAC will not
work if you use subnets different from /64.
Test with port update will not work until
bug 1364166 is fixed, added attribute to it.
Change-Id: I260c820dbde1f98b569e564c7b5e7e558e431c0d
Before this commit, Tempest tests of Swift were selectable only for WSGI
middleware on proxy servers. With this commit, other following Swift
functions are also selectable with Tempest's config file.
Following Swift functions are selectable now:
- Old-style Container Sync: mirroring objects in the container to another
container
- Object Versioning: versioning all objects in the container
- Discoverability: providing details about the Swift installation
Implements blueprint more-selectable-swift-tests
Change-Id: Idd4afb675c70eea6ba4f8ce59c635f32f040c61e
Scenario Tempest tests don't work on Hyper-V due to the missing
support for VHD/VHDX image formats in the Tempest scenario comfiguration.
The commits adds options to specify custom image disk and container
formats, mantaining 'QCoW2' and 'bare' as the default options for
backwards compatibility.
Closes-bug: #1357691
Co-Authored-By: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
DocImpact
Change-Id: I41c09d5a682cdb068b97b4bd1be3403ee7973c7c
Due to copyright issues Marconi is renamed to Zaqar. This patch updates
all Marconi references to Zaqar.
Change-Id: Ib37b95d99bbfc666e1a3a17174d87804ecd0649e
Nova image creation / instance snapshotting is not supported across compute
drivers. This adds a new compute feature flag and skips tests that attempt
to create snapshots.
Change-Id: I814157d434e3d5e13dfae9b9ee7d5135199c4e97
Converts the all server schemas for negative testing into dict's.
Change-Id: Iecd3f30c3609ff6c785fd632ade70d92f2f7b94d
Partially-implements: bp api-schema-unification
Converts the all flavor_admin schemas for negative testing into dict's.
Change-Id: I9f237c7f944a5efc8bd56153f7d2b5d6b17b1d2d
Partially-implements: bp api-schema-unification
Converts the all flavor schemas for negative testing into dict's.
Change-Id: Ia1fbff86549a8268e46dfd73fcc21d23c653eda4
Partially-implements: bp api-schema-unification