Created
May 24, 2016 13:27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stack@jroll-devstack:~$ curl -X POST -H "Content-Type: application/json" --data-binary '{"params": {"foo": "bar"}, "name": "iscsi.start_iscsi_target"}' http://localhost:9999/v1/commands | python -m json.tool | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 382 100 320 100 62 94618 18332 --:--:-- --:--:-- --:--:-- 104k | |
{ | |
"command_error": { | |
"code": 500, | |
"details": "", | |
"message": "start_iscsi_target() got an unexpected keyword argument 'foo'", | |
"type": "TypeError" | |
}, | |
"command_name": "iscsi.start_iscsi_target", | |
"command_params": { | |
"foo": "bar" | |
}, | |
"command_result": null, | |
"command_status": "FAILED", | |
"id": "0ea5b448-8845-423b-b511-912dcc32f2e3" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment