Bug 1016610 - openstack-packstack: Install mariadb55 and enable mariadb55-mysqld service (instead of mysql).
Summary: openstack-packstack: Install mariadb55 and enable mariadb55-mysqld service (i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 4.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: async
: 5.0 (RHEL 7)
Assignee: Ivan Chavero
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks: 1016685 1017210
TreeView+ depends on / blocked
 
Reported: 2013-10-08 12:08 UTC by Omri Hochman
Modified: 2016-01-06 10:17 UTC (History)
10 users (show)

Fixed In Version: openstack-packstack-2014.1.1-0.32.1.dev1209.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1016685 (view as bug list)
Environment:
Last Closed: 2014-07-09 20:18:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Install mariadb instead of mysql in RHOS (5.39 KB, patch)
2013-10-25 23:55 UTC, Ivan Chavero
no flags Details | Diff
Install mariadb instead of mysql in RHOS and RDO (7.86 KB, patch)
2013-10-29 08:05 UTC, Ivan Chavero
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.