-
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#17056 from nvinuesa/remove-remote-spaces
juju#17056 This patch completely removes the concept of remote spaces in Juju. We only had this for binding offers on different models, but it is not useful since none of the providers support `ProviderSpaceInfo` and we have removed the `AreSpacesRoutable` on the providers. The cleanup includes the checks on the application offers API. ## 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 Bootstrap and create a model: ``` juju bootstrap localhost c juju add-model m1 ``` deploy grafana, create a second model and deploy influx on it: ``` juju deploy grafana juju add-model m2 juju deploy influxdb ``` offer the `grafana-source` endpoint of influxdb and integrate it with grafana: ``` juju offer influxdb:grafana-source juju switch m1 juju integrate grafana admin/m2.influxdb ``` Also, try a CMR with a controller on 3.5 and another with this branch: ``` # Bootstrap a controller using juju 3.5 and deploy influxdb: juju bootstrap localhost ctrl-src1 juju add-model model-src1 juju deploy influxdb juju offer influxdb:grafana-source # Bootstrap a second controller using this branch (4.0) and deploy grafana: juju bootstrap localhost ctrl-src2 juju add-model model-src2 juju deploy grafana # Integration between grafana and influxdb should work: juju integrate grafana ctrl-src1:admin/model-src1.influxdb juju status --relations Model Controller Cloud/Region Version SLA Timestamp model-src2 ctrl-src2 localhost/localhost 4.0-beta3.1 unsupported 12:09:18+01:00 SAAS Status Store URL influxdb active ctrl-src1 admin/model-src1.influxdb App Version Status Scale Charm Channel Rev Exposed Message grafana active 1 grafana latest/stable 69 no Ready Unit Workload Agent Machine Public address Ports Message grafana/0* active idle 0 10.170.236.239 3000/tcp Ready Machine State Address Inst id Base AZ Message 0 started 10.170.236.239 juju-3f7181-0 [email protected] Running Integration provider Requirer Interface Type Message influxdb:grafana-source grafana:grafana-source grafana-source regular ``` ## Links **Jira card:** JUJU-5663
- Loading branch information
Showing
23 changed files
with
5 additions
and
836 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
28 changes: 0 additions & 28 deletions
28
apiserver/facades/client/application/mocks/application_mock.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.