Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use log_with_downgradable_level for user password warnings (#5927)
Introduction of new WARNING level logs could be problematic for stable downstream distros. Customers using these distros would then see a new and unexpected behavior change or a new WARNING log that can confuse them. So for handling user account passwords, use log_with_downgradable_level() helper api instead so that downstream distros can maintain stability while also making progressive changes in upstream towards improved user experience. Downstream distros can convert these logs to DEBUG level by setting DEPRECATION_INFO_BOUNDARY to a value older than the cloud-init version at which these logs were first introduced (24.3). Please see the documentation for log_with_downgradable_level(). Signed-off-by: Ani Sinha <anisinha@redhat.com>