action_log creation is failed on requests for node assignment

Bug #1384695 reported by Artem Roma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

Code of CollectionMonitorMiddleware class fails while processing requests for node assignment/unassignment which leads to failed action log creation and occurring of unhandled exception in middleware stack. This is happening because corresponding handlers return response in format that are not JSON compatible.

To fix this one must rewrite handlers' code that they return data in proper format.

Code that fails inside of middleware class:
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/middleware/connection_monitor.py#L195

Handlers to be fixed:
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/api/v1/handlers/assignment.py

Artem Roma (aroma-x)
Changed in fuel:
milestone: none → 6.0
Artem Roma (aroma-x)
Changed in fuel:
assignee: Artem Roma (aroma-x) → Fuel Python Team (fuel-python)
Changed in fuel:
status: Confirmed → Triaged
Changed in fuel:
milestone: 6.0 → 6.1
Revision history for this message
Artem Roma (aroma-x) wrote :

Code of connection monitor middleware has been changed so in case if we collect action logs for nodes assignment it won't fail. For that reason move bug's status to invalid.

Changed in fuel:
status: Triaged → Invalid
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.