OpenStack Installation using PackStack

Hands-On Lab

 

Length

02:00:00

Difficulty

Intermediate

In this scenario, you are tasked with building an all-in-one Cloud using OpenStack PackStack. All core services should be installed (Nova, Neutron, Glance, Swift, & Heat), with a default admin password of openstack123. Neutron should be configured to create a bridge named br-ex connected to the eth0 host network. Do not install Ceilometer or any of its dependencies. Set your environment configuration with a file named answers.yml.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

  • generate answers file
packstack --gen-answer-file=/root/answers.yml
  • update admin credentials
CONFIG_KEYSTONE_ADMIN_PW=openstack123
  • Update Controller, Compute, & Network host IPs to the public IP address for your lab environment
CONFIG_CONTROLLER_HOST=$PUBLIC_IP
CONFIG_COMPUTE_HOSTS=$PUBLIC_IP
CONFIG_NETWORK_HOSTS=$PUBLIC_IP
  • Do not install Ceilometer, Panko, or AODH
CONFIG_CEILOMETER_INSTALL=n
CONFIG_AODH_INSTALL=n
CONFIG_PANKO_INSTALL=n
  • set heat to be installed
CONFIG_HEAT_INSTALL=y
  • set ntp servers:
CONFIG_NTP_SERVERS=0.centos.pool.ntp.org,1.centos.pool.ntp.org,2.centos.pool.ntp.org,3.centos.pool.ntp.org
  • disable demo
CONFIG_PROVISION_DEMO=n
  • Create br-ex bridge connected to the host's eth0 network
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:eth0
  • Start your installation using the PackStack utility
    • Note: if you're prompted for a root password, cancel out of the installer & copy /root/.ssh/id_rsa.pub into /root/.ssh/authorized_keys
$ packstack --answer-file=/root/answers.yml