Ask Your Question
0

Mysql error

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

alps000alps gravatar image

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

Bipin gravatar image

Hi,

I am getting the following error when trying to install Openstack using RDO

192.168.122.206_mariadb.pp:                       [ ERROR ]           
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.122.206_mariadb.pp
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/192.168.122.206_mariadb.pp.log

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
1

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

Bipin gravatar image

Hello,

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

Regards

edit flag offensive delete link more
0

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

alps000alps gravatar image

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

Bipin gravatar image

Hi,

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: mirror.nbrc.ac.in
 * epel: ftp.riken.jp
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
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

Installing:
 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

Comments

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

Bipin gravatar imageBipin ( 2015-12-13 22:20:18 -0600 )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 -0600 )edit

But I am still getting the same error as posted earlier while installing openstack

192.168.122.206_mariadb.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.122.206_mariadb.pp Error: Executi

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

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 -0600 )edit
1

I am trying to setup openstack in Centos 7

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 674 times

Last updated: Dec 13 '15