Saturday, 7 January 2017

Packstack installation mariadb error

Here is the error I get 
ip_mariadb.pp:                          [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: ip_mariadb.pp
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariadb' returned 1: Transact
ion check error:

You will find full trace in log /var/tmp/packstack/ZCy5o5/manifests/

Please check log file /var/tmp/packstack/ZCy5o5/openstack-setup.log
for more information
Additional information:

Remove mysql and install mariadb manually
# yum remove mysql mysql-libs mysql-devel mysql-server
# yum install mariadb mariadb-libs mariadb-devel mariadb-server

After that run packstack again

# packstack --answer-file rdo.txt

Sunday, 1 January 2017

Packstack Openstack Installation

After installing CentOS 7
Instal RDO
#yum install -y

Because installation not compatible with openstack-packstack
#systemctl stop NetworkManager; systemctl disable NetworkManager

Install openstack
#yum install -y centos-release-openstack-mitaka

Install packstack
#yum install -y openstack-packstack

get the answer file
# packstack --gen-answer-file /root/answers.txt

change with your options

start installation
#packstack --answer-file /root/answers.txt

You may face this error

Preparing Nova VNC Proxy entries [ ERROR ]

ERROR : [Errno 2] No such file or directory: '/etc/pki/tls/certs/selfcert.crt'
Please check log file /var/tmp/packstack/20161109-192844-cGjfCc/openstack-setup.log for more information

# openssl req -x509 -sha256 -newkey rsa:2048 -keyout selfkey.key -out selfcert.crt -days 1024 -nodes
# cp selfkey.key /etc/pki/tls/private/
# cp selfcert.crt /etc/pki/tls/certs

change answer file

and put your ip here
ln -s /etc/pki/tls/certs/ssl_vnc.crt/root/packstackca/certs/PUTYOURIPssl_vnc.crt