[Bug 2059186] Re: proposed-migration flask-restful 0.3.10-2 vs cloudkitty 19.0.0-1

Vladimir Petko 2059186 at bugs.launchpad.net
Wed Mar 27 02:52:25 UTC 2024


** Description changed:

- The autopkgtest for cloudkitty fail against flask-restful 0.3.10-2 on
- armhf[1]
+ The autopkgtest for cloudkitty fail against flask-restful 0.3.10-2 on armhf[1]
+ due to the following code that uses python-oslo.db to set up tests
+ cloudkitty/db/__init__.py
+ ----
  
+ def _create_facade_lazily():
+     global _FACADE
+     if _FACADE is None:
+         # FIXME(priteau): Remove autocommit=True (and ideally use of
+         # LegacyEngineFacade) asap since it's not compatible with SQLAlchemy
+         # 2.0.
+         _FACADE = session.EngineFacade.from_config(cfg.CONF, sqlite_fk=True,
+                                                    autocommit=True)
+     return _FACADE
  
- [1]
- https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
- noble/noble/armhf/c/cloudkitty/20240326_083732_94bf1@/log.gz
+ ----
+ [1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/armhf/c/cloudkitty/20240326_083732_94bf1@/log.gz

** Also affects: python-oslo.db (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: cloudkitty (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: time-t update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to flask-restful in Ubuntu.
https://bugs.launchpad.net/bugs/2059186

Title:
  proposed-migration flask-restful  0.3.10-2 vs cloudkitty 19.0.0-1

Status in cloudkitty package in Ubuntu:
  New
Status in flask-restful package in Ubuntu:
  New
Status in python-oslo.db package in Ubuntu:
  New

Bug description:
  The autopkgtest for cloudkitty fail against flask-restful 0.3.10-2 on armhf[1]
  due to the following code that uses python-oslo.db to set up tests
  cloudkitty/db/__init__.py
  ----

  def _create_facade_lazily():
      global _FACADE
      if _FACADE is None:
          # FIXME(priteau): Remove autocommit=True (and ideally use of
          # LegacyEngineFacade) asap since it's not compatible with SQLAlchemy
          # 2.0.
          _FACADE = session.EngineFacade.from_config(cfg.CONF, sqlite_fk=True,
                                                     autocommit=True)
      return _FACADE

  ----
  [1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/armhf/c/cloudkitty/20240326_083732_94bf1@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloudkitty/+bug/2059186/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list