Invalid response format when enabling plugin

Bug #1619596 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining
Mitaka
Confirmed
Medium
Fuel Sustaining

Bug Description

PUT /api/clusters/<cluster_id>/attributes returns:
"Cannot enable plugin with legacy tasks unless propagate_task_deploy attribute is set"
when trying to enable plugin with legacy tasks.

The problem is in this response format. UI expects errors come into the following format:
{message: "Cannot enable plugin with legacy tasks unless propagate_task_deploy attribute is set", errors: {}}.
This format allows to display nailgun error messages on UI in pop-ups. This makes UX more clear for User.

Tags: area-python
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.