timeu

sushy lenovo patch

Jul 30th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. InsecureRequestWarning,
  2. 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'}]
  3. Traceback (most recent call last):
  4. File "<stdin>", line 1, in <module>
  5. File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/resources/manager/virtual_media.py", line 115, in insert_media
  6. self._conn.patch(target_uri, data=payload, headers=headers)
  7. File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/connector.py", line 247, in patch
  8. **extra_session_req_kwargs)
  9. File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/connector.py", line 127, in _op
  10. exceptions.raise_for_response(method, url, response)
  11. File "/mnt/groups/nordborg/user/uemit.seren/Code/Python/sushy/sushy/exceptions.py", line 165, in raise_for_response
  12. raise BadRequestError(method, url, response)
  13. 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