You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Salt master (3006.9 on Rocky 9) configured to use gitfs (via gitpython) as the file server backend - but when using a file.recurse state with keep_symlinks: True, symlinks are not retained from source to the minion (also running 3006.9) - i.e. symlinks to files in the same directory are created as files on the minion (the symlink target is resolved)
However, when using a master configured to use a local file system as the backend, then keep_symlinks: True works as expected
Wonder if this fix #66857 being worked on has any bearing on the issue
I don't think it does ?
That PR seems to be about an intermittent issue with symlinks being created before their target exists ?
My issue is that file.recurse with 'keep_symlinks: True' works fine when the backend file system on the master is local, but doesn't work when the backend file system on the master is via gitfs
Description
Salt master (3006.9 on Rocky 9) configured to use gitfs (via gitpython) as the file server backend - but when using a file.recurse state with
keep_symlinks: True
, symlinks are not retained from source to the minion (also running 3006.9) - i.e. symlinks to files in the same directory are created as files on the minion (the symlink target is resolved)However, when using a master configured to use a local file system as the backend, then
keep_symlinks: True
works as expectedSetup
Using:
where
salt://{{ tpldir }}/files
contains:Steps to Reproduce the behavior
Apply the file.recurse state on the minion
Expected behavior
/tmp/files on the minion should contain (this is the case when using local file system as the backend):
However, when using a master using gitfs file system as the backend, /tmp/files ends up containing:
Versions Report
salt --versions-report
Master and minion running the same version on Rocky 9.4Additional context
Also tried pygit2 as the gitfs backend - but makes no difference
Also tried a salt-master running 3007.1 with gitfs - but makes no difference
The text was updated successfully, but these errors were encountered: