salt: [BUG] file_roots to relative path seems broken

Description Upgrading from salt-ssh version 3007.0 (Chlorine) to 3007.1 (Chlorine), seems to broke the file_roots that i use in my master file.

root_dir: "."
conf_file: ./master
cachedir: /tmp/salt
gpg_keydir: /etc/salt/gpgkeys
file_roots:
  base:
    - ./states
pillar_roots:
  base:
    - ./pillar

Pillars are working, but when i try to state.apply i am unable to apply any state with

serverx:
    - No matching sls found for 'ntp' in env 'base'

Working only if i change the file_roots with an absolute path.

I installed 3006.8(Sulfur) to make it work again with relative path since i am unable to go back to 3007.0.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 4
  • Comments: 20 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@lkubb if I can trust my eyes, applying #66899 indeed solves the issue for 3006.9. (There is still red in the output because I’m also hitting #64532 now but that’s another story). Thank you! 🙏

Since Python 3.13 was mentioned to be the target host Python, maybe it’s related to https://github.com/saltstack/salt/issues/66898, so you could try the fix in https://github.com/saltstack/salt/pull/66899. After applying the patch, don’t forget to replace the thin archive on the target.

@hartwork Thanks for the hint! I somehow overlooked and also didn’t expect that…

@hurzhurz this is about salt-ssh. Have you tried salt-ssh?