The Salt state postgres_user.absent fails:

      ID: remove_foobar_vums_dci__database_user
Function: postgres_user.absent
    Name: foobar_vums_dci
  Result: False
 Comment: User foobar_vums_dci failed to be removed
 Started: 10:14:07.614833
Duration: 9523.131 ms

Why does it fail?

I could start some guessing now. But in this particular moment, I am not in the mood for guessing.

Is there a way to tickle saltstack a bit to tell me the reason for this failure?

  • maybe permission issue? – Tux_DEV_NULL Jan 26 '18 at 11:01
  • @Tux_DEV_NULL thank you for guessing. My goal is to get a meaningful error message. The particular failure is not that important for me right now. – guettli Jan 26 '18 at 11:14
  • Did you try debug logging? – Schrute Jan 30 '18 at 16:57
  • @Schrute unfortunately this was not reproducible. – guettli Jun 5 '18 at 8:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.