Bug 1016610

Summary: openstack-packstack: Install mariadb55 and enable mariadb55-mysqld service (instead of mysql).
Product: Red Hat OpenStack Reporter: Omri Hochman <ohochman>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1016685, 1017210    
Attachments:
Description Flags
Install mariadb instead of mysql in RHOS
none
Install mariadb instead of mysql in RHOS and RDO none

Description Omri Hochman 2013-10-08 12:08:26 UTC
openstack-packstack: Install mariadb55 and enable mariadb55-mysqld service (instead of mysql). 


Description:  
-------------
Since we're going to use mariadb55 from RHSCL with RHOS 4.0-  we should allow packstack to deploy openstack environmnet with mariadb55 instead of mysql.

Comment 3 Alan Pevec 2013-10-18 00:14:36 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

Comment 4 Ivan Chavero 2013-10-25 23:55:22 UTC
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

Comment 7 Ivan Chavero 2013-10-29 08:05:08 UTC
Created attachment 816999 [details]
Install mariadb instead of mysql in RHOS and RDO

Comment 10 Ivan Chavero 2014-07-04 19:52:14 UTC
In the latest packstack version mariadb is installed instead of mysql

Comment 11 Ryan O'Hara 2014-07-07 04:16:02 UTC
(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.

Comment 12 Ivan Chavero 2014-07-07 13:36:03 UTC
(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