summaryrefslogtreecommitdiffstats
path: root/lib/overcloud-deploy-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-08-23Migrates Apex to PythonTim Rozet1-503/+0
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-21Bumps OVS version to 2.8 for OVNTim Rozet1-2/+2
OVS 2.7 does not seem to be available anymore in the copr repo and has been replaced by 2.8. Change-Id: I7ba98f14e9c9c34f6802f8a890876363c839ab9b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-14Fixes OpenDaylight versionTim Rozet1-10/+5
The default version is now Carbon with the option of using nitrogen (master) for puppet-odl and opendaylight. JIRA: APEX-500 Change-Id: I44d02ec0db5fb8e6342e5ab6802a5a3f302b8511 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-11Add os-odl-fdio-dvr supportFeng Pan1-7/+38
apex-tripleo-heat-templates: I6a83c9e2deeb0df9a3ab09a707c9c64aa84da55e apex-puppet-tripleo: I2025e3157b97b376b63002003ca17c7206aba546 JIRA: APEX-466 Change-Id: Iedb75994d35b5dc1dd5d5ce1a57277c8f3729dfd Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-09Merge "Sets baremetal workers to 12"Tim Rozet1-0/+2
2017-08-09Sets baremetal workers to 12Feng Pan1-0/+2
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> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-09Enables SFC scenariosTim Rozet1-1/+14
apex-tripleo-heat-templates: I230b31dc9ed0ecc5046064628ba2f2505e589522 apex-puppet-tripleo: Icd433ddc6ae7de19a09f9e33b410a362c317138a Change-Id: I0b17b4e86eb90b949bd62f7e73944adad77ef1a3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-04Add support for nosdn-ovs-dpdk scenarioFeng Pan1-4/+5
Change-Id: I31fca214b7d16cecc261137567fa7ecf63abfe04 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-02Builds and installs ovs 2.6.1 with NSH supportTim Rozet1-3/+1
Change-Id: I369b9d24880ebdb0836e42740ebf27082be9de99 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-01Merge "Adds Barometer service"Tim Rozet1-1/+6
2017-07-31Adds Barometer servicejhinman11-1/+6
Adds Barometer service as a deploy option to Compute nodes by specifying barometer as true in deploy settings. Barometer packages are installed only for x86_64. Adds scenarios os-nosdn-bar-ha and os-nosdn-bar-noha. Add scenarios to opnfv-apex-common.spec. Temporarily remove references to snmp packages. apex-tripleo-heat-templates: I397d2557639c87ab8afacd076a5b9fd7c056dce7 apex-puppet-tripleo: I878ff8d1e0a8b96f3380bb77f168cd5a4c3f6543 Puppet module is at: https://github.com/johnhinman/puppet-barometer. Change-Id: Ic087c2052f7849ee2cf6c63224558c2b36a8ca1f Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-07-29Add support for fdio scenariosFeng Pan1-6/+15
Add support for the following scenarios: - os-odl-fdio-ha - os-odl-fdio-noha - os-nosdn-fdio-noha - os-nosdn-fdio-ha apex-tripleo-heat-templates: If11092e6581445a70e63c8f6c48518698b3cc8fc apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: If7a2c6119bf613f1fc8846237b077cd8f0e26015 Change-Id: Id3fdd09f6e0d2b7666d08c0dc7802165797eefdc Signed-off-by: Feng Pan <fpan@redhat.com>
2017-07-04Adapting BGPVPN scenario to new composable serviceRicardo Noriega1-1/+1
Depends-On: I4af82d456c9d999667f2ef4d16e8f6822463d331 Depends-On: Id28df6ed307976fbb20fa1300f7349b743d96569 Change-Id: I8b6c909ea801491e524206ee4270d453164f3c46 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-05-31Updates ODL source for netvirt+vppTim Rozet1-2/+2
Change-Id: I7ffb445ba44bfc904240658b0c3a137b44af28e8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-25Update 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-19Merge "Missed an update to swap neutron out for openstack cli"Dan Radez1-1/+1
2017-05-18Merge "Add VBMC double check"Tim Rozet1-2/+5
2017-05-18Missed an update to swap neutron out for openstack cliDan Radez1-1/+1
APEX-432 Change-Id: I787ce844d0d585f55d2267a57642e35f2a47bd40 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-17Add VBMC double checkDan Radez1-2/+5
Sometimes the VBMC devices don't all start and stay started This checks that they are all running before starting a deployment Change-Id: I3c69d31549798a5837475d10b8a365bb0e5c9a3d Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-17Merge "Removing sdn_l3 and _l2 scenario features"Tim Rozet1-3/+1
2017-05-15Removing sdn_l3 and _l2 scenario featuresDan Radez1-3/+1
JIRA: APEX-429 Change-Id: Ifb28bb27f8e58ac5b180454719dfb329c3edf000 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-11Do 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>
2017-05-09Updating Apex to OpenStack OcataDan Radez1-34/+27
- power management updated to virtualbmc, pxe_ssh is deprecated - removing custom tacker build - removing custom congress build - disabling yum update in undercloud on the cli instead of in a patch - Undercloud is direct kernel booted now, there are no kernel and initrd in the disk image from upstream - remove OpenDaylight previous to Carbon JIRA: APEX-433 JIRA: APEX-432 JIRA: APEX-431 Change-Id: I6963f16e65eacade5607a3082b58b6150331406c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-08Merge "add onos deployment steps"Dan Radez1-8/+8
2017-05-04Merge "Add support for interface role mapping for odl_l3-fdio scenarios"Tim Rozet1-1/+3
2017-05-04Merge "Enable OpenDaylight clustering mode for FDIO scenarios"Tim Rozet1-8/+0
2017-05-02Add support for interface role mapping for odl_l3-fdio scenariosFeng Pan1-1/+3
JIRA: APEX-445 opnfv-puppet-tripleo-pr: 24 Change-Id: Idbb855badae2f2b91202961c12931ba54be1beaa Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-02Fixing BGPD service is not runningNikolas Hermanns1-0/+1
Change-Id: Ia94a82cda8cd2c8c052bfd3454e3753b6eb54288 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
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>
2017-04-28Enable OpenDaylight clustering mode for FDIO scenariosFeng Pan1-8/+0
JIRA: APEX-450 Change-Id: I6d570c19ff5286b1307e38eee439116839b1d612 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-28Merge "Update VPP/ODL versions for FDIO scenarios"Tim Rozet1-26/+6
2017-04-27Update 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. os-net-config-pr: 7 JIRA: APEX-451 Change-Id: Ic5ac5aeead9967fe383447e23653276cde2dfe60 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-26Fixing 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
2017-04-18Add ODL netvirt VPP supportFeng Pan1-1/+10
opnfv-tht-pr: 131 Change-Id: I112d454078bd29a386b8557bf1d015d81f328d61 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-13add 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>
2017-04-06nosdn 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>
2017-04-03Merge "Euphrates Docs update w odl scenario name cleanups"Dan Radez1-1/+1
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-30Euphrates Docs update w odl scenario name cleanupsDan Radez1-1/+1
- updating docs to reference Euphrates - removing the odl_l2-nofeature scenario, it's obsolete - renameing odl_l3 to odl, it's default for odl now - adding symlinks to files to _l3 files so CI doesn't break will remote those once CI is updated to use new names Change-Id: I9f2646fc5dac443042c5f4be8cca7d2df5dca663 Signed-off-by: Dan Radez <dradez@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>
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>