User Tools

Site Tools


foreman_quickstack_tool_interaction

This is an old revision of the document!


Foreman/QuickStack Tool Interaction

The purpose of this page is to go into some detail and provide the linkage to how the Foreman/QuickStack tools interact. It will go from initiating a deploy through the tools to show the interactions and files that are called.

Initial Deployment

Deployment is done via deploy.sh. Deploy.sh does the following:

  • Detects the networking setup
  • Gathers parameters to be used to deploy OPNFV
  • Uses Vagrant to bring up VMs
  • 1 VM is used as Foreman, other VMs can be provided when doing a virtual deployment
  • For each VM, bgs_vagrant is cloned into /tmp/ (/tmp/bgs_vagrant is Foreman VM, while other nodes are /tmp/controller1, etc)
  • Vagrant uses provisioners to configure the VM (done inside of the Vagrantfile under /tmp/<node>)
  • deploy.sh will configure the Vagrantfile to use bootstrap.sh to install Foreman
  • VMs are installed with a different Ansible playbook/ Vagrant provisioning (by editing the Vagrantfile in /tmp/controller1, etc)

Initial Provisioning Foreman VM

  • bootsrap.sh installs, configures and executes Khaleesi
  • Khaleesi is an Ansible based framework that is capable of installing Foreman and deploying nodes
  • bootsrap.sh initiates execution of opnfv.yml playbook
  • The opnfv.yml playbook then calls the opnfv install role which will install Foreman
  • The OPNFV install role will install Foreman using Astapor
  • Astapor includes a bash script, foreman_server.sh, and opnfv-seeds.rb custom database file to install Foreman
  • Astapor also contains the QuickStack puppet modules which ar cloned into the Foreman VM
  • The opnfv-seeds.rb contains Foreman configuration (hostgroups, puppet modules, etc)

Deploying Nodes

foreman_quickstack_tool_interaction.1434577821.txt.gz · Last modified: 2015/06/17 21:50 by Tim Rozet