guest agent won't start on xenial/mysql5.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Committed
|
High
|
Unassigned |
Bug Description
The default mysql/my.cnf on xenial causes guest agent to not start
Using trove stable/mitaka
mysql-server 5.7.16-
the config file contains only:
=======
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/
=======
This causes the following error:
=======
2016-11-30 00:20:48.382 4225 CRITICAL root [-] MissingSectionH
file: <???>, line: 3
'!includedir /etc/mysql/
2016-11-30 00:20:48.382 4225 ERROR root Traceback (most recent call last):
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/bin/
2016-11-30 00:20:48.382 4225 ERROR root sys.exit(main())
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root rpc_api_
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root self.manager_impl = profiler.
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root for attr_name, attr in inspect.
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root value = getattr(object, key)
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root datastore_dir = self.mysql_
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root MySQLConfParser
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root self._refresh_
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root self._value_cache = self.parse_
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root as_root=
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root return _read_file_
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root return codec.deseriali
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root parser.
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root self._read(fp, filename)
2016-11-30 00:20:48.382 4225 ERROR root File "/usr/lib/
2016-11-30 00:20:48.382 4225 ERROR root raise MissingSectionH
2016-11-30 00:20:48.382 4225 ERROR root MissingSectionH
2016-11-30 00:20:48.382 4225 ERROR root file: <???>, line: 3
2016-11-30 00:20:48.382 4225 ERROR root '!includedir /etc/mysql/
=======
Adding a [default] at the top of the /etc/mysql/my.cnf file fixes this.
description: | updated |
Changed in trove: | |
importance: | Undecided → High |
Changed in trove: | |
assignee: | Luke Browning (lukebrowning-y) → nobody |
I have the same issue. Anyone?