
Add '_' as a valid character in error.codes, because that's what's present in the wild. The schema is updated to include a pattern check, and one of the examples is changed to demonstrate the use of the new char. Change-Id: I6bcfd5d411b2b9c540546f92859647333114a8f8
31 lines
919 B
JSON
31 lines
919 B
JSON
{
|
|
"errors": [
|
|
{
|
|
"request_id": "1dc92f06-8ede-4fb4-8921-b507601fb59d",
|
|
"code": "orchestration.create_failed",
|
|
"status": 418,
|
|
"title": "The Stack could not be created",
|
|
"detail": "The Stack could not be created because of error(s) in other parts of the system.",
|
|
"links": [
|
|
{
|
|
"rel": "help",
|
|
"href": "https://developer.openstack.org/api-ref/orchestration/errors/orchestration.create-failed"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"request_id": "d413ea12-dfcd-4009-8fad-229b475709f2",
|
|
"code": "compute.scheduler.no-valid-host-found",
|
|
"status": 403,
|
|
"title": "No valid host found",
|
|
"detail": "No valid host found for flavor m1.xlarge.",
|
|
"links": [
|
|
{
|
|
"rel": "help",
|
|
"href": "https://developer.openstack.org/api-ref/compute/errors/compute.scheduler.no-valid-host-found"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|