Frode Nordahl
3e33bc73b1
tempest: Conditionally populate http_image key.
...
The `[image]` section and `http_image` configuration key is
optional, only populate it if the caller has populated the
`TEST_SWIFT_IP` environment variable.
Signed-off-by: Frode Nordahl <fnordahl@ubuntu.com >
2024-10-12 09:26:57 +02:00
Peter Sabaini
115c4e7e6c
Merge pull request #1274 from sabaini/rgw-vhost-skip-quincy
...
Skip unsupported vhost config on older releases
2024-10-07 20:21:13 +02:00
Peter Sabaini
774d4cc93b
Skip unsupported vhost config on older releases
...
Quincy and older do not support virtual hosted bucket
2024-10-07 12:26:07 +02:00
James Page
853318ba47
Merge pull request #1267 from dosaboy/try-local-testserverbin
...
Try cached tempest octavia test_server.bin
2024-10-01 10:33:15 +01:00
Edward Hope-Morley
84adfdbae0
Try cached tempest octavia test_server.bin
2024-09-30 15:38:13 +01:00
Felipe Reyes
4c1e106554
Merge pull request #1266 from dosaboy/dont-sync-noble-image
...
Skip noble image sync for octavia tests
2024-09-27 10:57:50 -07:00
Edward Hope-Morley
b1690d40ae
Skip noble image sync for octavia tests
...
Noble was recently added but is not needed and is tipping
glance/ceph storage usage over the limit in release tests.
2024-09-27 17:27:41 +01:00
Edward Hope-Morley
f967243d8a
Merge pull request #1173 from freyes/test-volume-based-amphora
...
Add Octavia volume-based Amphora test
2024-09-24 21:02:15 +01:00
Nicholas Njihia
3c4482b732
Add Octavia volume-based Amphora test
...
Enable Amphora to run instances booted from
volume by flipping the config option
`enable-volume-based-amphora` to True and
checking volumes attached to the amphora
instances.
Depends-On: https://review.opendev.org/c/openstack/charm-octavia/+/810567
Related-Bug: https://launchpad.net/bugs/1901732
2024-09-22 21:38:58 +01:00
Alex Kavanagh
32bcda1cc2
Add octavia to UPGRADE_SERVICES
2024-09-19 11:10:35 +01:00
Peter Sabaini
460923c1d5
Merge pull request #1264 from sabaini/cos-int-prom-tenacity
...
COS integration: prometheus tenacity
2024-09-10 17:32:12 +02:00
Peter Sabaini
03ce7d54c3
COS integration: prometheus tenacity
...
Be more insistent in querying metrics
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-09-10 10:52:55 +02:00
Peter Sabaini
fc2994eb78
Merge pull request #1263 from sabaini/cos-test-no-sslver
...
COS testing fix
2024-09-09 11:13:31 +02:00
Peter Sabaini
f87814103d
COS testing fix
...
Don't require trusted certs for getting grafana api info
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-09-04 20:38:14 +02:00
Peter Sabaini
54ce1340db
Merge pull request #1262 from sabaini/cos-int-fix
...
Trivial: COS test fix typo
2024-09-04 09:32:00 +02:00
Peter Sabaini
95f8122fbb
Trivial: COS test fix typo
...
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-09-04 09:27:59 +02:00
Peter Sabaini
37e0dd61d0
Merge pull request #1261 from sabaini/cos-integ-prom-api
...
COS integration: make prom-api configurable
2024-09-02 20:27:00 +02:00
Peter Sabaini
afe42c4a59
COS integration: make prom-api configurable
...
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-09-02 19:54:22 +02:00
Peter Sabaini
4a81c003d1
Merge pull request #1260 from sabaini/fix/ga-naming
...
Fix: grafana-agent relation
2024-08-30 14:33:02 +02:00
Peter Sabaini
7e1591c528
Fix: grafana-agent relation
2024-08-30 10:19:14 +02:00
Peter Sabaini
f8b4d09d49
Merge pull request #1259 from sabaini/cos-integration-controller
...
COS integration testing: improve COS model lookup
2024-08-29 18:00:59 +02:00
Peter Sabaini
f1b1c3a1a9
COS integration testing: improve COS model lookup
...
Also, raise an error instead of skipping the test if no COS model found
2024-08-28 18:55:39 +02:00
Felipe Reyes
664040d8f9
Merge pull request #1257 from gboutry/fix/unpin-cinderclient
...
Unpin cinderclient
2024-08-28 09:36:32 -07:00
Peter Sabaini
5cf0e50fb4
Merge pull request #1258 from sabaini/fix/util-import
...
Fix import path
2024-08-22 18:37:31 +02:00
Peter Sabaini
8dec5eccf8
Fix import path
...
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-08-22 17:15:34 +02:00
Guillaume Boutry
51388f026a
Unpin cinderclient
...
cinderclient was pinned to train release, this version prevented zaza to
be run with python 3.12
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com >
2024-08-22 11:51:39 +02:00
Peter Sabaini
2cb0b0bee0
Merge pull request #1256 from sabaini/refactor/move-cos-tests
...
Refactor: move the COS integration to separate module
2024-08-21 14:43:22 +02:00
Peter Sabaini
23862098cc
Refactor: move the COS integration to separate module
...
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-08-20 15:29:32 +02:00
Peter Sabaini
a08ef84031
Merge pull request #1254 from sabaini/ceph-cos-tests
...
Add COS integration testing for ceph-mon
2024-08-19 09:46:25 +02:00
Peter Sabaini
ab347e1c12
Add COS integration testing for ceph-mon
...
Test retrieval of metrics, alert rules and dashboards
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com >
2024-08-12 18:52:30 +02:00
Alex Kavanagh
3b8450f6d3
Merge pull request #1248 from freyes/fix-labels-fmt
...
Fix formatting in [magnum].labels
2024-07-30 17:32:33 +01:00
Felipe Reyes
a0ec1cddab
Fix formatting in [magnum].labels
...
magnum-tempest-plugin since commit[0] is using ast.literal_eval() to
parse the value set in [magnum].labels, so the formatting needs to be a
Python dict.
This is an example of how the string needs to look like to make the
parser happy:
>>> import ast
>>> ast.literal_eval('{"a": "1:1"}')
{'a': '1:1'}
[0] 2fe075ae78 (diff-8e9d4d1beb73d502d61e14564c76d54acf855bf8)
2024-07-30 12:14:38 -04:00
James Page
0718782db9
Merge pull request #1247 from freyes/fix-labels-fmt
...
Fix [magnum].label formatting
2024-07-29 20:12:51 +01:00
Felipe Reyes
cb802733e6
Fix [magnum].label formatting
...
Fixes the formatting of the labels configuration key, error raised with
the current formatting:
Traceback (most recent call last):
File "/mnt/git/charmed-openstack-tester/.tox/func-target/lib/python3.8/site-packages/magnum_tempest_plugin/tests/api/base.py", line 39, in setUpClass
config.Config.setUp()
File "/mnt/git/charmed-openstack-tester/.tox/func-target/lib/python3.8/site-packages/magnum_tempest_plugin/common/config.py", line 187, in setUp
cls.set_labels(config)
File "/mnt/git/charmed-openstack-tester/.tox/func-target/lib/python3.8/site-packages/magnum_tempest_plugin/common/config.py", line 162, in set_labels
cls.labels = ast.literal_eval(CONF.magnum.labels)
File "/usr/lib/python3.8/ast.py", line 59, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python3.8/ast.py", line 47, in parse
return compile(source, filename, mode, flags,
File "<unknown>", line 1
container_infra_prefix:10.245.164.190:5000
^
SyntaxError: invalid syntax
2024-07-29 15:04:04 -04:00
Felipe Reyes
b4964ce548
Merge pull request #1238 from openstack-charmers/retrier-fixes-bobcat
...
[bobcat] ObjectRetrierWraps fixes (cherry-pick #1234 )
2024-07-11 08:47:28 -07:00
Billy Olsen
e67dca5dc5
Merge pull request #1237 from openstack-charmers/retrier-fixes-master
...
[main] ObjectRetrierWraps fixes (cherry-pick #1234 )
2024-07-03 00:03:57 +01:00
Billy Olsen
312e32043b
Merge pull request #1235 from jadonn/master
2024-07-02 13:49:06 +01:00
Alex Kavanagh
02d8d3fce8
Modify test code to be less brittle
...
The test for log function against ObjectRetrierWraps class is too
brittle to the number of log calls. This commit makes it less brittle.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
7e6aba6c3f
Reduce ObjectRetrierWraps logging noise during normal use
2024-07-02 11:00:59 +01:00
Alex Kavanagh
d4cc719643
Add more retries to allow manila backup restore to complete
...
Due to slow 1GiB networking in ServerStack the restore often exceeds the
retries. Increase them to enable the restore to succeed.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
fe1a6a550c
Double Cinder backup restore time
...
This accounts for slow ServerStack when using ceph in the model.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
925540b457
Fix ObjectRetrierWraps recursive wrapping
...
In order to ensure that an object that contains other objects that are
called (e.g. the VolumeManager object on the Cinder client object), the
ObjectRetrierWraps class needs to more agressively wrap non builtin
classes.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
39b1f43b98
Re-enable test 410 for cinder backups
...
This is to verify that the retries really do work.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
3f18031cd2
Add additional debug for ObjectRetrier
...
It wasn't capturing member variables on the wrapped object that would
then be used to make the call; thus, wrap those.
This also disables (temporarily) the long running cinder backup test
deletion whilst checking whether retries are the problem.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
af66125944
Add ObjectRetrier to CinderaBackupTests
...
This adds the auto-retrier to the cinder client to get past race hazards
and other transient errors.
2024-07-02 11:00:59 +01:00
Alex Kavanagh
b7c5b5a54d
Modify test code to be less brittle
...
The test for log function against ObjectRetrierWraps class is too
brittle to the number of log calls. This commit makes it less brittle.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
12c69fdca3
Reduce ObjectRetrierWraps logging noise during normal use
2024-07-02 10:50:54 +01:00
Alex Kavanagh
0bf4e9a558
Add more retries to allow manila backup restore to complete
...
Due to slow 1GiB networking in ServerStack the restore often exceeds the
retries. Increase them to enable the restore to succeed.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
d71c9b3545
Double Cinder backup restore time
...
This accounts for slow ServerStack when using ceph in the model.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
1f0808e238
Fix ObjectRetrierWraps recursive wrapping
...
In order to ensure that an object that contains other objects that are
called (e.g. the VolumeManager object on the Cinder client object), the
ObjectRetrierWraps class needs to more agressively wrap non builtin
classes.
2024-07-02 10:50:54 +01:00