[Bug]: Errors about gitfs.py in salt-master 3006.28
What happened?
After upgrading salt masters to version 3006.28 I can see the following errors in the logs:
2026-10-06 16:55:29,976 [salt.utils.gitfs :2936][ERROR ][2048582] Exception caught while fetching gitfs remote '[email protected]:<our repo>': Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v -- origin
stderr: 'fatal: Could not read from remote repository.'
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
if repo.fetch():
^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
return self._fetch()
^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
fetch_results = origin.fetch()
^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/remote.py", line 1082, in fetch
res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/remote.py", line 905, in _get_fetch_info_from_stderr
proc.wait(stderr=stderr_text)
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/cmd.py", line 423, in wait
raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v -- origin
stderr: 'fatal: Could not read from remote repository.'
And:
2026-10-06 18:55:21,969 [salt.pillar :1254][ERROR ][141515] Exception caught loading ext_pillar 'git':
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/pillar/__init__.py", line 1246, in ext_pillar
ext = self._external_pillar_data(pillar, val, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/pillar/__init__.py", line 1176, in _external_pillar_data
ext = self.ext_pillars[key](self.minion_id, pillar, *val)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/loader/lazy.py", line 189, in __call__
ret = self.loader.run(run_func, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/loader/lazy.py", line 1440, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/loader/lazy.py", line 1455, in _run_as
ret = _func_or_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/pillar/git_pillar.py", line 460, in ext_pillar
git_pillar = salt.utils.gitfs.GitPillar(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2580, in __init__
self.init_remotes(
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2706, in init_remotes
repo_obj = self.git_providers[self.provider](
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1409, in __init__
super().__init__(
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 538, in __init__
self.fetch_request_check()
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1332, in fetch_request_check
self.fetch()
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
return self._fetch()
^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
fetch_results = origin.fetch()
^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/remote.py", line 1082, in fetch
res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/remote.py", line 905, in _get_fetch_info_from_stderr
proc.wait(stderr=stderr_text)
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/cmd.py", line 423, in wait
raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Type of salt install
Official deb
Major version
3006.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
ubuntu-22.04
salt --versions-report output
Salt Version:
Salt: 3006.28
Python Version:
Python: 3.11.16 (main, Sep 30 2026, 03:33:49) [GCC 11.2.0]
Dependency Versions:
cffi: 2.0.0
cherrypy: 18.10.0
cryptography: 50.0.0
dateutil: 2.9.0.post0
docker-py: Not Installed
gitdb: 4.0.12
gitpython: 3.1.62
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.2.1
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 3.00
pycrypto: Not Installed
pycryptodome: 3.23.0
pygit2: Not Installed
python-gnupg: 0.5.6
PyYAML: 6.0.3
PyZMQ: 27.1.0
relenv: 0.22.27
smmap: 5.0.2
timelib: 0.3.0
Tornado: 6.5.5
ZMQ: 4.3.5
System Versions:
dist: ubuntu 22.04.5 jammy
locale: utf-8
machine: x86_64
release: 6.8.0-124-generic
system: Linux
version: Ubuntu 22.04.5 jammy
Hi @sli-trackman, I’d like to investigate this issue if it’s still available. I can reproduce the gitfs/git_pillar failure on Salt 3006.28, compare the relevant behavior against the previous release, and trace the salt.utils.gitfs/GitPython path to determine whether there is a Salt-side regression. If confirmed, I can add a focused regression test and fix. Please let me know if I can take this one.
Hi @CharlesOmeneki , yes, sure! Thank you.
Hi @sli-trackman, I’ve done some initial investigation into the gitfs/git_pillar failure.
I compared Salt 3006.27 and 3006.28 and found no changes in the relevant salt.utils.gitfs or SSH/process-related code. I also compared GitPython 3.1.59 and 3.1.62; both produce the same SSH failure when running the underlying git fetch -- origin command.
I was also able to reproduce the same Host key verification failed / Could not read from remote repository error with plain Git outside Salt, which suggests this may be related to the SSH environment/configuration rather than a Salt-side regression.
Since your affected setup uses an Azure DevOps SSH remote, could you share the relevant SSH/Git configuration and the exact Git version from the affected Salt master? That should help narrow down whether there is a specific environment or compatibility difference involved.
I’ll continue from there if the additional details point to a Salt-side issue.
@CharlesOmeneki Sorry, forgot to mention, I upgraded it from version 3006.13 (because the following versions had memory leak issue - https://github.com/saltstack/salt/issues/69914).
Configuration is pretty simple. We install gitpython with salt-pip, add ssh private and public keys (with salt user as an owner), add .ssh/config file:
Host ssh.dev.azure.com
IdentityFile /opt/saltstack/salt/.ssh/id_rsa
StrictHostKeyChecking no
And in master config file:
fileserver_backend:
- git
- roots
gitfs_provider: gitpython
git_pillar_provider: gitpython
gitfs_remotes:
- [email protected]:<our repo>:
- fallback: <branch>
ext_pillar:
- git:
- __env__ [email protected]:<our repo>:
- root: <path>
Git version on the server:
git/jammy,now 1:2.34.1-1ubuntu1.17 amd64 [installed]
With salt-master 3006.13 we used gitpython==3.1.43, with salt-master 3006.28 just install the last available (which is 3.1.62).
Thanks for sharing those details. Since the same SSH failure occurs outside Salt, I’d like to check whether the SSH configuration is being applied correctly to the process running under the salt user.
Could you run the following commands as the same OS user that runs salt-master and share the output, redacting any sensitive information?
whoami
echo "$HOME"
ssh -G ssh.dev.azure.com | grep -E '^(hostname|user|identityfile|stricthostkeychecking|userknownhostsfile) '
ssh -T [email protected]
The first three commands should help confirm the effective user, home directory, and SSH configuration. The last tests SSH connectivity to Azure DevOps directly; its output will help us narrow down the failure.
Thanks again for the additional information. I’ll continue investigating based on the results.
@CharlesOmeneki I checked the logs again and can confirm that I see these errors for both versions 3006.27 and 3006.28 but not for version 3006.13. And that is why I doubt that the issue is outside the salt-master. Also there are no issues in fetching the data from gitfs in general, this errors show up only from time to time, not all the time. Mostly I see the good logs like this:
2026-10-12 08:35:27,294 [salt.utils.gitfs :3181][INFO ][1956301] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-12 08:36:45,217 [salt.utils.gitfs :3181][INFO ][1956301] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-12 08:38:03,353 [salt.utils.gitfs :3181][INFO ][1956301] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-12 08:39:20,885 [salt.utils.gitfs :3181][INFO ][1956301] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Anyway, the output of the commands that you asked for:
salt@salt-master-dev:~$ whoami
salt
salt@salt-master-dev:~$ echo "$HOME"
/opt/saltstack/salt
salt@salt-master-dev:~$ pwd
/opt/saltstack/salt
salt@salt-master-dev:~$ ssh -G ssh.dev.azure.com | grep -E '^(hostname|user|identityfile|stricthostkeychecking|userknownhostsfile) '
user salt
hostname ssh.dev.azure.com
stricthostkeychecking false
identityfile /opt/saltstack/salt/.ssh/id_rsa
userknownhostsfile /opt/saltstack/salt/.ssh/known_hosts /opt/saltstack/salt/.ssh/known_hosts2
salt@salt-master-dev:~$ ssh -T [email protected]
remote: Shell access is not supported.
shell request failed on channel 0
Thanks for checking. The SSH configuration looks correct, and the SSH test reaches Azure DevOps.
The fact that the failures are intermittent and only appear in 3006.27 and 3006.28 is useful. It could point to a change in how Salt handles GitFS operations.
Could you share the full traceback from one of the failed fetches, including the lines just before the SSH error? I'd like to identify exactly which GitFS operation is failing.
Please redact any sensitive details.
@CharlesOmeneki I don't see anything else suspicious around that time:
2026-10-10 21:04:19,048 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:04:24,996 [salt.master :2585][INFO ][1892376] User saltdeploy Published command saltutil.find_job with jid 20261010210424967459
2026-10-10 21:05:18,945 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010210518906115
2026-10-10 21:05:19,104 [salt.master :2585][INFO ][1892371] User saltdeploy Published command test.ping with jid 20261010210519081754
2026-10-10 21:05:36,179 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:06:19,242 [salt.master :2585][INFO ][1892370] User saltdeploy Published command saltutil.find_job with jid 20261010210619223394
2026-10-10 21:06:24,419 [salt.master :2585][INFO ][1892372] User saltdeploy Published command saltutil.refresh_pillar with jid 20261010210624395145
2026-10-10 21:06:52,964 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:07:24,471 [salt.master :2585][INFO ][1892376] User saltdeploy Published command saltutil.find_job with jid 20261010210724453207
2026-10-10 21:08:09,895 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:09:27,032 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:10:44,882 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:11:17,455 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010211117387406
2026-10-10 21:11:31,743 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010211131698727
2026-10-10 21:11:39,354 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010211139286669
2026-10-10 21:12:02,691 [salt.utils.gitfs :3181][INFO ][880436] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 21:12:33,085 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010211233039807
2026-10-10 21:15:48,760 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010211548717394
2026-10-10 21:16:34,281 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010211634242517
2026-10-10 21:16:34,344 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010211634305445
2026-10-10 21:17:20,606 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010211720564722
2026-10-10 21:19:15,571 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010211915532735
2026-10-10 21:21:33,969 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010212133920134
2026-10-10 21:22:27,989 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010212227942612
2026-10-10 21:22:28,031 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010212227982750
2026-10-10 21:23:24,660 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010212324611538
2026-10-10 21:24:42,829 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010212442778731
2026-10-10 21:24:42,861 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010212442798907
2026-10-10 21:28:02,266 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010212802224880
2026-10-10 21:28:04,517 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010212804471287
2026-10-10 21:28:07,537 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010212807488226
2026-10-10 21:28:07,584 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010212807530476
2026-10-10 21:28:08,843 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010212808763488
2026-10-10 21:28:08,849 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010212808768825
2026-10-10 21:28:11,342 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010212811297523
2026-10-10 21:28:11,748 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010212811652341
2026-10-10 21:28:15,607 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010212815566076
2026-10-10 21:31:31,943 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010213131819281
2026-10-10 21:31:32,196 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010213132153095
2026-10-10 21:31:34,956 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010213134910433
2026-10-10 21:32:36,908 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010213236862321
2026-10-10 21:32:36,957 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010213236913348
2026-10-10 21:39:38,513 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010213938467285
2026-10-10 21:41:35,948 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010214135906578
2026-10-10 21:42:51,672 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010214251615872
2026-10-10 21:50:13,226 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010215013173172
2026-10-10 21:51:36,882 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010215136842164
2026-10-10 22:01:37,910 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010220137867746
2026-10-10 22:04:31,577 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010220431508846
2026-10-10 22:04:31,742 [salt.master :2585][INFO ][1892370] User saltdeploy Published command test.ping with jid 20261010220431725878
2026-10-10 22:05:31,804 [salt.master :2585][INFO ][1892372] User saltdeploy Published command saltutil.find_job with jid 20261010220531787267
2026-10-10 22:05:36,968 [salt.master :2585][INFO ][1892376] User saltdeploy Published command saltutil.refresh_pillar with jid 20261010220536949116
2026-10-10 22:06:37,029 [salt.master :2585][INFO ][1892380] User saltdeploy Published command saltutil.find_job with jid 20261010220637008126
2026-10-10 22:07:30,564 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010220730510191
2026-10-10 22:07:30,731 [salt.master :2585][INFO ][1892370] User saltdeploy Published command test.ping with jid 20261010220730712529
2026-10-10 22:08:30,794 [salt.master :2585][INFO ][1892372] User saltdeploy Published command saltutil.find_job with jid 20261010220830773533
2026-10-10 22:08:35,972 [salt.master :2585][INFO ][1892376] User saltdeploy Published command saltutil.refresh_pillar with jid 20261010220835954285
2026-10-10 22:09:36,049 [salt.master :2585][INFO ][1892380] User saltdeploy Published command saltutil.find_job with jid 20261010220936024217
2026-10-10 22:11:18,749 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010221118686779
2026-10-10 22:11:38,881 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010221138841750
2026-10-10 22:11:40,364 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010221140319813
2026-10-10 22:12:34,147 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010221234105532
2026-10-10 22:15:49,861 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010221549818626
2026-10-10 22:16:35,854 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010221635785192
2026-10-10 22:16:35,862 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010221635796756
2026-10-10 22:17:21,845 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010221721799019
2026-10-10 22:19:16,787 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010221916734379
2026-10-10 22:21:39,931 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010222139890733
2026-10-10 22:22:29,849 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010222229793971
2026-10-10 22:22:29,868 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010222229803792
2026-10-10 22:23:25,524 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010222325479962
2026-10-10 22:24:44,401 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010222444277900
2026-10-10 22:24:44,507 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010222444413303
2026-10-10 22:28:03,412 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010222803372115
2026-10-10 22:28:05,368 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010222805331482
2026-10-10 22:28:09,011 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010222808970701
2026-10-10 22:28:09,062 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010222809011365
2026-10-10 22:28:10,359 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010222810308506
2026-10-10 22:28:10,406 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010222810321349
2026-10-10 22:28:12,675 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010222812396396
2026-10-10 22:28:12,715 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010222812659662
2026-10-10 22:28:17,047 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010222816991106
2026-10-10 22:31:32,993 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010223132907417
2026-10-10 22:31:33,568 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010223133512199
2026-10-10 22:31:33,647 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010223133593500
2026-10-10 22:31:40,930 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010223140881894
2026-10-10 22:32:38,375 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010223238326308
2026-10-10 22:32:38,478 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010223238390543
2026-10-10 22:39:39,559 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010223939517943
2026-10-10 22:41:42,084 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010224142033544
2026-10-10 22:42:52,595 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010224252546385
2026-10-10 22:50:15,091 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010225015038206
2026-10-10 22:51:42,981 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010225142938924
2026-10-10 23:01:44,005 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010230143951320
2026-10-10 23:06:43,388 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010230643338180
2026-10-10 23:06:43,534 [salt.master :2585][INFO ][1892368] User saltdeploy Published command test.ping with jid 20261010230643518377
2026-10-10 23:07:43,583 [salt.master :2585][INFO ][1892371] User saltdeploy Published command saltutil.find_job with jid 20261010230743562640
2026-10-10 23:07:48,750 [salt.master :2585][INFO ][1892370] User saltdeploy Published command saltutil.refresh_pillar with jid 20261010230748728646
2026-10-10 23:08:48,805 [salt.master :2585][INFO ][1892372] User saltdeploy Published command saltutil.find_job with jid 20261010230848788393
2026-10-10 23:09:42,603 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010230942512303
2026-10-10 23:09:42,764 [salt.master :2585][INFO ][1892368] User saltdeploy Published command test.ping with jid 20261010230942748290
2026-10-10 23:10:42,856 [salt.master :2585][INFO ][1892371] User saltdeploy Published command saltutil.find_job with jid 20261010231042834814
2026-10-10 23:10:48,043 [salt.master :2585][INFO ][1892370] User saltdeploy Published command saltutil.refresh_pillar with jid 20261010231048025032
2026-10-10 23:11:20,663 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010231120618923
2026-10-10 23:11:41,250 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010231141206791
2026-10-10 23:11:45,041 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010231144985233
2026-10-10 23:11:48,108 [salt.master :2585][INFO ][1892370] User saltdeploy Published command saltutil.find_job with jid 20261010231148086381
2026-10-10 23:12:35,154 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010231235107421
2026-10-10 23:15:50,881 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010231550836260
2026-10-10 23:16:37,383 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010231637337924
2026-10-10 23:16:37,427 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010231637387873
2026-10-10 23:17:22,805 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010231722754637
2026-10-10 23:19:17,955 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010231917913283
2026-10-10 23:21:45,978 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010232145907151
2026-10-10 23:22:31,175 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010232231124385
2026-10-10 23:22:31,307 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010232231262738
2026-10-10 23:23:26,451 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010232326406826
2026-10-10 23:24:46,099 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010232446042235
2026-10-10 23:24:46,167 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010232446118088
2026-10-10 23:27:23,051 [salt.utils.gitfs :2936][ERROR ][880436] Exception caught while fetching gitfs remote '[email protected]:<our repo>': Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v -- origin
stderr: 'fatal: Could not read from remote repository.'
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
if repo.fetch():
^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
return self._fetch()
^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
fetch_results = origin.fetch()
^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/remote.py", line 1082, in fetch
res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/remote.py", line 905, in _get_fetch_info_from_stderr
proc.wait(stderr=stderr_text)
File "/opt/saltstack/salt/lib/python3.11/site-packages/git/cmd.py", line 423, in wait
raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v -- origin
stderr: 'fatal: Could not read from remote repository.'
2026-10-10 23:28:04,513 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010232804447429
2026-10-10 23:28:06,248 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010232806201591
2026-10-10 23:28:10,233 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010232810186239
2026-10-10 23:28:10,289 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010232810249287
2026-10-10 23:28:11,764 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010232811726112
2026-10-10 23:28:14,108 [salt.client.mixins:441 ][INFO ][1892371] Runner completed: 20261010232814054007
2026-10-10 23:28:14,113 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010232814057017
2026-10-10 23:28:19,065 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010232818995654
2026-10-10 23:28:40,296 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:29:57,241 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:31:14,667 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:31:35,444 [salt.client.mixins:441 ][INFO ][1892370] Runner completed: 20261010233135362304
2026-10-10 23:31:35,490 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010233135416131
2026-10-10 23:31:35,503 [salt.client.mixins:441 ][INFO ][1892376] Runner completed: 20261010233135429868
2026-10-10 23:31:47,161 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010233147118441
2026-10-10 23:32:32,097 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:32:39,718 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010233239628717
2026-10-10 23:32:40,047 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010233239988368
2026-10-10 23:33:49,587 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:35:06,875 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:36:23,984 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:37:41,176 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:38:58,404 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:39:40,793 [salt.client.mixins:441 ][INFO ][1892380] Runner completed: 20261010233940751347
2026-10-10 23:40:15,520 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:41:32,767 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:41:48,003 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010234147956882
2026-10-10 23:42:50,034 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:42:53,656 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010234253607654
2026-10-10 23:44:06,914 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:45:24,149 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:46:41,153 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:47:57,868 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:49:14,973 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:50:16,860 [salt.client.mixins:441 ][INFO ][1892372] Runner completed: 20261010235016821024
2026-10-10 23:50:32,159 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:51:49,045 [salt.client.mixins:441 ][INFO ][1892368] Runner completed: 20261010235149005012
2026-10-10 23:51:49,645 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:53:06,888 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:54:24,214 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:55:41,234 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:56:58,174 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:58:15,426 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
2026-10-10 23:59:32,563 [salt.utils.gitfs :3181][INFO ][973801] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Also in the master config we have ~ 3 external repos, and the error usually complains about only one random of them, not all at the same time.
@sli-trackman the log doesn't show why ssh failed because GitPython only keeps the error: and fatal: lines from git's stderr when it builds the exception (RemoteProgress._parse_progress_line and Remote._get_fetch_info_from_stderr), so whatever ssh printed before fatal: Could not read from remote repository. is dropped. That message only means the ssh connection failed.
To catch the actual reason, you could have git run ssh through a small wrapper that logs with a timestamp, e.g. /opt/saltstack/salt/ssh-debug.sh (owned by salt, chmod 755):
#!/bin/sh
log=/opt/saltstack/salt/gitfs-ssh.log
echo "=== $(date -u +%FT%TZ) $$ start: $*" >> "$log"
ssh -v -E "$log" "$@"
rc=$?
echo "=== $(date -u +%FT%TZ) $$ exit $rc" >> "$log"
exit $rc
and as the salt user run git config --global core.sshCommand /opt/saltstack/salt/ssh-debug.sh, which writes it to /opt/saltstack/salt/.gitconfig. Git only reads that file if the master processes have HOME=/opt/saltstack/salt, which you can check with tr '\0' '\n' < /proc/$(pgrep -u salt -f salt-master | head -1)/environ | grep ^HOME. The next time the error shows up, the block with a non-zero exit around that time should say what happened (host key, auth, connection reset or closed by the remote, etc). The log grows with every fetch, so remove the setting once you have a couple of failures.
On the Salt side, between 3006.13 and 3006.28 the only changes to salt/utils/gitfs.py are the pygit2 HOME fixes (3006.15 and 3006.17) and an odict cleanup, none of them in the GitPython fetch path. Since GitPython went from 3.1.43 to 3.1.62 in the same upgrade, it would also help to know whether the errors stop with salt-pip install gitpython==3.1.43 on 3006.28.
Hi @sli-trackman,
Thanks for checking the logs again. The snippets you shared show successful GitFS remote-map updates, so they don’t appear to capture the failed fetch itself.
Since the issue is intermittent and you’ve observed it on 3006.27 and 3006.28 but not 3006.13, I agree we shouldn’t rule out a Salt-side regression yet.
Could you temporarily enable DEBUG logging for the Salt master and share the log entries from an occurrence of the failure, including the first GitFS/GitPython error and any underlying SSH or Git stderr? Please redact repository details or other sensitive information.
That should help us identify the failing operation and determine what changed between 3006.13 and the later releases.
Thanks again for your help!
@ggiesen @CharlesOmeneki I followed both your suggestions. Yesterday I was able to caught the error.
@ggiesen Here are the logs for the same repo, one is failing, one is successful. As you can see, there is literally nothing different.
#GOOD
=== 2026-10-28T10:03:00Z 775963 start: -G -o SendEnv=GIT_PROTOCOL [email protected]
OpenSSH_8.9p1 Ubuntu-3ubuntu0.17, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /opt/saltstack/salt/.ssh/config
debug1: /opt/saltstack/salt/.ssh/config line 1: Applying options for ssh.dev.azure.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
Pseudo-terminal will not be allocated because stdin is not a terminal.
=== 2026-10-28T10:03:00Z 775963 exit 0
=== 2026-10-28T10:03:00Z 775967 start: -o SendEnv=GIT_PROTOCOL [email protected] git-upload-pack '<repo-name>'
OpenSSH_8.9p1 Ubuntu-3ubuntu0.17, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /opt/saltstack/salt/.ssh/config
debug1: /opt/saltstack/salt/.ssh/config line 1: Applying options for ssh.dev.azure.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to ssh.dev.azure.com [40.74.28.12] port 22.
debug1: Connection established.
debug1: identity file /opt/saltstack/salt/.ssh/id_rsa type 0
debug1: identity file /opt/saltstack/salt/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.17
debug1: Remote protocol version 2.0, remote software version SSHBlackbox.10
debug1: compat_banner: no match: SSHBlackbox.10
debug1: Authenticating to ssh.dev.azure.com:22 as 'git'
debug1: load_hostkeys: fopen /opt/saltstack/salt/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_GROUP received
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: SSH2_MSG_KEX_DH_GEX_REPLY received
debug1: Server host key: ssh-rsa SHA256:ohD8VZEXGWo6Ez8GSEJQ9WpafgLFsOfLOtGGQCQo6Og
debug1: load_hostkeys: fopen /opt/saltstack/salt/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'ssh.dev.azure.com' is known and matches the RSA host key.
debug1: Found key in /opt/saltstack/salt/.ssh/known_hosts:1
debug1: ssh_packet_send2_wrapped: resetting send seqnr 4
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 4
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: /opt/saltstack/salt/.ssh/id_rsa RSA SHA256:DFSIxhm10C5ASL3ZYEBSxbzBJ/hfW7DPdzUTJxrrjRI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /opt/saltstack/salt/.ssh/id_rsa RSA SHA256:DFSIxhm10C5ASL3ZYEBSxbzBJ/hfW7DPdzUTJxrrjRI explicit
debug1: Server accepts key: /opt/saltstack/salt/.ssh/id_rsa RSA SHA256:DFSIxhm10C5ASL3ZYEBSxbzBJ/hfW7DPdzUTJxrrjRI explicit
Authenticated to ssh.dev.azure.com ([40.74.28.12]:22) using "publickey".
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: Sending environment.
debug1: channel 0: setting env GIT_PROTOCOL = "version=2"
debug1: channel 0: setting env LANG = "C.UTF-8"
debug1: channel 0: setting env LC_ALL = "C"
debug1: Sending command: git-upload-pack '<repo-name>'
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3320, received 20208 bytes, in 0.4 seconds
Bytes per second: sent 8398.2, received 51118.0
debug1: Exit status 0
=== 2026-10-28T10:03:00Z 775967 exit 0
# BAD
=== 2026-10-28T10:03:07Z 775995 start: -G -o SendEnv=GIT_PROTOCOL [email protected]
OpenSSH_8.9p1 Ubuntu-3ubuntu0.17, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /opt/saltstack/salt/.ssh/config
debug1: /opt/saltstack/salt/.ssh/config line 1: Applying options for ssh.dev.azure.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
Pseudo-terminal will not be allocated because stdin is not a terminal.
=== 2026-10-28T10:03:07Z 775995 exit 0
=== 2026-10-28T10:03:07Z 775999 start: -o SendEnv=GIT_PROTOCOL [email protected] git-upload-pack '<repo-name>'
OpenSSH_8.9p1 Ubuntu-3ubuntu0.17, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /opt/saltstack/salt/.ssh/config
debug1: /opt/saltstack/salt/.ssh/config line 1: Applying options for ssh.dev.azure.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to ssh.dev.azure.com [40.74.28.12] port 22.
debug1: Connection established.
debug1: identity file /opt/saltstack/salt/.ssh/id_rsa type 0
debug1: identity file /opt/saltstack/salt/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.17
debug1: Remote protocol version 2.0, remote software version SSHBlackbox.10
debug1: compat_banner: no match: SSHBlackbox.10
debug1: Authenticating to ssh.dev.azure.com:22 as 'git'
debug1: load_hostkeys: fopen /opt/saltstack/salt/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_GROUP received
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: SSH2_MSG_KEX_DH_GEX_REPLY received
debug1: Server host key: ssh-rsa SHA256:ohD8VZEXGWo6Ez8GSEJQ9WpafgLFsOfLOtGGQCQo6Og
debug1: load_hostkeys: fopen /opt/saltstack/salt/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'ssh.dev.azure.com' is known and matches the RSA host key.
debug1: Found key in /opt/saltstack/salt/.ssh/known_hosts:1
debug1: ssh_packet_send2_wrapped: resetting send seqnr 4
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 4
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: /opt/saltstack/salt/.ssh/id_rsa RSA SHA256:DFSIxhm10C5ASL3ZYEBSxbzBJ/hfW7DPdzUTJxrrjRI explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /opt/saltstack/salt/.ssh/id_rsa RSA SHA256:DFSIxhm10C5ASL3ZYEBSxbzBJ/hfW7DPdzUTJxrrjRI explicit
debug1: Server accepts key: /opt/saltstack/salt/.ssh/id_rsa RSA SHA256:DFSIxhm10C5ASL3ZYEBSxbzBJ/hfW7DPdzUTJxrrjRI explicit
Authenticated to ssh.dev.azure.com ([40.74.28.12]:22) using "publickey".
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: Sending environment.
debug1: channel 0: setting env GIT_PROTOCOL = "version=2"
debug1: channel 0: setting env LANG = "C.UTF-8"
debug1: channel 0: setting env LC_ALL = "C"
debug1: Sending command: git-upload-pack '<repo-name>'
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3272, received 2176 bytes, in 21.0 seconds
Bytes per second: sent 155.6, received 103.4
debug1: Exit status 2
=== 2026-10-28T10:03:28Z 775999 exit 2
@CharlesOmeneki These are the logs with turned on Debugging.
Oct 28 10:00:16 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:00:16 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:16 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:00:16 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:00:16 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:00:16 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:16 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:00:17 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:00:17 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:17 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:17 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:00:17 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:00:20 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:00:20 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:20 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:20 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:00:20 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:00:21 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:00:21 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:00:21 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:00:21 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:01:16 <salt master> salt-master[757566]: [DEBUG ] Could not LazyLoad postgres.clean_old_jobs: 'postgres.clean_old_jobs' is not available.
Oct 28 10:01:16 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:16 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 1 name>'
Oct 28 10:01:16 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/8Kk5Nn7GDsNTI7g8AMkQaoPkfKjFymeb6OtB4_0K1xk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:01:17 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:01:17 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:17 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:17 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 2 name>'
Oct 28 10:01:17 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/qW9_hvCIXLLt5xXImmAfSQfgWDEgN+auncPfZuYOSNk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:01:21 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:01:21 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:01:21 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:01:21 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:01:21 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:21 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:01:21 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:01:22 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:01:22 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:22 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:22 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:01:22 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:01:24 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:01:24 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:24 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:24 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:01:24 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:01:59 <salt master> salt-master[757566]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:01:59 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:01:59 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:01:59 <salt master> salt-master[757566]: [ERROR ] Exception caught while fetching git_pillar remote '__env__ [email protected]:<repo 2 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:01:59 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:01:59 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:01:59 <salt master> salt-master[757566]: Traceback (most recent call last):
Oct 28 10:01:59 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:01:59 <salt master> salt-master[757566]: if repo.fetch():
Oct 28 10:01:59 <salt master> salt-master[757566]: ^^^^^^^^^^^^
Oct 28 10:01:59 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:01:59 <salt master> salt-master[757566]: return self._fetch()
Oct 28 10:01:59 <salt master> salt-master[757566]: ^^^^^^^^^^^^^
Oct 28 10:01:59 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:01:59 <salt master> salt-master[757566]: fetch_results = origin.fetch()
Oct 28 10:01:59 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^
Oct 28 10:01:59 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:01:59 <salt master> salt-master[757566]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:01:59 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:01:59 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:01:59 <salt master> salt-master[757566]: proc.wait(stderr=stderr_text)
Oct 28 10:01:59 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:01:59 <salt master> salt-master[757566]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:01:59 <salt master> salt-master[757566]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:01:59 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:01:59 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:01:59 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:02:07 <salt master> salt-master[757950]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:02:07 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:02:07 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:02:07 <salt master> salt-master[757950]: [ERROR ] Exception caught while fetching gitfs remote '[email protected]:<repo 2 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:02:07 <salt master> salt-master[757950]: cmdline: git fetch -v -- origin
Oct 28 10:02:07 <salt master> salt-master[757950]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:02:07 <salt master> salt-master[757950]: Traceback (most recent call last):
Oct 28 10:02:07 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:02:07 <salt master> salt-master[757950]: if repo.fetch():
Oct 28 10:02:07 <salt master> salt-master[757950]: ^^^^^^^^^^^^
Oct 28 10:02:07 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:02:07 <salt master> salt-master[757950]: return self._fetch()
Oct 28 10:02:07 <salt master> salt-master[757950]: ^^^^^^^^^^^^^
Oct 28 10:02:07 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:02:07 <salt master> salt-master[757950]: fetch_results = origin.fetch()
Oct 28 10:02:07 <salt master> salt-master[757950]: ^^^^^^^^^^^^^^
Oct 28 10:02:07 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:02:07 <salt master> salt-master[757950]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:02:07 <salt master> salt-master[757950]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:02:07 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:02:07 <salt master> salt-master[757950]: proc.wait(stderr=stderr_text)
Oct 28 10:02:07 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:02:07 <salt master> salt-master[757950]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:02:07 <salt master> salt-master[757950]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:02:07 <salt master> salt-master[757950]: cmdline: git fetch -v -- origin
Oct 28 10:02:07 <salt master> salt-master[757950]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:02:07 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:02:07 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:02:59 <salt master> salt-master[757566]: [DEBUG ] Could not LazyLoad postgres.clean_old_jobs: 'postgres.clean_old_jobs' is not available.
Oct 28 10:02:59 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:02:59 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 1 name>'
Oct 28 10:02:59 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/8Kk5Nn7GDsNTI7g8AMkQaoPkfKjFymeb6OtB4_0K1xk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:03:00 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:03:00 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:00 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:00 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 2 name>'
Oct 28 10:03:00 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/qW9_hvCIXLLt5xXImmAfSQfgWDEgN+auncPfZuYOSNk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:03:01 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:03:01 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:01 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:03:07 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:03:07 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:03:07 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:03:07 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:03:07 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:07 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:03:07 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:03:28 <salt master> salt-master[757950]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:03:28 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:03:28 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:28 <salt master> salt-master[757950]: [ERROR ] Exception caught while fetching gitfs remote '[email protected]:<repo 1 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:03:28 <salt master> salt-master[757950]: cmdline: git fetch -v -- origin
Oct 28 10:03:28 <salt master> salt-master[757950]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:03:28 <salt master> salt-master[757950]: Traceback (most recent call last):
Oct 28 10:03:28 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:03:28 <salt master> salt-master[757950]: if repo.fetch():
Oct 28 10:03:28 <salt master> salt-master[757950]: ^^^^^^^^^^^^
Oct 28 10:03:28 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:03:28 <salt master> salt-master[757950]: return self._fetch()
Oct 28 10:03:28 <salt master> salt-master[757950]: ^^^^^^^^^^^^^
Oct 28 10:03:28 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:03:28 <salt master> salt-master[757950]: fetch_results = origin.fetch()
Oct 28 10:03:28 <salt master> salt-master[757950]: ^^^^^^^^^^^^^^
Oct 28 10:03:28 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:03:28 <salt master> salt-master[757950]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:03:28 <salt master> salt-master[757950]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:03:28 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:03:28 <salt master> salt-master[757950]: proc.wait(stderr=stderr_text)
Oct 28 10:03:28 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:03:28 <salt master> salt-master[757950]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:03:28 <salt master> salt-master[757950]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:03:28 <salt master> salt-master[757950]: cmdline: git fetch -v -- origin
Oct 28 10:03:28 <salt master> salt-master[757950]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:03:28 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:28 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:03:28 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:03:31 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:03:31 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:31 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:03:31 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:03:31 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:04:01 <salt master> salt-master[757566]: [DEBUG ] Could not LazyLoad postgres.clean_old_jobs: 'postgres.clean_old_jobs' is not available.
Oct 28 10:04:01 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:04:01 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 1 name>'
Oct 28 10:04:01 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/8Kk5Nn7GDsNTI7g8AMkQaoPkfKjFymeb6OtB4_0K1xk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:04:13 <salt master> salt-master[757950]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:04:13 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:04:13 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:04:13 <salt master> salt-master[757950]: [ERROR ] Exception caught while fetching gitfs remote '[email protected]:<repo 2 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:04:13 <salt master> salt-master[757950]: cmdline: git fetch -v -- origin
Oct 28 10:04:13 <salt master> salt-master[757950]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:04:13 <salt master> salt-master[757950]: Traceback (most recent call last):
Oct 28 10:04:13 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:04:13 <salt master> salt-master[757950]: if repo.fetch():
Oct 28 10:04:13 <salt master> salt-master[757950]: ^^^^^^^^^^^^
Oct 28 10:04:13 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:04:13 <salt master> salt-master[757950]: return self._fetch()
Oct 28 10:04:13 <salt master> salt-master[757950]: ^^^^^^^^^^^^^
Oct 28 10:04:13 <salt master> salt-master[757950]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:04:13 <salt master> salt-master[757950]: fetch_results = origin.fetch()
Oct 28 10:04:13 <salt master> salt-master[757950]: ^^^^^^^^^^^^^^
Oct 28 10:04:13 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:04:13 <salt master> salt-master[757950]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:04:13 <salt master> salt-master[757950]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:04:13 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:04:13 <salt master> salt-master[757950]: proc.wait(stderr=stderr_text)
Oct 28 10:04:13 <salt master> salt-master[757950]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:04:13 <salt master> salt-master[757950]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:04:13 <salt master> salt-master[757950]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:04:13 <salt master> salt-master[757950]: cmdline: git fetch -v -- origin
Oct 28 10:04:13 <salt master> salt-master[757950]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:04:14 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:04:14 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:04:43 <salt master> salt-master[757566]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:04:43 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:04:43 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:04:43 <salt master> salt-master[757566]: [ERROR ] Exception caught while fetching git_pillar remote '__env__ [email protected]:<repo 1 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:04:43 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:04:43 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:04:43 <salt master> salt-master[757566]: Traceback (most recent call last):
Oct 28 10:04:43 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:04:43 <salt master> salt-master[757566]: if repo.fetch():
Oct 28 10:04:43 <salt master> salt-master[757566]: ^^^^^^^^^^^^
Oct 28 10:04:43 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:04:43 <salt master> salt-master[757566]: return self._fetch()
Oct 28 10:04:43 <salt master> salt-master[757566]: ^^^^^^^^^^^^^
Oct 28 10:04:43 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:04:43 <salt master> salt-master[757566]: fetch_results = origin.fetch()
Oct 28 10:04:43 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^
Oct 28 10:04:43 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:04:43 <salt master> salt-master[757566]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:04:43 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:04:43 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:04:43 <salt master> salt-master[757566]: proc.wait(stderr=stderr_text)
Oct 28 10:04:43 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:04:43 <salt master> salt-master[757566]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:04:43 <salt master> salt-master[757566]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:04:43 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:04:43 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:04:43 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:04:43 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 2 name>'
Oct 28 10:04:43 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/qW9_hvCIXLLt5xXImmAfSQfgWDEgN+auncPfZuYOSNk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:14 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:05:14 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:05:14 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:05:14 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:05:14 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:14 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:05:14 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:25 <salt master> salt-master[757566]: [ERROR ] Exception caught while fetching git_pillar remote '__env__ [email protected]:<repo 2 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:05:25 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:05:25 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:05:25 <salt master> salt-master[757566]: Traceback (most recent call last):
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:05:25 <salt master> salt-master[757566]: if repo.fetch():
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:05:25 <salt master> salt-master[757566]: return self._fetch()
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:05:25 <salt master> salt-master[757566]: fetch_results = origin.fetch()
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:05:25 <salt master> salt-master[757566]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:05:25 <salt master> salt-master[757566]: proc.wait(stderr=stderr_text)
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:05:25 <salt master> salt-master[757566]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:05:25 <salt master> salt-master[757566]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:05:25 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:05:25 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:06:19 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Could not LazyLoad postgres.clean_old_jobs: 'postgres.clean_old_jobs' is not available.
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 1 name>'
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/8Kk5Nn7GDsNTI7g8AMkQaoPkfKjFymeb6OtB4_0K1xk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 2 name>'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/qW9_hvCIXLLt5xXImmAfSQfgWDEgN+auncPfZuYOSNk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:28 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:28 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:28 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:07:25 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:07:27 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:07:27 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:07:27 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:07:27 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:07:27 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:07:28 <salt master> salt-master[757566]: [DEBUG ] Could not LazyLoad postgres.clean_old_jobs: 'postgres.clean_old_jobs' is not available.
Oct 28 10:07:28 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:07:28 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 1 name>'
Oct 28 10:07:28 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/8Kk5Nn7GDsNTI7g8AMkQaoPkfKjFymeb6OtB4_0K1xk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:05:15 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:05:17 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:05:19 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.'
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'False'
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:05:25 <salt master> salt-master[757566]: [ERROR ] Exception caught while fetching git_pillar remote '__env__ [email protected]:<repo 2 name>': Cmd('git') failed due to: exit code(128)
Oct 28 10:05:25 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:05:25 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:05:25 <salt master> salt-master[757566]: Traceback (most recent call last):
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 2927, in fetch_remotes
Oct 28 10:05:25 <salt master> salt-master[757566]: if repo.fetch():
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 934, in fetch
Oct 28 10:05:25 <salt master> salt-master[757566]: return self._fetch()
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/lib/python3.11/site-packages/salt/utils/gitfs.py", line 1582, in _fetch
Oct 28 10:05:25 <salt master> salt-master[757566]: fetch_results = origin.fetch()
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 1069, in fetch
Oct 28 10:05:25 <salt master> salt-master[757566]: res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
Oct 28 10:05:25 <salt master> salt-master[757566]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/remote.py", line 895, in _get_fetch_info_from_stderr
Oct 28 10:05:25 <salt master> salt-master[757566]: proc.wait(stderr=stderr_text)
Oct 28 10:05:25 <salt master> salt-master[757566]: File "/opt/saltstack/salt/extras-3.11/git/cmd.py", line 834, in wait
Oct 28 10:05:25 <salt master> salt-master[757566]: raise GitCommandError(remove_password_if_present(self.args), status, errstr)
Oct 28 10:05:25 <salt master> salt-master[757566]: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
Oct 28 10:05:25 <salt master> salt-master[757566]: cmdline: git fetch -v -- origin
Oct 28 10:05:25 <salt master> salt-master[757566]: stderr: 'fatal: Could not read from remote repository.'
Oct 28 10:05:25 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:06:19 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 1 name>'
Oct 28 10:06:19 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/6O_gKARA2xSYpzskLxk7nnBvs44RTbkN3cW90M3r80w=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote 'git@<git repo>.git'
Oct 28 10:06:21 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/Gixb5TWTEneI7ZaPJdYE8HuGNeidJt5f9VqTlQKXMHE=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote 'git@<git repo>.git' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote 'git@<git repo>.git' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Set update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Fetching gitfs remote '[email protected]:<repo 2 name>'
Oct 28 10:06:23 <salt master> salt-master[757950]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/gitfs/XV37P18gGbyvnLUzs4e5hEhsOybDCtv+SK2N6JztQgg=/_, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Attempting to remove 'update' lock for 'gitfs' remote '[email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Removed update lock for gitfs remote '[email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Updating roots fileserver cache
Oct 28 10:06:25 <salt master> salt-master[757950]: [DEBUG ] Completed fileserver updates for items with an update interval of 60, waiting 60 seconds
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Could not LazyLoad postgres.clean_old_jobs: 'postgres.clean_old_jobs' is not available.
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 1 name>'
Oct 28 10:06:25 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/8Kk5Nn7GDsNTI7g8AMkQaoPkfKjFymeb6OtB4_0K1xk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 1 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 1 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Set update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Fetching git_pillar remote '__env__ [email protected]:<repo 2 name>'
Oct 28 10:06:27 <salt master> salt-master[757566]: [DEBUG ] Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/var/cache/salt/master/git_pillar/qW9_hvCIXLLt5xXImmAfSQfgWDEgN+auncPfZuYOSNk=/master, stdin=None, shell=False, universal_newlines=False)
Oct 28 10:06:28 <salt master> salt-master[757566]: [DEBUG ] Attempting to remove 'update' lock for 'git_pillar' remote '__env__ [email protected]:<repo 2 name>' due to lock_set1 'True' or lock_set2 'True'
Oct 28 10:06:28 <salt master> salt-master[757566]: [DEBUG ] Removed update lock for git_pillar remote '__env__ [email protected]:<repo 2 name>' on machine_id 'a650818fd7c24e1cacb9ca77495b2d6a'
Oct 28 10:06:28 <salt master> salt-master[757566]: [DEBUG ] This salt-master instance has accepted 4 minion keys.
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Performing fileserver updates for items with an update interval of 60
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Updating gitfs fileserver cache for the following targets: [('[email protected]:<repo 1 name>', None), ('git@<git repo>.git', None), ('[email protected]>
Oct 28 10:07:25 <salt master> salt-master[757950]: [DEBUG ] Re-using gitfs object for process 757950
Oct 28 10:07:25 <salt master> salt-master[757950]: [INFO ] Wrote new gitfs remote map to /var/cache/salt/master/gitfs/remote_map.txt
Thank you!
@sli-trackman thanks, that narrows it down.
The good and bad sessions are identical up to Sending command: git-upload-pack '<repo-name>': same ssh config, the host key matched and Azure accepted your key. In the bad one Azure then held the session for 21 s and closed it with exit status 2 (received 2176 bytes, in 21.0 seconds vs 20208 bytes in 0.4 s for the good one). git prints "Could not read from remote repository" when the remote end closes before git gets the first line of the git protocol, which is what happened here.
The rest of the log fits that. 6 of the 19 completed Azure fetches failed, all started between 10:01:17 and 10:04:43, each taking 21 s or 42-43 s, and the non-Azure remote was fine every time. Other fetches to ssh.dev.azure.com kept working while one was stuck (gitfs fetched repo 2 fine at 10:05:17 while git_pillar's fetch of repo 2 was hanging), and git_pillar wasn't fetching at all during the 10:03:07 gitfs failure.
The tracebacks are from /opt/saltstack/salt/extras-3.11/git, and those line numbers (remote.py 1069/895, cmd.py 834) only match GitPython 3.1.43, so I take it the downgrade was in place when this happened (can you confirm?). That rules out the GitPython upgrade. The gitfs/git_pillar scheduling and fetch code are the same in 3006.13 and 3006.28 too, so Salt isn't fetching more often than before. One correction to my last comment: the 3006.17 HOME change applies to any provider, not just pygit2, but it only sets HOME when it's missing, and HOME was the same for your good and bad fetches.
What's still missing is Azure's reason. -E only moves ssh's own log messages; anything the server writes to the session's stderr still goes to git, and GitPython drops every line that doesn't start with error: or fatal:. This version also logs ssh's stderr, writes one file per run and deletes it when ssh exits 0, so only failures are kept. Replace the contents of /opt/saltstack/salt/ssh-debug.sh with it (core.sshCommand stays the same):
#!/bin/sh
# One log per ssh run: ssh's -v debug output, ssh's stderr (which carries
# anything the server sends on the session's stderr channel) and the
# start/exit lines. Logs of runs that exit 0 are removed.
dir=/opt/saltstack/salt/gitfs-ssh
mkdir -p "$dir"
log=$dir/$(date -u +%Y%m%dT%H%M%SZ)-$$.log
echo "=== $(date -u +%FT%TZ) $$ start: $*" >> "$log"
ssh -v -E "$log" "$@" 2>>"$log"
rc=$?
echo "=== $(date -u +%FT%TZ) $$ exit $rc" >> "$log"
[ "$rc" -eq 0 ] && rm -f "$log"
exit $rc
When you catch one, please post the kept log for a 42 s failure with the matching Salt log lines, so we can see whether that's one ssh session or two.
Other things that would help:
-
Do your other masters use the same Azure DevOps user or key, and do they fail at the same times?
-
To take Salt out of the picture, run this as the salt user for a while (it picks up the wrapper from ~/.gitconfig). If it also gets rc=128, Salt and GitPython aren't involved.
while :; do s=$(date -u +%T) git ls-remote '[email protected]:<repo>' >/dev/null 2>&1; rc=$? echo "$s $(date -u +%T) rc=$rc" sleep 30 done >> /opt/saltstack/salt/ls-remote.log -
A Project Collection Administrator can check Organization settings > Usage, filtered by the user that owns the key, for Delayed or Blocked requests around a failure. Microsoft says Git is rate limited like the rest of Azure DevOps but doesn't say how that shows up over ssh, so it's a long shot. If it does show throttling, raising
gitfs_update_intervalandgit_pillar_update_interval(e.g. 300) would cut the fetch rate. -
Otherwise only Microsoft can see why their end returned exit status 2. A support case with the UTC times, your public IP and the frontend IP from the log (40.74.28.12) would be the way to find out.