| Summary: | openstack-packstack: Install mariadb55 and enable mariadb55-mysqld service (instead of mysql). | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Omri Hochman <ohochman> | ||||||
| Component: | openstack-packstack | Assignee: | Ivan Chavero <ichavero> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ami Jeain <ajeain> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4.0 | CC: | aortega, apevec, derekh, ichavero, lhh, mmagr, oblaut, rohara, slong, yeylon | ||||||
| Target Milestone: | async | ||||||||
| Target Release: | 5.0 (RHEL 7) | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-packstack-2014.1.1-0.32.1.dev1209.el7ost | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1016685 (view as bug list) | Environment: | |||||||
| Last Closed: | 2014-07-09 20:18:02 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: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1016685, 1017210 | ||||||||
| Attachments: |
|
||||||||
|
Description
Omri Hochman
2013-10-08 12:08:26 UTC
After having a quick look at puppetlab-mysql module[1] I think we only need to override few parameters:
# supported are client libs and tools from baseOS
$client_package_name = 'mysql'
# use server from RHSCL
$server_package_name = 'mariadb55-mariadb-server'
$server_service_name = 'mariadb55-mysqld'
$config_file = '/opt/rh/mariadb55/root/etc/my.cnf'
$datadir = '/opt/rh/mariadb55/root/var/lib/mysql'
$log_error = '/var/log/mariadb55-mysqld.log'
$pidfile = '/opt/rh/mariadb55/root/var/run/mysqld/mysqld.pid'
[1] https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/params.pp#L26
Created attachment 816319 [details]
Install mariadb instead of mysql in RHOS
Installs mariadb55-server from the RHSCL repo, this repo has to be enabled manually
Created attachment 816999 [details]
Install mariadb instead of mysql in RHOS and RDO
In the latest packstack version mariadb is installed instead of mysql (In reply to Ivan Chavero from comment #10) > In the latest packstack version mariadb is installed instead of mysql Is it mariadb or mariadb-galera-server? It should be mariadb-galera-server. (In reply to Ryan O'Hara from comment #11) > (In reply to Ivan Chavero from comment #10) > > In the latest packstack version mariadb is installed instead of mysql > > Is it mariadb or mariadb-galera-server? It should be mariadb-galera-server. yes, it installs mariadb-galera-server https://github.com/stackforge/packstack/blob/master/packstack/puppet/templates/mysql_install.pp#L16 |