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.
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