-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] After upgrade to 3005.2, failure to check out branch for gitfs pillar #64999
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
Did you run Changes won't be seen until it updates, either on a timer or manually. |
No I did not run |
It is not a necessary step when upgrading. It is a necessary step when changing anything in your git pillar and not wanting to wait for the cache to expire. |
@anandb-ripencc did |
@OrangeDog @cmcmarrow |
The default update interval is 60 seconds. You may have never noticed. |
@OrangeDog no, I am aware that the default update interval is 60 seconds. I would commit a change, and then wait a bit, and then go apply a state or access the pillar data. This is most useful for testing new things without touching the master branch. But in this case, it doesn't matter how long I wait. The salt master just cannot fetch the specified branch. |
Yes, we've established there's a problem now. You could have been using |
Hi @anandb-ripencc I believe I got a fix for you. #65017 I would appreciate it if you give it a try and/or look. |
Closing due to it being fixed by #65017. Feel free to open another ticket if you find another gitfs issue. |
@cmcmarrow I see a 3006.3 release, with a fix for this bug, but there's no 3005.3 release yet. When are you going to release 3005.3? |
@anandb-ripencc 3005.3 is coming. We wanted to get 3006.3 out first. |
Description
A minion is unable to access pillar data from an alternative branch in git. This was working with 3005.1, but broke after upgrade to 3005.2
Setup
CentOS 7 salt master, configured with git repos for formulas and pillar data.
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Master config:
Create a new branch called
testing
inpillar-dns.git
repo, and add some pillar data to it. On a minion, runsalt-call pillar.data pillarenv=testing
Expected behavior
The new data should be visible in the output of the salt call on the minion.
Screenshots
Not applicable.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: