Skip to content

Replace RHEL 8 with RHEL 10 in Cloud Stack workflows - #374

Merged
IPvSean merged 4 commits into
mainfrom
jce/rhel10
Oct 28, 2026
Merged

IPvSean merged 4 commits into
mainfrom
jce/rhel10

Conversation

@jce-redhat

@jce-redhat jce-redhat commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator
  • Add cloud/blueprints/rhel10.yml with RHEL-10*HVM-Hourly AMI filter
  • Replace aws_rhel8 instance with aws-rhel10 throughout cloud stack deploy and destroy workflows, including vm_blueprint: rhel10
  • Rename aws_rhel9 to aws-rhel9 (underscore to dash) across all playbooks, job templates, surveys, and inventory limits
  • Update all aws_rhel* glob patterns to aws-rhel* to match renamed hosts
  • Update all colon-separated host lists to aws-rhel9:aws-rhel10 ordering
  • Remove RHEL 8 python3.9 interpreter override from common/setup.yml (RHEL 10 uses Python 3.12 by default; override no longer needed)
  • Replace rhel8 with rhel10 in the Cloud | AWS | Create VM blueprint survey
  • Reordered cloud stack workflows and defaults
  • Update all documentation, diagrams, and prose to reflect new instance names and RHEL 9/10 fleet (cloud, infrastructure, linux categories)

Closes #373

@jce-redhat

Copy link
Copy Markdown
Collaborator Author

existing cloud and linux job templates will need to be thoroughly tested against the new RHEL 10 cloud stack instance to see if any changes need to be made.

- Add cloud/blueprints/rhel10.yml with RHEL-10*HVM-*Hourly* AMI filter
- Replace aws_rhel8 instance with aws-rhel10 throughout cloud stack
  deploy and destroy workflows, including vm_blueprint: rhel10
- Rename aws_rhel9 to aws-rhel9 (underscore to dash) across all
  playbooks, job templates, surveys, and inventory limits
- Update all aws_rhel* glob patterns to aws-rhel* to match renamed hosts
- Update all colon-separated host lists to aws-rhel9:aws-rhel10 ordering
- Remove RHEL 8 python3.9 interpreter override from common/setup.yml
  (RHEL 10 uses Python 3.12 by default; override no longer needed)
- Replace rhel8 with rhel10 in the Cloud | AWS | Create VM blueprint
  survey
- Update all documentation, diagrams, and prose to reflect new instance
  names and RHEL 9/10 fleet (cloud, infrastructure, linux categories)

@IPvSean IPvSean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Review summary

Direction matches #373 (RHEL 8 → RHEL 10, dash hostnames, drop RHEL 8 python override). Please fix the incomplete renames and clarify/revert the Destroy workflow graph change before merge. Author note about testing Linux JTs against RHEL 10 still stands — that should be in the test plan before this lands.

Blocking

  1. Incomplete aws_rhel* → aws-rhel* rename — several AO / install paths still check underscore names that will never exist after Deploy:

    • infrastructure/ao/demos.yml — cloud_stack_hosts still lists aws_rhel9 / aws_rhel8 while inventory_limit / JT limit use aws-rhel9 (disk-utilization + multi-os-cloud-patching). Preflight will warn forever / miss the real hosts.
    • infrastructure/ao/tasks/preflight.yml — default host check still aws_rhel9.
    • infrastructure/docs/automation-orchestrator.md — still documents aws_rhel9 / aws_rhel8:aws_rhel9.
    • infrastructure/setup.yml Install description still says aws_rhel9.
  2. Destroy Cloud Stack workflow graph changed beyond the rename, and docs no longer match YAML:

    • main: VM deletes → Delete VPC → Sync Inventory; Delete Keypair (parallel root) → Sync Inventory.
    • this PR: VM deletes → Sync Inventory → Delete Keypair and Delete VPC in parallel.
    • cloud/docs/cloud-destroy-stack.md (and the mermaid in docs/_data/demos.yml) still describe the old graph.
      Please either restore the previous teardown order (with only host renames), or intentionally adopt the new order and update the docs/diagrams + call it out in the PR body. As written it looks accidental.

Non-blocking / nits

  • Patch Cloud Stack survey default region us-east-1 → us-east-2 looks unrelated to RHEL 10; drop or justify.
  • .gitignore **/*.env is fine but unrelated — consider splitting or mentioning.
  • Create VM survey still offers rhel8 (blueprint file kept). Fine for ad-hoc VMs; just confirm that is intentional vs fully retiring RHEL 8.
  • Issue asks to test existing Linux JTs on RHEL 9/10 — please add results (or a checklist) before merge; the rename alone will break presenter muscle memory and any saved survey defaults on live Controllers until APD setup is re-run.

What looks good

  • cloud/blueprints/rhel10.yml AMI filter mirrors rhel9/rhel8.
  • Deploy workflow swaps RHEL8 node for RHEL10 with matching vm_blueprint / create_vm_vm_name.
  • Removing the RHEL 8 ansible_python_interpreter compose override matches the issue (and avoids the side effects called out there).
  • Most cloud/linux/config-drift docs and JT defaults were updated consistently to aws-rhel9 / aws-rhel10 / aws-rhel*.

@IPvSean IPvSean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Follow-up with inline comments on the specific spots. Same overall ask as the earlier review summary.

Comment thread infrastructure/ao/demos.yml Resolved
Comment thread cloud/setup.yml Resolved
Comment thread cloud/setup.yml Resolved
Comment thread cloud/docs/cloud-destroy-stack.md Resolved
Comment thread cloud/setup.yml Resolved
@IPvSean IPvSean self-assigned this Oct 27, 2026
Comment thread docs/_data/demos.yml Resolved
IPvSean and others added 2 commits October 28, 2026 16:50
Match docs/_data/demos.yml to cloud/setup.yml teardown order:
VMs → Sync Inventory → Delete Keypair + Delete VPC in parallel.

Co-authored-by: Cursor <cursoragent@cursor.com>

@IPvSean IPvSean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Remaining demos-site destroy mermaid now matches cloud/setup.yml and cloud/docs/cloud-destroy-stack.md (VMs → Sync Inventory → Delete Keypair + Delete VPC).

@IPvSean
IPvSean merged commit e92e844 into main Oct 28, 2026
2 checks passed
@IPvSean
IPvSean deleted the jce/rhel10 branch October 28, 2026 21:11
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.

add RHEL 10 to cloud stack

2 participants