Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add binary_prefix=true argument to mysql uri
This patch adds the argument binary_prefix=true to MySQL uri if OpenStack version is equal or greater than Rocky due to Python upper-constraints [1]. This argument is required because of PyMySQL's change from version 0.8 and on [2], in order to fix Gnocchi API warnings like this [3]. [1] https://github.com/openstack/requirements/blob/stable/rocky/upper-constraints.txt#L377 [2] https://github.com/PyMySQL/PyMySQL/blob/master/CHANGELOG#L61-L64 [3] gnocchixyz/gnocchi#847 Change-Id: Ie8b10209daa4de74427e175ef21ddf306a17a0ae Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
- Loading branch information