summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
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
2016-02-13Support power management type changesMichael Chapman1-1/+1
JIRA: APEX-95 pm_type is already in the sample instackenv.json but wasn't previously being read. Change-Id: Ia82c5010481d77d142d4fa3ca6e738558e8e9e4e
2016-02-11Merge "Fixing an incorrect variable name"Tim Rozet1-1/+1
2016-02-10Fixing an incorrect variable nameDan Radez1-1/+1
Change-Id: I034bd9712ed06992dca59e2b362ef535cf3ab4d2 JIRA: APEX-96
2016-02-10Display overcloud dashboard URL after deployMichael Chapman1-1/+7
JIRA: APEX-82 Change-Id: I0f2164a67b425ae5c99cd6bfee2182b23867b4cf
2016-02-09Merge "Aggregate deployment logs of overcloud"Dan Radez1-0/+28
2016-02-09Aggregate deployment logs of overcloudMichael Chapman1-0/+28
JIRA: APEX-74 /var/log/messages for each node will be slurped into a new folder in the stack user's home directory. If debug was passed, it will also be printed out along with the nova list for that node. Change-Id: I726da67b076bdf1fb38ba1805456cbd7c7d9e096
2016-02-09Move external net into service tenantMichael Chapman1-2/+3
Change-Id: I3474118e58ae4946abfe9e74bb73084aad3634b2 JIRA: APEX-88
2016-02-05Fixes for no-ha, detached deploy, sfc and debugDan Radez1-2/+13
- Forcing no-ha to 1 compute node - updating install-packages to allow detached deploy - updating kernel to one with a growfs bug fix - removing service script with growfs work around - adding rootpw to overcloud when in debug mode JIRA: APEX-85, APEX-76, APEX-73 Change-Id: I202275c9cbeb864a044b119a9e440d59a1955c40
2016-02-04Change net-create to defineMichael Chapman1-1/+1
This will persist networks across reboots instead of creating a transient network. Change-Id: I98b8e0c577c145197dd7195274b27ded2cc96297
2016-02-02Merge "fix 'unary operator expected' in conditional expression"Tim Rozet1-13/+13
2016-02-01fix 'unary operator expected' in conditional expressionRyota MIBU1-13/+13
Change-Id: I6c8bd9a949b1b818bedd4994f490da4a703ee6a5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-30Fixes missing image for nosdn deploymentsTim Rozet1-0/+1
Note this image could change from opendaylight to a regular overcloud image if we choose to split out a nosdn rpm in the future. For now fallback to the ODL image. JIRA: APEX-78 Change-Id: I959d917330b1d8f68c16c3d122901494112db071 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-30Changes to make SFC deployments functionalTim Rozet1-0/+16
Fixes include: - sfc deployments now are non-HA, and disable swift and ringbuilder as it causes issues with the 3.13 kernel - ODL Features boot is now parameterized in heat templates - SFC features boot is now set to "odl-ovsdb-sfc-rest" - Coexistence table offsets included if SFC deployment - VXLAN workaround applied for 123.123.123.x subnet if SFC Change-Id: Ide5e0b451adcb98c417e57628a51302f3123647f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-29Fixes bug where ha_enabled was detected as false when set trueTim Rozet1-3/+3
Daily failed because, we removed the default value of "TRUE" for ha_enabled, and deploy settings sets it as "true", which we were not looking for as a boolean in deploy. This patch fixes that. Change-Id: I03ac599aa2a35ae494e13f9293aef273ab3051e9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-29Merge "Various fixes and improvements"Tim Rozet1-6/+39
2016-01-28Merge "Fixes cinder keystone auth"Dan Radez1-0/+1
2016-01-28Various fixes and improvementsTim Rozet1-6/+39
Changes Include: - New Interactive mode. Allows you to pause deployments in order to make changes before continuing (or exit and deploy manually). Useful when needing to modify NIC order for baremetal deployments. - deploy_settings -d is now required. - ha_enabled no longer defaults to true. It can be specified in deploy_settings or overridden with via command line. - compute nodes now scale correctly with what is defined by inventory JIRA: APEX-70 APEX-71 APEX-72 Change-Id: Id45808f4d0435d66f12c020bd4455faaa43da191 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-28Fixes cinder keystone authTim Rozet1-0/+1
URI was being passed incorrectly by tht JIRA: APEX-59 Change-Id: If9912f1ef0618836f37931e3573293d0f434d23f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-27Fixes various bugs and adds some improvementsTim Rozet1-6/+9
Changes Include: - Disables introspection. We don't currently use introspection for anything other than to just run it. Disabling it to increase deploy speed and reduce pxeboot issues. - Adds timeout to deploy of 90 minutes. Default heat timeout is 3-4 hours. - Fixes OVS bridge attach/detach for users who use PREFIX in their ifcfg instead of NETMASK - Adds nosdn deploy settings file, and allows nosdn deployments - Adds example inventory file to the docs dir Change-Id: Ic13d6c4d5f27bac25365e5951acdd9bd3e641a15 Signed-off-by: Tim Rozet <trozet@redhat.com>