I have been trying to get openstack working with packstack on RHEL7 and it has not being an easy. I thought that packstack on RHEL7 would just work but it doesn’t.
Make sure the controller node has at least 4GB of memory.
systemctl disable firewalld systemctl stop NetworkManager.service systemctl disable NetworkManager.service systemctl enable network.service systemctl start network.service
I am using RHEL7 qcow2 image on KVM and one of the annoying problems that bugged me that network.service use to always fail
systemctl start network.service
The reason for this failure was that my ethernet interface was ens3 on the VM but there no corresponding ifcfg file in /etc/sysconfig/network-scripts for it. Once I edit ifcfg-eth0 to ifcfg-ens3, I came over this issue.
Stale mysql database
Every time before you run the packstack command make sure that the mysql database has been cleaned up. This can be done with “rm -rf /var/lib/mysql”
perl -p -i -e "s/_PW=(\S)+/_PW=simple/g" answer.file