summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
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
2015-11-25adding installation instructionsDan Radez1-1/+1
JIRA: APEX-35 Change-Id: Iebbf85bd59844716961c27bb81ff7bbda2d1a1bf
2015-11-19Enabling options for passing configuration filesDan Radez1-20/+40
- virtual deploys still expect to pull pre-canned files from $CONFIG dir - non-virtual deploys now expect an instackenv.json and network-environment.yaml file in pwd on deploy JIRA: APEX-41 JIRA: APEX-49 Change-Id: Ib61ac7448917ec1ea728c23cb3406feab9058f77
2015-11-19enable network-isoaltion and opendaylightDan Radez1-1/+1
Change-Id: I2a506f95036b897309dbaf9120426bdf3f4a6337
2015-11-17adding basic network isolationDan Radez1-12/+24
- separating external traffic from internal traffic JIRA: APEX-41 Change-Id: Idcd01a514083c53a3133a75d3bcabf824a7a4377
2015-11-12fixing non-ha deployDan Radez1-2/+3
The instackenv has 5 nodes in it but we were only putting two back into the pool. This patch puts all 5 back in the pool but doesn't throw the ha flags JIRA: APEX-45 Change-Id: I1c539eafca9ed2f674a1a954f75c175fe9efc5bb
2015-11-11Merge "adding the opendaylight integration"Tim Rozet1-1/+9
2015-11-08arg parse updatesDan Radez1-13/+5
- replacing the echo | cut with bash string slicing - replacing underscores with dashes in long args - adding no-ha to the usage display Change-Id: Ie87709c60a485bbcd97f168207e03d43bd85f24a
2015-11-07adding the opendaylight integrationDan Radez1-1/+9
Change-Id: Iaaf5cbc790abd3b7af6f94b4e6d7e8ecfbbc6534
2015-11-04end user messaging and ssh options updateDan Radez1-2/+4
- updating end user output - adding option to ssh to supress excessive warnings Change-Id: Ibe44b4a580bcb1e60899b8f8aca8cbadc8e447a9
2015-11-02Adds HA support to deployTim Rozet1-3/+18
Defaults the deploy to use HA and adds new param for using non-HA. JIRA: APEX-40 Change-Id: Ib3fc8b31ea13a3c590ceaa875197b4b9c1bb55a1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-10-26minor update to build dependanciesDan Radez1-3/+0
removing libvirt package depenency, qemu-kvm maybe enough probably will have to evolve this list over time remove the openvswitch agent bounce from deploy this was a workaround for a bug that has been fixed Change-Id: Iad556da3b08cca234bd4d584b1a42b6fa45d6e4f Signed-off-by: Dan Radez <dradez@redhat.com>