summaryrefslogtreecommitdiffstats
path: root/lib/overcloud-deploy-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-29Remove workaround for vhost-user bindingjuraj.linkes1-2/+0
A fix (https://review.openstack.org/#/c/476947/) for bug https://bugs.launchpad.net/networking-odl/+bug/1696968 has already been merged, no need for this workaround anymore. Change-Id: I8e0657e8cf8dcd2045015e086fe591ec50da62d3 Signed-off-by: juraj.linkes <jlinkes@cisco.com>
2017-06-16Workaround for vhost-user bindingjuraj.linkes1-0/+2
This is a workaround for this bug: https://bugs.launchpad.net/networking-odl/+bug/1696968 JIRA: APEX-475 Change-Id: Ic115e094c2906d6572d6af411872d5584e665aec Signed-off-by: juraj.linkes <jlinkes@cisco.com>
2017-05-31Updates ODL source for netvirt+vppTim Rozet1-2/+2
Change-Id: I7ffb445ba44bfc904240658b0c3a137b44af28e8 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit f88bfbcb62c2a8b3de12a325482146d1118b39f7)
2017-05-26Update puppet-opendaylight git repo urlFeng Pan1-0/+9
puppet-opendaylight moved from github to opendaylight.org, updating url for git clone. JIRA: APEX-455 Change-Id: I8e4a919d9c8b3dedb62c12135cc1b2741413bc34 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-13Do not enable bgpd during deploymenttomsou1-1/+0
Do not enable bgpd in order to resolve the race condition between bgpd daemon (enabled within apex deployment) and the bgpd started by 6wind zrpcd in the frame of testcase 3 of sdnvpn. JIRA: APEX-448 Change-Id: I3dfd41280e86e8a85b2269518abd8a504391de61 Signed-off-by: tomsou <soth@intracom-telecom.com> (cherry picked from commit b63857ee231134fe9af6c5667d40a8f4f2b8555d)
2017-05-08add onos deployment stepsbobzhou1-8/+8
opnfv-tht-pr: 128 opnfv-puppet-tripleo-pr: 23 Change-Id: Ib99f7e3968ed03bd86ca0de9c6c37c9871921486 Signed-off-by: bobzhou <bob.zh@huawei.com> (cherry picked from commit 266e9a5336defeff5f10331ab8316d69e7b20cc1)
2017-05-04Add support for interface role mapping for odl_l3-fdio scenariosFeng Pan1-0/+2
JIRA: APEX-445 opnfv-puppet-tripleo-pr: 24 Change-Id: Idbb855badae2f2b91202961c12931ba54be1beaa Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-04Enable OpenDaylight clustering mode for FDIO scenariosFeng Pan1-9/+1
JIRA: APEX-450 Change-Id: I6d570c19ff5286b1307e38eee439116839b1d612 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-03Fixing BGPD service is not runningNikolas Hermanns1-0/+1
Change-Id: Ia94a82cda8cd2c8c052bfd3454e3753b6eb54288 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit 16d8540f09d494f86db448b91aa47cfad126af03)
2017-04-28Migrates quagga install to build timeTim Rozet1-2/+0
It is OK to have quagga installed at build time, we just want to avoid enabling it unless quagga is deployed. Change-Id: I41899d697a24976c3b169b3b8f5eef5c0df6bed4 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit f50f469ff5db3fd54c49cc932ff7791c406891cf)
2017-04-28Update VPP/ODL versions for FDIO scenariosFeng Pan1-26/+6
Pin the same set of FDIO and OpenDaylight versions for all fdio scenarios. Note that fdio_netvirt-fdio still uses a customized ODL version. JIRA: APEX-451 Change-Id: Ic5ac5aeead9967fe383447e23653276cde2dfe60 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-27Fixing zrpcd is not startingNikolas Hermanns1-6/+5
JIRA: APEX-437 JIRA: APEX-448 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Change-Id: I91c1b3bef83c808166072e00c751d8fac3565b5f (cherry picked from commit d81cd2087be5edf5d2c0d98ad71a63360ae8511f)
2017-04-26Sets baremetal workers to 12Tim Rozet1-1/+3
There is an issue where in Newton the number of workers (sub processes) opened per openstack service scales with the number of logical cores on the system. On servers with large amount of processors this causes the cloud to fail after some time due to running out of RAM. This patch will limit the number of worker processes to 12, which is the limit in Ocata and onwards. JIRA: APEX-410 Change-Id: I28c4762830c19cd758a0729017f2d4a9ebe372b4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-20Add ODL netvirt VPP supportFeng Pan1-1/+10
opnfv-tht-pr: 131 Change-Id: I112d454078bd29a386b8557bf1d015d81f328d61 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-09nosdn fdio scenario fixesTim Rozet1-0/+6
- pins nosdn fdio packages that work - disable l3 agent ha mode opnfv-tht-pr: 130 Change-Id: I9470565768611f83cbd6e34f567a0aec58fa65ef Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit 778593a0d93f1a994c58a30c2dfc3f2243bf1b2f)
2017-03-30Add core pinning settings for VPPFeng Pan1-0/+16
Also updated os-net-config to enable VPP service on startup, as well as updating show interfaces command. JIRA: APEX-407 os-net-config-pr: 6 opnfv-tht-pr: 129 Change-Id: I77c590e966d2532d894ec96bb60ffdf914a90f6d Signed-off-by: Feng Pan <fpan@redhat.com>
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> (cherry picked from commit 621bfd97aa74877177039ada39c0c8f9578a0220)
2017-03-28Merge "Fix quagga user and dirs" into stable/danubeTim Rozet1-0/+3
2017-03-28Merge "Adding OVN as an SDN option to Apex" into stable/danubeTim Rozet1-0/+20
2017-03-28Fix 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> (cherry picked from commit 7dcaaf6f8f7af379124c65f3a19f4890064fa97c)
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> (cherry picked from commit 5108498adb2870581cc5a4bb99db693a05ff9c3b)
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-27Apply NSDriver patch for neutron for all FD.io scenariosFeng Pan1-1/+1
Change-Id: I548a6c948a276f05fd2bb0c2b6bcb9ee8d96deb8 Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit dc600bda635981edc035290faf901f54e810790e)
2017-03-27Removes 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> (cherry picked from commit 2ea2ee214210f1eec14c8bdf91260ee883eb3192)
2017-03-26Replace ODL version for odl_l2-fdio scenarioFeng Pan1-9/+8
Change-Id: I9e6c8c001c4324a936ad11ecea7eb34b0bbb83b2 Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit 59e92f9ac358d6d055fa051a3aaa4e6b5a88f558)
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> (cherry picked from commit 5f50df9743156ea805256e2f65815ed0075881f6)
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-17Add 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-16Removes vpp-devel from package installTim Rozet1-1/+1
Change-Id: I16f5defdd47f19095f97414f46cd9e12d3c53b19 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 59120f0ddd3ad84feab0ffb9defc185f73f910a5)
2017-03-15Remove 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> (cherry picked from commit b72e6fef8f43edefbc34e458b5a87218363ee658)
2017-03-12Add 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> (cherry picked from commit 7d994a3c3e18227c26bf58049e4d5780144ecf98)
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>