Juju Charm - Gnocchi
Go to file
Stamatis Katsaounis d3980909ad 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] https://github.com/gnocchixyz/gnocchi/issues/847

Change-Id: Ie8b10209daa4de74427e175ef21ddf306a17a0ae
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
(cherry picked from commit bf7ac78d07)
2020-01-14 12:09:13 +09:00
src Add binary_prefix=true argument to mysql uri 2020-01-14 12:09:13 +09:00
unit_tests Fix blocked gnocchi unit due to remove/add ceph-mon relation 2019-12-20 10:45:16 +00:00
.gitignore Enable Bionic as a gate test 2018-05-16 14:31:14 -07:00
.gitreview Updates for stable branch creation 2019-10-24 12:24:24 -07:00
.stestr.conf Replace ostestr with stestr in testing framework. 2019-03-07 17:11:26 -05:00
.zuul.yaml Add Python 3 Train unit tests 2019-07-30 10:18:19 -04:00
LICENSE Initial charm version 2017-07-03 14:50:32 +01:00
rebuild Rebuild for sync layer-openstack 2019-08-22 09:00:19 +02:00
requirements.txt Update requirements 2018-10-04 10:51:46 -05:00
test-requirements.txt Replace ostestr with stestr in testing framework. 2019-03-07 17:11:26 -05:00
tox.ini Sync charm/ceph helpers, tox, and requirements 2019-10-11 11:29:24 +00:00