[octavia-dashboard] API validation errors are not displayed in the UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In octavia-dashboard master (6c9d092c298e5f
When setting a field to an incorrect value (for instance '3000' in allowed cidrs), the request is sent to the Octavia API but the error is masked to the end user.
The dashboard only shows 'Error: Unable to create listener.'
While the Octavia API replies: 'Client-side error: Invalid input for field/attribute allowed_cidrs. Value: '['3000']'. Value should be IPv4 or IPv6 CIDR format'
The exceptions are caught by the dashboard but it only displays some generic error messages:
The dashboard should display (Error: Unable to create listener. Invalid input for field/attribute allowed_cidrs. Value: '['3000']'. Value should be IPv4 or IPv6 CIDR format)
Changed in octavia: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: dashboard |