-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding deprecation for timeout parameter from 10 to 60 for redfish_info, redfish_config and redfish_command #7295
Adding deprecation for timeout parameter from 10 to 60 for redfish_info, redfish_config and redfish_command #7295
Conversation
…h_config and redfish_command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Please also adjust the other modules accordingly.
changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml
Outdated
Show resolved
Hide resolved
changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml
Outdated
Show resolved
Hide resolved
…dfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de>
…dfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de>
Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de>
Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If nobody objects, I'll merge this in a week.
Please note that this will always print a deprecation warning when the module is first used in a playbook, except if the user explicitly uses the timeout
option.
Looks good to me |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7327 🤖 @patchback |
…fo, redfish_config and redfish_command (#7295) * Adding deprecation for timeout from 10 to 60 for redfish_info, redfish_config and redfish_command * Adding changelog fragment and sanity fixes * Update changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Updating release version --------- Co-authored-by: Kushal <t-s.kushal@hpe.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit eae7161)
… parameter from 10 to 60 for redfish_info, redfish_config and redfish_command (#7327) Adding deprecation for timeout parameter from 10 to 60 for redfish_info, redfish_config and redfish_command (#7295) * Adding deprecation for timeout from 10 to 60 for redfish_info, redfish_config and redfish_command * Adding changelog fragment and sanity fixes * Update changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Updating release version --------- Co-authored-by: Kushal <t-s.kushal@hpe.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit eae7161) Co-authored-by: TSKushal <44438079+TSKushal@users.noreply.github.com>
…fo, redfish_config and redfish_command (ansible-collections#7295) * Adding deprecation for timeout from 10 to 60 for redfish_info, redfish_config and redfish_command * Adding changelog fragment and sanity fixes * Update changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/7295-adding_deprecation_for_timeout_in_redfish_info_config_command.yml Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/redfish_command.py Agreed. Thanks! Co-authored-by: Felix Fontein <felix@fontein.de> * Updating release version --------- Co-authored-by: Kushal <t-s.kushal@hpe.com> Co-authored-by: Felix Fontein <felix@fontein.de>
SUMMARY
Adding deprecation notice for timeout parameter.
Old value was 10. Proposed new value is 60.
Suggesting an increase in the timeout since we observed delayed responses from Gen11 servers while testing.
ISSUE TYPE
COMPONENT NAME
redfish_info.py
redfish_config.py
redfish_command.py