Commit Graph

593 Commits

Author SHA1 Message Date
Liam Young 9896c8d9c5 Skip test_003_test_overide_is_observed
Skip test_003_test_overide_is_observed until Bug #1880959 is fix
released.
2020-07-14 14:08:31 +00:00
David Ames a84b15b786 Merge pull request #361 from gnuoy/wait-ceph-ready
Add ceph_ready config step
2020-07-13 07:57:33 -07:00
Liam Young c4176881d0 Fix spelling typo 2020-07-13 14:56:04 +00:00
David Ames fdd92e3c5b Merge pull request #359 from gnuoy/set-default-app-name
Set application_name for ceph-radosgw tests
2020-07-13 07:53:06 -07:00
Liam Young 9e395f69b7 Add ceph_ready config step
Add a ceph_ready config step which just checks that the ceph units
are in a 'active' 'Unit is Ready.*' state. This is useful when
encryption at rest is being used and the tests.yaml assumes that
the units are going to come up blocked. Once vault is ready the
tests then need to wait for the ceph units to become unblocked.
2020-07-13 14:42:43 +00:00
Liam Young 65cc6aa604 Stop assuming RegionOne in ceph-radosgw tests
Stop assuming RegionOne in ceph-radosgw tests and get the region
from the app config instead.
2020-07-13 14:36:59 +00:00
Liam Young f6e2a40166 Set application_name for ceph-radosgw tests
Set application_name for ceph-radosgw tests so that the tests can be
run without relying on getting the application name from the
tests.yaml.
2020-07-13 14:33:35 +00:00
David Ames 4546e821c1 Wait for resolving update-status hook errors
The cold boot restart takes too long on update-status. Make the timeout
longer.
2020-07-09 09:27:25 -07:00
Liam Young 701e751398 Add check that guest is up
On a recent mosci run the guest used for a restart test had a
pending power task which stopped the restart test working properly.
This PR adds an assertion that the guest is ready.
2020-07-09 10:15:56 +00:00
David Ames 7265b79769 Fixes for MySQL testing
* Better handle workload state checking during cold start
* Switch from debug to info to see log messages
2020-07-08 10:27:01 -07:00
Aurelien Lourot 6b30e48baf Merge pull request #351 from gnuoy/keystone-wait_for_cacert
Add wait_for_cacert
2020-07-07 13:19:42 +02:00
Aurelien Lourot ea714ac0c5 Merge pull request #350 from gnuoy/vault-auto_initialize_no_validation_no_wait
Add auto_initialize_no_validation_no_wait
2020-07-07 13:18:34 +02:00
Liam Young 9c52b3390d Add LTSGuestCreateVolumeBackedTest
Add a test class which launches a volume backed instance.
2020-07-07 09:06:35 +00:00
Liam Young 8f44ab681a Add wait_for_cacert
wait_for_cacert will wait for keystone to recieve and install
a cacert. This is particularly useful when the certificate
issuer is in a different model.
2020-07-07 09:03:36 +00:00
Liam Young d0981d64af Add auto_initialize_no_validation_no_wait
When vault is in its own model with no clients then vault needs
to be initialised without waiting for clients to start executing
and without validating a client has recieved the cert. To achieve
this, this PR adds auto_initialize_no_validation_no_wait.
2020-07-07 08:57:40 +00:00
Chris MacNaughton 37dfa53baf ensure that we add the bare cinder endpoint
When there is a cinderv2 or cinderv3 endpoint, we should
enable the bare cinder bits in the tempest config.
2020-07-03 16:04:14 +02:00
Frode Nordahl 6f5bd1c4b9 Merge pull request #335 from javacruft/gss-cacert-verify
Pass deployment CA cert to requests
2020-07-03 13:09:50 +02:00
James Page ecb47bfa4f Fix lint 2020-07-03 10:59:39 +01:00
James Page 29849225c2 Pass deployment CA cert to requests
Ensure that the CA cert for the deployment is passed to
requests when retrieving stream data from swift.

Refresh the product catalog entry on each attempt to retrieve
stream data as the URL will update once data was been written
to the swift endpoint in the deployment.

Retry on KeyError and drop number of retry attempts

Add a log message to detail URL being used for product-stream data

Log return data from streams endpoint

Fixup endpoint resolution
2020-07-03 10:19:22 +01:00
Liam Young fac724a5d2 Merge pull request #344 from thedac/ocata
Do not run API check on Ocata
2020-07-03 07:27:08 +01:00
David Ames 39b6065879 Do not run API check on Ocata
Since commit c98aa001f9, there are some
missing changes.

This stops the API check on Ocata when gnocchi is in play. Gnocchi must
be in play for Ocata but heretofore has not been.
2020-07-02 16:10:39 -07:00
Frode Nordahl 2472a7b505 ceph/fs: Use common helpers for launching test instances
Fixes #311
2020-07-02 17:59:39 +02:00
Frode Nordahl 0f3d9bf7c4 Move useful helpers from Neutron tests to OpenStackBaseTest
The dual-instance launch and retrieve is a common pattern in tests.

Let's share them.
2020-07-02 17:59:31 +02:00
Frode Nordahl 5040bdf32d Merge pull request #338 from openstack-charmers/lourot/arista-setup-race-condition
Wait for neutron to be connected to Arista before querying it
2020-07-02 11:29:25 +02:00
Liam Young 73d729474e Merge pull request #313 from openstack-charmers/add-cephfs-pause-resume-test
Add CephFS pause/resume test
2020-07-01 16:47:32 +01:00
Alex Kavanagh 697382c8ef Merge pull request #337 from auria/cinder-enabled-services
CinderTests: Support enabled-services option
2020-07-01 10:38:23 +01:00
Aurelien Lourot 1f2ec452e7 Merge pull request #339 from gnuoy/masakari-default_app_name
Set application_name for masakari tests
2020-07-01 11:14:55 +02:00
Aurelien Lourot 1e682e9480 Fix application name in trace 2020-07-01 11:07:49 +02:00
Camille Rodriguez 2331907134 Add Gnocchi S3 storage backend functional test (#334)
Add tests for Gnocchi S3 storage backend support.
2020-06-30 16:30:39 +01:00
Liam Young e75902ac21 Set application_name for masakari tests
Set application_name for masakari tests so that the tests can be
run without relying on getting the application name from the
tests.yaml.
2020-06-30 14:42:25 +00:00
Aurelien Lourot e184ad7498 Wait for neutron to be connected to Arista before querying it 2020-06-30 16:28:15 +02:00
Alvaro Uria b69455d3e8 CinderTests: Support enabled-services option
charm-cinder supports units with a limited number of services running
(api/scheduler on a unit, volume service on another one). Functional
tests wait for all services to be restarted when a subset of them should
be observed.

Partial-Bug: #1779310
2020-06-30 13:38:00 +02:00
Aurelien Lourot 68af0d2079 Clarification 2020-06-24 16:27:35 +02:00
Aurelien Lourot 87d5667990 Download Arista image 2020-06-24 11:44:25 +02:00
Aurelien Lourot b1ccc4bd24 Rename neutron arista charm 2020-06-23 15:50:34 +02:00
Aurelien Lourot a04cc1f077 Cosmetic improvements 2020-06-23 13:11:50 +02:00
Aurelien Lourot 13b590ea12 Refactor overriding mechanism 2020-06-23 13:03:04 +02:00
Aurelien Lourot f0ceb33f3a Add functional tests for neutron-arista 2020-06-22 16:15:03 +02:00
Liam Young a419fccdb7 Merge pull request #308 from openstack-charmers/ipv6-fixes
Ipv6 fixes
2020-06-19 10:59:12 +01:00
Liam Young 7f5d9bfdc9 Merge pull request #326 from afreiberger/bug/1882247
Fix racy swift global replication testing
2020-06-19 10:56:01 +01:00
Drew Freiberger 1f2b4890ef Fix racy swift global replication testing
During some runs of functional testing, swift global replication would
only have 2 copies rather than 3 of the object that was just written.

This patch attempts to resolve the race condition and also adds ordering
to more recently added tests.

Closes-Bug: #1882247
2020-06-18 16:19:13 -05:00
David Ames d063586236 Merge pull request #321 from javacruft/gss-by-action
Add setup for glance-simplestreams-sync
2020-06-17 10:19:44 -07:00
coreycb ac65792d53 Merge pull request #320 from gnuoy/tempest-auto-detect
Tempest auto detect
2020-06-12 12:07:50 -04:00
Liam Young 68648aede5 Tidyup following review feedback 2020-06-12 13:14:28 +00:00
Liam Young 12cf1725cb Fix service -> setup f map 2020-06-12 12:54:57 +00:00
James Page 931fcb4aa7 Add setup for glance-simplestreams-sync
Use action to complete initial image sync for the gss charm.

This avoids races where the images end up in the wrong locations
and allows the tests to actually know when images should be
discoverable.

Update tests to wait for at least four images (20.04 is synced
by default).
2020-06-12 13:47:38 +01:00
Corey Bryant e8898979b5 Drop check for tempest workspace directory
This check is not necessary. The workspace is recreated on each
run, so just attempt to remove the workspace each time.
2020-06-12 01:56:17 +00:00
Liam Young b95c79c9e3 Include templates 2020-06-11 15:53:51 +00:00
Frode Nordahl effbf13190 Add CephFS pause/resume test 2020-06-11 16:44:40 +02:00
Liam Young d837c0ed97 Automatically enable/disable config for tempest.
Automatically enable/disable config for tempest based on the
contents of the keystone service catalogue.
2020-06-11 14:12:16 +00:00