summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-06-12Add ipv6 support in network environmentFeng Pan1-1/+2
Change-Id: I8db0cc0f715e95414e20f8a1e4d49f8d77e7b9ae Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-10Merge "Install dpdk packages when dataplane is set to ovs_dpdk"Tim Rozet1-6/+5
2016-06-10Install dpdk packages when dataplane is set to ovs_dpdkFeng Pan1-6/+5
Change-Id: Ib9978595738bb70172244af0505b6b43b0bc60a2 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-10Merge changes from topics 'c_doc_update', 'detached_cleanup'Tim Rozet1-2/+0
* changes: Documentation updates fixing detached state deployment
2016-06-10Parameterizes ODL version to deploy optionsTim Rozet1-1/+10
Changes include: - Minor syntax fix to dataplane check - Adds 'odl_version' to deploy options - Builds ODL overcloud image with boron rpm included - If user specifies 'boron' as odl_version then, package is upgraded on overcloud image Change-Id: I37436cb8cc4d6cff1fede6c13836f26a4cc57f49 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-09Merge "Add API network support"Tim Rozet1-2/+2
2016-06-09Merge "Remove swift endpoint and service"Tim Rozet1-0/+6
2016-06-09Add required kernel modules for dpdkMichael Chapman1-0/+25
vfio_pci and uio_pci_generic are required for dpdk, and will now be available on boot. Change-Id: Ie91d0e66d2b797d909944df662f9f087f36630a1 Signed-off-by: Michael Chapman <woppin@gmail.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-08Merge "Add custom domain file for virtual deploy"Tim Rozet1-0/+6
2016-06-09Remove swift endpoint and serviceMichael Chapman1-0/+6
Swift is not functional, and ceph is used instead for glance, nova and cinder, so the endpoint should not be present in the overcloud. The endpoint is removed via CLI post-install since there is no parameter for overcloud.yaml to disable endpoint creation, and the mechanism for endpoint creation will likely change within the next release as it is moved from heat to puppet. JIRA: APEX-146 Change-Id: If91b9d2747d5eed89c569ed9a34ab84370c3d65f Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-06-08Add custom domain file for virtual deployMichael Chapman1-0/+6
Upstream packaging for tripleo-incubator seems to be lagging significantly, and in addition we will likely want to add a myriad of custom features like numa support that may not be suitable for upstream, so copy our own domain.xml into the tripleo templates directory when deploying. This may be improved in future if we can land a patch that allows a custom template directory to be specified upstream, and have it packaged and released. Change-Id: I7e7e7f695d9473545014761e9f8986616bc2cd19 JIRA: APEX-119 JIRA: APEX-106 JIRA: APEX-127 Signed-off-by: Michael Chapman <woppin@gmail.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-08Merge "Fixes setting kernel boot arguments with perf options"Dan Radez1-9/+51
2016-06-09Add dataplane deploy settingMichael Chapman1-0/+6
Adds the dataplane deploy option, which can have values of ovs, ovs_dpdk, or fdio. Currently does nothing JIRA: APEX-119 Change-Id: I6c14a9c9d6887a325525d634052ea8300b30ee57 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-06-08Fixes setting kernel boot arguments with perf optionsTim Rozet1-9/+51
JIRA: APEX-168 opnfv-tht-pr: 22 Change-Id: I224b16be24b34e245d22c9321ca94ebe52c52dfd Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-08fixing detached state deploymentDan Radez1-2/+0
JIRA: APEX-157 Change-Id: Ifb3b706c61c6df5534bc7c22948fc0ae57a923df Signed-off-by: Dan Radez <dradez@redhat.com>
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>