Commit Graph

24 Commits

Author SHA1 Message Date
Michael Johnson 9e9f526d65 Add "member" role to non-admin test credentials
Some services are enabling "new defaults" RBAC by default. This will require all non-admin users to have either the "member" or "reader" role. This patch updates the Octavia tempest plugin to include the "member" role in test credentials when the tempest plugin is configured for "RBAC_test_type" other than owner-or-admin.

Change-Id: I8aadb98d438943b18a8d72ff54e216930cfd3ccc
2023-01-18 18:02:06 +00:00
Michael Johnson 8646e5ae97 API and scenario tests for PROMETHEUS listeners.
This patch adds API and scenario tests for PROMETHEUS listeners. This
includes scenario tests that connect to the metrics endpoint.

Depends-On: https://review.opendev.org/c/openstack/octavia/+/812258
Change-Id: Ia46d8c0967bc5b0f7cd11b6e3ca3a4e03c0bc138
2022-11-21 23:29:13 +00:00
Michael Johnson 031ecca513 Adds a pool client authentication scenario test
This patch adds a pool client authentication scenario test that uses
test servers that require client authentication.

Change-Id: Id5b200954cdf02280d31ed910012a1591a2d2697
2022-09-22 18:57:35 +00:00
Michael Johnson 1b8929ee91 Add ALPN support to the pools service client
This patch adds ALPN protocol selection support to the pools service
client allowing you to limit the ALPN protocols negotiated when connecting
to member servers.

A follow on patch should include test coverage for this.

Change-Id: Id0b93446dbfdde479fd573eed3e9a5c1e9400609
2021-11-24 18:01:39 +00:00
Zuul ec23dbc276 Merge "Adds a pool re-encryption scenario test" 2021-10-02 01:05:31 +00:00
Michael Johnson 6006de75a7 Update tests for scoped tokens and default roles
This patch refactors the RBAC enforcement checks in the API tests.
It also updates those test for keystone scoped tokens and default roles.

Change-Id: I6fad03f5a89c213562918ca258884aac34ba7ce7
2021-04-08 22:07:40 +00:00
Michael Johnson 74b6f2ff50 Adds a pool re-encryption scenario test
This patch adds a pool re-encryption scenario test that covers
TLS enabled pools, pools with CA validation, and pools with
certificate revocation lists.

Co-Authored-By: Gregory Thiemonge <gthiemon@redhat.com>

Change-Id: Ib3d8d766b8eb358b48da74f8634f6d24510394b4
2021-04-02 16:20:26 +00:00
Michael Johnson a5b6008537 Add release note for test_server.bin location
This is a followup patch that adds a release note about the new location
for the test_server.bin

Change-Id: I64cc38e207cd2e3aaa5165b7f73eb832d1623224
2020-11-16 09:43:26 -08:00
Michael Johnson 7bd2f97221 Add an optional amphora admin log offloading test
This patch adds an optional amphora admin log offloading scenario
test.

Change-Id: I90e3ed23cdd2aa1125de18dc332c30a9d9cca0a2
2020-08-13 10:13:17 +00:00
Zuul bf6cc40956 Merge "Add an optional tenant flow log offload test" 2020-08-13 09:57:51 +00:00
Zuul 794072ac96 Merge "Add tags API tests" 2020-08-04 21:42:25 +00:00
oschwart 540bb3b4d0 Add tags API tests
This patch adds some API tests in the create, list and update methods
of the Octavia objects that support Tags.

Tags are supported on Octavia API version 2.5 or later.

Change-Id: Ib14852d57535508fecee2705e704954cfd078474
2020-07-19 12:43:01 +03:00
Michael Johnson b1ba3b373c Add an optional tenant flow log offload test
This patch adds an optional tenant flow log offload scenario test
that checks the tenant flow logging offload and format.

Change-Id: I8a7ed4e1bc3d567c4807726c684ad86cd281096f
2020-07-13 15:27:24 +00:00
Michael Johnson a1862ff5cc Fix availability zone API tests
Currently, if you run the availability zone API tests when not using
the no-op drivers, the API tests will fail as they had hard-coded
availability zone names that do not exist.
Since creating availability zones requires reconfiguration of the nova
host deployments, it is not practical to create nova availability zones
for these tests.

This patch adds tempest configuration settings for the required
availability zones, and if not configured will skip the tests that
require the availability zones be present.

Change-Id: I53d5d33ae9a181b79e1d971d56452eeee5dd7759
2020-06-24 15:57:51 +00:00
Andreas Jaeger d2c4881d07 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Remove ipaddress from requirements so that requirements-check passes.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ifc6eeeb4d43dbd6c9e531d773b3320e234304ab0
2020-05-28 14:46:21 +02:00
Gregory Thiemonge 29d179016a Add UDP test scenario
Update test_healthmonitor_traffic & test_basic_traffic tests
to support UDP traffic in test_traffic_ops
Add simple UDP test in test_ipv6_traffic_ops

Add a UDP test server, merged with the existing HTTP test server.

Change-Id: I1e497b75672753ed0e7acf482bc0e4a6138d3437
2020-01-24 08:30:01 +01:00
Michael Johnson 6378663837 Add listener client authentication scenario tests
This patch adds scenario tests that cover the listener client
authentication features of TLS_TERMINATED listeners.

Depends-On: https://review.opendev.org/#/c/693586/
Change-Id: Ic3a9fa1995709378b68e64aea51e1799867c1bb0
2019-11-10 08:53:35 +00:00
Zuul 65e7c5fcd4 Merge "Sync Sphinx requirement" 2019-07-26 23:35:45 +00:00
Zuul c111f90e6f Merge "Fix the load balancer service clients" 2019-07-26 23:35:32 +00:00
jacky06 7f55e34b19 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: I6988ed388cc6543bc49e62172aa93f34fdca8e95
2019-07-22 20:18:10 +00:00
Michael Johnson 5099fe1cae Fix the load balancer service clients
The load balancer service clients were not using the base
service_client_config from tempest, so they would not pick up some
base settings, such as ca_certs, disable_ssl_certificate_validation,
etc.
This patch corrects that so that the clients will get the base
settings from tempest.

Change-Id: Ic7fa0d2e32cb8ff86fe013064e1ce53d4cf0d62e
Story: 2005880
Task: 33698
2019-06-13 11:36:17 -07:00
Michael Johnson bdf01dfcaa Fix octavia-tempest-plugin releasenotes theme
The octavia tempest plugin release notes were still configured to
use the old oslosphinx theme.
This patch updates the release notes to use the openstackdocstheme.

This patch also enables the release notes to be built and published.

Change-Id: I7877854a86d4cf86614ec281b4840cef50abd4f2
2019-04-01 14:14:04 -07:00
Michael Johnson 69cb566d5a Add listener stats service client and API test
This patch adds the listener stats service client and tempest API test.

Change-Id: I008204d5000c9a2fb4852021f0c759a2490c69b7
Story: 2004853
Task: 29079
2019-01-24 13:45:53 -08:00
Michael Johnson 34139b07a7 Initial setup of the octavia-tempest-plugin repo
This patch is the initial repository setup for octavia-tempest-plugin
using the OpenStack cookiecutter template.

Change-Id: Icce1389d3a9fb6076091d4d291e15773fb64544b
2017-05-11 18:32:01 +00:00