Skip to content

Commit 10561e6

Browse files
[PR #9114/bafb8aca backport][stable-10] redfish_utils: remove undocumented default applytime (#9120)
redfish_utils: remove undocumented default applytime (#9114) * redfish_utils: remove undocumented default applytime The `@Redfish.OperationApplyTime` parameter is optional as per Redfish spec version 1.21.0, paragraph 7.11 [1]. Some systems reject the request rather than ignore it, causing failures that can not be workarounded. Removing this default resolves compatibility issues. [1] https://www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.21.0.html Signed-off-by: Tan Siewert <[email protected]> * redfish_utils: fix changelog fragment to bugfix Signed-off-by: Tan Siewert <[email protected]> --------- Signed-off-by: Tan Siewert <[email protected]> (cherry picked from commit bafb8ac) Co-authored-by: Tan Siewert <[email protected]>
1 parent 5c26387 commit 10561e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- redfish_utils module utils - remove undocumented default applytime (https://github.com/ansible-collections/community.general/pull/9114).

plugins/module_utils/redfish_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ def multipath_http_push_update(self, update_opts):
19581958
update_uri = data['MultipartHttpPushUri']
19591959

19601960
# Assemble the JSON payload portion of the request
1961-
payload = {"@Redfish.OperationApplyTime": "Immediate"}
1961+
payload = {}
19621962
if targets:
19631963
payload["Targets"] = targets
19641964
if apply_time:

0 commit comments

Comments
 (0)