-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add FFU multi-rhel support #900
Add FFU multi-rhel support #900
Conversation
Adds tripleoRoleOverride param to config generator to allow a different t-h-t role to be applied to a subset of hosts in heat. Heat indices are shuffled around to compensate but the actual hostnames remain unchanged. For example: tripleoRoleOverride: Compute: roleName: ComputeRhel8 hostIndexMap: 1: true 3: true ComputeFoo: roleName: ComputeFooRhel8 hostIndexMap: 0: true 1: false 2: false 3: false 4: false 5: true compute-0 remains the same in heat compute-1 becomes computerhel8-0 in heat (still compute-1 in hostnamemap) compute-2 becomes compute-1 in heat (still compute-2 in hostnamemap) compute-3 becomes computerhel8-1 (still compute-3 in hostnamemap) compute-4 becomes compute-2 in heat (still compute-4 in hostnamemap) Then, as per a regular director-driven deployment, the role params for the new role can be used to override the contain images etc... just for that role to use the rhel8 config. hostIndexMap entries default to false if not set, but can be set explicitly e.g to keep track of which hosts have already been migrated to rhel9
9189b1c
to
1a4711f
Compare
1a4711f
to
5d04853
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: olliewalsh, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
6d0ead7
into
openstack-k8s-operators:master
/cherry-pick v1.3.x |
@stuggi: new pull request created: #913 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Adds tripleoRoleOverride param to config generator to allow a different t-h-t role to be applied to a subset of hosts in heat.
Heat indices are shuffled around to compensate but the actual hostnames remain unchanged.
For example:
compute-0 remains the same in heat
compute-1 becomes computerhel8-0 in heat (still compute-1 in hostnamemap)
compute-2 becomes compute-1 in heat (still compute-2 in hostnamemap)
compute-3 becomes computerhel8-1 (still compute-3 in hostnamemap)
compute-4 becomes compute-2 in heat (still compute-4 in hostnamemap)
Then, as per a regular director-driven deployment, the role params for the new role can be used to override the contain images etc... just for that role to use the rhel8 config.
hostIndexMap entries default to false if not set, but can be set explicitly e.g to keep track of which hosts have already been migrated to rhel9