Add 'message' to ContainerActionEvent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Triaged
|
Medium
|
Unassigned |
Bug Description
Zun has introduced a new API for container actions and events (https:/
* https:/
* https:/
* https:/
* https:/
* CLI is pending (https:/
Here is the sample response of this API (https:/
{
"action": "create",
"events": [
{
}
],
...
}
If an exception occurred, the 'result' will be set to 'Error' and the 'traceback' will show the exception's trace. However, we don't have a field to record the exception's message. As a result, this information is lost.
We'd better to improve the container action API to record the exception's message of each event. For example, the response could be as below or something similar:
{
"action": "create",
"events": [
{
}
],
...
}
Changed in zun: | |
status: | New → Triaged |
importance: | Undecided → Medium |