Commit Graph

2109 Commits

Author SHA1 Message Date
Corey Bryant
41bc9e0069 Add manila support to tempest 2022-05-19 17:09:07 +00:00
Dmitrii Shcherbakov
8fae05e0c2 Merge pull request #746 from openstack-charmers/hugepages-vfio
Add connectivity test with DPDK
2022-05-12 17:25:12 +03:00
Billy Olsen
0d07a39d60 Merge pull request #667 from gnuoy/ceph-radosgw-multi
Add wait for sync to ceph RGW tests
2022-05-10 10:11:28 -07:00
Chris MacNaughton
183099f3a0 Merge pull request #762 from openstack-charmers/fix-saml-tests
Fix ceph-dashboard SAML tests
2022-05-09 08:42:02 +02:00
Luciano Lo Giudice
1a5b3f6152 Also wait for the SAML 'enabled' message 2022-05-02 17:31:27 -03:00
Luciano Lo Giudice
eaf33ab2bd Add docstring to public method 2022-05-02 14:43:36 -03:00
Luciano Lo Giudice
a6846dd161 Add a few retries to avoid race conditions 2022-05-02 14:37:54 -03:00
Luciano Lo Giudice
7d70b22846 PEP8 style fixes 2022-04-29 18:04:15 -03:00
Luciano Lo Giudice
d9a2c95cd5 Fix ceph-dashboard SAML tests
This PR ensures that the SAML tests are using a fully valid IDP
metadata (Ceph's dashboard doesn't report its validity until SAML
features are used), as well as using TLS in the requests, in addition
to some cleanups here and there.
2022-04-29 18:00:18 -03:00
Frode Nordahl
ffa98f31b2 ovn: Add chassis DPDK test 2022-04-26 13:09:27 +02:00
Frode Nordahl
7a192e56c9 dvr_enabled: Avoid KeyError when Neutron not present 2022-04-26 11:48:38 +02:00
Frode Nordahl
7984d783fa Add undercloud_and_charm_setup configure step
The neutron ``basic_overcloud_network`` setup job performs both
undercloud and charm configuration prior to configuring the
overcloud network.  The undercloud and charm configuration steps
are useful outside the context of OpenStack Neutron.

Split undercloud and charm setup into a new configure step.
2022-04-26 11:48:33 +02:00
Frode Nordahl
899f2b7cd2 Move hugepages/vfio helpers to common test utils
Update CPU topology flavor advice.

The example currently listed would create a two socket CPU with
only one NUMA node, which is a invalid configuration which leads
to undefined results.

Instead list two examples one with a single socket for simpler
end to end tests and a two socket two numa node example for more
advanced low level tests.
2022-04-26 11:48:28 +02:00
Frode Nordahl
16e0fbbfa7 ovn: Fix `wrong_bridge_config` test
The test blindly reverts the ``bridge-interface-mappings``
configuration to an empty string, which would be the wrong thing
to do if it was previously set up by a test configure step.

The test also does not properly populate target_deploy_status and
the test will always wait for the next update status to run,
which may take several minutes, before completing.
2022-04-26 11:44:59 +02:00
Frode Nordahl
c77ac32f5e Add *.swp to gitignore 2022-04-22 14:34:22 +02:00
Frode Nordahl
f38448fee7 neutron: Add connectivity test with DPDK
The test will prepare hypervisor units in virtual machines by
enabling hugepages configuration and rebooting them and
subsequent required runtime changes.  If the hypervisor units
are physical machines the test assumes they already have
received the appropriate configuration from the bare metal
provisioning system.

Launch nested instance using flavor that enables hugepages and
attach it directly to the external network and perform
connectivity tests.

After a successful test the hypervisor units are brought back
to their original state to not influence subsequent tests.
2022-04-21 17:27:37 +02:00
Frode Nordahl
ba0dc0232d Support connectivity check without FIPs 2022-04-21 17:22:47 +02:00
Frode Nordahl
ad16b5a7fc Make project network and subnet configurable 2022-04-21 16:03:54 +02:00
Frode Nordahl
3ec64703ed Support launch instance on external provider network
Allow launching an instance and attaching it directly to the
external provider network.  This is useful in its own right and
is also a requirement in order to successfully test some
configurations.
2022-04-21 16:03:48 +02:00
Frode Nordahl
3f711ff6da openstack: Add update subnet DHCP helper 2022-04-21 14:08:55 +02:00
coreycb
59d5d24acf Merge pull request #759 from gnuoy/remove-unkown-metric-test
Stop failing on unknown ceilometer metrics
2022-04-20 11:12:52 -04:00
Liam Young
21179a1125 Stop failing on unknown ceilometer metrics
The metric test is too strict and fails if it finds a metric that
is not explicitly listed in the test. Given the test does check
that the expected metrics are present there seems not need to fail
if a new one has added upstream.
2022-04-20 12:46:59 +00:00
Chris MacNaughton
85f33e8369 Merge pull request #751 from openstack-charmers/fix-add-disk-test
Setup loop devices early on in the Ceph tests
2022-04-14 16:51:20 +02:00
Frode Nordahl
68eb4f482a Update zaza/__init__.py from zaza (#750)
The zaza and zaza-openstack-tests project are currently installed
within the same package.  A side effect of that is that the
zaza/__init__.py from zaza is overwritten by the one in
zaza-openstack-tests.

We ought to find a better way of doing this but we're currently
blocked on using zaza + zaza-openstack-tests on systems with
Python 3.10 installed, and updating this file unblocks us.

Update zaza/__init__.py from openstack-charmers/zaza@c48c955ef7
2022-04-13 14:36:03 +01:00
Luciano Lo Giudice
a7f4e92e02 Reorder storage operation 2022-04-12 21:16:27 -03:00
Luciano Lo Giudice
b7bb8597ce Sync kernel partitions 2022-04-12 19:47:43 -03:00
Luciano Lo Giudice
f09bc087b3 Setup loop devices early on in the Ceph tests
There appears to be a race condition between the loop device creation
and its actual usage. In order to prevent that, this PR setups these
devices during the test initialization instead of right before using
them in the 'add-disk' tests.
2022-04-12 17:30:25 -03:00
Liam Young
c0d1a73259 Merge pull request #747 from wolsen/fix-neutron-qos-tests
Fix the qos tests for neutron
2022-04-12 16:40:59 +01:00
Billy Olsen
8c1722502f Remove lowercase of qos_enabled
Its a boolean, it doesn't have a lowercase method.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2022-04-12 06:29:57 -07:00
Billy Olsen
7975258453 Fix the qos tests for neutron
Only run the test_401_enable_qos tests when qos is not enabled prior to
test execution.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2022-04-11 19:46:57 -07:00
James Page
735f948260 Merge pull request #744 from openstack-charmers/bug/1968341
magpie: Relax the workload check in tests
2022-04-08 16:13:45 +01:00
Frode Nordahl
59c8dd6e1d magpie: Relax the workload check in tests 2022-04-08 16:15:16 +02:00
Chris MacNaughton
aa24cb9f03 Merge pull request #741 from openstack-charmers/ceph-dashboard-saml-tests
Add test for ceph-dashboard SAML functionality
2022-04-08 14:07:25 +02:00
Dmitrii Shcherbakov
c57ae0ccbf Merge pull request #742 from openstack-charmers/bug/1968008
ovn: Skip NRPE tests on Jammy
2022-04-07 13:52:34 +03:00
Chris MacNaughton
8c6ee4c758 Add Ceph versions to OS_CODENAMES (#743)
There are some Ceph charms that do not install the
openstack-release package, so fall through to the
dict to identify which release they are on, and can
fail with a KeyError when not finding a matching
entry for Pacific and Quincy.
2022-04-07 09:24:28 +01:00
Frode Nordahl
0ca76a86a5 ovn: Skip NRPE tests on Jammy
Related-Bug: #1968008
2022-04-06 15:39:00 +02:00
Luciano Lo Giudice
b7d7588f46 Test SAML redirect and presence of metadata 2022-04-05 14:50:15 -03:00
Luciano Lo Giudice
99b3cd6dec Use ceph-mon as application 2022-04-04 19:59:43 -03:00
Luciano Lo Giudice
d1ad9f7a2a Use an existing application for version fetching 2022-04-04 18:21:31 -03:00
Luciano Lo Giudice
124d16acbb Add test for ceph-dashboard SAML functionality 2022-04-04 15:49:34 -03:00
James Page
9b17e61124 Merge pull request #696 from wolsen/vtpm-tests
Add vtpm functional tests
2022-04-04 14:36:36 +01:00
Chris MacNaughton
4fb139e24b Merge pull request #683 from openstack-charmers/osd-remove-test
Implement test for disk replacement
2022-04-02 08:50:41 +02:00
Billy Olsen
c7e7443c63 Add vtpm functional tests
Add functional tests for vTPM enablement within guests.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2022-04-01 15:37:38 -07:00
coreycb
ed0bca46ff Merge pull request #736 from gnuoy/fix-netapp-tests
Fix netapp tests
2022-03-29 13:18:11 -04:00
Liam Young
df91c1e6cb Fix netapp tests
* Check the charm config options when constructing the expected
  cinder.conf contents. This makes the tests less brittle when
  bundles are changed.

* Only check the volume backend name for netapp as the host part
  is now the cinder units hostname
2022-03-29 16:17:16 +00:00
Chris MacNaughton
140268d75c Merge pull request #720 from peterctl/keystone-rotate-admin-password
Add rotate-admin-password functional test
2022-03-22 12:37:05 +00:00
James Page
57f420629e Merge pull request #719 from AurelienLourot/nvidia-vgpu
Add NovaComputeNvidiaVgpuTest
2022-03-22 10:00:10 +00:00
Luciano Lo Giudice
3a7afecf4d Remove spurious loop device 2022-03-21 19:51:59 -03:00
Luciano Lo Giudice
e1d10f9359 Use the correct module 2022-03-21 18:44:42 -03:00
Luciano Lo Giudice
1b01ff2c51 Merge branch 'master' into osd-remove-test 2022-03-21 18:39:59 -03:00