[CI][C9][Master] python-sqlalchemy addition in CS9 base broke container barbican_api_db_sync

Bug #1982195 reported by Dariusz Smigiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned
description: updated
Revision history for this message
Dariusz Smigiel (smigiel-dariusz) wrote :
Douglas Viroel (dviroel)
tags: added: ci promotion-blocker
Revision history for this message
Ronelle Landy (rlandy) wrote :

Looks like a similar error in:

https://030b0b339d494f5a846b-d880cdb4cc1983adbfeb24ef0c06b667.ssl.cf2.rackcdn.com/847237/1/gate/tripleo-ci-centos-9-undercloud-containers/2d36d1e/logs/undercloud/home/zuul/undercloud_install.log

ERROR: The argument passed to Dialect.has_table() should be a <class 'sqlalchemy.engine.base.Connection'>, got <class 'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table() method is for internal dialect use only; please use ``inspect(some_engine).has_table(<tablename>>)`` for public API use.
2022-07-19 19:26:58.190243 | bc764e10-1131-b125-0d1f-000000001df0 | FATAL | Create containers managed by Podman for /var/lib/tripleo-config/container-startup-config/step_3 | undercloud | error={"changed": false, "msg": "Failed containers: barbican_api_db_sync"}

https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-9-undercloud-containers&skip=0

Revision history for this message
Ronelle Landy (rlandy) wrote :

https://030b0b339d494f5a846b-d880cdb4cc1983adbfeb24ef0c06b667.ssl.cf2.rackcdn.com/847237/1/gate/tripleo-ci-centos-9-undercloud-containers/2d36d1e/logs/undercloud/var/log/extra/podman/containers/barbican_api_db_sync/stdout.log

ERROR: The argument passed to Dialect.has_table() should be a <class 'sqlalchemy.engine.base.Connection'>, got <class 'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table() method is for internal dialect use only; please use ``inspect(some_engine).has_table(<tablename>>)`` for public API use.

Revision history for this message
Ronelle Landy (rlandy) wrote :

looks like the errors started with with new promotion of wallaby on 9 hours ago wallaby current-tripleo centos-9

Revision history for this message
chandan kumar (chkumar246) wrote :

https://bugzilla.redhat.com/show_bug.cgi?id=2084556 - Add python-sqlalchemy to RHEL 9.1 caused the issue.

Revision history for this message
chandan kumar (chkumar246) wrote :

https://review.opendev.org/c/openstack/barbican/+/796059 - inspect(some_engine).has_table is used here

Revision history for this message
chandan kumar (chkumar246) wrote :
summary: - [CI][C9][Master] Barbican: Can't run container barbican_api_db_sync
+ [CI][C9][Master] python-sqlalchemy addition in CS9 base broke container
+ barbican_api_db_sync
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-quickstart/+/850442
Committed: https://opendev.org/openstack/tripleo-quickstart/commit/1b30d001551efa6fd78082039e0e2900e7d6b4eb
Submitter: "Zuul (22348)"
Branch: master

commit 1b30d001551efa6fd78082039e0e2900e7d6b4eb
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Wed Jul 20 12:44:28 2022 +0530

    Downgrade python3-sqlalchemy

    Wallaby tests are showing multiple errors since
    the last centos 9 stream compose was released.

    This patch rolls back some version to avoid
    the latest failures and uses the version from
    wallaby-deps.

    Related-Bug: #1982227
    Related-Bug: #1982195

    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>
    Change-Id: Iae399de94350d0b1a6f5e75f6155e9013919ef8d

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by "chandan kumar <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-quickstart/+/850428

Revision history for this message
Alfredo Moralejo (amoralej) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :

850568: Revert "Downgrade python3-sqlalchemy" | https://review.opendev.org/c/openstack/tripleo-quickstart/+/850568 got +wed, we can close this bug now.

Ronelle Landy (rlandy)
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-quickstart/+/858030

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-quickstart/+/858030
Committed: https://opendev.org/openstack/tripleo-quickstart/commit/054053061579c626d960b38cd2bb0874de1651bb
Submitter: "Zuul (22348)"
Branch: master

commit 054053061579c626d960b38cd2bb0874de1651bb
Author: Marios Andreou <email address hidden>
Date: Fri Sep 16 07:55:35 2022 +0000

    Revert "Revert "Downgrade python3-sqlalchemy""

    This reverts commit ab4cff620fc31ecad36b42635a6bf538264eefab.

    Reason for revert: causing problems again new bug @ https://bugs.launchpad.net/tripleo/+bug/1989795

    Change-Id: I998f9e7ab1ef4713660a75f6bc77e5e43a08b549
    Related-Bug: 1989795
    Related-Bug: 1982195

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-quickstart/+/880136
Committed: https://opendev.org/openstack/tripleo-quickstart/commit/b97252d4d9bd52882037305e9ac876f2345ae025
Submitter: "Zuul (22348)"
Branch: master

commit b97252d4d9bd52882037305e9ac876f2345ae025
Author: Chandan Kumar <email address hidden>
Date: Wed Apr 12 14:34:32 2023 +0530

    Drop python3-sqlalchemy exclude from wallaby release file

    python-sqlalchemy13-1.3.24-3.el9s is already added in RDO
    wallaby repo[1].

    We donot need to pin it in the release file.

    [1]. https://review.rdoproject.org/r/q/topic:sqlalchemy13

    Closes-Bug: #1982195

    Change-Id: I81764ca5b241087c74dbcf8dc718ae84a469c70c
    Signed-off-by: Chandan Kumar <email address hidden>

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.