Comment 2 for bug 2055431

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

Reviewed: https://review.opendev.org/c/openstack/tacker/+/910720
Committed: https://opendev.org/openstack/tacker/commit/b885f93d6459f56457b649724dd0e868ade353cd
Submitter: "Zuul (22348)"
Branch: master

commit b885f93d6459f56457b649724dd0e868ade353cd
Author: Ayumu Ueha <email address hidden>
Date: Fri Mar 1 10:55:40 2024 +0000

    Fix broken gate jobs caused by oslo.db upgrades

    This patch fixes an issue where the filter attribute of vnflcm
    subscription (v1 API) could not be retrieved because oslo.db version
    was updated to 15.0.0 [1].
    The reason of the issue was that obj's data type, which was obtained
    when oslo.db was 14.1.0 and 15.0.0, was different as below:

    * oslo.db==14.1.0: sqlalchemy.engine.row.LegacyRow
    * oslo.db==15.0.0: sqlalchemy.engine.row.Row

    This patch changes the existence validation of the filter key for
    `vnf_lcm_subscription` in the `sqlalchemy.engine.row.Row` case.

    [1] https://review.opendev.org/c/openstack/requirements/+/909930
    [2] https://pydoc.dev/sqlalchemy/latest/sqlalchemy.engine.row.Row.html

    Closes-Bug: #2055431
    Change-Id: I8c1543bb724b6f2c4f3f4f7edecdfef063d3d9a4