Commit Graph

1944 Commits

Author SHA1 Message Date
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
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
Gustavo Sanchez e6f9a3fce0 Removes method invoked only once 2021-09-03 12:31:11 -04:00
Billy Olsen 2aac7afa6f Merge pull request #628 from gnuoy/check-dashboard-cert
Add certificate check for Ceph dashboard
2021-08-31 13:44:47 -07: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
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
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
coreycb fa5f314396 Merge pull request #620 from fnordahl/maas-configure-one-interface
Maas configure one interface
2021-08-17 11:36:13 -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
Aurelien Lourot 3813a53b79 Merge pull request #618 from coreycb/master
Switch tempest config to use include and exclude flags
2021-08-12 11:26:22 +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
Aurelien Lourot a3a312b8a4 Merge pull request #614 from gnuoy/bump-trilio-snapshot-timeout
Bump trilio snapshot create timeout
2021-08-03 14:59:52 +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
Aurelien Lourot 4d2761e84d Don't 'pip install install' (#612)
Change-Id: I916858a3e3af9366ab8e8b68e875ab670848d571
2021-07-29 09:56:23 +01:00
Martin Kalcok 74959dee3a fix linting errors 2021-07-29 09:07:39 +02:00
Martin Kalcok 6fb2f3c148 Merge remote-tracking branch 'upstream/master' into neutron_gateway_actions 2021-07-29 08:54:57 +02:00
Frode Nordahl 611f9c30df Merge pull request #608 from openstack-charmers/lourot/rm-unneeded-dep
Removed unneeded dependency to distro-info
2021-07-28 17:11:22 +02:00
Aurelien Lourot e693fc1840 Nail pip 20.2.3
Co-authored-by: Alex Kavanagh <alex.kavanagh@canonical.com>
2021-07-28 16:53:01 +02:00
Martin Kalcok 5f0c43da2e Skip loadbalancer cleanup on releases that don't support them 2021-07-28 15:59:12 +02:00
Martin Kalcok 988efd6b25 Tests for new "status" actions in neutron-gateway 2021-07-28 14:52:04 +02:00
Aurelien Lourot ee647a7552 Removed unneeded dependency to distro-info
distro-info hasn't been maintained for 8 years and pip is
now failing to fetch it on Python 3.8.

This dependency seems to have been introduced by accident
in 22e7ffc.
2021-07-28 13:38:32 +02:00
Liam Young 57ca7c68e0 Merge pull request #601 from openstack-charmers/lourot/impish-xena-yoga
Add Impish/Xena/Yoga bits
2021-07-21 09:16:47 +01:00
Aurelien Lourot 40e1573277 Add Impish/Xena/Yoga bits
Change-Id: I61ef8120fb487dc4a1a12a51d14c75825099bcbb
2021-07-20 10:52:35 +02:00
Aurelien Lourot 797e505f84 Add connection timeout to CirrOS image download (#604)
Without this timeout it has been observed that Zaza
may hang forever on open(). It is better to fail
faster and save time and resources.
2021-07-20 09:37:51 +01:00
Aurelien Lourot 67685b242b Merge pull request #569 from ajkavanagh/octavia-scenario-mods
Additions for the Octavia Upgrade tests
2021-07-19 15:41:40 +02:00
Aurelien Lourot ec705b5093 Merge pull request #53 from guoqiao/retry-with-tenacity
use tenacity for retries
2021-07-16 13:46:11 +02:00