trove/releasenotes/notes/fix-postgress-create-database-75fbe03e3b4e296d.yaml
wu.chunyang cd11d7677e Fix "create database" failed for postgress
This PR stops using the psycopg2’s connections context manager
because "CREATE DATABASE" command must be run outside any
transaction[1].
[1]: https://www.psycopg.org/docs/usage.html#transactions-control

Co-Authored-By: hungnt1 <sudo.nguyenhung@gmail.com>
Co-Authored-By: Hirotaka Wakabayashi <hiwkby@yahoo.com>

Story: 2010761
Task: 48059
Change-Id: I73ec6c659d8ad7216460055077737429c878df33
2023-06-16 13:54:08 +08:00

9 lines
284 B
YAML

---
fixes:
- |
Fix guest-agent failed to start postgres container due to execution
of the "CREATE DATABASE" statement within the context manager of
psycopg library. See the following for details
`Stroy 2010761 <https://storyboard.openstack.org/#!/story/2010761>`__