summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
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
2016-01-09Fixes attaching instack interfaces to hostTim Rozet2-4/+16
This applies only to baremetal deployments. Interfaces from admin and public networks are attached from the host to the OVS bridges brbm and brbm2 for external connectivity. Change-Id: If3f5b33eab267e05ee9094396daa40f37e69319a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-08Adds onos supportbobzh1-2/+1
Changes include: - ONOS artifacts are cached on build server until moved to OPNFV artifacts - tht patch is now unified to single opnfv patch, based on upstream commit 0f41e0d0309c7bc061dbaed6a8c1e38cb4bdfe19 Change-Id: Iea3d14773dded6c9709c08ef1beb47b254582860 Signed-off-by: bob zhou <bob.zh@huawei.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-08Moves builds to use local images, minor fix to cleanTim Rozet1-1/+7
Change-Id: Ib8a3baa645c4e2a2b7b5c39e8642bae367981f37 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-07Moves rdo images URL to a new location for opnfvTim Rozet1-1/+3
Change-Id: I4e16b4a4432c935715f0522956614c891a695f70 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-06Adds some network parsing for baremetal deployments and other fixesTim Rozet2-63/+258
Changes include: - Fixes Intel Pod 2 inventory file - Check for DHCP server on the host and disable - Adds realistic+common network-settings file - Modifies baremetal deployments to bridge to correct interface - Adds private/storage network OVS bridges - Parses network-settings into valid network-environment variables - If certain network-settings are missing they will be auto-detected Note: The actual settings set forth for deployment only include admin/external networks at the moment. Private/storage networks will be handled in an upcoming patch. JIRA: APEX-50 Change-Id: I0a1a86f37c08702a93fe167688c3149ba5573db4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-05Merge "Image fix to force flavor to be 39GB"Tim Rozet1-3/+13
2016-01-05Image fix to force flavor to be 39GBTim Rozet1-3/+13
Testing if this fixes current CI breakage Change-Id: Ib4f75a9a1772c5363afab6d24b7a254f8cf6f6f8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-01-04Merge "cleaning out some tarball manipulations from Makefile that are ↵Tim Rozet1-1/+1
unnessesary"
2015-12-21Added node role configurationViktor Tikkanen1-1/+10
If there are dedicated HW nodes for controller and compute nodes, it should be possible to define node roles in configuration files. This patch introduces "capabilities" property into pod_example_settings.yaml so as adds needed flavor definitions and overcloud deploy parameters into opnfv-deploy script. Change-Id: Ie62d3fa215aa168390d074c73fdb2fa03ecc67f5 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-18cleaning out some tarball manipulations from Makefile that are unnessesaryDan Radez1-1/+1
Change-Id: I4a585a5e72872fa1887aa4487ebd7b17d07feacc
2015-12-18Adding network configuration optionsDan Radez1-19/+50
- enabling subnet configuration for undercloud - enabling external network configuration Change-Id: Id1951d31faa1a68f850a75e2466d30b8abcea8ac
2015-12-16Merge "Fixes various corner cases with clean and deploy"Dan Radez2-5/+12
2015-12-15Fixes various corner cases with clean and deployTim Rozet2-5/+12
Fixes Include: - Fixed info print statement when using flat network - deploy now looks at arp table as well to determine instack IP address as default leases file may not exist - clean now uses --pool with vol-delete command JIRA: APEX-50 Change-Id: I664fd06e92e0890e0b65191851dfa81f8d8ac492 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-12-15fixing disabling l3 HA neutron option and removing duplicate ntp optionDan Radez1-3/+5
Change-Id: I6e3a4266be28b0f661e4b8e818c616000060905b
2015-12-14updating the OpenDaylight patchDan Radez1-8/+4
- using the proposed patched for upstream - ensuring l3_ha is disabled - exposing support for an ODL only node Change-Id: I6f4a50300ea08322eea4ba466fc1a3b0fbcb5743 Signed-off-by: Dan Radez <dradez@redhat.com>