Chris MacNaughton
d6dcf4fbd4
Remove duplicated code in Dashboard setup ( #644 )
2021-10-03 15:54:05 +01:00
Billy Olsen
a9d233da46
Merge pull request #626 from openstack-charmers/cinder-lvm-tests
...
Implement the tests for the cinder-lvm charm
2021-09-29 10:55:30 -07:00
Aurelien Lourot
c32a6d420b
Fix various typos
2021-09-24 14:20:01 +02:00
Aurelien Lourot
12122ae0ea
Merge pull request #629 from ChrisMacNaughton/bug/hardcoded-manila-ganesha-app
...
Attempt to restart any ganesha application shares.
2021-09-21 14:14:01 +02:00
Aurelien Lourot
33f0c409b3
Merge pull request #634 from openstack-charmers/cinder-netapp-tests
...
Implement the cinder-netapp tests
2021-09-21 13:31:49 +02:00
Luciano Lo Giudice
839e1a0868
Don't make assumptions about present devices
...
Instead of using '/dev/vdc' for a test, use a loop device, since
it should always be available and it allows us to set a specific
size for it.
2021-09-20 20:06:37 -03:00
Luciano Lo Giudice
a5831c43df
Remove pointless tracing.
2021-09-20 11:57:06 -03:00
Luciano Lo Giudice
40a9a5bfb3
Safely remove volume
...
Move the checks inside a 'try' block so that the volume can be
safely remove as a 'finally' statement.
2021-09-20 11:55:52 -03: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
Luciano Lo Giudice
89d47dc016
Fix name in call to super
2021-09-13 14:07:15 -03:00
Luciano Lo Giudice
a94cbb1d3a
Rename the test class to be more uniform
2021-09-13 14:00:36 -03:00
Luciano Lo Giudice
86b440a46b
Add the cinder-netapp tests
2021-09-13 13:31:36 -03:00
Aurelien Lourot
2fd494cce2
Merge pull request #611 from mkalcok/neutron_gateway_actions
...
Neutron gateway actions
2021-09-13 11:50:33 +02:00
James Page
66b1c35d94
Merge pull request #631 from gnuoy/ceph-dash-grafana-url
...
Add setup method for setting grafana api for ceph dashboard
2021-09-13 10:47:02 +01:00
James Page
a7b5a38f1f
Merge pull request #617 from gnuoy/dashboard-login
...
Test logging into dashboard
2021-09-13 10:46:48 +01:00
Martin Kalcok
728c9fc294
Rename actions from "get-status-*" to "show-*"
2021-09-10 16:30:24 +02:00
Aurelien Lourot
79973dc361
Merge pull request #624 from gustavosr98/master
...
Adds tests for NRPE checks in Manila
2021-09-09 15:20:37 +02:00
Aurelien Lourot
f8a88a98a6
Set timeout on juju_wait() ( #630 )
...
* Set timeout on juju_wait()
* Remove leftover traces
Traces should be made with logging.debug(). These traces
are probably leftovers from the development phase.
2021-09-09 09:27:20 +01:00
Liam Young
23f95655b9
Add setup method for setting grafana api for ceph dashboard
2021-09-08 17:44:11 +00:00
Liam Young
36d85aece5
Pacific requires client to set accepted api version
2021-09-08 13:34:30 +00:00
Aurelien Lourot
3f808c1253
Merge branch 'master' into gustavosr98_master
...
Change-Id: Ifaf449c6cffc900d3c5e240f467a4408ea6a195d
2021-09-08 11:39:09 +02:00
Luciano Lo Giudice
879d35d6fb
Cleanup the test file
...
Instead of introducing a new decorator to temporarily change the
configuration, use the existing infrastructure. Furthermore, avoid
passing the model name in some calls since it's implied already.
2021-09-06 19:16:17 -03:00
Gustavo Sanchez
bee69edb76
Reduce wait time and corrections
2021-09-06 09:14:37 -04:00
Liam Young
5993f3f2c5
Dashboard test updates
...
Verify CA now that bug is fix released *1.
Check logging in to the dashbaord works
Use a random username for tests so a test reruns work.
*1 https://bugs.launchpad.net/cloud-archive/+bug/1933410
2021-09-06 12:17:41 +00:00
Chris MacNaughton
a62260f9bd
Attempt to restart any ganesha application shares.
...
Hard-coding the manila-ganesha application names makes
these tests fail in bundles that are using the manila-
ganesha application with it's default name. This change
updates the tests to try to restart the desired
services on any applications named *ganesha*.
2021-09-06 13:21:23 +02:00
Gustavo Sanchez
e6f9a3fce0
Removes method invoked only once
2021-09-03 12:31:11 -04:00
Liam Young
5baf16237f
Add certificate check for Ceph dashboard
...
Add setup step for the dashboard which will block until the
certificates are present and the model is idle. This is to prevent
the tests from continuing when the certificates are not ready.
Also up CephDashboardTest to use standard tools for collecting
ca cert.
2021-08-31 17:24:15 +00:00
Luciano Lo Giudice
5a59742333
Update the functional tests for cinder-lvm.
...
This brings the changes from the 'cinder-lvm' repo itself, from where
this class will be removed.
2021-08-31 12:24:03 -03:00
Aurelien Lourot
15add17e69
Merge pull request #436 from xavpaice/bug/1897809
...
Add NRPE check tests for Designate
2021-08-26 13:27:19 +02:00
Luciano Lo Giudice
fef55ec318
PEP8 style fixes
2021-08-25 20:32:50 -03:00
Luciano Lo Giudice
f3a38c0c90
Implement the tests for the cinder-lvm charm
...
The cinder-lvm charm is a subordinate of the cinder charm. The spec
can be found here:
https://github.com/openstack/charm-specs/blob/master/specs/xena/backlog/cinder-lvm.rst
2021-08-25 20:11:10 -03:00
coreycb
c759a23962
Do not update external network data port if already set ( #625 )
2021-08-24 15:48:55 +02:00
Martin Kalcok
00742d547f
remove unused import
2021-08-20 14:28:24 +02:00
Martin Kalcok
b6f6db365b
Fix after change of get-status-* actions output
2021-08-20 14:23:37 +02:00
Liam Young
be1e489956
Merge pull request #621 from AurelienLourot/vault-validate-ca-more-robust
...
Make vault/setup/validate_ca() more robust
2021-08-19 11:49:48 +01:00
Gustavo Sanchez
8e537dc733
Adds tests for NRPE checks in Manila
...
Adds a test to ensure that Manila units related to NRPE get service check files created.
Closes-Bug: #1925977
2021-08-17 20:17:54 -04:00
Aurelien Lourot
66d08c0866
Make vault/setup/validate_ca() more robust
2021-08-16 13:59:45 +02:00
Frode Nordahl
6e8201f696
Only configure one interface on MAAS provider
...
The Zaza MAAS code selects interfaces that are attached to the
provided CIDR, set up as unconfigured and has link.
In the event a machine has multiple unconfigured interfaces
attached to the same physical network, adding them all to the
configuration might lead to undesired side effects such as network
loops.
2021-08-13 08:46:27 +02:00
Corey Bryant
3229ce2d42
Switch tempest config to use include and exclude flags
2021-08-11 17:03:46 +00:00
Aurelien Lourot
25ec6f84db
Add ceilometer-agent tests ( #615 )
...
https://launchpad.net/bugs/1927277
2021-08-10 11:29:19 +01:00
Liam Young
12596b4a7a
Very basic trilio update test ( #616 )
...
Simple test that the action to update trilio completes.
2021-08-10 11:25:50 +01:00
Aurelien Lourot
6a4f3d4abf
Merge pull request #457 from freyes/bug/1902923
...
designate: test new configuration options
2021-08-04 11:27:24 +02:00
Liam Young
caa8303cc7
Bump trilio snapshot create timeout
...
A recent testrun failed when using an S3 backend because the
snapshot creation timed out. The time out is set to 900s but it
took 959s.
2021-08-03 12:24:49 +00:00
Martin Kalcok
15ed2ab6db
Flip test logic for better readability & remove unnecessary except block
2021-08-02 17:50:38 +02:00
Martin Kalcok
a5e5d9ec0f
add more info to output of juju action fails
2021-08-02 09:27:54 +02:00
Martin Kalcok
12afecced1
move loadbalancer cleanup logic to specific test.
2021-07-30 14:43:55 +02:00
Martin Kalcok
837bfad395
Skip LBaas tests on releases below mitaka.
...
The last mitaka test bundle (xenial-mitaka) does not have loadbalancer
services enabled.
2021-07-29 17:54:29 +02:00
Aurelien Lourot
3371fe9c2a
Wait between actions on OpenStack upgrade ( #607 )
...
We're more likely to time out while waiting for the
action's result if we launch an action while the
model is still executing. Thus it's safer to wait
for the model to settle between actions.
2021-07-29 12:15:53 +01:00
Martin Kalcok
cbc9c84194
Move common functionality into helper method
2021-07-29 12:55:29 +02:00
Gabriel Angelo Sgarbi Cocenza
ea341f1eb4
Check blocked ovn-chassis units with bad config ( #605 )
...
* Check blocked ovn-chassis units with bad config
LP bug#1919481 [0] needs to have a func-test to check if units can
handle bad bridge-interface-mappings configuration and set units
workload to block state and return to active state with good config.
[0] https://bugs.launchpad.net/charm-ovn-chassis/+bug/1919481
* Changing test_wrong_bridge_config to use config_change
Instead of using block_until_unit_wl_status, change the test_config
to be able to check blocked state for ovn-chassis units
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com >
2021-07-29 11:09:33 +02:00