juju deploy jammy when focal requested
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan | ||
3.1 |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
`juju deploy postgresql --series focal` should fail today charm revision, 288, at the tip of the default channel, 1.4/stable only supports jammy. Instead a jammy only channel was deployed on focal.
This also reproduces in 3.1 and 3.2, but not 3.3.beta2 right now
$ juju deploy postgresql --series focal
Located charm "postgresql" in charm-hub, revision 288
Deploying "postgresql" from charm-hub charm "postgresql", revision 288 in channel 14/stable on focal
juju:PRIMARY> db.charms.
{
"_id" : "97b73441-
"meta" : {
"series" : [
"jammy"
]
},
"manifest" : {
"bases" : [
{
"name" : "ubuntu",
"channel" : {
"track" : "22.04",
"risk" : "stable",
"branch" : ""
},
"architectures" : [
"amd64"
]
}
]
}
}
Changed in juju: | |
assignee: | Jack Shaw (jack-shaw) → Heather Lanigan (hmlanigan) |
Changed in juju: | |
status: | Triaged → In Progress |
no longer affects: | juju/3.2 |
Changed in juju: | |
milestone: | 2.9.46 → 2.9.47 |
Changed in juju: | |
milestone: | 2.9.47 → 2.9.46 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
I get this error when trying to use the 3.3 client: 20.04/stable" is not supported, supported bases are: ubuntu@22.04
$ juju --logging-config "#charmhub=TRACE" deploy postgresql --base ubuntu@20.04
ERROR base "ubuntu@
ERROR failed to deploy charm "postgresql"
So it seems we are doing the right thing in 3.3, we just need to fix earlier revisions to refuse to deploy a charm that doesn't support the requested series.