openstack-origin=distro is set for focal-yoga

Bug #1984051 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Octavia Charm
In Progress
Medium
Alex Kavanagh

Bug Description

The charm from yoga track for focal should have cloud:focal-yoga instead of "distro". Otherwise, unexpected version of Octavia (Ussuri) is deployed for Yoga environment.

$ juju info --series focal --arch amd64 octavia | grep yoga
  yoga/stable: 3026201 2022-05-05 (71) 39MB
  yoga/candidate: ^
  yoga/beta: ^
  yoga/edge: ^

$ juju download --series focal --arch amd64 --channel yoga/stable octavia
Fetching charm "octavia" using "yoga/stable" channel and base "amd64/ubuntu/20.04"
Install the "octavia" charm with:
    juju deploy ./octavia_9f26dd0.charm

$ unzip -q -d octavia octavia_9f26dd0.charm

$ grep -A1 '"openstack-origin":' octavia/config.yaml
  "openstack-origin":
    "default": "distro"

^^^ "distro". this is expected to be "yoga".

Other charms for example, keystone has the expected value.

$ juju info --series focal --arch amd64 keystone | grep yoga
  yoga/stable: 572 2022-06-15 (572) 781kB
  yoga/candidate: ^
  yoga/beta: ^
  yoga/edge: ^

$ juju download --series focal --arch amd64 --channel yoga/stable keystone
Fetching charm "keystone" using "yoga/stable" channel and base "amd64/ubuntu/20.04"
Install the "keystone" charm with:
    juju deploy ./keystone_e0108fd.charm

$ unzip -q -d keystone keystone_e0108fd.charm

$ grep -A2 'openstack-origin:' keystone/config.yaml
  openstack-origin:
    type: string
    default: yoga

^^^ "yoga"

Revision history for this message
Nobuto Murata (nobuto) wrote :

By looking at other reactive charms, gnocchi for example has an explit config:

https://opendev.org/openstack/charm-gnocchi/commit/9183e9a91b101919ec09390243da45c0eb07bcfe#diff-5

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Yes, most of them should be okay; it's unfortunate that this one got missed. I'll do a sweep and make sure the rest (that have an openstack-origin) are set. It's slightly complicated from a source perspective as for reactive charms, the default for openstack-origin (distro) is actually set in the layer:openstack-api and so just grepping the source code means we can miss charms that have an openstack-origin config item.

Changed in charm-octavia:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :
Changed in charm-octavia:
assignee: nobody → Alex Kavanagh (ajkavanagh)
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.