summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-04-29Rebasing opnfv-tht Colorado with ODL patchesTim Rozet1-2/+2
Purpose of this commit is to test opnfv-tht changes are not breaking nosdn deployment. opnfv-tht-pr: 10 Change-Id: I85da61a9591999d1249d55700241d71256019a81 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-22Change storage refresh to pool-refreshFeng Pan1-2/+2
Using pool-refresh should be sufficient to clean up storage pool. Change-Id: I10a58340c4c24b429a2d46d8c9f5a469fd4e18f2 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-21Adds python IP utility libraryFeng Pan1-0/+9
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-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-12Forcing a libvirtd restart on cleanDan Radez1-0/+3
- ensures the storage vols are cleaned up properly Change-Id: I55c0dbcbbc884658b9e37e34aa85d00e29e99b57 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12Adds Utility functions and failure loggingTim Rozet2-1/+80
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-05Makefile & build.sh updates for RPM BuildingDan Radez1-5/+38
- 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>
2016-04-01Migrating to MitakaDan Radez2-28/+31
- 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 Radez2-64/+67
This commit is not backwards compatible with cleaning. VMs named Instack will need to be manually removed. Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4
2016-03-24Fixes occasional VM stoage deleltion failureFeng Pan1-2/+2
Removes --remove-all-storage option in ci/clean.sh JIRA: APEX-121 Change-Id: Ia8063112333d12d09cfb16dd1a02e14551dae7d7 Signed-off-by: Feng Pan <fpan@redhat.com>
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 Radez3-490/+231
- 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-04Merge "Touch baremetal images before vol-delete"Tim Rozet1-0/+1
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-29Touch baremetal images before vol-deleteMichael Chapman1-0/+1
Similar to the instack line above, the vol-delete will fail if the baremetal image file is not present. This can happen if the disk runs out of space during copy, for example. Change-Id: Ib3a60dd03c3f7172cb59ade30e745397410e3ef2
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>
2016-01-27Allows ONOS to use compute nodes with br-ex no IPTim Rozet1-1/+3
ONOS needs the capability to have br-ex on compute nodes with no IP for L3 functionality to work correctly on baremetal. This patch allows that capability, and makes it default behavior (sdn_l3 true). If desired, a user can set sdn_l3 to false, and compute nodes public interface will be a regular interface with no IP for ONOS deployments. JIRA: APEX-64 Change-Id: I578b946edbddf7fc9c29363c78fec2c3ada48cf6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-26Patches keystone endpoint setup to include AodhTim Rozet1-0/+16
Note this behavior has changed in TripleO post Brahmaputra. The endpoints and services are created in THT rather than hardcoded in tripleoclient. JIRA: APEX-65 Change-Id: Ie595f2778fb509213e2992bf1ef60df82cf22666 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-25Fixes ONOS external networkTim Rozet1-0/+2
ONOS public network needs to not have IPs on the compute nodes' public interface. JIRA: APEX-64 Change-Id: I0d4d97b1b7dcaa39395940da03ae6b19f1dd9eb0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-23Merge "Adds licenses and fixes ODL L3"Dan Radez2-0/+16
2016-01-22Adds licenses and fixes ODL L3Tim Rozet2-0/+16
JIRA: APEX-62 Change-Id: Ide34d9971cd6ac987b5994f5e23b4cfa58f92b29 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-22adding nf_conntrack_proto_sctp to modules-loadDan Radez1-2/+2
JIRA: APEX-63 Change-Id: I4155111eb2c19d74e0f265ccac25756f35bb41a0
2016-01-21adding SFC overcloud imageDan Radez1-7/+21
JIRA: APEX-46 JIRA: APEX-48 Change-Id: Ic2a0d9035429c5887d10f60febacff63dd2eeb5e