Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#16990 from jack-w-shaw/JUJU-5348_remove_url_s…
…eries_from_resolve_tests juju#16990 Facade v7 has been suppported since at least 3.3 Since this is an unreleased major version, we can drop support for the legacy versions This is important since facade v6 returns charm supported series, instead of bases. Dropping this facade version is a step towards eliminating series from our codebase Also, remove charm url series from some tests in this package ## Checklist - [x] Code style: imports ordered, good names, simple structure, etc - [x] Comments saying why design decisions were made - [x] Go unit tests, with comments saying what you're testing - [ ] [Integration tests](https://github.com/juju/juju/tree/main/tests), with comments saying what you're testing - [ ] [doc.go](https://discourse.charmhub.io/t/readme-in-packages/451) added or updated in changed packages ## QA steps ### 3.3 client with controller from this PR ``` $ juju-main bootstrap lxd lxd $ juju-main add-model m $ juju-3.3 deploy mysql Deployed "mysql" from charm-hub charm "mysql", revision 196 in channel 8.0/stable on [email protected]/stable $ juju-3.3 deploy mysql --base [email protected] ERROR selecting releases: charm or bundle not found for channel "", base "amd64/ubuntu/20.04" available releases are: channel "8.0/beta": available bases are: [email protected] channel "8.0/edge": available bases are: [email protected] channel "8.0/stable": available bases are: [email protected] channel "8.0/candidate": available bases are: [email protected] $ juju-3.3 status Model Controller Cloud/Region Version Timestamp m lxd localhost/localhost 4.0-beta3.1 13:20:55Z App Version Status Scale Charm Channel Rev Exposed Message mysql 8.0.34-0ubun... active 1 mysql 8.0/stable 196 no Unit Workload Agent Machine Public address Ports Message mysql/0* active idle 0 10.219.211.104 3306,33060/tcp Primary Machine State Address Inst id Base AZ Message 0 started 10.219.211.104 juju-8d59f0-0 [email protected] Running ``` ### client from this PR with 3.3 controller ``` $ juju-3.3 bootstrap lxd lxd-3.3 $ juju-main add-model m $ juju deploy mysql Deployed "mysql" from charm-hub charm "mysql", revision 196 in channel 8.0/stable on [email protected]/stable $ juju deploy mysql --base [email protected] ERROR selecting releases: charm or bundle not found for channel "", base "amd64/ubuntu/20.04" available releases are: channel "8.0/stable": available bases are: [email protected] channel "8.0/candidate": available bases are: [email protected] channel "8.0/beta": available bases are: [email protected] channel "8.0/edge": available bases are: [email protected] $ juju-main status Model Controller Cloud/Region Version SLA Timestamp m lxd-3.3 localhost/localhost 3.3.4.1 unsupported 13:28:03Z App Version Status Scale Charm Channel Rev Exposed Message mysql 8.0.34-0ubun... active 1 mysql 8.0/stable 196 no Unit Workload Agent Machine Public address Ports Message mysql/1* active idle 1 10.219.211.146 3306,33060/tcp Primary Machine State Address Inst id Base AZ Message 1 started 10.219.211.146 juju-fc2acc-1 [email protected] Running ``` ### Migrate 3.5 -> this PR ``` $ juju-3.5 bootstrap lxd lxd-3.5 $ juju-3.5 add-model m $ juju-3.5 deploy ubuntu (wait) $ juju status $ juju status Model Controller Cloud/Region Version SLA Timestamp m lxd-3.5 localhost/localhost 3.5-beta1.1 unsupported 13:20:41Z App Version Status Scale Charm Channel Rev Exposed Message ubuntu 22.04 active 1 ubuntu stable 24 no Unit Workload Agent Machine Public address Ports Message ubuntu/0* active idle 0 10.219.211.147 Machine State Address Inst id Base AZ Message 0 started 10.219.211.147 juju-6aa3df-0 [email protected] Running $ juju-3.5 migrate m lxd Migration started with ID "96ec3473-f1fd-4ce7-8204-e581e56aa3df:0" (wait) $ juju-3.5 status ERROR Model "admin/m" has been migrated to controller "lxd". To access it run 'juju switch lxd:admin/m'. $ juju-3.5 switch lxd:m lxd-3.5:admin/m -> lxd:admin/m $ juju-3.5 status Model Controller Cloud/Region Version Timestamp m lxd localhost/localhost 3.5-beta1.1 13:21:45Z App Version Status Scale Charm Channel Rev Exposed Message ubuntu 22.04 active 1 ubuntu latest/stable 24 no Unit Workload Agent Machine Public address Ports Message ubuntu/0* active idle 0 10.219.211.147 Machine State Address Inst id Base AZ Message 0 started 10.219.211.147 juju-6aa3df-0 [email protected] Running ```
- Loading branch information