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:
Reviewed: https:/ /review. opendev. org/c/openstack /tacker/ +/910720 /opendev. org/openstack/ tacker/ commit/ b885f93d6459f56 457b649724dd0e8 68ade353cd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b885f93d6459f56 457b649724dd0e8 68ade353cd
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 engine. row.Row
* oslo.db==15.0.0: sqlalchemy.
This patch changes the existence validation of the filter key for lcm_subscriptio n` in the `sqlalchemy. engine. row.Row` case.
`vnf_
[1] https:/ /review. opendev. org/c/openstack /requirements/ +/909930 /pydoc. dev/sqlalchemy/ latest/ sqlalchemy. engine. row.Row. html
[2] https:/
Closes-Bug: #2055431 2c4f3f4f7edecdf ef063d3d9a4
Change-Id: I8c1543bb724b6f