Skip to content

gbraad/anaconda-packstack-addon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenStackAnaconda: OpenStack Addon for Anaconda Installer

This is an addon that enables installation/setup of OpenStack during CentOS installation (Background & Motivation)

Introduction:

To ease openstack deployment concerns, this addon aims to provide a robust, pre-configured (yet customizable) and easily installed openstack setup. The result is a CentOS 7 (Remixed) ISO with an option to setup openstack during installation.

Implementation:

This addon integrates RDO (Red Hat community's openstack package repository) and Packstack (openstack deployment tool) with Anaconda:

  1. During Setup: RDO (openstack) packages are installed.
  2. Firstboot: OpenStack is configured & deployed using packstack.
  • List of RDO Packages Installed can be accessed at: Package List

System Requirements:

  • CentOS 7 (anaconda 19.31.123) Remix ISO (~1GB) LINK

  • System with atleast 1 NIC configured and 4GB RAM.

  • Note: During Setup You MUST setup the Network Interface otherwise installation will fail

Current Status:

Anaconda has three modes of operation i.e., Kickstart, Graphical and Text User Interfaces. Hence our add-on development is divided into adding openstack installation support for each of these three modes. Uptill now GUI & TUI support has been implemented.

Kickstart is also almost supported but there is a piece of code in the initial-setup-utility which prevents packstack from being executed at firstboot.

Usage Instructions:

The remix ISO can also be generated locally through a script.

  • After Selecting Language the Main Hub should look like this:

Alt text

  • Network Configuration: Go to Network & HostName Spoke and Enable Network by Clicking the toggle button:

Alt text

  • After Enabling Network the Spoke should display the Network Summary. Alt text

  • Cloud Support: Go to Cloud Support Spoke: Alt text

  • PackStack Mode: Select the mode of PackStack Installation, currently both --allinone & --answer-file are supported. Alt text

  • Summary: The Summary Hub should Look like the following i.e., both Network Interface and Cloud Support must be enabled. Then Click "Begin Installation" Alt text

  • At Firstboot, the following Installation screen will be displayed. Just Go to License Information and accept the license:

Alt text

  • Just Press c and OpenStack Setup via Packstack will begin. Alt text

[[OPTIONAL]] To use the latest version of addon: At the first install screen of CentOS press "TAB" and append the following command: inst.updates=https://github.com/asadpiz/org_centos_cloud/releases/download/v0.1-alpha/updates.img

Contact Info:

View Asadullah Hussain's profile on LinkedIn
IRC: asad_ (#centos-devel)