Need to warn when both active and deprecated names for an option are found in the config file(s)
Bug #1319868 reported by
Andrew Woodward
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
oslo.config options support depreciated parameters to help migrations between version, however in some cases the the natural location may have a default value in the consuming projects config file. In this case it is possible for a deployer to set the depreciated location and leave the default.
For example, this occurred in https:/
Speaking with @dhellmann, there should be a warning message in the event that this occurs
summary: |
- Using a depreciated parameter and the natural, no warning occurs + Using a deprecated parameter and the natural, no warning occurs |
summary: |
- Using a deprecated parameter and the natural, no warning occurs + Need to warn when both active and deprecated names for an option are + found in the config file(s) |
tags: | added: config |
Changed in oslo: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in oslo: | |
assignee: | nobody → Jon Grimm (jgrimm) |
affects: | oslo-incubator → oslo.config |
Changed in oslo.config: | |
status: | Triaged → In Progress |
Changed in oslo.config: | |
status: | In Progress → Confirmed |
assignee: | Jon Grimm (jgrimm) → nobody |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/121691
Review: https:/