Comment 0 for bug 1970653

Revision history for this message
Ethan Myers (ethanmyers) wrote :

Hello,

Oliver Dufour found this bug originally, and I was able to reproduce it as well.

Summary: If you set mirror_list in glance-simplestreams-sync to include the 22.04 LTS, jammy, octavia-diskimage-retrofit will fail to create the image when prompted.

Steps to reproduce:

On a healthy openstack deployment with vault and keystone:

$ juju deploy glance-simplestreams-sync
$ juju deploy octavia-diskimage-retrofit

$ juju add-relation octavia-diskimage-retrofit glance-simplestreams-sync
$ juju add-relation glance-simplestreams-sync keystone
$ juju add-relation octavia-diskimage-retrofit keystone
$ juju add-relation glance-simplestreams-sync vault
$ juju add-relation octavia-diskimage-retrofit vault

Once everything has settled in juju status:

$ juju config glance-simplestreams-sync mirror_list="[{url: 'http://cloud-images.ubuntu.com/releases/', name_prefix: 'ubuntu:released', path: 'streams/v1/index.sjson', max: 1, item_filters: ['release~(bionic|foca|jammy)', 'arch~(x86_64|amd64)', 'ftype~(disk1.img|disk.img)']}]"

$ juju run-action glance-simplestreams-sync/0 sync-images

$ juju config octavia-diskimage-retrofit retrofit-series=jammy
$ juju run-action octavia-diskimage-retrofit/0 retrofit-image

The juju action will fail. I've attached an example of a healthy focal test, as well as two failed jammy tests. these logs are from the octavia-diskimage-retrofit/0 unit, /var/log/juju/unit-octavia-diskimage-retrofit-0.log.

I think the relevant error starts with:

The following packages have unmet dependencies:
shim-signed : Depends: grub-efi-amd64-signed but it is not going to be
installed or grub-efi-arm64-signed but it is not installable.