Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CML 2.8 work a on AWS and Azure #30

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Make CML 2.8 work a on AWS and Azure #30

wants to merge 6 commits into from

Conversation

rschmied
Copy link
Member

@rschmied rschmied commented Jan 9, 2025

Fixes for CML 2.8 and more

  • overall, should fix Fix 2.8 deployments on AWS and Azure #27 to allow deployments on AWS and Azure with 2.8
  • changed variable names for AWS access and secret keys to start with
    aws_ (e.g. TF_VAR_access_key -> TF_VAR_aws_access_key), same for Azure
    subscription_id and tenant_id.
  • do product licensing using the PCL instead of the cml.sh script (fixes
    Use PCL for licensing #28)
  • fix letsencrypt certificate installation for nginx and Cockpit
  • add i386 repository to allow installation of older libraries for IOL
    compatibility
  • whitespace and formatting of files
  • for Azure, use the "minimal" SKU of the Noble image (instead of
    "server")
  • slightly more comprehensive log output in cml.sh to see where time is
    spent when deploying
  • update copyright to include 2025
  • update the VMX patch script
  • better NetworkManager interaction (wait_for_network_manager)

ouhlar and others added 4 commits January 8, 2025 14:49
* cml aws deploy fix
* fix azure deployment
* add missing comments

---------

Co-authored-by: Oliver Uhlar -X (ouhlar - PANTHEON TECH SRO at Cisco) <[email protected]>
- reverting the allowed_ipv4_subnet changes from previous commit
- update the VMX patch script
- fix some white space issues in shell scripts
- overall, should fix #27 to allow deployments on AWS and Azure with 2.8
- changed variable names for AWS access and secret keys to start with
  aws_ (e.g. TF_VAR_access_key -> TF_VAR_aws_access_key), same for Azure
  subscription_id and tenant_id.
- do product licensing using the PCL instead of the cml.sh script (fixes
  #28)
- fix letsencrypt certificate installation for nginx and Cockpit
- add i386 repository to allow installation of older libraries for IOL
  compatibility
- whitespace and formatting of files
- for Azure, use the "minimal" SKU of the Noble image (instead of
  "server")
- slightly more comprehensive log output in cml.sh to see where time is
  spent when deploying
Copy link
Member Author

@rschmied rschmied left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ouhlar -- if you want to have a look, it works for me on Azure but I haven't tested on AWS, yet. Also, @amieczko-te -- does this look OK to you?

@rschmied
Copy link
Member Author

rschmied commented Jan 9, 2025

There's README changes that are required, still. E.g. version bump and explanation that THIS now works with 2.8 etc.

@amieczko-te
Copy link
Collaborator

@ouhlar -- if you want to have a look, it works for me on Azure but I haven't tested on AWS, yet. Also, @amieczko-te -- does this look OK to you?

@rschmied
The AWS changes look fine to me. I will test the script early next week to verify that everything works, especially clustering.

- improved the license script to allow for no license to be installed
- removed the unnecessary wait in the customize script
- some cosmetic output fixes
- documentation updates, including the CHANGELOG
- fixed the .envrc.example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix 2.8 deployments on AWS and Azure
3 participants