-
Notifications
You must be signed in to change notification settings - Fork 55
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
(PE-39577) Optimise legacy compiler support #536
base: main
Are you sure you want to change the base?
Conversation
4b1a560
to
b5b9ca5
Compare
b5b9ca5
to
9888996
Compare
d774ff3
to
9e5efc3
Compare
This commit: - Adds the `node_group_unpin` task. - `node_group_unpin` task is called in the convert plan to remove legacy compilers from from the PE Master node group. - Legacy compilers `pp_auth_role` changed to `legacy_compiler`. - Changes the PEADM config to use the PE Certificate Authority node group. - Removes peadm_legacy_compiler extension.
9e5efc3
to
1431087
Compare
709275b
to
0cec740
Compare
This commit introduces a new private task to update the AND conditional for the pe_compiler auth role in the PE Master node group, changing it to regex match for any *_compiler role. The task ensures that the group rules are simplified and display more correctly on the PE console.
0cec740
to
81e986a
Compare
Just to note, commits will be squashed |
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.
I tested this out with a PE 2021.7.10 -> 2023.8.2 upgrade and it resolved most issues outlined in PE-39577.
One item that still remains unresolved is:
Ensure that running
puppet infra configure
does not remove classification rules
But, that can be split off to a separate ticket. The fix to that likely spans changes to both peadm
and the puppet-enterprise-modules
.
Summary
This PR will:
PE Master
node group after conversion.peadm::upgrade
runs successfully after apeadm::convert
puppet infra configure
does not remove classification rules that rely on trusted facts for legacy compilers.pp_auth_role=legacy_compiler
on legacy compiler nodes.PE Certificate Authority
node group.peadm_legacy_compiler
extension.Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist
Changes include test coverage?
Have you updated the documentation?