Add support to mariadb on CentOS7 and RHEL7
Starting from RHEL7 and CentOS7, mariadb has been adopted as default database server in replace of mysql.
In order to support mariadb in Openstack configuration, following updates are required:
1. Pull in supermarket cookbook mariadb https:/
2. Add two similar recipes as we did for mysql in openstack-
- recipes/
- recipes/
3. Add a new database service type as ‘mariadb’ into openstack-common
Most of the logic for this db service type can be copied from mysql, even the mysql-chef_gem can be also used to manipulating mariadb.
Open discussion here: whether we need to add mariadb support to the 3rd party database cookbook (https:/
Pros:
a. Keep consistent with how we support mysql in openstack-
b. Keep updated if mariadb database manipulation methods updated
Cons:
a. database cookbook got big update recently to version 3.0.0. It introduced changes to mysql database manipulation libraries. Existing code in openstack-common and openstack-
b. Current database code in version 2.3.0 can be reused to manipulate mariadb as well. The only change here is to include mariadb::client recipe instead of including the mysql::client.
Blueprint information
- Status:
- Complete
- Approver:
- Mark Vanderwiel
- Priority:
- Medium
- Drafter:
- Yi Ming Yin
- Direction:
- Approved
- Assignee:
- Yi Ming Yin
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- kilo-rc1
- Started by
- JJ Asghar
- Completed by
- Mark Vanderwiel
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add mariadb database support to openstack-common
Addressed by: https:/
Add mariadb database configuration support