handling of series when resolving charm urls
Bug #1788604 reported by
Francesco Banconi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Eric Claude Jones |
Bug Description
When deploying a charm without specifying a series and a revision, juju adds the model default series first and then uses the charm store for resolving the revision.
So for instance, having a bionic,xenial charm at revision 1 and then a bonic only one at revision 2 results in revision 1 to be deployed on 2.4.1 by default, which can be surprising, as not specifying the series is often intended as "just give me latest stable, I don't care about the series".
So, what would you think of changing the url resolving logic so that the model's default-series is only used for disambiguation, when the latest stable supports multiple series?
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.5-beta1 |
Changed in juju: | |
assignee: | nobody → Richard Harding (rharding) |
Changed in juju: | |
milestone: | 2.5-beta1 → 2.5-beta2 |
Changed in juju: | |
assignee: | Richard Harding (rharding) → Eric Claude Jones (ecjones) |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 2.5-beta2 → 2.5-beta3 |
Changed in juju: | |
milestone: | 2.5-beta3 → 2.5-rc1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hey Francesco,
How are you? Has there been any agreement as to what the default behavior should be? If I understand correctly you are suggesting that the latest revision's series take precedence over the model's default series.