voxpupuli/puppetboard

Failed deployments go to "unchanged" on next run and are lost ?

JLoCascio opened this issue · 7 comments

Had an issue where a deploy to a node failed. This showed as red on the puppetboard.

However when the next deployment run happened,, because the deployment was still in error, the node then showed as "unchanged" and continued to do so for a month.

Am I misunderstanding the behaviour of puppetboard here ? It seems a strange behaviour if by design. Or is there a config somewhere ?

Hi @JLoCascio! Thanks for reporting. Can you share a screenshot for a better understanding of your issue?

Certainly.

Here is what I am seeing in puppetboard
image

So it looks "unchanged.

However, drill into it and you see that actually, the node is sitting in error (and had been for a month)

image

There is a sort of logic to this as it is true to say that the last puppet run left the node "unchanged". However that isn't quite what I need to know.

If I have misunderstood, and there is a deep config setting to show a node which hasn't had a successful deploy in time period then could someone explain how I enable it.

Are you using this setting #449 (comment) ?

Wow - a lot to read ! If you don't hear from me again that was the issue and I found a fix !

😅 You only need to check if setting usecacheonfailure to false helps.

I've checked the puppet.conf for the node in question and that value was not set. So the default behaviour was to revert to the last known good config which (now I realise it) may not have been a bad thing.

Certainly I'm not going to make a mass change yet :)

Many thanks for such a quick reply and solution. Have a great weekend.

You are welcome. 😊 Have a good one too!