PackStack Installation
2 min readJun 4, 2018
Prereqs:
- All-in-one single machine setup
- CentOS 7 minimal server installation
- VirtualBox
- Network Device needs to be bridged to your network
- Promiscuous mode set to Allow All
CentOS 7 Environment Setup Installation:
- Install centos 7 on virtualbox
- 6GB RAM min
- 20GB HDD min
- Install — attach ISO
- Configure static IP — Do DHCP first, then change to static
- Turn on NTP in clock
- ssh for easy copy and paste
Make CentOS 7 ready for Packstack
Get Ibrahim Waziri Jr.’s stories in your inbox
Join Medium for free to get updates from this writer.
Run:
- sudo bash (sudo privileges)
- yum -y update (update the centos installation)
- yum -y install centos-release-qemu-ev (centos qemu install)
- yum -y remove mariadb-libs (uninstall mariadb)
- vi sudo (add user to not require sudo password for sudo access)
- remove the # in the %wheel (2nd line) of “same thing without a password”
- :wq! (save the file)
- vi /etc/selinux/config (edit selinux config file): change “SELINUX=enforcing” to “SELINUX=disabled”
- systemctl disable NetworkManager firewalld (disables NetworkManager and firewalld)
- reboot centos7
Installing Packstack
become sudo
- yum search openstack (shows all available openstack releases)
- yum -y install centos-release-openstack-ocata (to install openstack ocata repo , which includes packstack)
- yum -y install openstack-packstack (installs packstack)
- packstack — gen-answer-file=/home/openstack/answers.txt (this generates an answer file, and saves it in the location identified. My location is /home/openstack/answers.txt)
- vi /home/answers.txt (change the content of the answers.txt file)
add to vi
- add password to “CONFIG_DEFAULT_PASSWORD=” I added “openstack to this installation, so it is now “CONFIG_DEFAULT_PASSWORD=openstack”
- Go through the service and see the options. change n to y to enable, and y to n to disable. For now, I am leaving this as default — I changed “Orchestration (heat)” from n to y. I also changed MAGNUM from n to y.
- This is a VM, but if you are running multiple nodes, feel free to change CONTROLLER, COMPUTE and NETWORK HOSTS IPs
- In the list, I gave “CONFIG_KEYSTONE_ADMIN_PW=” a password = “CONFIG_KEYSTONE_ADMIN_PW=openstack” and “CONFIG_KEYSTONE_DEMO_PW=” to “CONFIG_KEYSTONE_DEMO_PW=openstack”
- save file = :wq!
run
- packstack — answer-file=/home/openstack/answer.txt (this starts packstack by pointing it to the answers.txt file location)
This installation takes time — up to 20 mins. After installation: use the ip address/dashboard to log in. (Openstack will give you these credentials).






