Comment 4 for bug 1920888

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/python-manilaclient/+/792289
Committed: https://opendev.org/openstack/python-manilaclient/commit/c338a6c2d02bf94e46904e5998ebdf1a357d2866
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit c338a6c2d02bf94e46904e5998ebdf1a357d2866
Author: czl389 <czl389@163.com>
Date: Wed Mar 24 14:10:15 2021 +0800

    Fix error in CLI 'manila list' with sorting key 'availability_zone'.

    CLI 'manila list --sort-key availability_zone' return http 400 code,
    and error message 'Wrong sorting key provided'.

    The cause is that sortble key name in sqlAlchemy model field is
    'availability_zone_id' , not 'availability_zone'. So we need a
    translation in CLI implement.

    Closes-Bug: #1920888
    Change-Id: Ied983d85ca08a123b78bf8b05085fad8fe5bc2c5
    (cherry picked from commit 69031b558d600e507b86dc1ee0a7087ac9436219)