-
Notifications
You must be signed in to change notification settings - Fork 45
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
salt: Create /var/run/salt
directory in salt-master manifests
#3041
salt: Create /var/run/salt
directory in salt-master manifests
#3041
Conversation
Salt process create a `/var/run/salt` directory at startup this directory is shared between salt-master container and salt-minion running on the host so it's mounted in the container, since this directory does not exists at system boot we need to use `DirectoryOrCreate` so that salt-master does not need salt-minion to start before being able to start Fixes: #3022
Hello teddyandrieux,My role is to assist you with the merge of this Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
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.
Actually, just checked the DirectoryOrCreate
docs:
If nothing exists at the given path, an empty directory will be created there as needed with permission set to 0755, having the same group and ownership with Kubelet
Isn't this going to cause problems? Or we don't care because it's always root:root
for both?
Today both run as root so we don't really care |
/approve |
Build failedThe build for commit did not succeed in branch bugfix/fix-salt-master-start-when-minion-down. The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye teddyandrieux. |
Component:
'salt'
Context:
#3022
Summary:
Salt process create a
/var/run/salt
directory at startup thisdirectory is shared between salt-master container and salt-minion
running on the host so it's mounted in the container, since this
directory does not exists at system boot we need to use
DirectoryOrCreate
so that salt-master does not need salt-minion tostart before being able to start
Fixes: #3022