Comment 1 for bug 1939716

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to glance (master)

Submitter: "Zuul (22348)"
Branch: master

commit f374022359793dbcd7346743e4345ab4ab9fcb79
Author: Stephen Finucane <email address hidden>
Date: Thu Aug 12 15:59:32 2021 +0100

    Resolve compatibility with oslo.db future

    Change I468048c01455d9dfe12004736c181806dc218e37 in oslo.db means that
    the table returned from 'oslo_db.utils.get_table' is no longer bound to
    a 'Connection' or 'Engine'. Get out ahead of this breaking change by
    creating out own 'Connection' as part of the test. Note that we use
    'Connection.execute' instead of 'Engine.execute' as the latter is
    deprecated in SQLAlchemy 1.4 for removal in 2.0.

    Related-Bug: #1939716

    Change-Id: I957d2a9d7c875120bed0022ce1e953b2ec9f97cd
    Signed-off-by: Stephen Finucane <email address hidden>