salt icon indicating copy to clipboard operation
salt copied to clipboard

file.managed makes minion hang if drive doesn't exist on Windows

Open otrempe opened this issue 12 years ago • 2 comments

Executing the state below on a Windows minion where the D: drive doesn't exist makes the minion process hang. The memory consumed by the process rises indefinitely and the process never returns. It should instead return an error saying this drive doesn't exist. Observed on 0.17.2.

my_file:
    file.managed:
        - name: D:/MyFolder/my_file.txt

otrempe avatar Jan 22 '14 13:01 otrempe

Very strange. This may be a Python problem, as opposed to a Salt problem, as I would expect an IOError quite promptly in that case. We'll look into this.

basepi avatar Jan 22 '14 23:01 basepi

I can confirm that this behavior is still happening.

UtahDave avatar Apr 01 '14 22:04 UtahDave