Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InsecureRequestWarning,
- HTTP response for PATCH https://c2-45.bmc.clip.vbc.ac.at/redfish/v1/Managers/1/VirtualMedia/EXT1: status code: 400, error: Base.1.8.GeneralError: A general error has occurred. See ExtendedInfo for more information., extended: [{'Resolution': 'Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.', 'MessageArgs': ['Inserted'], '@odata.type': '#Message.v1_1_0.Message', 'MessageId': 'Base.1.8.PropertyMissing', 'Message': 'The property Inserted is a required property and must be included in the request.', 'MessageSeverity': 'Warning'}]
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/resources/manager/virtual_media.py", line 115, in insert_media
- self._conn.patch(target_uri, data=payload, headers=headers)
- File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/connector.py", line 247, in patch
- **extra_session_req_kwargs)
- File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/connector.py", line 127, in _op
- exceptions.raise_for_response(method, url, response)
- File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/exceptions.py", line 165, in raise_for_response
- raise BadRequestError(method, url, response)
- sushy.exceptions.BadRequestError: HTTP PATCH https://c2-45.bmc.clip.vbc.ac.at/redfish/v1/Managers/1/VirtualMedia/EXT1 returned code 400. Base.1.8.GeneralError: A general error has occurred. See ExtendedInfo for more information. Extended information: [{'Resolution': 'Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.', 'MessageArgs': ['Inserted'], '@odata.type': '#Message.v1_1_0.Message', 'MessageId': 'Base.1.8.PropertyMissing', 'Message': 'The property Inserted is a required property and must be included in the request.', 'MessageSeverity': 'Warning'}]
Advertisement
Add Comment
Please, Sign In to add comment