Commit Graph

1451 Commits

Author SHA1 Message Date
Alvaro Uria 5579f2f110 HaclusterTest: support scaleback test on bionic 2020-07-21 19:57:37 +02:00
Liam Young 59b6c1bd35 Merge pull request #341 from openstack-charmers/lourot/keystone
Minor improvements to keystone tests
2020-07-16 13:26:09 +01:00
Liam Young 20b6a5eec0 Merge pull request #366 from openstack-charmers/image_arch
add image arch and properties specification
2020-07-16 13:13:46 +01:00
David Ames 376c9dbfd2 Merge pull request #367 from gnuoy/default-app-name-for-vrrp
Add defaut app name for vrrp tests
2020-07-15 13:38:51 -07:00
Liam Young ce6cfe68b3 Add defaut app name for vrrp tests
Set a default application_name for vrrp tests so they can be
called by charms other than the neutron-api gate tests.
2020-07-15 20:07:17 +00:00
Andrew McLeod a670e274fa add image arch and properties specification 2020-07-15 16:56:06 +02:00
Aurelien Lourot 0094872fec Merge pull request #345 from openstack-charmers/octavia-use-common-launch-helper
Use common launch helper with retry handling for Octavia tests
2020-07-15 16:12:27 +02:00
Dmitrii Shcherbakov 4f237688af Merge pull request #363 from gnuoy/skip-ks-test_003_test_overide_is_observed
Skip test_003_test_overide_is_observed
2020-07-14 17:13:10 +03:00
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
coreycb f81e085dfb Merge pull request #362 from gnuoy/add-victoria
Add Groovy Victoria support
2020-07-14 08:55:56 -04:00
Liam Young e729c64956 Fixed existing codename errors spotted by coreycb 2020-07-14 12:53:07 +00:00
Liam Young 2d3eaa6e84 Fix typo 2020-07-14 12:42:29 +00:00
Liam Young e409b68639 Add Groovy Victoria support 2020-07-14 12:39:58 +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
David Ames 161f632e1d Merge pull request #360 from gnuoy/no-hard-coded-region
Stop assuming RegionOne in ceph-radosgw tests
2020-07-13 07:52:18 -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
Alex Kavanagh 9b01f9016b Merge pull request #357 from thedac/fix-for-740116
Wait for resolving update-status hook errors
2020-07-10 09:46:26 +01: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
Aurelien Lourot 0287664d92 Fix paramiko.ssh_exception.BadAuthenticationType (#355)
Fix paramiko.ssh_exception.BadAuthenticationType when SSHing to a new Ubuntu instance.

Note that paramiko still has a few issues around authentication:
https://github.com/paramiko/paramiko/pull/1106/files

This paramiko PR also shows that password='' isn't the same as
password=None
2020-07-09 16:35:00 +02:00
Alex Kavanagh 6266c7dbca Merge pull request #356 from gnuoy/masakari-assert-guest-ready
Add check that guest is up
2020-07-09 12:07:02 +01: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
Liam Young f1336ee5fc Merge pull request #354 from thedac/fixes-for-738717
Fixes for MySQL testing
2020-07-08 20:37:07 +01: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 c75e16df07 Merge pull request #353 from gnuoy/store-keys-in-tmpdir
Use model tmp dir for key storage
2020-07-07 14:45:03 +02:00
Liam Young 7f122b8611 Last unit test fix (passing locally, was failing in travis) 2020-07-07 12:38:18 +00:00
Liam Young ed2aded7f9 Fix another unit test 2020-07-07 12:32:54 +00:00
Liam Young 9b706b8eaa Remove swap files 2020-07-07 12:24:32 +00:00
Liam Young 76fdb61e0f Fix up unit tests 2020-07-07 12:18:01 +00: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
Aurelien Lourot 17e78bb74e Merge pull request #352 from gnuoy/LTSGuestCreateVolumeBackedTest
Add LTSGuestCreateVolumeBackedTest
2020-07-07 13:17:24 +02:00
Liam Young a829b372e0 Use model tmpdor for key storage
Use the model specific tmp dir to store the test ssh private key.
This avoids the key being overwritten in CMR tests.

Depends-On: https://github.com/openstack-charmers/zaza/pull/371
2020-07-07 09:56:25 +00: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
Liam Young 3fa5297a1d Merge pull request #347 from ChrisMacNaughton/bug/tempest-cinder
ensure that we add the bare cinder endpoint
2020-07-06 13:32:11 +01:00
Frode Nordahl 849e08528b octavia: fix pause/resume test and temporarily disable it
Re-enable when LP: #1886202 is fixed.
2020-07-03 16:33:50 +02: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
Frode Nordahl b09f1ead66 Merge pull request #346 from gnuoy/switch-to-TEST_CIDR_EXT
Switch pre_deploy_certs from OS_ to TEST_ vars
2020-07-03 13:08:03 +02:00
Liam Young 0fe56cbc33 Switch pre_deploy_certs from OS_ to TEST_ vars 2020-07-03 10:48:12 +00: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
Frode Nordahl b4f155d5e3 octavia: Consume common helpers for test instance lifecycle 2020-07-03 08:56:04 +02:00
Frode Nordahl 29356f6419 Move cleanup of launched instances to common class
Use the nomenclature for resource cleanup as defined in the
`BaseCharmTest`.
2020-07-03 08:56:01 +02:00
Frode Nordahl 0df72bf47c Make shared resource cleanup method class instance method
At present the shared resource cleanup method is a class method.
This will prohibit descendents of the class to influence whether
cleanup should be run.

Remove the @classmethod decorator so that it will make its
descisions based on class instance variables set by the
descendent.
2020-07-03 08:55:57 +02:00