Please view https://bugzilla.redhat.com/show_bug.cgi?id=981116

############
Comment 36
############

So workaround is:
rm /usr/lib/systemd/system/mysqld.service
cp /usr/lib/systemd/system/mariadb.service /usr/lib/systemd/system/mysqld.service

Works for me on CentOS 7 . Before packstack rerun:-

# systemctl stop mariadb

> Date: Tue, 8 Jul 2014 15:45:50 -0400
> From: rbowen@redhat.com
> To: rdo-list@redhat.com
> Subject: Re: [Rdo-list] mysqld failure on --allinone, centos7
>
>
> On 07/08/2014 10:41 AM, Rich Bowen wrote:
> >
> > On 07/08/2014 09:53 AM, Ihar Hrachyshka wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA512
> >>
> >> On 08/07/14 15:39, Rich Bowen wrote:
> >>> I'm running `packstack --allinone` on a fresh install of the new
> >>> CentOS7, and I'm getting a failure at:
> >>>
> >>> 192.168.0.176_mysql.pp: [ ERROR ]
> >>> Applying Puppet manifests [ ERROR ]
> >>>
> >>> ERROR : Error appeared during Puppet run: 192.168.0.176_mysql.pp
> >>> Error: Could not enable mysqld: You will find full trace in log
> >>> /var/tmp/packstack/20140708-092703-ZMkytw/manifests/192.168.0.176_mysql.pp.log
> >>>
> >>>
> >>> Please check log file
> >>> /var/tmp/packstack/20140708-092703-ZMkytw/openstack-setup.log for
> >>> more information
> >>>
> >>>
> >>> The log message is:
> >>>
> >>> Notice:
> >>> /Stage[main]/Neutron::Db::Mysql/Mysql::Db[neutron]/Database_grant[neutron@127.0.0.1/neutron]:
> >>>
> >>>
> >>>
> >> Dependency Service[mysqld] has failures: true
> >>> Warning:
> >>> /Stage[main]/Neutron::Db::Mysql/Mysql::Db[neutron]/Database_grant[neutron@127.0.0.1/neutron]:
> >>>
> >>>
> >>>
> >> Skipping because of failed dependencies
> >> I suspect there were more log messages before those you've posted that
> >> could reveal the cause of the failure.
> >
> > The full log file is attached, and I'm working through it now. If
> > someone has more immediate insight, that would be awesome. Thanks.
>
> No joy so far, except that it does *not* seem to be related to
> https://bugzilla.redhat.com/show_bug.cgi?id=1117035
>
> --
> Rich Bowen - rbowen@redhat.com
> OpenStack Community Liaison
> http://openstack.redhat.com/
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list