summaryrefslogtreecommitdiffstats
path: root/lib/overcloud-deploy-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-03-29Pins ODL L3 VPP/HC packagesTim Rozet1-2/+10
JIRA: APEX-421 Change-Id: I18a1624af96be772820938e3138666c51b10301c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-28Merge "Adding OVN as an SDN option to Apex"Tim Rozet1-0/+20
2017-03-28Merge "Fix quagga user and dirs"Tim Rozet1-0/+3
2017-03-27Fix quagga user and dirsNikolas Hermanns1-0/+3
The rpm spec of quagga still misses the correct user and dir setup for quagga. This is the jira to remove this later on: https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-130 Change-Id: I71885a6b177443f58d0c093833e76656eb83b428 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-27Adding OVN as an SDN option to ApexDan Radez1-0/+20
JIRA: APEX-129 opnfv-tht-pr: 111 opnfv-puppet-tripleo-pr: 18 Change-Id: I71de5802ed476b6f78ad5a718ac15d9aec9a6a1d Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-27Disables ODL clustering for FDIO+ODL scenariosTim Rozet1-0/+9
ODL clustering has issues with VPP mounting, so we are disabling clustering for now and should have the bug in ODL fixed by Danube 2.0. Change-Id: I19b9c9167596105a3197de8c5a537bed1280f241 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-27Merge "Apply NSDriver patch for neutron for all FD.io scenarios"Tim Rozet1-1/+1
2017-03-26Removes neutron ovs agent systemd when not nosdnTim Rozet1-0/+10
Bug in ovs agent systemd where it is started when openvswitch is restarted. This is causing ODL DPDK deployments to fail because openvswitch is creating br-int as type system instead of netdev. JIRA: APEX-427 Change-Id: Iea7f6a5553d2ca1f372f4dec82f576d62827e887 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-24Replace ODL version for odl_l2-fdio scenarioFeng Pan1-9/+8
Change-Id: I9e6c8c001c4324a936ad11ecea7eb34b0bbb83b2 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-24Apply NSDriver patch for neutron for all FD.io scenariosFeng Pan1-1/+1
Change-Id: I548a6c948a276f05fd2bb0c2b6bcb9ee8d96deb8 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-24Fixes OVS DPDK scenariosTim Rozet1-17/+40
This fixes nosdn OVS DPDK scenarios to work with OVS 2.6. It also adds support for the ODL DPDK scenario. OVS DPDK configuration is done during preconfig on compute nodes. All nodes make use of first boot script to get kernel params like hugepages. The network settings are modified to use real nic names for the virtual network settings file. This is required due to a timing bug with os-net-config and using first-boot script. The network settings file also contains the UIO driver to use with DPDK. JIRA: APEX-314 opnfv-tht-pr: 117 Change-Id: I46b6fca71ecec38981968133ba2411f64d7c6445 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-23FDIO package version pinningFeng Pan1-8/+8
We are seeing some instability in latest FDIO packages, so pinning them for now. Change-Id: Iaf851bfe2f8c8ba9fe0e2da6979e61f71abeccbe Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-17Fixes neutron patch to only apply when ODL + FDIOTim Rozet1-3/+10
We don't want the neutorn patch which hardcodes router external interface to OVS and adds generic NS linux interface driver to be applied for every scenario. JIRA: APEX-406 Change-Id: I0fd7ed07a5ff58f9e1565831f4f469c11b501385 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-17Merge "Add networking-vpp ML2 support"Tim Rozet1-3/+16
2017-03-16Removes vpp-devel from package installTim Rozet1-1/+1
Change-Id: I16f5defdd47f19095f97414f46cd9e12d3c53b19 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-15Add networking-vpp ML2 supportFeng Pan1-3/+16
opnfv-tht-pr: 113 opnfv-puppet-tripleo-pr: 16 os-net-config-pr: 5 Change-Id: I0c34889db27fd71e1b73e860850b81a08707c324 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-14Remove 80-vpp.conf for odl_l2-fdio scenarioFeng Pan1-0/+1
We remove and reinstall VPP package for odl_l2-fdio scenario, but we never removed 80-vpp.conf file during the reinstall, causing hugepage always being set to 1024. JIRA: APEX-399 Change-Id: Ifda525517318e4797e4f7809730602ca59b7b6bc Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-10Add support for odl_l3-fdioFeng Pan1-8/+12
This patch adds support for ODL L3 FDIO scenario. Introduces a new deploy settings parameter, odl_routing_node, to indicate the routing node's hostname. This parameter will only be used for this scenario. Change-Id: I8df3eb701299007761c6cec42c4ca318b124a0b8 opnfv-tht-pr: 108 os-net-config-pr: 4 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-10Fixes mismatch for Java APIs between HC and VPP and L2 pkgsTim Rozet1-0/+8
This copies the same API jars used for VPP to the Honeycomb to help workaround the issues we are facing of incompatible Java APIs between HC and VPP versions. It also locks vpp/honeycomb/odl to known working packages for L2 scenarios. Also increases overcloud disk +400MB to accomodate more vpp pkgs. opnfv-tht-pr: 122 Change-Id: Id803834e1f1fa352778784da9ac246ab9c58a3b1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-09Adding "Real Time KVM" supportdavidjchou1-6/+10
Adding the support to run the "Real Time KVM" kernel in the compute node(s) to reduce the network latency caused by the virtualization of the network functions. Since the current "Real Time KVM" kernel doesn't support physical to logical network interface mapping yet, we need to use the real physical interface name rather than the logical interface name for all compute interfaces in network_settings.yaml. Also updates tests for the network settings changes and fixes a bug where interface was being queried on the controller nics before it interfaces were validated. JIRA: APEX-128 Change-Id: Iccb6c9fbdcf7e3b482f4283039ef17c38e0a6df7 Signed-off-by: davidjchou <david.j.chou@intel.com> Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-08Disabling ONOS from DanubeDan Radez1-6/+8
Integration work for ONOS in Danube was not completed. Disabling this scenario for this release. Disabling completed mostly by commenting out sections enabling easy re-enabling next release once integration work is completed. Change-Id: I1d7b457e8234bf6bb299b9908b356040e68370e5 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-22Adding congress support back into DanubeDan Radez1-0/+5
opnfv-tht-pr: 97 opnfv-puppet-tripleo-pr: 10 Change-Id: Idfc109fc984f20b096a23d12864a027146a9c74c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-18Merge "Add support for odl-fdio scenario"Tim Rozet1-70/+24
2017-02-17Adding Quagga to buildRomanos Skiadas1-0/+9
Builds 6Wind ZRPC, Quagga, and dependencies required for OpenDaylight with BGPVPN scenario. Packages are built into RPMs, and left on the overcloud disk in /root/quagga. They are then installed at deploy time if VPN feature flag is enabled. Note, for proper upstream we should create a zrpc OOO service, but that can be a follow up patch. For that we would also need official packaging/build system upstream somewhere. JIRA: APEX-357 Changes Include: - Build thrift rpm - Build c-capnproto rpm - Build quagga rpm - Build zrpcd rpm - Configure bgpd - Detect deploy with VPN and install pkgs - Enable zrpcd with systemd Change-Id: I9825694f46aaab48a3d1cd5fc4d9a24c7370e8fa Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-18Add support for odl-fdio scenarioFeng Pan1-70/+24
Changes: - Kernel parameters are now set through first-boot.yaml during deployment. No custom images will be built. Note that all nodes will be configured the same way, we only use compute's kernel parameter settings currently (from deploy settings file) - Add support for VPP interface type in network settings file, it is now possible to specify vpp_interface type and uio_driver for tenant nic in network settings file. A new example config, network_settings_vpp.yaml is added. - Add support for odl_l2-fdio scenario. Limitations: - Physical NIC names must be specified in network settings file, numbered nic names such as nic1 are not supported for fdio scenarios. - The same kernel parameters will be configured for all nodes. The paramters will be taken from compute kernel parameter section in deploy settings file. opnfv-tht-pr: 104 opnfv-puppet-tripleo-pr: 12 os-net-config-pr: 3 Change-Id: Ie9d6151e6e58d11da3c66fbcabe4a0886c3fa152 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-02-16Removes cinder quota show in post installTim Rozet1-1/+0
We used this a while back for additional debug output to prove the quota setting were correct. Now with composable services, it isn't always guaranteed that cinder is used. Since we don't use this output for anything, this patch removes it. Change-Id: I27ba64761a5ec1bfbe9da0c3e331ba91010d1186 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13Adding tacker support back into DanubeDan Radez1-5/+4
opnfv-tht-pr: 98 opnfv-puppet-tripleo-pr: 11 Change-Id: I971bb2c94eb9500c81b25adf5019fd02f8e90053 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-10Adding gluon to the Build and DeploysystemGeorg Kunz1-0/+3
In order to make gluon really deployable some more things need to be done: - Add pull request 103 which add yaml files which point to gluon puppet - Rename the scenario to odl-gluon similar to bgpvpn scenario - Add tht of gluon to overcloud-deploy-functions.sh JIRA: APEX-379 opnfv-tht-pr: 103 opnfv-puppet-tripleo-pr: 13 Change-Id: I3ccfb5a279f1df21c4da79fc47039b3c0b6e5495 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-02-07Use RDO packaged networking-odlFeng Pan1-12/+1
We currently use networking-odl package from opnfv fds repo, this is no longer needed as networking-odl is packaged in RDO. Change-Id: Ie9301cd627ab5131d4cd698dd7e4ef435d8e59c0 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-02-06Adding networking-bgpvpn; use new neutron-opendaylight-bgpvpn.yamlNikolas Hermanns1-3/+1
opnfv-tht-pr: 100 Change-Id: I5db74e9ec74d6d03fde1650739d934ddfeec45ec Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-22Fixing typoMark Beierl1-1/+1
Command argmument needs two dashes. Change-Id: I6582dec83f68fe91b0f221ff610aa4149547b32a JIRA: APEX-296 Signed-off-by: Mark Beierl <mark.beierl@dell.com>
2016-12-21Merge "Updating ENV var names to better reflect what they point to"Dan Radez1-3/+3
2016-12-21Merge "Adds declaring disk device to use on overcloud nodes"Dan Radez1-4/+12
2016-12-21Updating ENV var names to better reflect what they point toDan Radez1-3/+3
- Also removing a stale file Change-Id: Ice2f9b4f9961bcd7f05278f11995aa0af237ac8e Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-20Fixes ODL spelling error on carbonTim Rozet1-1/+1
Change-Id: I66938516c9b51a94ee398d0ed2696a95c97f992b Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-20Adds declaring disk device to use on overcloud nodesTim Rozet1-4/+12
Now in inventory file a user can declare 'disk_device' which will allow the user to specify which disk on their overcloud server to use for installation. The variable can be a comma delimited list, which will search in order post-introspection for the first device on the node that exists. The default disk used will be sda for deployments. Currently defining a per node disk is not supported by OSCLI, so although defined that way in Apex inventory, only the last definition will be used for all nodes. Other changes include: - Various fixes in inventory parsing - Makes bash writing a common function - Introspection now enabled for baremetal deployments JIRA: APEX-296 Change-Id: I330d91eb17408ccfceb7a99c25edbae5ce6d848d Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-16Fix odl_version text with comments (Boron->boron).Tomofumi Hayashi1-0/+2
At present, odl_version is case-sensitive hence opnfv-deploy fail with 'odl_version: Boron'. So the change fix it. Change-Id: Ifd611c56b9802b4c5033728e70cce03eb55985cf Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2016-12-13Adds stripped down ODL CSIT deploymentTim Rozet1-8/+10
Introduces new (hidden) cli option to change composable env config. This parameter then will use the provided file, for example, csit-environment.yaml instead of the typical opnfv-environment.yaml. The effect is using less services required for ODL CSIT snapshots. Note: this will not work with perf options, but those are not required currently for ODL CSIT. CSIT also does not need ceph, so providing a new deploy option to allow disabling it. JIRA: APEX-362 Change-Id: If3833b1acceeb23ef9e12c90df6cc9607bd8c724 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-29Updates FD.IO ODL scenarios to use Carbon ODL versionTim Rozet1-2/+12
JIRA: APEX-346 Change-Id: I9ffa32da906f50441dfc05610d0668e84c992e81 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-14Updating heat cli calls to converged cliDan Radez1-1/+1
In newton the heat cli is deprecated: WARNING (shell) "heat stack-list" is deprecated, please use "openstack stack list" instead WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead Change-Id: Ia32f05c72500e5fdd525c32a9b41b2be3cb1599c Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-11Merge "Migrate to stable/newton"Tim Rozet1-4/+2
2016-11-11Migrate to stable/newtonTim Rozet1-4/+2
os-odl_l2_nofeature is now deprecated since new netvirt only supports odl_l3. JIRA: APEX-299 Change-Id: I3557ecb85fa4cd11bba96aa9410e56a8e8cceb00 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-28Merge "Add support for isolcpu and VPP thread pinning"Tim Rozet1-0/+4
2016-10-27Add support for isolcpu and VPP thread pinningFeng Pan1-0/+4
Also depend on https://github.com/radez/puppet-fdio/pull/14 JIRA: APEX-337 opnfv-tht-pr: 92 Change-Id: Ic3d2f04bfd1983c38e09a2bfa3992a572fc9c6c1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-10-26Fix syntax error in overcloud-deploy-functions.shFeng Pan1-1/+1
Change-Id: Ie13eaac89c8ce60d7e8c36d21437d536c758688a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-10-19Use correct OVS version for SFCMichael Chapman1-6/+9
JIRA: APEX-334 This regressed when we moved over to installing the replacement ovs at runtime instead of build time Change-Id: I0fec6b68be56a3aa41e502c2e09375aca34be22c Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-10-19Revert "Use SFC OVS version for ONOS when SFC is enabled"Tim Rozet1-9/+7
This reverts commit 33bb282dbbea2a2f17c5b3153e60dfff30c4bb15. Change-Id: I1136c1bd2570a1de50c861c7285434cd244d3b2a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-18Use SFC OVS version for ONOS when SFC is enabledMichael Chapman1-7/+9
JIRA: APEX-334 This regressed when we moved over to installing the replacement ovs at runtime instead of build time Change-Id: I9624dd32f84e47e3e92dbb091655280b44734e25 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-10-12Consolidate ODL SFC RPM into ODL RPMDan Radez1-9/+1
OVS NSH can be installed at deploy time. Change-Id: Ie875ada99053df95c6534e269f4dd627396489bc JIRA: APEX-324 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-12Conditionally install OVS NSH in ONOS deploymentDan Radez1-1/+7
OVS with NSH should be installed only if we're enabling SFC in an ONOS deployment JIRA: APEX-331 Change-Id: I54826bb2d62b20c42f00c856d8458444f2f795e5 Signed-off-by: Dan Radez <dradez@redhat.com>