[Rdo-list] mysqld failure on --allinone, centos7
Boris Derzhavets
bderzhavets at hotmail.com
Wed Jul 9 18:16:06 UTC 2014
Clean install IceHouse on Fedora 20 gives
------------------------------------------------------------------------------------------------------------------
[root at icehouse1 ~(keystone_admin)]# service mariadb status
Redirecting to /bin/systemctl status mariadb.service
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: active (running) since Wed 2014-07-09 09:08:21 MSK; 12h ago
Process: 1610 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 760 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 1609 (mysqld_safe)
CGroup: /system.slice/mariadb.service
├─1609 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─3328 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/us...
Jul 09 09:08:13 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:08 mysqld_safe Logging ....
Jul 09 09:08:13 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:08 mysqld_safe Starting...l
Jul 09 09:08:13 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:08 mysqld_safe WSREP: R...'
Jul 09 09:08:18 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:18 mysqld_safe WSREP: R...1
Jul 09 09:08:21 icehouse1.localdomain systemd[1]: Started MariaDB database server.
Hint: Some lines were ellipsized, use -l to show in full.
------------------------------------------------------------------------------------------------------------------
[root at icehouse1 ~(keystone_admin)]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: active (running) since Wed 2014-07-09 09:08:21 MSK; 12h ago
Process: 1610 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 760 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 1609 (mysqld_safe)
CGroup: /system.slice/mariadb.service
├─1609 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─3328 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/us...
Jul 09 09:08:13 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:08 mysqld_safe Logging ....
Jul 09 09:08:13 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:08 mysqld_safe Starting...l
Jul 09 09:08:13 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:08 mysqld_safe WSREP: R...'
Jul 09 09:08:18 icehouse1.localdomain mysqld_safe[1609]: 140709 09:08:18 mysqld_safe WSREP: R...1
Jul 09 09:08:21 icehouse1.localdomain systemd[1]: Started MariaDB database server.
Hint: Some lines were ellipsized, use -l to show in full.
-----------------------------------------------------------------------------------------------------------------
[root at icehouse1 ~(keystone_admin)]# rpm -qa | grep mariadb
mariadb-5.5.37-1.fc20.x86_64
mariadb-galera-common-5.5.36-9.fc20.x86_64
mariadb-libs-5.5.37-1.fc20.x86_64
mariadb-galera-server-5.5.36-9.fc20.x86_64
----------------------------------------------------------------
Same picture I have on CentOS 7 after hack.
----------------------------------------------------------------
[root at ip-192-169-142-37 ~]# rpm -qa | grep mariadb
mariadb-galera-common-5.5.36-9.el7.x86_64
mariadb-5.5.37-1.el7_0.x86_64
mariadb-galera-server-5.5.36-9.el7.x86_64
mariadb-libs-5.5.37-1.el7_0.x86_64
Thanks.
Boris.
> Date: Wed, 9 Jul 2014 12:15:34 -0500
> From: rohara at redhat.com
> To: bderzhavets at hotmail.com
> CC: rbowen at redhat.com; rdo-list at redhat.com
> Subject: Re: [Rdo-list] mysqld failure on --allinone, centos7
>
> On Wed, Jul 09, 2014 at 01:35:24AM -0400, Boris Derzhavets wrote:
> > 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
>
> You should not have to do this. If you're installing RDO Icehouse,
> you should be getting mariadb-galera-server, which should be creating
> both the mariadb and mysqld service files. They should be identical.
>
> Which database package is being installed?
>
> Ryan
>
> > > Date: Tue, 8 Jul 2014 15:45:50 -0400
> > > From: rbowen at redhat.com
> > > To: rdo-list at 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 at 127.0.0.1/neutron]:
> > > >>>
> > > >>>
> > > >>>
> > > >> Dependency Service[mysqld] has failures: true
> > > >>> Warning:
> > > >>> /Stage[main]/Neutron::Db::Mysql/Mysql::Db[neutron]/Database_grant[neutron at 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 at redhat.com
> > > OpenStack Community Liaison
> > > http://openstack.redhat.com/
> > >
> > > _______________________________________________
> > > Rdo-list mailing list
> > > Rdo-list at redhat.com
> > > https://www.redhat.com/mailman/listinfo/rdo-list
> >
>
> > _______________________________________________
> > Rdo-list mailing list
> > Rdo-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/rdo-list
> S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20140709/a7481291/attachment.html>
More information about the dev
mailing list