File: fix-insert-media-payload-b5d4c707f81d9603.yaml

package info (click to toggle)
python-sushy 5.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,620 kB
  • sloc: python: 14,026; makefile: 24; sh: 2
file content (20 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
upgrade:
  - |
    "Inserted" and "WriteProtected" optional attributes are no longer present
    in the InsertMedia API call payload when default values {"Inserted": True,
    "WriteProtected": True} are specified by the consumer (e.g. Ironic) and
    PATCH method of configuring virtual media is not used.
    Behaviour is unchanged if PATCH method is used.
fixes:
  - |
    Removing "Inserted" and "WriteProtected" parameters from the Redfish
    VirtualMedia::insert_media() API call payload when default values
    {"Inserted": True, "WriteProtected": True} are set and PATCH method is not
    used. Those parameters are optional as per Redfish schema 2021.1. Some
    BMCs (e.g. SuperMicro X11/X12 platforms) treat these fields as read-only
    and setting them causes vMedia insert failures. These attributes should
    default to True on the BMC side.
    Some BMCs using PATCH method of configuring virtual media (e.g. Lenovo
    SD530) still require "Inserted" attribute, so only changing this for
    non-PATCH methods of configuring virtual media such as InsertMedia action.