summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-01-28Merge "Fixes cinder keystone auth"Dan Radez1-0/+1
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 Radez1-0/+8
2016-01-22Adds licenses and fixes ODL L3Tim Rozet1-0/+8
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 Radez1-0/+2
- 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 Rozet1-2/+7
2016-01-09Fixes attaching instack interfaces to hostTim Rozet1-2/+7
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-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 Rozet1-50/+247
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 Radez1-3/+10
2015-12-15Fixes various corner cases with clean and deployTim Rozet1-3/+10
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>
2015-12-08syntax fixes for if statementsDan Radez1-10/+10
Change-Id: I3ff4b0e9aecff8fc193017d0dc4cd3c4c1a6339c Signed-off-by: Dan Radez <dradez@redhat.com>
2015-12-07switching to RDO build undercloud instead of building it ourselvesDan Radez1-14/+26
Change-Id: I9f09c195352d2d88a3da4f42e09424d96d39722b
2015-12-07Merge "Parses yaml files into deploy + other fixes"Dan Radez1-29/+256
2015-12-07Parses yaml files into deploy + other fixesTim Rozet1-29/+256
This patch allows deploy_settings.yaml and inventory settings to be passed in via cmdline. The deploy settings are overridden by cmdline arguments. For example, if a user specifies no_ha in cmdline it will override what is in deploy_settings.yaml. The inventory file provides yaml input for the baremetal topology. Fixes include: - New arguments for passing inventory and deploy_settings - "global_params" in deploy_settings are set as globals in script (unless already set via cmdline) - "deploy_options" are loaded into an array, and checked for deployment options (such as which SDN controller to use) - inventory file is parsed (for baremetal) into correct instack json output. The output is then written to a temp instackjson file and used for deployment. - renaming of copy_materials to copy_materials_to_instack - spelling fixes - cmdline argument checking with errors and warnings Note this patch does not yet tamper with setting network-environment settings. JIRA: APEX-53 Change-Id: I9dce197e23563480c584650ba967898312eab4e7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-12-07adding quotes to a string check in deployDan Radez1-2/+2
Change-Id: I41881c914494e329570c76fba9f4e0f1dce50e50
2015-12-04Merge "adding build deps that have had to be installed manually"Tim Rozet1-7/+7
2015-12-04adding build deps that have had to be installed manuallyDan Radez1-7/+7
Change-Id: I1af7ffdb1d1e4b96b31b44f2750de23b55d9d540
2015-12-03adding flag to use flat underlay networkDan Radez1-13/+14
Change-Id: I12cbb68df993e27f9ff3c41185c4682a64349736
2015-12-01adding some error handlingDan Radez1-17/+38
- make sure we connect to Instack - enable the ping site to be configurable - put ntp server in a variable so it can be made configurable later Change-Id: I2ec30f6bab0b48ec878bd25790145f7fff00964a