-
Notifications
You must be signed in to change notification settings - Fork 41
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
[4.16] Move ironic user and group #581
[4.16] Move ironic user and group #581
Conversation
Signed-off-by: Shane Nehring <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: snehring The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @snehring. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
Was able to test this on one of the clusters I'd noticed the problem on and it seems to fix the issue. |
/hold |
okd-project/okd#2030 on baremetal okd 4.16 clusters the metal3 pod never comes up fully because the ironic-inspector container crashes due to the fact that the uid and gid of ironic in the container differs from the uid and gid in the container spec. This is because the customization of the uid and gid is currently only happening in ocp builds. |
This is only relevant for 4.16, ironic uid customizations were removed entirely in openshift/cluster-baremetal-operator#430 |
@snehring the assignment of UID and GID for OKD is done by the RPMs, OKD builds do not use cachito logic |
@elfosardo yes that is the behavior without this. Unfortunately they differ from the uids specified by the ironic-inspector container spec leading to a permissions issue in the container. Either the uids need to be changed here in the image or the uids need to change in the container spec in the baremetal operator. |
@snehring if OKD requires a specific configuration, I suggest to apply it just for that, for example look at what I've done for OCP using the main-packages list file |
@elfosardo I believe this is an extension of https://issues.redhat.com/browse/OCPBUGS-32304 introduced in #500. So it's not just relevant to OKD, it was just only fixed in OCP as a consequence of the fix only being placed in an OCP specific section. |
@snehring again that's because only OCP builds use source code and not RPMs for the ironic projects |
@elfosardo I agree backporting the BMO change would be the best fix, this just seemed more accessible. I suppose I'll look into that. |
It looks like the ironic uid / perm manipulation got included in the cachito specific section by mistake.