Giter Site home page Giter Site logo

Comments (12)

corey-hammerton avatar corey-hammerton commented on July 16, 2024

When the puppet server experiences errors in the catalog compilation it only logs it and stops. When that happens it does NOT record it in puppetdb and therefore cannot be queried by puppetboard.

from puppetboard.

henderb avatar henderb commented on July 16, 2024

I figured that might be the case. Could it show as unreported?

from puppetboard.

corey-hammerton avatar corey-hammerton commented on July 16, 2024

It will after the time configured in UNRESPONSIVE_HOURS

The process in puppet on runs is

replace facts
replace catalog
store reports

from puppetboard.

henderb avatar henderb commented on July 16, 2024

I'll have to test it to make sure, but I've had nodes failing for a day or so and I don't think they were listed. It's set to the default 2 hours.

from puppetboard.

henderb avatar henderb commented on July 16, 2024

I think my nodes are using the cached catalog during normal runs, just not when I do puppet agent -tv

from puppetboard.

corey-hammerton avatar corey-hammerton commented on July 16, 2024

The only way that I've noticed that you can detect this in puppetboard is comparing the timestamps of the catalog and the latest report.

Normally they should be within a few seconds of each other.

from puppetboard.

daenney avatar daenney commented on July 16, 2024

Hmmm, that's an interesting theory. Unfortunately I've had the experience of catalog compilations that take well over 5 minutes but if we could define a threshold there it might be worth looking into it.

from puppetboard.

gdubicki avatar gdubicki commented on July 16, 2024

Hey, I would also be happy to see compilation errors in puppetboard. And if I got https://tickets.puppetlabs.com/browse/PDB-16 right and if that info is still up to date, then information about such run actually is pushed to puppetdb, so it can be pulled out by puppetboard. So can we please reopen this ticket?

from puppetboard.

bastelfreak avatar bastelfreak commented on July 16, 2024

@gdubicki I reopened the ticket. Are you interested in providing a patch for this?

from puppetboard.

gdubicki avatar gdubicki commented on July 16, 2024

Actually it seems that with latest puppetboard and puppetdb the former does show compilation errors. Sorry for making you think otherwise, @bastelfreak . I think that this issue can be closed as "resolved".

from puppetboard.

gdubicki avatar gdubicki commented on July 16, 2024

I have put results of my verification that it does work in #449.

from puppetboard.

gdubicki avatar gdubicki commented on July 16, 2024

Resolved with ead45c9.

from puppetboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.