Dual Network is where instead of 2 subnets with different IP versions on the
same network, we use 2 neutron-networks, each with its own subnet.
That way, instead of each server having a single vNIC with 2 IP addresses,
each server has 2 vNICs.
This patch adds tests with dual network for the test_network_v6 scenarios.
In Cirros (and other guest images) only the 1st vNIC is set UP on boot by
default. This patch solved the problem by turning the 2nd vNIC on.
Also, a minor fix to remote_client that strips ":" from the output of
get_nic_name.
Change-Id: I237310e9a8f75551069ffe49b3280c0ab2183664
The expectation from users is that to build docs locally all you need
to do is run build_sphinx on the repo and the docs will be fully
created. When we added the sample config to the tempest docs we ignored
this and just added the sample config generation to the docs tox job.
This commit fixes this by baking in the sample config generation to
the sphinx conf.py file which should ensure we have the sample config
generated every time that we call build_sphinx.
Change-Id: Ifd570707847f52592f5bc9bc743b8d3c98512639
As per the docsctring standard, triple double-quoted
should be used for docstrings.
Changed single quoted docstring to double-quoted.
Closes-Bug: 1483556
Change-Id: I0633498fc353f0148a9dc7c9198c74e6f75244c0
This simply makes the test_waiters module mimic the source
location for tempest/common/waiters so that goofballs such as
myself don't try to create a new test module to add new tests.
Change-Id: Ic82f05f6c3032f7412dc9a588112815d6df1db22
If cinder hits an error when restoring a volume from a backup the volume
is set to 'error_restoring' status. If tempest doesn't handle this and
fail fast, tests keep waiting for the volume to go to 'available' status
or timeout - and the timeout is what happens.
Related-Bug: #1483434
Change-Id: I8f6d0828a84ec5d4a5fa6332e55152bd67eaa605
In setcontext() method of tempest/common/glance_http
module, error message is not formatted property which
leads to error "TypeError: not all arguments converted
during string formatting".
Added appropriate format specifiers to avoid error.
Closes-Bug: 1483230
Change-Id: I48a1f7bf45f563de5959e97ff43b1bc2845feb9f
The argument ignore_error of addCleanup_with_wait() is not used at
all. So this patch removes it for cleanup.
Change-Id: I56634a20d5517f3d6766a4ecbbaadb06ee7426de
Many tempest tests don't work if the run_validation option is
set to true. The validation resources provider tries to create
security groups and security group rules for these tests and it
fails with the following error:
AttributeError: 'SecurityGroupsClient' object has no attribute
'create_security_group_rule'
The reason of failures is that we have recently separated the security
groups client into two clients: security groups client and security group
rules client. This patch fixes the issue.
Change-Id: I548e1fecb6698ac2609fd1581633170ceb638506
Closes-Bug: #1482669
1. Use common _check_remote_connectivity method to verify connectivity between
servers
Old code was a single try expecting 0% packet loss. Common method is resistant
to packet loss and has retries.
Failure message now includes source and dest. Phrasing matches other tests' to
enhance debug searches.
2. Verify connectivity against default v6 gateway.
Change-Id: I32414ccc9818cb58db1cf2477619b40b7b283a3a
It's basically completely impossible to understand why this test would
fail because there is not enough post mortem information. Probably an
address didn't allocate, but this is so stripped down you'd never know
that.
Add further dump on failure to make it possible to see what's happening.
Change-Id: I536f78c77df992dde5efd22b1d763715e33f0769
Related-Bug: #1481715
There is a bug https://bugs.launchpad.net/tempest/+bug/1473396 which
describes that IdentityClient always uses admin enpoint but this is
not correct for non-admin api/identity tests. The latter need to use
public endpoint_type instead.
Added one more identity client ('identity_public_client') to two
existent. Added to tempest.conf 3 enpoint_types to [identity] group
instead of old one 'endpoint_type' for intialization of different
IdentityClients:
* CONF.identity.v3_endpoint_type (because Keystone api v3 can be
configured independently from v2);
* CONF.identity.v2_public_endpoint_type (for Keystone v2 public api);
* CONF.identity.v2_admin_endpoint_type (for Keystone v2 admin api).
Thus, non-admin tests in api/identity/v2 directory would use
'identity_public_client'; admin tests in api/identity/admin would use
'identity_client' and v3 tests in api/identity/v3 - identity_v3_client.
Change-Id: Icd5d175f8de6ccdaa6c718f6d4f68677cd4d7008
Closes-Bug: #1473396
We're using oslo-config-generator to generate a config file other than
copy the tempest.config.sample. We should update the description in
qucikstart of README.rst.
Change-Id: I5c7c3f9041da3e5c3840b440bba6e614c23fdf8a
Closes-Bug: #1481635
This submission fixes typos for the following files -
1. tempest/api/identity/admin/v3/test_trusts.py
2. tempest/clients.py
3. tempest/cmd/javelin.py
4. tempest/stress/actions/volume_attach_verify.py
Change-Id: Ia0a161a9b35701494a6e049204f6f5d21ba3e327