summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-03-01Adding SDNVPN supportDan Radez1-2/+5
Change-Id: Id2d6d46a53129d4ae2f93fad835536da067e42df JIRA: APEX-51 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit c86bd1f24647646b7489cd72e0a0bb91f4a505f1)
2016-02-26fix 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> (cherry picked from commit 034166ea6f9330310789407d8a124812042f305d)
2016-02-19sfc 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> cherry-picked from 01b56b61e6dc1f4eb34787fca498eb624a2dcb64
2016-02-17Ensure shell doesn't exit even when eval succeedsMichael Chapman1-1/+1
Change-Id: I38416967c72b03ae443d3ffa9e24fa23ad24ff74 (cherry picked from commit bc44e8d441cf239f3a8ed6e6f4f924be2ef18c41)
2016-02-17external network creation fixDan Radez1-5/+3
Change-Id: I618a6d6e762a464751d61c070571df400a3c8eda cherry-picked from: 53122093b40ad3c53a83cc1595b0a2afe6c79378
2016-02-16Merge "Adding error checking" into stable/brahmaputraDan Radez1-15/+34
2016-02-15Adding error checkingDan Radez1-15/+34
Change-Id: I515ac692a1a2251f16f4b9e06f94c6a626374285 JIRA: APEX-81, APEX-69 (cherry picked from commit 2ae5311eee12b177054b002febea203b17b7cd8b)
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 (cherry picked from commit 652104ebd6c0d0baba22ffc6486512ade19c043d)
2016-02-12Merge "Display overcloud dashboard URL after deploy" into stable/brahmaputraTim Rozet1-1/+7
2016-02-12Merge "Fixing an incorrect variable name" into stable/brahmaputraDan Radez1-1/+1
2016-02-12Display overcloud dashboard URL after deployMichael Chapman1-1/+7
JIRA: APEX-82 Change-Id: I0f2164a67b425ae5c99cd6bfee2182b23867b4cf (cherry picked from commit 82e32f63fd821baeddbe369d194d8c69f1cef358)
2016-02-11Aggregate 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 (cherry picked from commit 162d5317062198c8ae2193715b90abb2e43bb3f0)
2016-02-11Fixing an incorrect variable nameDan Radez1-1/+1
Change-Id: I034bd9712ed06992dca59e2b362ef535cf3ab4d2 JIRA: APEX-96 (cherry picked from commit 5097f43156fe364b4e1c04c5771f096b3ddc2059)
2016-02-10Move external net into service tenantMichael Chapman1-2/+3
Change-Id: I3474118e58ae4946abfe9e74bb73084aad3634b2 JIRA: APEX-88 (cherry picked from commit 7d42556e112c2993b32d6bbb93b3955f4d6cc78c)
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 (cherry picked from commit 14615deb11b91e102f86673ef6cdc97337f46b95)
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 (cherry picked from commit a0146be0bbe7941a2767667135f5ca8718cbd7b0)
2016-02-04Touch 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 (cherry picked from commit e8a74a21aa0e477bdb9293bf37d546412d8427d1)
2016-02-02fix 'unary operator expected' in conditional expressionRyota MIBU1-13/+13
Change-Id: I6c8bd9a949b1b818bedd4994f490da4a703ee6a5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit 3dd004f69a66c917d1ec799b448817d5efade357)
2016-02-01Fixes 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> (cherry picked from commit 910f7c156549c14d3e635eab2707c87790116439)
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> (cherry picked from commit 13984a4de5090f961b2cf2c1923ffa72f1488343)
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
2016-01-19Fixes ODL L3 so that it now deploys correctlyTim Rozet1-1/+3
Fixes: - opendaylight was not being installed on controllers due to missing param - controller nics were not being found due to using computes extension of br-ex for ODL L3 (controllers have br-ex by default) Change-Id: Ic1b6d57fe162194030607856120a742dbed1e9e2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-17Adds ODL L3 and external network support on compute nodesTim Rozet1-2/+12
Adds support for ODL L3 which uses DVR (distributed virtual routing). Due to DVR compute nodes must have br-ex. In addition, neutron must force metadata via dhcp agent, since there is no neutron L3 agent running. ODL L3 runs as custom plugin to neutron. Also adds support for configuring IP on public NIC now by default. This is needed for ONOS deployment, and access via public interface. Change-Id: I5df0e49bd903efacf8c87486da27576b01ce5779 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-16add step to execute gw_mac_update.sh after apex deployedbob1-0/+19
Change-Id: I47c316e26ff8e597c781562645397335e8c5bd70 Signed-off-by: bob zhou <bob.zh@huawei.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-15Adds scenario deploy settings filesTim Rozet1-2/+7
Changes include: - Scenarios for opencontrail, onos, sfc, odl l2/l3 - Minor fix to error print statement - Post Config is now disabled when using --flat Change-Id: I5f3686dda4c4a573b1777916669053593852676a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-14Merge "Deploy failed due to .ssh already existing"brahmaputra.1.rc0Dan Radez1-1/+1
2016-01-14Deploy failed due to .ssh already existingMichael Chapman1-1/+1
In a local test, I observed virt-customize failing during ssh key injection Injecting ssh key to instack VM [ 0.0] Examining the guest ... [ 48.0] Setting a random seed [ 48.0] Running: mkdir /root/.ssh/ mkdir: cannot create directory '/root/.ssh/': File exists virt-customize: mkdir /root/.ssh/: command exited with an error Adding -p should prevent this from happening. Change-Id: If8f085cba3083ccf3d5e8f648a9830f142ea53d9
2016-01-13Fixes attaching networks for baremetal only to admin/publicTim Rozet1-0/+3
We should only bridge to admin/public for baremetal deployments. There is no reason for us to bridge to the private or storage networks on instack for deployment. Also fixes OpenDaylight to Lithium 3.3 Change-Id: I2eb8f83ddbcb69d3219e7927025b46dcb9550ba9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-13quick fixes to deploy and cleanDan Radez2-2/+4
- adding a missing exit 1 in the deploy script - setting link up on hypervisor bridges - redirecting error from cleanup commands so they're not so chatty Change-Id: I844c35effb2817948ea096b07a34d83678803e00
2016-01-13Merge "Enables private and storage networks"Dan Radez1-5/+61
2016-01-12Enables private and storage networksTim Rozet1-5/+61
Fixes issues with common-functions: - ipcalc in epel is old and does not support HOSTMIN,HOSTMAX. Now BROADCAST and NETWORK values used to find first and last IP in subnet. - fixes to auto-generation where values conflicted for IP ranges - provisioner_ip now generated correctly Change-Id: I03c7f841d2e1edb1a50041f53970318b6a718cd9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-12Fixes neutron net creation for post configTim Rozet1-1/+1
Neutron external net should be creatd on overcloud Change-Id: I2c845e9af40d5dbe0106e542e24b9ef1b6169e31 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-12Adds post install configurationTim Rozet1-2/+58
Changes include: - Neutron external network now configured post deployment - IP addresses assigned to admin and public OVS bridges if missing Change-Id: I7a3e8822b43640578db809c3f4d55f399383c1f1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-12Merge "dumping deploy command into a file to save it for redeployment"Tim Rozet1-0/+4
2016-01-11enabling cephDan Radez1-0/+8
Change-Id: I2dc1bf7ffebb6a83face87a62a81cfb15f9a0689
2016-01-11dumping deploy command into a file to save it for redeploymentDan Radez1-0/+4
Change-Id: I482e84bbe3f21f425e6bce74fdfa16f71bf12654
2016-01-10Fixes attach/detach functions and minor netenv fixTim Rozet1-0/+1
Tested manually and verified on LF pod1 Change-Id: I882ad9beef003a795585ffb8542aa11aecb67949 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-09Merge "Fixes attaching instack interfaces to host"Tim Rozet2-4/+16