Skip to content

Commit b32edd5

Browse files
authored
Update tooling to work with 2.9 (#35)
* Update tooling to work with 2.9 **Breaking change** With this release, the `cfg.common.allowed_ipv4_subnets` has been split into two variables: 1. `cfg.common.allowed_ipv4_subnets.mgmt` which allows access to management ports tcp/22 (SSH) and tcp/9090 (Cockpit) 2. `cfg.common.allowed_ipv4_subnets.cml2` which allows access to the CML2 application on tcp/80, tcp/443 and tcp/1122. This gets also applied to the PATty port range, if PATty is enabled The default for both is `["0.0.0.0/0"]` (e.g. "any"). However, it is advisable (and maybe even enforced by your policy) to restrict management access to a specific subnet or a list of subnets. - fix AWS 24.04 noble image name for the AWS mini variant (closes #32) - fix certificate installation for 2.8 and newer in `03-letsencrypt.sh` - mandate CML TF provider 0.8.0 or newer - make licensing a bit more robust (`license.py`) - additional code to install Docker related dependencies (for 2.9) - change stabilization timer code location to match 2.8 and newer in `04-customize.sh` - updated `config.yml` to include newest reference platform node definitions and images. Some are commented -- need to adapt before deploying to match what is actually needed - updated and reformatted documentation * making AWS work, with certs * cleanup * fix licensing, limit patty ports more
1 parent dd1212d commit b32edd5

18 files changed

Lines changed: 894 additions & 387 deletions

File tree

CHANGELOG.md

Lines changed: 62 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,38 @@
22

33
Lists the changes for the tool releases.
44

5+
## Version 2.9.0
6+
7+
**Breaking change**
8+
With this release, the `cfg.common.allowed_ipv4_subnets` has been split into
9+
two variables:
10+
11+
1. `cfg.common.allowed_ipv4_subnets.mgmt` which allows access to management
12+
ports tcp/22 (SSH) and tcp/9090 (Cockpit)
13+
2. `cfg.common.allowed_ipv4_subnets.cml2` which allows access to the CML2
14+
application on tcp/80, tcp/443 and tcp/1122. This gets also applied to
15+
the PATty port range, if PATty is enabled
16+
17+
The default for both is `["0.0.0.0/0"]` (e.g. "any"). However, it is advisable
18+
(and maybe even enforced by your policy) to restrict management access to a
19+
specific subnet or a list of subnets.
20+
21+
- fix AWS 24.04 noble image name for the AWS mini variant (closes #32)
22+
- fix certificate installation for 2.8 and newer in `03-letsencrypt.sh`
23+
- mandate CML TF provider 0.8.0 or newer
24+
- make licensing a bit more robust (`license.py`)
25+
- additional code to install Docker related dependencies (for 2.9)
26+
- change stabilization timer code location to match 2.8 and newer in
27+
`04-customize.sh`
28+
- updated `config.yml` to include newest reference platform node definitions
29+
and images. Some are commented -- need to adapt before deploying to match
30+
what is actually needed
31+
- updated and reformatted documentation
32+
533
## Version 2.8.0
634

7-
- using "aws\_" and "azure\_" prefixes to provide tokens and IDs in the environment (see `.envrc.example`)
35+
- using "aws\_" and "azure\_" prefixes to provide tokens and IDs in the
36+
environment (see `.envrc.example`)
837
- adapt tooling to work with 2.8.0 (move base OS from 20.04 to 24.04)
938
- allow to use the `allowed_ipv4_subnets` also for Azure
1039
- improve network manager handling while provisioning
@@ -18,28 +47,47 @@ Lists the changes for the tool releases.
1847
- change elastic IP allocation for AWS from dynamic to static to make it work
1948
again
2049
- this is the last release to support CML 2.7 and before
21-
- changed the versioning to match the CML version so that it's easier to find the proper version / release of cloud-cml which works with the CML version to be used
50+
- changed the versioning to match the CML version so that it's easier to find
51+
the proper version / release of cloud-cml which works with the CML version to be
52+
used
2253

2354
## Version 0.3.0
2455

2556
- allow cluster deployments on AWS.
2657
- manage and use a non-default VPC
2758
- optionally allow to use an already existing VPC and gateway
2859
- allow to enable EBS encryption (fixes #8)
29-
- a `cluster` section has been added to the config file. Some keywords have changed (`hostname` -> `controller_hostname`). See also a new "Cluster" section in the [AWS documentation](documentation/AWS.md)
60+
- a `cluster` section has been added to the config file. Some keywords have
61+
changed (`hostname` -> `controller_hostname`). See also a new "Cluster"
62+
section in the [AWS documentation](documentation/AWS.md)
3063
- introduce secret managers for storing secrets.
3164
- supported are dummy (use raw_secrets, as before), Conjur and Vault
3265
- also support randomly generated secrets
3366
- by default, the dummy module with random secrets is configured
3467
- the license token secret needs to be configured regardless
35-
- use the CML .pkg software distribution file instead of multiple .deb packages (this is a breaking change -- you need to change the configuration and upload the .pkg to cloud storage instead of the .deb. `deb` -> `software`.
36-
- the PaTTY customization script has been removed. PaTTY is included in the .pkg. Its installation and configuration is now controlled by a new keyword `enable_patty` in the `common` section of the config.
68+
- use the CML .pkg software distribution file instead of multiple .deb packages
69+
(this is a breaking change -- you need to change the configuration and upload
70+
the .pkg to cloud storage instead of the .deb. `deb` -> `software`.
71+
- the PaTTY customization script has been removed. PaTTY is included in the
72+
.pkg. Its installation and configuration is now controlled by a new keyword
73+
`enable_patty` in the `common` section of the config.
3774
> [!NOTE]
38-
> Poll time is hard-coded to 5 seconds in the `cml.sh` script. If a longer poll time and/or additional options like console and VNC access are needed then this needs to be changed manually in the script.
39-
- add a common script file which has currently a function to determine whether the instance is a controller or not. This makes it easier to install only controller relevant elements and omit them on computes (usable within the main `cml.sh` file as well as in the customization scripts).
40-
- explicitly disable bridge0 and also disable the virl2-bridge-setup.py script by inserting `exit()` as the 2nd line. This will ensure that service restarts will not try to re-create the bridge0 interface. This will be obsolete / a no-op with 2.7.1 which includes a "skip bridge creation" flag.
41-
- each instance will be rebooted at the end of cloud-init to come up with newly installed software / kernel and in a clean state.
42-
- add configuration option `cfg.aws.vpc_id` and `cfg.aws.gw_id` to specify the VPC and gateway ID that should be used. If left empty, then a custom VPC ID will be created (fixes #9)
75+
> Poll time is hard-coded to 5 seconds in the `cml.sh` script. If a longer
76+
> poll time and/or additional options like console and VNC access are needed
77+
> then this needs to be changed manually in the script.
78+
- add a common script file which has currently a function to determine whether
79+
the instance is a controller or not. This makes it easier to install only
80+
controller relevant elements and omit them on computes (usable within the main
81+
`cml.sh` file as well as in the customization scripts).
82+
- explicitly disable bridge0 and also disable the virl2-bridge-setup.py script
83+
by inserting `exit()` as the 2nd line. This will ensure that service restarts
84+
will not try to re-create the bridge0 interface. This will be obsolete / a no-op
85+
with 2.7.1 which includes a "skip bridge creation" flag.
86+
- each instance will be rebooted at the end of cloud-init to come up with newly
87+
installed software / kernel and in a clean state.
88+
- add configuration option `cfg.aws.vpc_id` and `cfg.aws.gw_id` to specify the
89+
VPC and gateway ID that should be used. If left empty, then a custom VPC ID will
90+
be created (fixes #9)
4391

4492
## Version 0.2.1
4593

@@ -49,7 +97,8 @@ Lists the changes for the tool releases.
4997
- fixed image paths for the AWS documentation
5098
- mentioned the necessary "prepare" step in the overall README.md
5199
- fix copying from cloud-storage to instance storage
52-
- address 16KB cloud-init limitation in AWS (not entirely removed but pushed out farther)
100+
- address 16KB cloud-init limitation in AWS (not entirely removed but pushed out
101+
farther)
53102

54103
## Version 0.2.0
55104

@@ -63,7 +112,8 @@ Lists the changes for the tool releases.
63112
- improved upload tool
64113
- better error handling in case no images are available
65114
- modified help text
66-
- completely reworked the AWS policy creation section to provide step-by-step instructions to accurately describe the policy creation process
115+
- completely reworked the AWS policy creation section to provide step-by-step
116+
instructions to accurately describe the policy creation process
67117
- added the current ref-plat images to the `config.yml` file
68118
- provided the current .pkg file name to the `config.yml` file
69119

0 commit comments

Comments
 (0)