Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#236) agent_state_summary: Check if cached_catalog_status is null #237

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

bastelfreak
Copy link
Contributor

The attribute cached_catalog_status on the /nodes endpoint will be null for nodes without a catalog in PuppetDB:

puppet query 'nodes[certname,latest_report_noop,latest_report_corrective_change,cached_catalog_status,latest_report_status,report_timestamp]{}'
[
  {
    "cached_catalog_status": null,
    "certname": "pe2.tim.betadots.training",
    "latest_report_corrective_change": null,
    "latest_report_noop": null,
    "latest_report_status": null,
    "report_timestamp": null
  }
]

Please check off the steps below as you complete each step

  • Put the Jira ticket or Github issue number in parentheses in the Title e.g. (SUP-XXXX) Add Super Duper State Check
  • Update the Jira ticket status to Ready for Review if there is one
  • Review any CI failures and fix issues

…is null

The attribute `cached_catalog_status` on the `/nodes` endpoint will be
`null` for nodes without a catalog in PuppetDB:

```
puppet query 'nodes[certname,latest_report_noop,latest_report_corrective_change,cached_catalog_status,latest_report_status,report_timestamp]{}'
```

```
[
  {
    "cached_catalog_status": null,
    "certname": "pe2.tim.betadots.training",
    "latest_report_corrective_change": null,
    "latest_report_noop": null,
    "latest_report_status": null,
    "report_timestamp": null
  }
]
```
@bastelfreak
Copy link
Contributor Author

Because nobody is reviewing this I raised support ticket #01302632.

@MartyEwings MartyEwings merged commit 67e92b6 into puppetlabs:main Nov 18, 2024
15 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants