summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2016-06-10Parameterizes ODL version to deploy optionsTim Rozet1-3/+15
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-1/+1
2016-06-08Merge "Add custom domain file for virtual deploy"Tim Rozet1-0/+4
2016-06-08Add custom domain file for virtual deployMichael Chapman1-0/+4
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 Radez4-6/+29
2016-06-09Add dataplane deploy settingMichael Chapman1-0/+4
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 Rozet4-6/+29
JIRA: APEX-168 opnfv-tht-pr: 22 Change-Id: I224b16be24b34e245d22c9321ca94ebe52c52dfd Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-07Enabling python coverage tests in build.shDan Radez1-0/+9
Change-Id: Iececedb03a60dd0bfc1ad6ef1275f6a0427350eb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-06Add API network supportFeng Pan1-1/+1
- 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-05Merge "Fix sed syntax error in set_perf_images.sh"Tim Rozet1-1/+1
2016-06-05Fix rpm build errorFeng Pan1-1/+9
- Fix common rpm spec syntax error - Fix build.sh check for spec file changes. Change-Id: I84b54c87356a092af480957ad4b2e93ec577539b Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-05Merge "Fixes build caching"Tim Rozet2-6/+13
2016-06-04Fixes build cachingTim Rozet2-6/+13
JIRA: APEX-167 Change-Id: Ibb9d69eb4326911a5c62fc9f10b02ccf191a3046 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-03Fix sed syntax error in set_perf_images.shFeng Pan1-1/+1
Change-Id: Id5c4fd5e9073afec3253c47caf8981b43b2552c6 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-03Merge "Fix performance option handling"Tim Rozet2-2/+4
2016-06-03Merge "Add performance deploy file to common spec"Tim Rozet1-0/+4
2016-06-03Merge "Fix kernel parameter setting"Tim Rozet3-36/+1
2016-06-03Fix performance option handlingMichael Chapman2-2/+4
- 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-4/+1
Change-Id: Ibaf20a2960a9f4b5e3f256fbed12a61d7606a967 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-02Fix kernel parameter settingFeng Pan3-36/+1
We can use a single line command to change kernel parameters, it is not necessary to have a script. Change-Id: I8988464d9a84a223803c69e676483787de49b4ab Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-02Add performance deploy file to common specFeng Pan1-0/+4
Change-Id: I51e5829406722cd0e7ed3d923c5761853795b0cd Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-26Fixes broken spec with nic templatesTim Rozet1-6/+2
Change-Id: I764dced4aa8d0f2bb7ed992ae6b75a2b66b6efde Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-26Fixes deploy lib in spec and bug with return codesTim Rozet1-0/+1
Change-Id: If646ce606f96d0bcd6681ada193d60e6b59f93ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-25Fixes nic template missing in spec and error catchingTim Rozet1-0/+7
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-24Merge "Add pinning support"Tim Rozet5-2/+110
2016-05-24Fixes spec file for contrail and nosdn-nohaTim Rozet1-2/+4
Change-Id: I985a0af9ed678f1fe4d7741af25a27df65d8c479 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-24Add pinning supportMichael Chapman5-2/+110
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-23Limits engine workers for virtual deploymentsTim Rozet2-0/+18
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-22Change ONOS binary download to dropboxFeng Pan1-1/+1
Change-Id: Iaa246533b908327d0bac05f90aa6a1fc7a60c435 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-20Fix python3 dependency in spec fileFeng Pan1-7/+6
Change python compiler from system default (python 2) to explicit python3 during RPM build for apex common rpm. Change-Id: Ib979909c0987bceade9b65baabf2de0482aede46 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-20Fixes tenant network templatesTim Rozet2-20/+4
We only support vxlan tenant network types in OPNFV. There is no need to create a br-tenant. Change-Id: Ib84cde7207375ea033518dce99309620f575cb69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Disables OpenStack services not used in OPNFVTim Rozet1-0/+4
Disables: - swift - tripleO ring builder - Sahara opnfv-tht-pr: 13 Change-Id: I50c3338f0b071787c277390b39d86a4e42d30a46 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-08Change NIC template formatFeng Pan3-1/+335
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-2/+10
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-22Merge "updating ONOS build"Tim Rozet2-16/+12
2016-04-21Adds python IP utility libraryFeng Pan1-2/+10
Changes include: - IP utility library in python 3 that supports both IPv4 and IPv6 address generation. This library currently includes a single function of generating IP ranges or single IP for a given CIDR. More functionality will be added at a later time to support features such as IP address calculation. - Updated common-function.sh to use python library to generate IP ranges. All existing bash functions are preserved, so any callers will get identical IP ranges as before. - Add dependency to python3 for opnfv-apex-common package. - Add python dependency to build.sh No change is made to interface related functions. Change-Id: Idc6998754f9f3c7a3868ec5b5768f3bb5f78cd90 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-20updating ONOS buildDan Radez2-16/+12
- the ONOS build required the stable-images dir - also removing other stable-images references Change-Id: Ib51e4278ac80d7900064469f6d3c3a3532296270 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-20Adding missing RPM change log for utility contentDan Radez1-0/+2
Change-Id: Icf076eced87e24df5ac91d1a0a4ddd466ae66697 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-20Deploy ceph OSDs on the compute nodes tooDan Radez2-2078/+17
- Also fixing the github PR json parsing opnfv-tht-pr: 7 JIRA: APEX-89 Change-Id: I5c27209ed006309285bd24d77cc2392513325116 Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-12Adds Utility functions and failure loggingTim Rozet1-0/+4
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-12Adding dependencies to apex-common.specDan Radez1-0/+3
- initscripts net-tools iputils iproute iptables these are the packages that include the networking tools we use to configure the jump host JIRA: APEX-137 Change-Id: Icf2d2c2a80a4abb8642cb3e38d18a054a9f01a96 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12fixing PR_NUMBER evaluation when there is no opnfv-tht-pr in the commit messageDan Radez1-1/+5
Change-Id: I5abd9efe48a665f7a65201ec20805cd1a4001763 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12Get tht from github instead of rpmMichael Chapman1-4/+34
Use apex fork of tht instead of relying on rpms. Can get specific pull requests instead of default branch if specified in the commit message using the syntax: opnfv-tht-pr: [pull-request-number] Change-Id: Ib4c8edd1a94258406d06dd7e80b4ae4ec8ca6c53 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-08Merge "Updates to the iso build"Tim Rozet3-15/+130
2016-04-07Updates to the iso buildDan Radez3-15/+130
- refreshing to the Cent 7 1511 version of comps.xml - adding a graphical desktop install option - refreshing to the Cent 7 1511 version of isolinux.cfg - adding package depedencies for Mitaka ISO install JIRA: APEX-104 Change-Id: I73413270d2da656a4421f78a93504b611d300206 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-08Merge "Fixes controller Image to be overcloud-full"Dan Radez2-0/+7
2016-04-07Fixes controller Image to be overcloud-fullTim Rozet2-0/+7
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-07Fixing how we get the RPM version from the spec fileDan Radez1-1/+1
Change-Id: Ib7c1ccc1d82f6f6ef11f553d3f56cd3da35dc3b1 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-06Merge "Makefile & build.sh updates for RPM Building"Tim Rozet1-15/+36
2016-04-05Makefile & build.sh updates for RPM BuildingDan Radez1-15/+36
- fix the undercloud dependancy chain so the tarball gets rolled now - adding rpm-check jobs for each of the rpms, this runs the build but doesn't spit out the rpm file - added conditionals for rpm-check commands, only take the time to run them if the Makefile or specs have changed Change-Id: I9731b278d06d92deb3f69066ba4468e64647582d Signed-off-by: Dan Radez <dradez@redhat.com>