-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
deprecationThis issue pertains to an item/topic which has been deprecatedThis issue pertains to an item/topic which has been deprecated
Description
Summary
warn-retirements currently allows various retired options/blocks and logs warnings (with one hard failure for url-prefix).
Evidence
src/puppetlabs/puppetdb/config.clj:598defineswarn-retirements.src/puppetlabs/puppetdb/config.clj:607onward lists retired keys (for example[database] classname/subprotocoland others) that are ignored with warning.src/puppetlabs/puppetdb/config.clj:625warns[repl]block is retired.src/puppetlabs/puppetdb/config.clj:630treats[global] url-prefixas retired and exits.test/puppetlabs/puppetdb/config_test.clj:474validates warning behavior for retired items.
Proposed OpenVoxDB 9 Change
- Move from warn-and-ignore to explicit rejection for retired options/blocks.
- Keep
url-prefixhard-fail behavior and align others with it.
Compatibility / Risk
- Medium risk for long-lived deployments carrying stale options.
- Better operational safety by failing early instead of ignoring.
Implementation Notes
- Group errors to reduce iterative startup failures.
- Provide direct migration guidance per retired key/block.
Acceptance Criteria
- Retired options/blocks are rejected consistently.
- No warn-and-ignore behavior remains for retired config (except if deliberately retained as transitional policy).
- Tests updated to match strict behavior.
Suggested Tests
- Config validation tests for each retired key category.
- Startup failure message tests for
[repl]and retired[database]/[read-database]keys.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
deprecationThis issue pertains to an item/topic which has been deprecatedThis issue pertains to an item/topic which has been deprecated
Type
Projects
Status
Deprecated