-
Notifications
You must be signed in to change notification settings - Fork 124
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
WIP: 🐛 Fix permissions for /certs/ca directory #508
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
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
Please fix the DCO. |
Signed-off-by: Mahnoor Asghar <masghar@redhat.com>
e16d0c8
to
4e8b0f1
Compare
New changes are detected. LGTM label has been removed. |
@@ -23,7 +23,7 @@ chown "${IRONIC_USER}":"${IRONIC_GROUP}" /shared | |||
# that need to have correct ownership as the entire ironic in BMO | |||
# deployment shares a single fsGroup in manifest's securityContext | |||
mkdir -p /certs/ca | |||
chown "${IRONIC_USER}":"${IRONIC_GROUP}" /certs{,/ca} | |||
chown -R "${IRONIC_USER}":"${IRONIC_GROUP}" /certs{,/ca} |
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.
On an another look, the original syntax does expand to cover both directories anyways, so it should be possible to create /certs/ca/ironic
. Have you tested this actually fixes your issue?
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 am trying to build an OpenShift ironic-image to test this locally, will mark the PR as a WIP
/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main |
@MahnoorAsghar: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
The issue was resolved downstream, and an upstream fix is not needed. |
Bug OCPBUGS-34534: Disable installation of .pyc files through pip
The metal3-ironic-inspector pod is not able to create the /certs/ca directory and fails with the following error while executing /bin/tls-common.sh. This PR fixes this issue.