cloud-init
cloud-init copied to clipboard
[enhancement]: Distinguish between genuine schema errors and deprecated keys
At present, all issues with schemas are documented in the log file with a warning and log stating the config is invalid. In some cases, the the only problem with the schema is a deprecated key. Per GH-5404, the current warning/log can be alarming to users and wastes their time when they have to go check their schema only to learn that the invalid log just meant a deprecated key. If the schema validation code returned a different values for deprecated keys vs true invalidity, we could log those results differently at appropriate levels.