'juju deploy --force' to support not-yet-released distro?

Bug #1861244 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Fix Released
High
Tom Haddon

Bug Description

Hi,

Sometimes, we want to test charms against not-yet-released releases (e.g. focal). This is good for testing and preparing charms to ensure that they work when it comes time to release. As per discussion with Juju devs, for these, 'juju deploy' needs to be told with --force otherwise it fails as such:

| 02:55:13 DEBUG juju.api monitor.go:35 RPC connection died
| ERROR content-cache is not available on the following series: focal not supported
| 02:55:13 DEBUG cmd supercommand.go:519 error stack:
| /build/juju-core-4Rv_rO/juju-core-2.7.0/obj-x86_64-linux-gnu/src/github.com/juju/juju/cmd/juju/application/deploy.go:1699: content-cache is not available on the following series: focal not supported

Maybe mojo should be updated to run 'juju deploy' with --force? Or use the results from 'ubuntu-distro-info --devel' to call 'juju deploy' with --force then?

Related branches

Tom Haddon (mthaddon)
Changed in mojo:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Tom Haddon (mthaddon)
Haw Loeung (hloeung)
Changed in mojo:
status: Confirmed → In Progress
Revision history for this message
Tom Haddon (mthaddon) wrote :

A fix for this has been released.

Changed in mojo:
status: In Progress → Fix Released
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.