summaryrefslogtreecommitdiffstats
path: root/foreman/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-05-26Merge "Really kill VBoxHeadless process"Dan Radez1-1/+1
2015-05-20Adds external network support for OPNFVTim Rozet1-0/+45
Deploy will now detect and set extra parameters in the ksgen settings file needed in order to configure an external public network for Neutron. The new parameters required are as follows: - external_network_flag: "true" - public_gateway: - public_dns: - public_network: - public_subnet: - public_allocation_start: - public_allocation_end: - deployment_type: public_* parameters are required to create an external network when external_network_flag is "true". deployment_type (three_network or multi_network) is now passed to Foreman. Foreman decides on this value whether to configure 3 interfaces as dhcp+onboot or 4. Change-Id: Ia8af04e82f3854a36adc563c1855d451ddfa9c17 JIRA: BGS-13 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-05-20Really kill VBoxHeadless processarnaudmorin1-1/+1
This correct a small typo that prevent the clean script to kill VBoxHeadless correctly This also add the psmisc package to dependency list in order to have the killall command JIRA: BGS-49 JIRA: BGS-50 Change-Id: I39143bdbc8076318c5a28868c4bb779411742c09 Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
2015-05-12Adds node virtualization supportTim Rozet1-2/+175
This patch adds the argument "-virtual" which allows one to deploy to Vagrant VMs rather than baremetal. The requirements for the Jumphost become slightly different with VM nodes. The required RAM increases to 24GB when using virtual. Usage: "./deploy.sh -virtual". JIRA: BGS-31 Change-Id: I2e5e60cc7913f4d3efaa405950e1fcbbefd2771b Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-05-04Adds NAT capability and other fixes for deploy.shTim Rozet1-6/+48
Dynamically detects if Admin network interface does not have internet access. If not, then the VM sets up NAT to the public interface so that nodes may PXE boot over the Admin network and download packages during install. Also contains other various fixes. JIRA: BGS-31 Change-Id: I551e0f73e349890e643f477b6b4ac7b3dc84c605 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-04-17Includes fixes that remove need for interface hardcoding and addsTim Rozet1-7/+18
support for Foreman REST API access Changes include: - No more requirement to provide ovs_tunnel_if or storage_iface as hardcoded interface names. private_network and storage_network are now dynamically figured out and resolve to the interface names during puppet module runtime - Adds some code to modify the Foreman API variable. This is used for REST API access to rebuild the nodes and control Foreman via Khaleesi JIRA: BGS-31 Change-Id: I9a3a6590c3b9801e026a6f333782d04d9e2eff6f Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-04-16Adds support for subnets other than /24 and fixes issue where default_gwTim Rozet1-8/+34
was set in the wrong place PATCHSET2: Fixes improper spacing in network_type for .yaml settings Correct subnet is now detected . This was needed for Intel Pod1, but can be used in other environments. Vagrantfile is now updated to add this correct netmask, and variables are updated with correct netmask as well. default_gw was being set before the base_config was copied, so we were losing the value of the variable. Moved this statement to be after base_config. JIRA: BGS-31 Change-Id: I36c69abf5e687fe19a92a9659b2069e1f32275a8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-04-14Adds deploy.sh for Foreman/QuickStackTim Rozet1-0/+402
PATCHSET2: Fixes whitespace issue and adds default_gw substitution in ksgen settings file Creates a Vagrant VM provisioned with VirtualBox. The Vagrantfile config is modified at runtime with dynamic support for baremetal network setup. IP addresses and other network info are gathered at runtime and passed to the .yaml file which is fed into Khaleesi to install Foreman/QuickStack and provision hosts. For the script usage it is recommended to include the following inside of the yaml file set: - mac_address: "01:23:45:67:89:AB" <-Mac Address of admin interface - bmc_ip: 10.4.17.2 - bmc_mac: "01:23:45:67:88:AB" - bmc_user: root - bmc_pass: root JIRA: BGS-31 Change-Id: I1aa9352d2f5965befabf86119c0c9c5edb82f329 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-03-01ci: Initial setup of ci treeJoseph Gasparakis1-0/+0
This patch creates some tree structure based on Fatih Deqirmenci's suggestion: genesis ├── common │ ├── manifests │ ├── tools │ └── ci ├── foreman │ ├── tools │ │ └── foo.sh │ └── ci │ ├── deploy.sh │ └── build.sh ├── fuel │ ├── tools │ │ └── foo.sh │ └── ci │ ├── deploy.sh │ └── build.sh └── opensteak ├── tools │ └── foo.sh └── ci ├── deploy.sh └── build.sh So far creating only the deploy and build scripts. Signed-off-by: Joseph Gasparakis <joseph.gasparakis@intel.com>