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

query-timeout-default and -max cannot be set - type error. #4007

Open
traylenator opened this issue Sep 30, 2024 · 0 comments
Open

query-timeout-default and -max cannot be set - type error. #4007

traylenator opened this issue Sep 30, 2024 · 0 comments

Comments

@traylenator
Copy link

Describe the Bug

Creating a file /opt/puppetlabs/puppetdb/conf.d/puppetdb.ini containing

[puppetdb]
query-timeout-default = 30

Results in puppetdb start up error.

`ERROR [p.t.internal] Error during service init!!!   clojure.lang.ExceptionInfo: Value does not match schema: {:query-timeout-default (not (instance? java.lang.String 30))}`

Trying to set it as a string "30" results in

`Configured query-timeout-default timeout must be non-negative number, not "\"300\""`

Expected Behavior

PuppetDB should start up and respect the timeout.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Install PuppetDB 8 get it running in a trivial configuration.
  2. Configure a [puppetdb] section with query-timerout-default
  3. Restart PuppetDB.

Environment

  • Version puppetdb 8.7.0
  • Platform java-1.8.0-openjdk

Additional Context

Configuration settings are here - https://www.puppet.com/docs/puppetdb/8/configure#query-timeout-default

Behaviour is exactly the same for the query-timeout-max parameter also.

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

No branches or pull requests

1 participant