首页 > openstack install error

openstack install error

ERROR : Error appeared during Puppet run: 192.168.1.8_mysql.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariadb-galera-server' returned 1: Error: mariadb-galera-server conflicts with MariaDB-Galera-server-10.0.12-1.fc20.i686
You will find full trace in log /var/tmp/packstack/20140707-214423-aoKg0P/manifests/192.168.1.8_mysql.pp.log

我的mysql版本是10.0.12-MariaDB-wsrep MariaDB Server


看来只有自问自答了.
1.肯定是mysql version 冲突, 所以yum remove -y mariadb-*

2.运行 packstack --allinone 结果继续报错

3.怀疑mariadb repo 太新, 决定disable mysql repo. yum-config-manager --disable mariadb

4.yum install mariadb-galera-serve (note: 不能安装mariadb-server 否则还是冲突)
5.运行packstack --allinone 继续报错,发现错误不一样了Applying 10.46.40.170_mysql.pp Applying 10.46.40.170_qpid.pp [ ERROR ] ERROR : Error during puppet run : err: /Stage[main]/Mysql::Config/Exec[set_mysql_rootpw]/returns: change from notrun to 0 failed: mysqladmin -u root password '6dddb52284a84466' returned 1 instead of one of [0] at /var/tmp/packstack/258f358951de4934825c6f48c299e96a/modules/mysql/manifests/config.pp:106 Please check log file /var/tmp/packstack/20130621-082004-3ml2C4/openstack-setup.log for more information 查看这个连接给出解决办法

6.因为我们只是调用了packstack 所以一定有配置文件packstack --gen-answer-file=<filename>

7.修改上述filename中的MYSQL_PASSWD=你的mysql 密码

9.运行packstack --answer-file=filename

10 这个过程可能耗时很长请耐心等待(note: 这个过程可能还会有别的错误发生)

【热门文章】
【热门文章】