summaryrefslogtreecommitdiffstats
path: root/lib/overcloud-deploy-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-09-27Removing --flat and network_isolation variablesDan Radez1-8/+5
VLAN support allows a set of nodes with a single nic to deploy removing the need for --flat. flat was not well maintained or tested. Change-Id: Ieae1c2350c83544ce50048b44300fa0b8e68dd43 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-21enable vhostuser for ovs-dpdk scenarioFeng Pan1-0/+4
- Configure 'netdev' datapath type for ovs agent on compute node - Set correct permission in OVS JIRA: APEX-274 opnfv-tht-pr: 83 Change-Id: I94d41375c32f04f4cff872ef85fe8a4514103535 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-19Fix TenantNIC and PublicNIC configFeng Pan1-2/+14
- We now check if vairables (public/private)_(compute/controller)_interface are set before performing substitution. If those variables are not set, default values (nic2 for private and nic3 for public) are used. - Change TenantNIC and PublicNIC variables to be role specific. opnfv-tht-pr: 80 Change-Id: I4c0c9d5c2239ea1914b5d2de63f2b5c4f63c8fb0 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-15Networking-vpp fixesFeng Pan1-2/+2
- Update TenantNIC and PublicNIC in numa.yaml - Use OVS rather than linux bridge for virtual deployment on jump host - Fix controller and compute IP arrays in T-H-T - Move networking-vpp repo for vlan rewrite patch JIRA: APEX-261 opnfv-tht-pr: 79 Change-Id: I4b3b6b09613e7c47869617e15aafec8e7b59d18f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-09Enables networking-vpp in nosdn-fdio scenarioFeng Pan1-0/+3
- Add puppet neutron support for configuring both ML2 driver and networking-vpp agent - Update THT to invoke new puppet classes. JIRA: APEX-261 opnfv-tht-pr: 76 Change-Id: Iab21713eb711e9f24fa66cba30c895e43a3e945e Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-08Merge "Fixes FDIO kernel settings"Michael Chapman1-1/+1
2016-09-07Fixes FDIO kernel settingsTim Rozet1-1/+1
VPP was overriding kernel settings with its defaults for all deployments by installing the VPP RPM. This removes that file, and sets the settings appropriately for the FDIO scenarios only, based on number of huge pages per profile. JIRA: APEX-255 Change-Id: If39b220a7c34cbfd673afe1881c1a9bdb3fdc2e0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-31Modifies L3 Agent for FDIO DeploymentsTim Rozet1-0/+3
L3 Agent needs to use OVS driver for external interfaces and NSDriver for Internal interfaces. JIRA: APEX-252 opnfv-tht-pr: 73 Change-Id: Ic96e30421a1f1308c358a644e5602ca738091695 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-27Fixes control/compute node detectionTim Rozet1-9/+21
Previous behavior was detecting the total number of nodes in the inventory file and defining number of compute nodes as total nodes, minus 1 or 3 control nodes (depending on HA flag). This patch changes the behavior to look explicitly for number of compute/control nodes in the inventory file. JIRA: APEX-244 Change-Id: I0191bb88e7dc5bebb5f7bfed39661f8047dbd476 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-22correcting the virtual baremetal defaultsDan Radez1-1/+1
Defaults for virtual deployments was not correct, there were three baremetal nodes being created by default for a noha deployment. JIRA: APEX-221 Change-Id: I8b13ffb620d8ebaed4308725edbc7e84279872dd Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-17Adds fds networking-odl for ODL FDIO deploymentsTim Rozet1-0/+6
JIRA: APEX-133 Change-Id: I7d87f2e463921369cd002b768976fd9cc06c8a91 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-11Fix VPP deploy failuresFeng Pan1-1/+1
- Move deploy option parsing to before network settings parsing, as performance options are needed during networking setting parsing. - Fix numa fdio_enabled option setting - Add numa to controller hiera hierarchy in tht opnfv-tht-pr: 53 Change-Id: I0a87c557c8bf653d5a86eccdbb3172733c06716a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-08Fixes no root pw on perf imagesTim Rozet1-4/+4
Bug where root password was not being set on overcloud nodes when perf options were specified in deploy settings. JIRA: APEX-224 Change-Id: I14b8240f40d5901aabdd53814143e0fa002df92b Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-03Merge "Adds configuring vpp/hc on all nodes"Tim Rozet1-2/+15
2016-08-03Adds configuring vpp/hc on all nodesTim Rozet1-2/+15
Changes include: - starting vpp with pci addr of tenant nic - setting performance options for fdio scenario - creates nosdn fdio scenario (needs newtorking-vpp, etc) - starts HC if ODL is used opnfv-tht-pr: 46 JIRA: APEX-133 Change-Id: Ie7a7f1418b94dfb82255ec9aebc550a955dd696a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-26Merge "Add nova ssh key for vm resize"Tim Rozet1-0/+8
2016-07-22Fix tackerMichael Chapman1-2/+2
opnfv-tht-pr: 49 JIRA: APEX-210 Change-Id: I9ed97588e8ae70d8ded6d2939c6a62d38393d8de Signed-off-by: Michael Chapman <michapma@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-22Merge "Adding tacker support"Tim Rozet1-0/+4
2016-07-21Add nova ssh key for vm resizeMichael Chapman1-0/+8
SSH keys for the nova account are required for the nova resize functionality. A new pair of keys is generated for each deploy. In addition, host keys are populated and a shell is provided to the nova user on all compute nodes via puppet. opnfv-tht-pr: 43 Change-Id: Ibde6877d279bc0b87553301fbce44975286cb092 JIRA: APEX-147 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-07-21Merge "Fixes unable to upload glance images on undercloud"Michael Chapman1-0/+4
2016-07-21Merge "Fixes bgpvpn scenario"Tim Rozet1-0/+2