Bug 1688385
| Summary: | RFE: allow custom MySQL configs/tuning | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Federico Iezzi <fiezzi> |
| Component: | puppet-tripleo | Assignee: | Michele Baldessari <michele> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 13.0 (Queens) | CC: | abeekhof, abishop, afariasa, aschultz, chjones, dgurtner, emacchi, jjoyce, jschluet, mburns, michele, nchandek, pkomarov, sisadoun, slinaber, tvignaud |
| Target Milestone: | z8 | Keywords: | FutureFeature, Reopened, Triaged, ZStream |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-tripleo-8.4.1-21.el7ost | Doc Type: | Enhancement |
| Doc Text: |
With this enhancement, you can pass arbitrary mysql config options to the mysql cluster on the overcloud with the `tripleo::profile::base::database::mysql::mysql_server_options` hiera hash key.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-09-03 16:55:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Federico Iezzi
2019-03-13 16:32:01 UTC
I believe this is actually already available via hieradata. Technically innodb_buffer_pool_size is already managable via hieradata using 'innodb_buffer_pool_size'. For additional options something like...
parameter_defaults:
ControllerExtraConfig:
tripleo::profile::base::database::mysql::mysql_server_options:
mysql:
open_files_limit: 1000
max_connections: 12
I'm reopening this. What Alex says is incorrect in my view: > I believe this is actually already available via hieradata. Technically > innodb_buffer_pool_size is already managable via hieradata using > 'innodb_buffer_pool_size'. For additional options something like... > > parameter_defaults: > ControllerExtraConfig: > tripleo::profile::base::database::mysql::mysql_server_options: > mysql: > open_files_limit: 1000 > max_connections: 12 tripleo::profile::base::database::mysql::mysql_server_options cannot be overwritten via Hiera. It is hardcoded in https://github.com/openstack/puppet-tripleo/blob/stable/queens/manifests/profile/pacemaker/database/mysql_bundle.pp#L285-L291 Explicit parameter assignment in Puppet takes precedence over hiera. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2624 |