Ask Your Question

Mysql error

asked 2015-12-08 04:41:11 -0500

alps000alps gravatar image

updated 2015-12-08 21:35:08 -0500

Bipin gravatar image


I am getting the following error when trying to install Openstack using RDO                       [ ERROR ]           
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run:
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list mysql' returned 1: Error: No matching Packages to list
You will find full trace in log /var/tmp/packstack/20151208-153056-DYo2Sy/manifests/

Please check log file /var/tmp/packstack/20151208-153056-DYo2Sy/openstack-setup.log for more information

I also have the following repos

repo id                           repo name                               status
base/7/x86_64                     CentOS-7 - Base                         8,652
epel/x86_64                       Extra Packages for Enterprise Linux 7 - 8,918
extras/7/x86_64                   CentOS-7 - Extras                         281
mysql-connectors-community/x86_64 MySQL Connectors Community                 17
mysql-tools-community/x86_64      MySQL Tools Community                      27
mysql56-community/x86_64          MySQL 5.6 Community Server                199
openstack-liberty/x86_64          OpenStack Liberty Repository              801
updates/7/x86_64                  CentOS-7 - Updates                      1,726

Please assist.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-12-08 21:40:42 -0500

Bipin gravatar image


Please do the following as per the RDO official workaroud.

yum install -y mariadb-server
rm /usr/lib/systemd/system/mysqld.service
cp /usr/lib/systemd/system/mariadb.service /usr/lib/systemd/system/mysqld.service
touch /var/log/mysqld.log
chown mysql:mysql /var/log/mysqld.log

Read this Document for more clarification. Specifically Bug 981116


edit flag offensive delete link more

answered 2015-12-13 04:39:21 -0500

alps000alps gravatar image

updated 2015-12-13 22:18:50 -0500

Bipin gravatar image


I am getting the below when trying to install mariabd

[root@localhost ~]# yum install -y mariadb-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Package mariadb-server is obsoleted by mysql-community-server, trying to install mysql-community-server-5.6.28-2.el7.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.28-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 mysql-community-server    x86_64    5.6.28-2.el7    mysql56-community     58 M

Is this the way to go ?

edit flag offensive delete link more


Yes, I believe. See the message. mysql community server will be OK.

Bipin gravatar imageBipin ( 2015-12-13 22:20:18 -0500 )edit

if you want mariadb to be installed then disable mysql-community-server entry in public repo under /etc/yum.repos.d/ and then try again.

BTW both mysql-community-server and mariadb does the same job. Its upto you what you want.

vaibhavhyd2014 gravatar imagevaibhavhyd2014 ( 2015-12-14 11:52:41 -0500 )edit

But I am still getting the same error as posted earlier while installing openstack [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: Error: Executi

alps000alps gravatar imagealps000alps ( 2015-12-28 05:09:31 -0500 )edit

seems like the packstack script is looking for mysql while I have mariadb installed..... I did follow the steps as per the workaround(981116) specified. But still getting the above error.

alps000alps gravatar imagealps000alps ( 2015-12-28 05:13:19 -0500 )edit

I am trying to setup openstack in Centos 7

alps000alps gravatar imagealps000alps ( 2016-01-01 10:32:16 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-12-08 04:41:11 -0500

Seen: 797 times

Last updated: Dec 13 '15