Cannot deploy local charm due to `eries "jammy" not supported by charm, the charm supported series are: focal`

Bug #2061352 reported by Gary.Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Incomplete
Undecided
Jack Shaw

Bug Description

All of a sudden, we hit the following error in the CI when deploying a bundle with a set of local charms
```
05:03:57 - deploy application anbox-stream-agent on jammy
05:03:57 - upload charm /home/ubuntu/src/tests/spread/data/anbox-cloud_1.22.0-alpha.595+git996b4482/charms/jammy/anbox-stream-gateway_1.22.0-alpha.595+git996b4482_jammy.charm for series jammy with architecture=arm64
05:03:57 ERROR cannot deploy bundle: cannot deploy local charm at "/home/ubuntu/src/tests/spread/data/anbox-cloud_1.22.0-alpha.595+git996b4482/charms/jammy/anbox-stream-gateway_1.22.0-alpha.595+git996b4482_jammy.charm": series "jammy" not supported by charm, the charm supported series are: focal
```

This charm does support the jammy series as declared in the metadata.yaml file
```
name: anbox-stream-gateway
...
...
series:
  - focal
  - jammy
```

The above issue began occurring following the release of a new revision of juju on the 3.1/stable channel
```
  3.1/stable: 3.1.8 2024-04-12 (26977) 95MB -
```

Any hints/suggestions/workaround so far for the above issue?
Thanks

Revision history for this message
Ian Booth (wallyworld) wrote :

Defining series in metadata.yaml is deprecated but I wouldn't expect Juju 3.1 to break.

Moving forward, the supported series will become supported bases and these will be read from the charm's manifest.yaml file.

I wonder if a patch in this area accidentally landed in 3.1.

Revision history for this message
Joseph Phillips (manadart) wrote :

The manifest will be preferred if present. Does it have an entry for a 22.04 base?

Changed in juju:
status: New → Incomplete
Jack Shaw (jack-shaw)
Changed in juju:
assignee: nobody → Jack Shaw (jack-shaw)
Revision history for this message
Gary.Wang (gary-wzl77) wrote :

Yes, it does.
From what I've seen
```
$ cat manifest.yaml
analysis:
  attributes:
  - name: language
    result: unknown
  - name: framework
    result: unknown
bases:
- architectures:
  - amd64
  - arm64
  channel: '22.04'
  name: ubuntu
charmcraft-started-at: '2024-04-16T19:01:37.076184Z'
charmcraft-version: 2.0.0.dev0+unknown
```

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.