-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix lvm disks; support separate root volume. * Fix 'Create a volume group' when root volume is defined. * Fix redeploy regressions + Tolerate GCP not renaming disks + When redeploying and moving the disks (`_scheme_rmvm_keepdisk_rollback`), we cannot rename the disks in GCP to match the host. Because of this, we must make allowances: + For non-lvm, we must not add device_name to the .clusterversetest__ test files for GCP. + For lvm, we must not attempt to create the volume groups if the device_name is not found in the blockdevmap return (because the names won't match the hosts). + Shorten device names to accommodate GCPs 63 character limit + Update blockdevmap.py from upstream to fix missing GCP parameters. + Redeploy failing due to undefined lvm variables on previous (redeploying) hosts in `config/tasks/disks_auto_aws_gcp_azure.yml`. Define these as default if unset and add lvm tests. + Importantly though, we shouldn't be running the playbook on the previous hosts. Consider only adding `cluster_hosts_target` to the inventory, but doing so could break application roles that need the entire inventory when redeploying, (previous hosts will still be part of the cluster for some of the redeploy). Instead, create a new inventory group `not_target_hosts`, containing hosts that are _not_ part of `cluster_hosts_target`, which can be excluded in the main `cluster.yml` hosts section: ``` - name: clusterverse | Configure the cluster hosts: all:!not_target_hosts ``` + Don't fail jenkinsfile when parameters are missing (i.e. first run of a multibranch); just exit instead (prevents github getting a fail mark against a PR on first run).
- Loading branch information
1 parent
7cddc64
commit 391ae1c
Showing
13 changed files
with
142 additions
and
115 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
7 changes: 5 additions & 2 deletions
7
EXAMPLE/cluster_defs/aws/testid/eu-west-1/cluster_vars__region.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
--- | ||
|
||
_ubuntu2004image: "ami-03caf24deed650e2c" # eu-west-1 20.04, amd64, hvm-ssd, 20210621. Ubuntu images can be located at https://cloud-images.ubuntu.com/locator/ | ||
_centos7image: "ami-01f35c358a86763b2" # eu-west-1 CentOS 7 by Banzai Cloud | ||
_alma8image: "ami-05d7345cebf7a784f" # eu-west-1 Official AlmaLinux 8.x OS image | ||
|
||
cluster_vars: | ||
image: "ami-03caf24deed650e2c" # eu-west-1 20.04 amd64 hvm-ssd 20210621. Ubuntu images can be located at https://cloud-images.ubuntu.com/locator/ | ||
# image: "ami-0b850cf02cc00fdc8" # eu-west-1, CentOS7 | ||
image: "{{_ubuntu2004image}}" |
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
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.