SAWarning: Setting backref / back_populates on relationship

Bug #1924806 reported by Maurice Escher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Maurice Escher

Bug Description

Hi,

there is a lot of noise in my logs since I updated to the victoria release.

Zuul has it, too, e.g. http://paste.openstack.org/show/804573/
The warnings are there on ubuntu-bionic as well as ubuntu-focal and on all python versions (36,38,39)

sqlalchemy is somehow not happy with ShareSnapshot and ShareGroupSnapshot and the relationships to their instances.

Apart from the fact that the logs are noisy, they may hint to a real problem.

Please help me to get rid of those.

Thanks,
Maurice

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/788691

Changed in manila:
status: New → In Progress
Changed in manila:
importance: Undecided → Medium
assignee: nobody → Maurice Escher (maurice-escher)
milestone: none → xena-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/788691
Committed: https://opendev.org/openstack/manila/commit/e5d0c0e77a9c395a5b143dde4d227261ff43fa21
Submitter: "Zuul (22348)"
Branch: master

commit e5d0c0e77a9c395a5b143dde4d227261ff43fa21
Author: Chuan Miao <email address hidden>
Date: Tue Mar 23 12:16:16 2021 +0100

    Pass sync_backref=False to relationship call

    Need to bump the lower-constraint of sqlalchemy
    to a version where 'sync_backref' was introduced [1]

    [1] https://docs.sqlalchemy.org/en/13/orm/relationship_api.html#sqlalchemy.orm.relationship.params.sync_backref
    Change-Id: I589281d8e77a160adcd48b8d3e4951441f843463
    Closes-Bug: #1924806
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 13.0.0.0rc1

This issue was fixed in the openstack/manila 13.0.0.0rc1 release candidate.

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.