Skip to content

Provide an option to disable catalog messages #9262

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

Closed
joshcooper opened this issue Feb 22, 2024 · 2 comments
Closed

Provide an option to disable catalog messages #9262

joshcooper opened this issue Feb 22, 2024 · 2 comments
Labels
enhancement New feature or request triaged Jira issue has been created for this

Comments

@joshcooper
Copy link
Contributor

joshcooper commented Feb 22, 2024

Use Case

We recently added "notice" level messages specifying the server that the agent is requesting a catalog from and the server that actually handled the request, e.g. Notice: Requesting catalog from puppet.example.com:8140. See #9126

As described in #9223, the agent may hang for 2 minutes trying to resolve the DNS name into an IPv6 address. Other users have reported not wanting these messages to be printed (or at least not at the Notice level).

Describe the Solution You Would Like

Add a boolean puppet setting to allow the DNS resolution to be disabled. It should be enabled by default.

Describe Alternatives You've Considered

Creating an enum to allow the behavior to be disabled or logged at a different verbosity level.

Additional Context

https://puppetcommunity.slack.com/archives/C0W298S9G/p1706879255760149
https://puppetcommunity.slack.com/archives/C0W298S9G/p1705964713457719

@joshcooper joshcooper added enhancement New feature or request triaged Jira issue has been created for this labels Feb 22, 2024
Copy link

Migrated issue to PUP-12023

robbat2 added a commit to robbat2/puppetlabs-tagmail that referenced this issue Mar 11, 2024
@joshcooper
Copy link
Contributor Author

We added a new setting, skip_logging_catalog_request_destination in #9288 to disable the DNS lookup and message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged Jira issue has been created for this
Projects
None yet
Development

No branches or pull requests

1 participant