Bug 1288590
| Summary: | Errors in mariadb templates prevent the creation of mariadb instances | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Luigi Toscano <ltoscano> |
| Component: | openstack-trove | Assignee: | Victoria Martinez de la Cruz <vimartin> |
| Status: | CLOSED ERRATA | QA Contact: | Luigi Toscano <ltoscano> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.0 (Liberty) | CC: | apevec, jkulina, jschluet, lhh, pmackinn, royoung, sgotliv, yeylon |
| Target Milestone: | ga | Keywords: | TestOnly, ZStream |
| Target Release: | 8.0 (Liberty) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-trove-4.0.0-4.el7ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-15 13:46:27 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: | 1289365 | ||
|
Description
Luigi Toscano
2015-12-04 16:44:20 UTC
Small correction: the templates need to be fixed in the control plane, as they are sent from there to the instance. Also, /usr/lib/python2.7/site-packages/trove/templates/mysql/config.template has a datadir entry of /var/lib/mysql/data This is incompatible with the mysql 5.6 community RPM in that their systemd file is tuned to work with /var/lib/mysql. Using the upstream default can cause all manner of strange failures in the prepare phase like: "Access denied for user 'os_admin'@'localhost'" However, the upstream setting does seem compatible with the mariadb vendor RPMs. But those use init.d scripts which appear more resilient to the difference. https://bugs.launchpad.net/trove/+bug/1370646 might be a reason NOT to do what's in #c2 The templates have been fixed, so that RHEL7.2-based mariadb instances can be created, namely mariadb 5.5 from RHEL repositories and mariadb 10 from community repositories. Verified on: openstack-trove-4.0.0-4.el7ost.noarch openstack-trove-api-4.0.0-4.el7ost.noarch openstack-trove-common-4.0.0-4.el7ost.noarch openstack-trove-conductor-4.0.0-4.el7ost.noarch openstack-trove-images-4.0.0-4.el7ost.noarch openstack-trove-taskmanager-4.0.0-4.el7ost.noarch python-trove-4.0.0-4.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0636.html |