-
Notifications
You must be signed in to change notification settings - Fork 47
OCPBUGS-XXX: Do not use /tmp as a source directory for the image #747
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
base: release-4.20
Are you sure you want to change the base?
Conversation
Unfortunately, a lot of code in Ironic ignores the tempdir configuration. Even worse, the default value for this option relies on having a writable /tmp, which makes the current approach not functional without mounting an emptyDir to /tmp. But if an emptyDir is mounted to /tmp, we lose access to all the template files stored there. This change uses a new directory /templates as a source for files that needs copying/templating in runtime. Also fix usage of /var/tmp in httpd.conf. Document the requirements. Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com> (cherry picked from commit 8f8b12b)
|
@elfosardo: This pull request references Jira Issue OCPBUGS-67275, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@elfosardo: This pull request references Jira Issue OCPBUGS-67275, which is invalid:
Comment DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@elfosardo: This pull request references Jira Issue OCPBUGS-67275, which is invalid:
Comment DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@elfosardo: This pull request references Jira Issue OCPBUGS-67275, which is invalid:
Comment DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@elfosardo: This pull request references Jira Issue OCPBUGS-67275, which is invalid:
Comment DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@elfosardo: This pull request references Jira Issue OCPBUGS-67275, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/cc @dtantsur |
mabulgu
left a comment
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: elfosardo, mabulgu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
/retitle OCPBUGS-XXX: Do not use /tmp as a source directory for the image @elfosardo this change has nothing to do with the bug in question or really anything downstream, so please attach it to some other card. |
|
@elfosardo: No Jira issue is referenced in the title of this pull request. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/hold |
|
@elfosardo: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Unfortunately, a lot of code in Ironic ignores the tempdir configuration. Even worse, the default value for this option relies on having a writable /tmp, which makes the current approach not functional without mounting an emptyDir to /tmp. But if an emptyDir is mounted to /tmp, we lose access to all the template files stored there.
This change uses a new directory /templates as a source for files that needs copying/templating in runtime.
Also fix usage of /var/tmp in httpd.conf.
Document the requirements.
(cherry picked from commit 8f8b12b)