Comment 2 for bug 1996794

Revision history for this message
Jordan Barrett (barrettj12) wrote : Re: juju deploy machine charm with --force fails with "ERROR no releases found for channel"

The issue here is that we're using the value of --series for two distinct things:
- The charm revision to pull from Charmhub
- The platform to use for the new machine

Currently there is no way to supply different values for these two "series". Maybe we could have a --cross-series flag that allows this. e.g.
    juju deploy foo --cross-series jammy:kinetic
will pull the jammy version of the charm "foo", but spin up a kinetic machine and deploy "foo" to it. Naturally --cross-series would imply --force (or at least disable the series checks).