deploy: specifying revision causes series to default to xenial

Bug #1991499 reported by Jordan Barrett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

On Juju 2.9.35-latest, if you specify a charm revision, the series defaults to xenial instead of focal:
```
$ juju deploy juju-qa-refresher
Located charm "juju-qa-refresher" in charm-hub, revision 2
Deploying "juju-qa-refresher" from charm-hub charm "juju-qa-refresher", revision 2 in channel stable on focal

$ juju deploy juju-qa-refresher --channel=stable
Located charm "juju-qa-refresher" in charm-hub, revision 2
Deploying "juju-qa-refresher" from charm-hub charm "juju-qa-refresher", revision 2 in channel stable on focal

$ juju deploy juju-qa-refresher --channel=stable --revision=2
Located charm "juju-qa-refresher" in charm-hub, revision 2
Deploying "juju-qa-refresher" from charm-hub charm "juju-qa-refresher", revision 2 in channel stable on xenial
```

IMO, these should all have the same result.

Revision history for this message
Juan M. Tirado (tiradojm) wrote :

Does this still occur with 2.9.38?

Changed in juju:
status: New → Incomplete
Revision history for this message
Jordan Barrett (barrettj12) wrote :

Still happens on 2.9-latest.

$ juju deploy juju-qa-refresher --channel=stable
Located charm "juju-qa-refresher" in charm-hub, revision 2
Deploying "juju-qa-refresher" from charm-hub charm "juju-qa-refresher", revision 2 in channel stable on jammy

$ juju deploy juju-qa-refresher --channel=stable --revision=2
Located charm "juju-qa-refresher" in charm-hub, revision 2
Deploying "juju-qa-refresher" from charm-hub charm "juju-qa-refresher", revision 2 in channel stable on xenial

$ juju version --all
version: 2.9.40-ubuntu-amd64
git-commit: 934ccf38d3cab2d75143e4cb0b382a113c6fe15d
git-tree-state: clean
compiler: gc

Changed in juju:
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
Jordan Barrett (barrettj12) wrote :

This could also be an issue with the Charmhub API - maybe when we request a certain revision, it returns us xenial by default.

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.