Commit Graph

16 Commits

Author SHA1 Message Date
Guillaume Boutry 7543dfd873 Fallback to 0 minimum compute when no nova-compute units
Tempests can be used on deployments without nova-compute, testing only
control plane APIs. Fallback to a value when no nova-compute units is
found.

Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2024-10-18 17:13:48 +02:00
James Page 40b5896b4a Merge pull request #1276 from fnordahl/tempest-compute-count
tempest: Deduce min_compute_nodes from Juju model.
2024-10-14 17:08:27 +01:00
Frode Nordahl efca169566 tempest: Properly render IPv6 endpoint IPs.
Signed-off-by: Frode Nordahl <fnordahl@ubuntu.com>
2024-10-11 21:48:45 +02:00
Frode Nordahl 9511aae4a6 tempest: Deduce min_compute_nodes from Juju model.
At present this value is hard coded, which may cause test failures
on deployment with different number of compute nodes.

Signed-off-by: Frode Nordahl <fnordahl@ubuntu.com>
2024-10-11 12:34:27 +02:00
Frode Nordahl a9f7794b15 tempest: Refactor _add_application_ips.
Perform repetitive task in loop on input data rather than
repeating the same call three times in the code.

Signed-off-by: Frode Nordahl <fnordahl@ubuntu.com>
2024-10-11 12:20:58 +02:00
Edward Hope-Morley 84adfdbae0 Try cached tempest octavia test_server.bin 2024-09-30 15:38:13 +01:00
Hemanth Nakkina 9439c8b292 Add tempest tests for Octavia k8s
Add tempest tests for Octavia k8s with
scale-in/scale out.
Apply tempest config for octavia only
if it is not a k8s deployment.
2023-09-15 13:58:57 +05:30
Felipe Reyes 1d42b643f4 Add 'watcher' to tempest list of services 2023-08-24 19:38:11 -04:00
Felipe Reyes fa09a20b4b Add support for Magnum to use different images per release.
OpenStack Magnum relies on specific versions of Fedora CoreOS, this
patch addresses this maintaining a map of images per release according
to the upstream documentation[0]

The images are expected to be stored in the object store pointed out by
TEST_SWIFT_IP[1] environment variable in a container named 'magnum'. A
bash script to upload images can be found at
./zaza/openstack/charm_tests/magnum/upload_fedora_coreos_images.sh

[0] https://docs.openstack.org/magnum/latest/user/index.html#supported-versions
[1] https://github.com/openstack-charmers/zosci-config/pull/262
2023-02-14 14:45:11 -03:00
Bas de Bruijne feb667206b make provider-router name variable 2023-01-11 15:39:15 +00:00
Liam Young 827d81fc12 Allow tempest to run in minimal mode (#956)
Add test class that runs tempest in miminal mode. This is useful
for testing that the OpenStack apis are responding but there are
components not configured like an external network. In addtion
some missing doc strings were added and support for neutron
tempest configuration pre ussuri removed as there is a branch
for that.
2022-10-20 11:18:04 +01:00
Corey Bryant 41bc9e0069 Add manila support to tempest 2022-05-19 17:09:07 +00:00
Corey Bryant 860a9fd76c Favor the V3 volume endpoint for tempest config
If the V3 volume endpoint is available, use it for tempest testing.
The V2 volume endpoint is removed in OpenStack Xena, so this allows
us to use the latest available endpoint.
2021-10-14 14:51:31 +00:00
Aurelien Lourot b7e4bbf0fc Allow several tempest runs with different config
This deprecates:

    configure:
      - zaza.openstack.charm_tests.tempest.setup.render_tempest_config_keystone_v3
    tests:
      - zaza.openstack.charm_tests.tempest.tests.TempestTest

by allowing multiple runs with different config:

    tests:
      - zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV2
      - zaza.openstack.charm_tests.openstack_upgrade.tests.OpenStackUpgradeTestsByOption
      - zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
2021-09-16 10:00:06 +02:00
Chris MacNaughton 6a18a37c13 Ensure that the workspace deletion doesn't fail with file not found. 2020-08-20 17:21:36 +02:00
coreycb a67b4906ee Use juju model as workspace and store in home (#383)
* Use juju model as workspace and store in home

The current juju model will now be used as the tempest workspace name.
Additionally, all workspaces will be stored in ~/.tempest/<workspace>.

This patch also introduces a new option 'keep-workspace' that can be
specified along with other tempest options to keep the workspace after
tempest test execution. It defaults to False.

Also minor adjustment to smoke option to test boolean value.
2020-08-18 15:54:09 +02:00