"Use --force to deploy the charm anyway" message is misleading for "ERROR series not supported by charm" case
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
$ juju version
2.9.42-ubuntu-amd64
$ juju deploy --series jammy hacluster
ERROR series "jammy" not supported by charm, supported series are: focal, bionic, xenial, trusty, precise, impish, hirsute, groovy, eoan, disco, cosmic, artful, zesty, yakkety, quantal. Use --force to deploy the charm anyway.
This sounds Juju is suggesting to use `--force` as the last resort but the first thing users should do in this case is finding the right channel supporting the series in question.
So the message could be updated like:
ERROR series "jammy" not supported by charm
-> ERROR series "jammy" not supported by charm for the requested channel "stable"
Use --force to deploy the charm anyway.
-> Try to find a supported channel with `juju info --series "jammy" hacluster` or use --force to deploy the charm anyway.
or something like that. So users could reach to the right command as:
juju deploy --series jammy --channel 2.4/stable hacluster
Changed in juju: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | added: cli deploy helptext |