-
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.
provider/openstack: shorten hostnames
Shorten the hostnames we apply to instances created by the OpenStack provider. We were including the full model UUID, which is quite long. Instead, we should include just the suffix, and the model name. When listing instances, don't do a prefix filter on the model UUID. Instead, just look for "juju-.*" and then match the model UUID in the client code. Example old hostname: juju-fd943864-df2e-4da1-8e7d-5116a87d4e7c-machine-14 Example new hostname: juju-df7591-controller-0 Fixes https://bugs.launchpad.net/juju/+bug/1615601
- Loading branch information
Showing
5 changed files
with
83 additions
and
36 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
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