Mariadb (but possibly other MySQL-like charms) failed relation hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb (Juju Charms Collection) |
Fix Released
|
Undecided
|
Martijn Evers |
Bug Description
Some relation-changed hooks of the 'cs:trusty/
acl-test_database: acl-test
acl-test_hostname: my-local-machine-9
acl-test_username: acl-test
cloud-test_
cloud-test_
cloud-test_
private-address: 10.0.3.192
This resulted in this python traceback:
Traceback (most recent call last):
File "hooks/
utils.
File "/var/lib/
hook_func()
File "hooks/
databases[
File "hooks/
create_
File "/var/lib/
cursor.
File "/usr/local/
self.
File "/usr/local/
raise errorclass, errorvalue
_mysql_
As seen here, on line 79 of 'common.py' a database is created without quoting the identifier. Both database names have an minus sign before 'test' and must be quoted.
Related branches
affects: | charms → mariadb (Juju Charms Collection) |
Changed in mariadb (Juju Charms Collection): | |
status: | New → Fix Released |
assignee: | nobody → tuXzero (martijn4evers) |
This items has failed automated testing! Results available here http:// reports. vapour. ws/charm- tests/charm- bundle- test-10806- results