Comment 2 for bug 1630530

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to masakari (master)

Reviewed: https://review.openstack.org/382280
Committed: https://git.openstack.org/cgit/openstack/masakari/commit/?id=77dd1ea0bdedff4ce10c4c238643962a677aa63b
Submitter: Jenkins
Branch: master

commit 77dd1ea0bdedff4ce10c4c238643962a677aa63b
Author: dineshbhor <email address hidden>
Date: Mon Oct 3 20:12:52 2016 +0530

    Fix 500 if you pass invalid sort_key and sort_dir

    Host and failover segments list apis return 500 InternalServerError if
    you pass invalid sort_key or sort_dir.

    Caught exception.InvalidSortKey at controller level and also allowed
    multiple sort_keys and sort_dirs to pass.

    NOTE:
    Allowed to pass multiple sort keys to list apis.
    Also moved the processing of request parameters from masakari/ha/api.py
    to respective failover segments and hosts controllers as request parameters
    should be handled in controller itself.

    Closes-Bug: #1630530
    Change-Id: Ib9d0faf5ca737a020099d5bac2b2ca0b03aa353e