Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bobcat] Add Octavia volume-based Amphora test #1272

Conversation

dosaboy
Copy link
Contributor

@dosaboy dosaboy commented Oct 4, 2024

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

@dosaboy dosaboy changed the base branch from master to stable/bobcat October 4, 2024 17:25
@dosaboy dosaboy changed the title Add Octavia volume-based Amphora test [Bobcat] Add Octavia volume-based Amphora test Oct 6, 2024
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/+/930443
Related-Bug: https://launchpad.net/bugs/1901732
@dosaboy dosaboy force-pushed the octavia-volume-backend-amphora-bobcat branch from 2f1aafe to 28dcaf2 Compare October 6, 2024 16:46
@dosaboy
Copy link
Contributor Author

dosaboy commented Oct 7, 2024

this currently fails with:

2024-10-06 18:02:50 [INFO] ======================================================================                                                                                                                                                                                  
2024-10-06 18:02:50 [INFO] ERROR: test_volume_backed_amphora (zaza.openstack.charm_tests.octavia.tests.OctaviaVolumeBackedAmphoraTest)                                                                                                                                             
2024-10-06 18:02:50 [INFO] Test volume-backed amphora load balancer.                                                                                                                                                                                                               
2024-10-06 18:02:50 [INFO] ----------------------------------------------------------------------                                                                                                                                                                                  
2024-10-06 18:02:50 [INFO] Traceback (most recent call last):                                                                                                                                                                                                                      
2024-10-06 18:02:50 [INFO]   File "/home/ubuntu/jammy/octavia/src/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/charm_tests/octavia/tests.py", line 575, in test_volume_backed_amphora                                                                               
2024-10-06 18:02:50 [INFO]     if CompareOpenStack(os_versions['octavia']) < 'ussuri':                                                                                                                                                                                             
2024-10-06 18:02:50 [INFO] KeyError: 'octavia'

looking into why

@dosaboy
Copy link
Contributor Author

dosaboy commented Oct 7, 2024

depends on 32bcda1

@javacruft javacruft merged commit 13043a9 into openstack-charmers:stable/bobcat Oct 9, 2024
3 checks passed
openstack-mirroring pushed a commit to openstack/charm-octavia that referenced this pull request Oct 15, 2024
By default launched amphora will use ephemeral storage as defined by
flavor used, this is suboptimal for environments where live-migration is
desired (and avoiding the transfer of the blockstorage is needed), but
also provides some resiliency in case of hypervisor failures.

This patch adds a new set of configuration option to enable amphora
instances booted from volume.

* enable-volume-based-amphora
* volume-size
* volume-type

More details about this feature can be found at
https://opendev.org/openstack/octavia/commit/93b509cfe5ccced92ab482fa789ed6cdb700f154

Also:
  * removes Mantic tests
  * makes Bobcat tests voting=True

Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1272
Closes-Bug: #1901732
Change-Id: I45a8385e3522f161e31daf786f293777363e57e0
(cherry picked from commit a4711f5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants