-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
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:
- Install PuppetDB 8 get it running in a trivial configuration.
- Configure a
[puppetdb]
section withquery-timerout-default
- 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.
Metadata
Metadata
Assignees
Labels
No labels