``Backend._ensure_backend_available`` converts the URL object to string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In [1], ``Backend.
* Before SQLAlchemy 2.0, the ``URL.__str__`` method was calling "render_as_string" method with "hide_password=
* In SQLAlchemy 2.0 [3], the `URL.__str__`` doesn't exist and `URL.__repr__`` is called instead. However, in this case the password is hidden. That means the new URL object created has the string "***" as password instead of the original string.
This issue has been detected in the Neutron experimental CI, in the "neutron-
[1]https:/
[2]https:/
[3]https:/
[4]https:/
Fix proposed to branch: master /review. opendev. org/c/openstack /oslo.db/ +/878642
Review: https:/