summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-06-06Add API network supportFeng Pan1-2/+2
- Create additional NIC on virtual deployment if API network is enabled. - Include API network in clean - Change keystone admin api network to admin network. This should have no effect when api network is disabled, as today's behavior is to fall back to admin network anyway. However, when api network is defined, we need to be able to reach overcloud from undercloud through keystone admin api network. Change-Id: Ib0aea4a0daeed5878793530c10d8f8a1bbe5fd72 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-06fixing ha_enabled var for vm countDan Radez1-1/+1
Change-Id: Ib551aee287d3a82fc644643b9e658adb2461bcfa Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-04Merge "Fixes ODL L3"Tim Rozet1-1/+1
2016-06-03Fixes ODL L3Tim Rozet1-1/+1
JIRA: APEX-166 opnfv-tht-pr: 20 Change-Id: If2aabd9da302297cc99f7e6aa0eadf07a4fc7f52 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-03Merge "Fix performance option handling"Tim Rozet1-1/+1
2016-06-03Merge "Add library sourcing error check"Tim Rozet1-3/+11
2016-06-03Fix performance option handlingMichael Chapman1-1/+1
- Fix image name replacement in environments/numa.yaml in t-h-t - Accommodate patch to opnfv-tht disabling libvirt pinning by default. opnfv-tht-pr: 17 Change-Id: I4f45a120b236e8fbaa1eefd6da903d8f5e584764 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-06-02Migrates network environment parsing to pythonTim Rozet1-51/+9
Change-Id: Ibaf20a2960a9f4b5e3f256fbed12a61d7606a967 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-02Add library sourcing error checkFeng Pan1-3/+11
Change-Id: Ief7fd339fa2ca8661c8e157270aa9b0339d3b637 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-01Merge "Fixing some deploy options boolean case"Dan Radez1-5/+5
2016-05-31Fixing some deploy options boolean caseDan Radez1-5/+5
Change-Id: I98e4529b6631ed89912dc55c397993df3da10291 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-05-31Fixing conditional for setting compute countDan Radez1-7/+1
- also removing no-ha option, python update to deploy settings do longer honor this param Change-Id: I52b84c946b3d5d774a001a18230c591060041eb2 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-05-31Merge "adding control of number of virtual compute nodes"Dan Radez1-2/+17
2016-05-31Merge "Adding python tests and updating for conventions"Dan Radez1-3/+3
2016-05-31Merge "Updates to CONFIG, RESOURCES and LIB"Dan Radez1-30/+19
2016-05-28Adding python tests and updating for conventionsDan Radez1-3/+3
- adding tests dir with a script to run python coverage - adding main funtion to python per convention - replacing underscores with dashes in CLI params per convention Change-Id: I6f64174278e2a2e93eacdb7bee09aac49ce15d29 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-05-27Updates to CONFIG, RESOURCES and LIBDan Radez1-30/+19
- removing the -r and -c parameters - relying on ENV vars for non-system locations - abstracting the apex-python-utils to a var Change-Id: I7ff1ca8b741c890647aee029c57e8342f0b5cb07 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-05-27adding control of number of virtual compute nodesDan Radez1-2/+17
JIRA: APEX-86 Change-Id: Iae2f34337479ad0a399eecc46459f5afea938d57 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-05-27Fix deploy settings bash outputFeng Pan1-4/+4
Change-Id: I61efdac14066d2a3d7c3e3ff7f93f0fa2af3a857 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-26Merge "Use linux bridge for virtual deployment"Tim Rozet1-17/+38
2016-05-26Fixes deploy lib in spec and bug with return codesTim Rozet1-2/+4
Change-Id: If646ce606f96d0bcd6681ada193d60e6b59f93ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-25Fixes nic template missing in spec and error catchingTim Rozet1-3/+12
Issue where jinja 2 templates were missing from spec file. Also adds error checking to make sure the nic templates were correctly generated. There was an error with dependencies missing on the build server - this patch includes a fix to make sure it is installed before trying to make. Change-Id: I7989ccf297a4e0d81326cccc06b2132018e7d8ae Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-24Use linux bridge for virtual deploymentFeng Pan1-17/+38
Changes virtual deployment to use linux bridge rather than OVS bridge on jumphost. Also fixed an issue with network deletion in cleaning code. Change-Id: Ibcfa283c6bf32aafa2ee91b2ffd55355d7d6746e Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-24Merge "Add pinning support"Tim Rozet1-37/+32
2016-05-24Merge "brbm bridge creation failed during deployment"Tim Rozet1-1/+1
2016-05-24Add pinning supportMichael Chapman1-37/+32
Add support for CPU pinning of libvirt guests and also restricting host processes to selected CPUs via isolcpus. Hugepage support is added using the same mechanism as isolcpus, along with a perf scenario where all 3 performance options are enabled. Deploy options are now parsed in python JIRA: APEX-127 JIRA: APEX-105 JIRA: APEX-106 Change-Id: I438e80fb88e596cc017595d43bc1efda1001325c opnfv-tht-pr: 8 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-05-24brbm bridge creation failed during deploymentJuha Haapavirta1-1/+1
brbm bridge is not created during deployment because of existing random bridge containg text brbm in it. JIRA: APEX-153 Change-Id: I48520c2865a4de0de849c5147337dafeeb5fb51f Signed-off-by: Juha Haapavirta <juha.haapavirta@nokia.com>
2016-05-23Limits engine workers for virtual deploymentsTim Rozet1-0/+7
Heat uses sub-process forking for increasing number of workers to handle tasks. This patch limits number of workers in undercloud and overcloud for virtual deployments to help battle resource contention. Change-Id: I70edff708b7dcaf114b285046af3138a67167150 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Bumps Undercloud to 12GBTim Rozet1-1/+1
Testing this to see if it improves stability of deploys Change-Id: I1bd2539e87230c080e2e652a1d74681d95a293fe Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Merge "Allows for specifying CPUs and RAM for VMs in virtual deployments"Tim Rozet1-8/+48
2016-05-19Allows for specifying CPUs and RAM for VMs in virtual deploymentsTim Rozet1-8/+48
Changes Include: - All VMs (undercloud and overcloud) now default to 4 vCPUs - Allow specifying number of vCPUs per overcloud VM with --virtual-cpus <number> - Allow specifying amount of RAM per overcloud VM with --virtual-ram <size in GB> - Undercloud now uses 10GiB of RAM to avoid OOM JIRA: APEX-111 Change-Id: I541c669b869a90134bc8af25786fe3b1a557376b Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-08Change NIC template formatFeng Pan1-6/+7
Convert compute and controller NIC templates to jinja2 format. Added support for IPv6 for those NIC templates. Existing IPv4 template generation behavior does not change. The .template files are kept in tree for now, they will be removed after VLAN changes are made. Change-Id: I2ffc7c403af3659db780ece2bd9195cd62748f0c Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-04Add python parsing library for network settings file.Feng Pan1-120/+7
Changes: - Implements network_settings.yaml file parsing in python. - Adds support for both IPv4 and IPv6 in network_settings.yaml - Adds support for api_network in network_settings.yaml - Removes bash library functions for network related functions. - Adds dependency to python34-yaml for apex-common package. Note that support for ipv6 and api_network is not complete yet. Proper configuriration of network environment and nic template files will be added later. Change-Id: I087f725dabedfef109c9de1f58ce2611da647e87 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-28Standarizing CONFIG and RESOURCESDan Radez1-2/+2
- first stage in standarizing how custom config values are passed in by moving to using ENV vars to pass in custom params - next stage is to remove the -r and -c options in deploy.sh Moving this direction will reduce managment of custom parameters and rely on ENV vars to make the customizations for development Change-Id: Ibbc171d5e6801b27c1b62ca65c2a9f7830483b97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-14Deploy was missing sourcing the utility libTim Rozet1-0/+1
JIRA: APEX-75 Change-Id: Iec4abc319db98c32b94a0603811401fd7f9a59db Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-12Adds Utility functions and failure loggingTim Rozet1-1/+5
Patch adds helpful utility functions and automatic parsing of heat output into a readable format indicating where a failure is in a deployment. Example: http://fpaste.org/354210/ New opnfv-util function allows a user to interact with a deployment easily: - opnfv-util undercloud <user> connects user to undercloud VM - opnfv-util debug-stack parses the heat failure output Above arguments also accept partial matches. JIRA: APEX-75 Change-Id: I5ccfee64ee2958de0d00a3b25cd9b29de60c9e20 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-07Fixes controller Image to be overcloud-fullTim Rozet1-0/+2
New param introduced into THT that exposes the image to use for the Controller. The new var is defaulted to use overcloud-control and is causing master to fail. Changes Include: - Adds opnfv-environment yaml file to use for common parameters required in all deployments - Defaults controllerImage to be overcloud-full Change-Id: I5da8921d9c9efd167748a3d6f42866d18f46d2b7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-01Migrating to MitakaDan Radez1-12/+18
- Only support for NOSDN for this patch - Other SDN controllers will not be tested for this patch - AODH is now upstream and not needed to be carried in Apex - puppet-cinder-quota-fix.patch is now upstream and not needed to be carried in Apex - puppet-neutron-force-metadata.patch is now upstream and not needed to be carried in Apex - removing the catalog of nic files and creating a templatization for them JIRA: APEX-108 JIRA: APEX-93 JIRA: APEX-92 Change-Id: Ic1a24baec7ef295e9dc1b8b72ac36ca5b05578ea Signed-off-by: Dan Radez <dradez@redhat.com>
2016-03-29Syntax updates to OOO network isolation fileDan Radez1-2/+2
- storage mgmt and storage were being update by the storage sed commands - ext net had a double Ports:: in the line Change-Id: I95cfdbced1e817e6e69805708b6b4e504abd8c43 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-03-24Renaming Instack to UndercloudDan Radez1-53/+53
This commit is not backwards compatible with cleaning. VMs named Instack will need to be manually removed. Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4
2016-03-23Allow 2+ compute node for none HA installs APEX-117randyl1-1/+1
Changed the number of compute nodes to no longer be hard coded to 1 and now calculate to be total_nodes -1 for non-HA deployments. Rebased to new build. Change-Id: I8dc135876a8b436714806b79d4193d225761534d Signed-off-by: randyl <r.levensalor@cablelabs.com>
2016-03-23updating vm creation for virt deploymentDan Radez1-106/+145
- replacing brbm with logical names br-netname - replacing instack-virt-setup with tripleo scripts JIRA: APEX-90, APEX-80 Change-Id: I58a15dee8de882e034c8af8a3368ca0647741b13 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-02-29updates to fix the --flat optionDan Radez1-9/+8
JIRA: APEX-84 Change-Id: Ic806118c3c3032abff6cebe5c93ad62a6a0a23c7 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-02-24fix bug in ci/build.shRyota MIBU1-27/+24
This patch fixes bug in ci/build.sh that cause the following error message: /bin/opnfv-deploy: line 197: [: too many arguments Change-Id: I92419473262a51806baee849669af9b84b94045c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-22Adding SDNVPN supportDan Radez1-2/+5
Change-Id: Id2d6d46a53129d4ae2f93fad835536da067e42df JIRA: APEX-51 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-02-18sfc and odl version updatesDan Radez1-1/+4
- reverting the patched growfs bug kernel - updating ODL to RC 3.1 - syntax fix on error inventory syntax check Change-Id: I4c8f2bd648a2caa1caa2d33650bf1b73824f7179 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-02-17Ensure shell doesn't exit even when eval succeedsMichael Chapman1-1/+1
Change-Id: I38416967c72b03ae443d3ffa9e24fa23ad24ff74
2016-02-16external network creation fixDan Radez1-5/+3
Change-Id: I618a6d6e762a464751d61c070571df400a3c8eda
2016-02-15Merge "Adding error checking"Tim Rozet1-15/+34
2016-02-14Adding error checkingDan Radez1-15/+34
Change-Id: I515ac692a1a2251f16f4b9e06f94c6a626374285 JIRA: APEX-81, APEX-69