saltstack-formulas / sudoers-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
41 stars 166 forks source link

error after upgrading to 2017 version of master #35

Closed martinadolfi closed 7 years ago

martinadolfi commented 7 years ago

After upgrading salt-master to 2017, this formula keeps getting this error, at least on ubuntu:

 ----------
          ID: /etc/sudoers
    Function: file.managed
      Result: False
     Comment: Failed to commit change: [Errno 2] No such file or directory: /tmp/__salt.tmp.cboCne
     Started: 23:51:11.292604
    Duration: 1441.796 ms
     Changes:
              ----------
              diff:
                  Replace text file with binary file
----------
0xf10e commented 7 years ago

Does this happen across your minions? Looks like one of the many strange things that happen when the rootfs or /tmp filled up…

martinadolfi commented 7 years ago

I'm very sorry!, I didn't make enough tests on time, I updated the OS on the minions with apt-get update and can't get this error to happen any more. It happened on different minions but I just can't make it happen again. Sorry again, I'll close the issue and will reopen if I can get further usefull info.

0xf10e commented 7 years ago

It's OK, it just looked like a really strange error to be caused by a formula and not by something in the underlying system ; )