Open DevOps-Clinic opened 2 years ago
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. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
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. If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Just wanted to follow up. If there's another test I can run let me know. Thanks
I am not able to replicate this, maybe someone from @saltstack/team-core can take a look when they have time? Thanks.
Description I have a basic state which calls the Nginx and PHP-FPM formulas to get them installed, then sets some firewall rules, then uses git.latest to pull in a git url. If I go to the command line and issue a "git clone url" it works fine, but running as salt state it fails. I've tried both different git hosted sites (GitLab and GitHub) and neither seem to matter. I've tested on Linode vm's, Parallells vm's, Virtualbox vm's, and even physical servers. Tested both in my work environment and my home lab. I've also tried disabling firewalld to see if that was blocking it, and that didn't help. Network firewalls are pretty basic, allow all outbound but limited inbound NATs.
If I run the state twice, the second time it always succeeds, but it always fails on the first attempt. I know in the past I've used syntax like this to pull in git repos, but never came across this error. DNS is correctly setup in all the different environments I've tested this. Any ideas?
Setup Here is the roles.webserver.init.sls
Here is the core.packages.init.sls:
From /var/log/salt/minion
salt-output.log
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior salt "minion1" state.apply
Expected behavior I expect it to pull down the remote Git repo
Screenshots See logs
Versions Report Both master and minion are running same OS and same Salt version: