Skip to content

OpenStack Mitaka images

Lance Albertson requested to merge ramereth/openstack-mitaka into master

Created by: ramereth

This builds two types of images:

  1. All-in-One (AIO) Mitaka image (includes controller and compute services)
  2. Identity (keystone) + rabbitmq + mariadb

The purpose of this is to allow two things:

  1. The AIO image will be used in the Newton branch to test upgrading from Mitaka to Newton using test-kitchen.
  2. Speed up test-kitchen runtimes for Mitaka by having the bare essentials for most services already pre-installed. Most services (such as glance, neutron, etc) all need keystone and its deps which takes extra time to build for each suite. Since we already test this in other suites we don't need to replicate it.

These templates are built using the same kickstart and scripts as the other CentOS 7 images however it also does the following:

  • Add support for using Berks to install cookbooks locally if a Berksfile exists for a particular template in a specific standard location.
  • Using chef, use the osl-cookbook to deploy the AIO and identity images
  • All of the data bags and roles were taken from osl-openstack so that they transfer properly when used there.
  • Disable and stop all openstack, rabbitmq and mariadb services

The last point is needed since the hostnames will differ between the image and when you deploy in test-kitchen. Rabbitmq will fail on the first run if its already running using these images, so this works around this issue. It also speeds up start time since none of those services will be started on boot.

This replaces osuosl/bento#30

Merge request reports