summaryrefslogtreecommitdiffstats
path: root/lib/overcloud-deploy-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
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
2016-07-20Fixes unable to upload glance images on undercloudTim Rozet1-0/+4
JIRA: APEX-207 Change-Id: I6fb8aa003ea485ce49d882b6c2a7842dc7b814cd Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-20Adding tacker supportDan Radez1-0/+4
opnfv-tht-pr: 34 opnfv-puppet-tripleo-pr: 4 JIRA: APEX-126 Change-Id: I050e7ae2e94779c1886f670841aa4e2dec4aa8d2 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-20Fixes bgpvpn scenarioTim Rozet1-0/+2
We had a regression where we missed adding bgpvpn code back into master. opnfv-tht-pr: 45 JIRA: APEX-200 Change-Id: I44da1d653e13c48f276ad29daac1eb6f4f2d629b Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-20Merge "Makes flavor consistent in virtual/baremetal deploys"Dan Radez1-3/+2
2016-07-19Allows specifying domain name for overcloud/undercloudTim Rozet1-0/+1
Can be set by setting domain_name in network_settings. Defaults to dummy opnfvapex.com. JIRA: APEX-183 JIRA: APEX-182 Change-Id: Ib7c279a1c8432b8635f72e5cc667f16b9cd65159 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-18Makes flavor consistent in virtual/baremetal deploysTim Rozet1-3/+2
Changes include: - Fixes bug where baremetal control nodes would deploy to ironic nodes labeled 'compute', and cause deployment failure - Makes virtual deployments also use flavor types when deploying JIRA: APEX-205 Change-Id: I84e1a6d1e2ccc3391ad2b4e34ea6ca62d480d64f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-14add onos SFC feature config filebob zhou1-1/+5
add os-onos-sfc-ha.yaml for onos sfc function deployment. opnfv-tht-pr: 27 JIRA: APEX-172 Change-Id: I07d708d201ef1d97efbfffd5aca85d8a284f7c96 Signed-off-by: bob zhou <bob.zh@huawei.com>
2016-07-06Splitting out overcloud functions to lib filesDan Radez1-0/+280
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Iceeda2be0539563163bceaacbb54c6cc2d07b87b Signed-off-by: Dan Radez <dradez@redhat.com>