-
Notifications
You must be signed in to change notification settings - Fork 0
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#16979 from nvinuesa/juju-5575
juju#16979 There is only one call done to the legacy state, `AllSpaceInfos()` which was replaced by `GetAllSpaces()` from the new network domain. Inject the service on the provisioner API as well. Bonus: move the go generate mocks to package_test.go ## 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 We need to bootstrap on aws and deploy to a new container: ``` juju bootstrap aws/eu-west-3 c juju add-model m juju deploy ubuntu --to lxd juju status Model Controller Cloud/Region Version Timestamp m c aws/eu-west-3 4.0-beta3.1 17:59:10+01:00 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/lxd/0 252.41.208.66 Machine State Address Inst id Base AZ Message 0 started 13.38.121.76 i-03e4cb7487e12da4c [email protected] eu-west-3c running 0/lxd/0 started 252.41.208.66 juju-1a25f0-0-lxd-0 [email protected] eu-west-3c Container started ``` Also you can double check that the assigned address is indeed in one of the subnets: ``` juju spaces Name Space ID Subnets alpha 0 172.31.0.0/20 172.31.16.0/20 172.31.32.0/20 252.0.0.0/12 252.16.0.0/12 252.32.0.0/12 ``` ## Links **Jira card:** JUJU-5575
- Loading branch information
Showing
4 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters