Juju 2.9.50 charm refresh fails with `ERROR unknown series for version: "24.04"`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
New
|
Undecided
|
Heather Lanigan |
Bug Description
Hi,
Charm refresh seems to be broken in juju 2.9.50.
Steps:
1. Bootstrap LXD juju 2.9.50 controller
2. juju add-model test-landscape
3. juju deploy landscape-server --channel=
4. juju refresh landscape-server
ERROR unknown series for version: "24.04"
I don't see anything special in the controller logs:
```
$ juju debug-log -m controller
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.worker.
machine-0: 12:48:01 INFO juju.state new machine "0" has preferred addresses: private "", public ""
machine-0: 12:48:02 INFO juju.apiserver.
machine-0: 12:48:02 INFO juju.cloudconfig Fetching agent: curl -sSf --connect-timeout 20 --noproxy "*" --insecure -o $bin/tools.tar.gz <[https:/
machine-0: 12:48:02 INFO juju.container.lxd starting new container "juju-1dc87b-0" (image "ubuntu-
machine-0: 12:48:08 INFO juju.provider.lxd started instance "juju-1dc87b-0"
machine-0: 12:48:14 INFO juju.state machine "0" preferred private address changed from "" to "local-
machine-0: 12:48:14 INFO juju.state machine "0" preferred public address changed from "" to "local-
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
machine-0: 12:49:03 INFO juju.apiserver.
```
My juju status and show-application
```
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
test-landscape localhost-localhost localhost/localhost 2.9.50 unsupported 12:53:24Z
App Version Status Scale Charm Channel Rev Exposed Message
landscape-server waiting 1 landscape-server latest/stable 111 no Waiting on relations: db, amqp, haproxy
Unit Workload Agent Machine Public address Ports Message
landscape-server/0* waiting idle 0 10.60.78.62 Waiting on relations: db, amqp, haproxy
Machine State Address Inst id Series AZ Message
0 started 10.60.78.62 juju-1dc87b-0 jammy Running
$ juju show-application landscape-server
landscape-server:
charm: landscape-server
series: jammy
channel: latest/stable
constraints:
arch: amd64
principal: true
exposed: false
remote: false
life: alive
endpoint-
"": alpha
amqp: alpha
application
cos-agent: alpha
data: alpha
db: alpha
hosted: alpha
nrpe-
replicas: alpha
website: alpha
```
Seems like juju for some reason tries to look for charm build on Noble, while it is only available in Jammy. But I want only Jammy in my case.
Expected behavior:
Juju refreshes charm to the lastest/stable on Jammy.
Best Regards,
Alex.
Assigned the Heather for comment. Is the issue here that revision has been supplied explicitly for the initial deployment?
I wonder if it works with --force-series.