Logging the deprecation of an API endpoint is not useful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Jim Rollenhagen |
Bug Description
Patch f04d7513 added a new API endpoint for changing node maintenance mode, while introducing the ability to store a maintenance reason.
This patch also added a WARNING to the log file, when a client uses the existing PATCH mechanism to change the maintenance field.
When issuing "ironic node-update UUID replace maintenance=True", the following entry in ironic-api log file is recorded.
2014-11-24 12:27:46.384 17301 WARNING ironic.
Such an error is not helpful to Operators, who do not have control over what HTTP requests are issued.
The PATCH mechanism was not actually deprecated or removed, and no warning is, in any way, given to users who are using PATCH to change this field today.
I suggest we remove this logging line.
Changed in ironic: | |
importance: | Undecided → Low |
Changed in ironic: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/136934
Review: https:/