Bug 1150104
Summary: | Packstack fails on mysql installation "Could not open required defaults file: /root/.my.cnf" | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Ami Jeain <ajeain> |
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
Status: | CLOSED ERRATA | QA Contact: | Ami Jeain <ajeain> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.0 | CC: | aberezin, ajeain, aortega, derekh, whayutin, yeylon |
Target Milestone: | z5 | Keywords: | Triaged, ZStream |
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openstack-packstack-2013.2.1-0.33.dev1048.el6ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-22 17:17:40 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: | 1083625 |
Description
Ami Jeain
2014-10-07 12:44:26 UTC
^[[1;31mError: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: ^[[0m ^[[1;31mError: /Stage[main]//Service[mysqld]/ensure: change from stopped to running failed: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: ^[[0m ^[[mNotice: /Stage[main]//Service[mysqld]: Triggered 'refresh' from 2 events^[[0m ^[[mNotice: /Stage[main]/Mysql::Config/Exec[set_mysql_rootpw]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /Stage[main]/Mysql::Config/Exec[set_mysql_rootpw]: Skipping because of failed dependencies^[[0m ^[[mNotice: /File[/root/.my.cnf]: Dependency Service[mysqld] has failures: true^[[0m ^[[1;31mWarning: /File[/root/.my.cnf]: Skipping because of failed dependencies^[[0m From log above it is clear that catalog has been compiled so that /root/.my.cnf is created after service start. We have to fix that. We saw this on our tests as well, but it went away - and we're not sure what, if anything, changed. Patch requires OPM update for puppetlabs-mysql module: https://github.com/redhat-openstack/openstack-puppet-modules/pull/121 Tested on RHEL-6.5 and RHEL-6.6. provided the machine details Note that facter-1.7.4 is also dependency fo this bug. *** Bug 1149000 has been marked as a duplicate of this bug. *** verified in latest puddle 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/RHSA-2014-1691.html |