This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
foreman_quickstack_tool_interaction [2015/06/17 21:39] Tim Rozet |
foreman_quickstack_tool_interaction [2015/06/17 21:53] Tim Rozet |
||
---|---|---|---|
Line 21: | Line 21: | ||
* The OPNFV install role will install Foreman using [[https://github.com/trozet/astapor | Astapor]] | * The OPNFV install role will install Foreman using [[https://github.com/trozet/astapor | Astapor]] | ||
* Astapor includes a bash script, [[https://github.com/trozet/astapor/blob/opendaylight/bin/foreman_server.sh | foreman_server.sh]], and [[https://github.com/trozet/astapor/blob/opendaylight/bin/opnfv-seeds.rb | opnfv-seeds.rb]] custom database file to install Foreman | * Astapor includes a bash script, [[https://github.com/trozet/astapor/blob/opendaylight/bin/foreman_server.sh | foreman_server.sh]], and [[https://github.com/trozet/astapor/blob/opendaylight/bin/opnfv-seeds.rb | opnfv-seeds.rb]] custom database file to install Foreman | ||
- | * and clone the [[https://github.com/trozet/puppet-trystack | Genesis/Trystack Puppet Modules]], QuickStack | + | * Astapor also contains the QuickStack puppet modules which ar cloned into the Foreman VM |
+ | * Also cloned are the [[https://github.com/trozet/puppet-trystack | Genesis/Trystack Puppet Modules]], and [[https://forge.puppetlabs.com/puppetlabs/openstack | OpenStack Puppet modules]] | ||
+ | * The opnfv-seeds.rb contains Foreman configuration (hostgroups, puppet modules, etc) | ||
+ | |||
+ | ===== 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]] | ||
+ | * 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 |