redfish_command: VirtualMediaInsert does not work with Supermicro (#4839) (#4863)

* bugfix virtual media support for supermicro hardware

* Added Changelog for PR4839

(cherry picked from commit 5e57d2af0a)

Co-authored-by: FRUCHTiii <57792137+FRUCHTiii@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2022-06-20 19:29:52 +02:00 committed by GitHub
commit 4481d0a4a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 13 deletions

View file

@ -0,0 +1,8 @@
bugfixes:
- redfish_command - fix the check if a virtual media is unmounted to just check for ``instered= false``
caused by Supermicro hardware that does not clear the ``ImageName``
(https://github.com/ansible-collections/community.general/pull/4839).
- redfish_command - the Supermicro Redfish implementation only supports the ``image_url`` parameter in
the underlying API calls to ``VirtualMediaInsert`` and ``VirtualMediaEject``. Any values set
(or the defaults) for ``write_protected`` or ``inserted`` will be ignored
(https://github.com/ansible-collections/community.general/pull/4839).