Welcome to the Linux Foundation Forum!

Lab 8.1: Error when deploying packstack on mariadb installation

asordo Posts: 1


After launching the packstack installation with:

# packstack --answer-file rdo.txt

I get the following error:                          [ ERROR ]

Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run:


Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariad

b' returned 1: Transaction check error:

You will find full trace in log /var/tmp/packstack/20161229-1


Please check log file /var/tmp/packstack/20161229-124018-H1lg

hm/openstack-setup.log for more information

Additional information:

 * File /root/keystonerc_admin has been created on OpenStack

client host To use the command line tools you n

eed to source the file.


From the trace (/var/tmp/packstack/20161229-1


Notice: /Stage[main]/Cinder::Db::Mysql/Openstacklib::Db::Mysq


l_grant[cinder@%/cinder.*]: Dependency Package[mysql_client]

has failures: true

Warning: /Stage[main]/Cinder::Db::Mysql/Openstacklib::Db::Mys


ql_grant[cinder@%/cinder.*]: Skipping because of failed depen


Error: Could not find a suitable provider for mysql_datadir

Error: Could not find a suitable provider for mysql_user

Error: Could not find a suitable provider for mysql_database

Notice: Finished catalog run in 7.91 seconds


I already tried the fix on https://www.linux.com/forums/lfs252-class-forum/lab81-installing-rdo-using-packstack with the same result

Can you please help me?


  • lenzandy
    lenzandy Posts: 6
    edited January 2017

    I am also getting this error. 



  • marcogiannini
    marcogiannini Posts: 2
    edited January 2017

    same issue

  • This is happening to me also.

  • serewicz
    serewicz Posts: 1,000
    edited January 2017

    If you ran without the pip fix, then the mariadb software is of a non useful version. Easy is to use the start-over button and remember the work-around.

    Or you can remove mariadb software by hand and run packstack again.



  • serewicz
    serewicz Posts: 1,000
    edited January 2017

    There have been a lot of changes to MariaDB, and some hickups working with it in Openstack.  If you get an error where mariadb cannot be installed, try to run the command by hand. In this case you would try to run  /usr/bin/yum -d 0 -e 0 -y install mariadb  

    You will note that the outut says there is a file conflict with the current version of the mariadb-libs software. Remove the current software and run packastack again:

    yum remove mariadb-libs ; packstack --answer-file rdo.txt




Upcoming Training