From 3b3ce585af579770ca0748d5a2c05a08d64270c6 Mon Sep 17 00:00:00 2001
From: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date: Thu, 30 Jan 2025 15:18:40 +0000
Subject: [PATCH] diskimage-retrofit use Focal not Bionic

If the test uses bionic source image the charm has not be able
to determine ubuntu_release which it cant always do. This
causes breakage when the image is bionic because it has to apply
ussuri uca for retrofit to work.
---
 zaza/openstack/charm_tests/octavia/diskimage_retrofit/tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zaza/openstack/charm_tests/octavia/diskimage_retrofit/tests.py b/zaza/openstack/charm_tests/octavia/diskimage_retrofit/tests.py
index 2131be027..2e6ddebb3 100644
--- a/zaza/openstack/charm_tests/octavia/diskimage_retrofit/tests.py
+++ b/zaza/openstack/charm_tests/octavia/diskimage_retrofit/tests.py
@@ -55,7 +55,7 @@ def test_retrofit_image_source_image(self):
         glance = openstack.get_glance_session_client(session)
 
         for image in glance.images.list(filters={'os_distro': 'ubuntu',
-                                                 'os_version': '18.04'}):
+                                                 'os_version': '20.04'}):
             action = zaza.model.run_action(
                 'octavia-diskimage-retrofit/0',
                 'retrofit-image',