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
external git pillar terrible performance. #44791
Comments
I do not believe that the fileserver update triggers the git_pillar to update. I believe it only updates the fileserver. @terminalmage is this correct? Is there anything out there specifically that updates the pillar git bare clone immediately? Thanks, |
@gtmanfred It doesn't matter what's in my githook because when I run pillar I made sure I ran. |
Refresh pillar just refreshes it for the minion which would require that the master updates the bare git checkout of the git pillar repository. If that hasn't happened yet (and I am not sure it is triggered by updating the fileserver, because that just updates the gitfs_remotes afaik) then the pillar_refresh won't do anything. |
Then what is the correct command to refresh pillar from gitfs_remotes?
…On Mon, Dec 4, 2017 at 8:57 AM, Daniel Wallace ***@***.***> wrote:
Refresh pillar just refreshes it for the minion which would require that
the master updates the bare git checkout of the git pillar repository.
If that hasn't happened yet (and I am not sure it is triggered by updating
the fileserver, because that just updates the gitfs_remotes afaik) then the
pillar_refresh won't do anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#44791 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGPPe_Yno5F1mv5OdNFQN2EmrdhQanPDks5s9CSMgaJpZM4Qy6Us>
.
|
Looks like you can use this |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Description of Issue/Question
Simple changes in pillar structure takes up to 2 minutes to update using pillar.ext_pillar. Where does, simply specifying file_roots with a desinate pillar directory is instant.
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
external pillar setup in /etc/salt/master
Inside git:/data/salt-pillar.git/hooks/post-receive
cat /srv/reactor/update_fileserver.sls
Simple pillar changes like changing a name or correcting a typo then
git push
will take up to 2 minutes to generate. Where does if I replace:with
and simply do pillar in the traditional way, changes are instant.
Versions Report
salt 2017.7.2 (Nitrogen)
The text was updated successfully, but these errors were encountered: