You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ isctl --config ~/.isctl-ocp2.yaml apply -f vnic_ethif.yaml
INFO[0000] Performing create operation on new MO (Name: eth0, ClassId: vnic.EthIf)
FATA[0003] Error while applying MOs: Error executing operation: 400 Bad Request
I would like to know the reason of the failed API POST. You can get this by enabling verbose mode.
❯ isctl --config ~/.isctl-ocp2.yaml apply -f vnic_ethif.yaml -v
INFO[0000] Performing create operation on new MO (Name: eth0, ClassId: vnic.EthIf)
.....
{"code":"InvalidRequest","message":"The request body contains the 'SpVnics' relationship, which is read-only. Do not include read-only relationships in the request body","messageId":"barcelona_request_cannot_modify_read_only_relationships","messageParams":{"1":"SpVnics"},"traceId":"zHDFd14jBvtLVtzIN-wrgUQ1Fo3SG2PVj4KnkT2uMOyYnM2ku0n1Kg=="}
FATA[0002] Error while applying MOs: Error executing operation: 400 Bad Request
Please grep the message from the response when there is an error and show that message (without enabling verbose mode)
The text was updated successfully, but these errors were encountered:
See the output of the command below
I would like to know the reason of the failed API POST. You can get this by enabling verbose mode.
Please grep the message from the response when there is an error and show that message (without enabling verbose mode)
The text was updated successfully, but these errors were encountered: