-
Notifications
You must be signed in to change notification settings - Fork 502
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 #8920 from SimonRichardson/default-region
#8920 ## Description of change The following changes, inserts a default region to the cloud spec, if the cloud spec name is not localhost and if the regions are empty. In this way we can then report back stating that the region is not localhost and can be identified as a different type. If regions do end up being added to lxd, this insertion of the default region should not happen and user specified regions will be add accordingly. ## QA steps 1. Add a cloud using lxd 2. Add credentials accordingly 3. Bootstrap a lxd remote cluster You should see that the region is set to "default". Consider the `juju status` output: ```sh $ juju status Model Controller Cloud/Region Version SLA Timestamp default lxd-default lxd/default 2.5-beta1.1 unsupported 14:41:42+01:00 ``` ## Documentation changes No changes to the user CLI, but internally we assign a default region to lxd if it's not localhost and there are no regions. ## Bug reference N/A
- Loading branch information
Showing
4 changed files
with
55 additions
and
9 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