User Tools

Site Tools


foreman_quickstack_tool_interaction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
foreman_quickstack_tool_interaction [2015/06/17 21:50]
Tim Rozet
foreman_quickstack_tool_interaction [2015/06/17 21:55] (current)
Tim Rozet
Line 6: Line 6:
 Deployment is done via deploy.sh. ​ Deploy.sh does the following: Deployment is done via deploy.sh. ​ Deploy.sh does the following:
   * Detects the networking setup   * Detects the networking setup
-  * Gathers parameters to be used to deploy OPNFV +  * Gathers parameters to be used to deploy OPNFV via an [[https://​github.com/​trozet/​bgs_vagrant/​blob/​master/​opnfv_ksgen_settings.yml | inventory file]] 
-  * Uses Vagrant to bring up VMs+  * The parameters include global parameters later configured in Foreman, and a "​nodes"​ yaml dictionary which describes the baremetal/​VM topology 
 +  * Deploy uses Vagrant to bring up VMs
   * 1 VM is used as Foreman, other VMs can be provided when doing a virtual deployment   * 1 VM is used as Foreman, other VMs can be provided when doing a virtual deployment
   * For each VM, [[https://​github.com/​trozet/​bgs_vagrant | bgs_vagrant]] is cloned into /tmp/ (/​tmp/​bgs_vagrant is Foreman VM, while other nodes are /​tmp/​controller1,​ etc)   * For each VM, [[https://​github.com/​trozet/​bgs_vagrant | bgs_vagrant]] is cloned into /tmp/ (/​tmp/​bgs_vagrant is Foreman VM, while other nodes are /​tmp/​controller1,​ etc)
Line 25: Line 26:
   * The opnfv-seeds.rb contains Foreman configuration (hostgroups,​ puppet modules, etc)   * The opnfv-seeds.rb contains Foreman configuration (hostgroups,​ puppet modules, etc)
  
-===== Deploying Nodes =====+===== Deploying Nodes (baremetal) ​=====
   * After OPNFV install role is finished, opnfv.yml playbook calls the [[https://​github.com/​trozet/​khaleesi/​blob/​opnfv/​roles/​get_nodes/​foreman/​tasks/​main.yml | deploy nodes role]]   * After OPNFV install role is finished, opnfv.yml playbook calls the [[https://​github.com/​trozet/​khaleesi/​blob/​opnfv/​roles/​get_nodes/​foreman/​tasks/​main.yml | deploy nodes role]]
-  * +  * The role then uses the [[https://​github.com/​trozet/​khaleesi/​blob/​opnfv/​library/​foreman.py | foreman.py]] library to issue a Foreman API call to reboot and build the nodes with PXE 
 +  * The role will then wait for SSH access to the node 
 +  * The role will then wait for puppet to complete and the node to be put into Active ("​A"​) state in Foreman, indicating deploy is complete
foreman_quickstack_tool_interaction.1434577821.txt.gz · Last modified: 2015/06/17 21:50 by Tim Rozet