summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-09-20Fix 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-16Networking-vpp fixesFeng Pan2-3/+9
- 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> (cherry picked from commit 37d2dc147574a6d5bdd5cae44e2ac02f8cac4d59)
2016-09-11Enables 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> (cherry picked from commit d327766d7e7ff91f4ed1a11cfcda70254420f524)
2016-09-10Update flavors to use hugepage for fdio/ovs-dpdk scenariosFeng Pan1-0/+7
JIRA: APEX-258 Change-Id: Ia055f317147cc63b479cf1dbc1a85f05acc0726a Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit a715ec7cd3677b22c6961342491d61637a487586)
2016-09-08Fixes 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-09-07Modifies 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-09-03Disables Congress HA due to congress bugsTim Rozet1-0/+2
JIRA: APEX-257 Change-Id: I21913a6e41a2fd1565b1950345d15d0b5d47cb9c Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 28f239b761c4b1bbe3d96c9eb2801e93db14dc7d)
2016-08-30Adds ability to power off nodes in cleanTim Rozet4-0/+59
Now if an inventory file is provided to clean, those nodes will be powered off. JIRA: APEX-250 Change-Id: I2d78285717726c3d1c9d7d88c38e706d4617e337 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-29Fixes datasource creation for congressTim Rozet1-4/+12
There were syntax errors with "auth_url" and an extra double quote. Also added logging to make it more clear when datasources get created. JIRA: APEX-245 Change-Id: I554fb8195116dd71f4b34b8ccf6e969d9b2e7224 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit d26cd6f8b4fc657e23c7cc1070d4fe5383a7a3f6)
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> (cherry picked from commit 38a4ac1614905066b24071c682170736e4779e79)
2016-08-18Create Congress Nova datasource with api_versionCarlos Goncalves1-5/+10
The Congres Nova driver defaults to Nova API v2.0 but also supports micro versions since Liberty release. This patch creates the Nova datasource with the latest micro version available. This is useful for scenarios such as invoking nova.services.force_down that was introduced in v2.11. https://bugs.launchpad.net/congress/+bug/1552220 JIRA: APEX-238 Change-Id: I0a60a1199e36da38e48aa647812dd6ee5543ce2b Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-08-18Merge "Adds fds networking-odl for ODL FDIO deployments"Tim Rozet1-0/+6
2016-08-17Merge "Move deploy options check to network settings section"Tim Rozet1-10/+11
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-16Merge "Check data plane settings before adding ovs_dpdk/fdio config"Tim Rozet1-7/+9
2016-08-15Increases RAM for controller in ODL NoHATim Rozet1-1/+1
JIRA: APEX-234 Change-Id: Ieb055d5de33177dd6f6b5286f3ff1608d62fbf60 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-15Check data plane settings before adding ovs_dpdk/fdio configFeng Pan1-7/+9
JIRA: APEX-227 Change-Id: I5f55f862e564205b2e426e60d741e60bc255f2f4 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-15Move deploy options check to network settings sectionFeng Pan1-10/+11
JIRA: APEX-228 Change-Id: I85e6794bf2371116facef60ef4e29c9c9ca79131 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-12Merge "Making NetworkEnvironment a dict"Dan Radez2-51/+43
2016-08-11Making NetworkEnvironment a dictDan Radez2-51/+43
Change-Id: I983f4483b328268413d4ec66c753f1219d59fd27 Signed-off-by: Dan Radez <dradez@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-10Merge "Making NetworkSettings a dict"Dan Radez4-72/+94
2016-08-09Making NetworkSettings a dictDan Radez4-72/+94
Change-Id: Ib7fc4e9ca543a4c678576ea2119fa606ece0095c Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-09Merge "Fix network_isolation argparse issue"Tim Rozet3-7/+7
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-04Fix network_isolation argparse issueFeng Pan3-7/+7
JIRA: APEX-222 Change-Id: I435852fbe1597bf03f617dc14a6718de699b648f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-04Merge "Enable nested kvm for virtual deployment"Tim Rozet2-1/+19
2016-08-03Merge "Adds configuring vpp/hc on all nodes"Tim Rozet5-6/+59
2016-08-03Merge "Build Congress RPM package"Tim Rozet1-7/+11
2016-08-03Adds configuring vpp/hc on all nodesTim Rozet5-6/+59
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-08-03Build Congress RPM packageCarlos Goncalves1-7/+11
Changes include: - RPM build for congress moved into Apex - Fixes missing log dir for congress in spec - Adds missing API network definition for Congress - Fixes URL for getting doctor driver - Increases controller default RAM to 10GB due to resource contention with ODL - Fixes Congress service config/db sync in THT to be in step 3 opnfv-tht-pr: 51 JIRA: APEX-212 Change-Id: I4a55646e7ef851782ae0d1963f7b479086958365 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-03Enable nested kvm for virtual deploymentFeng Pan2-1/+19
For virtual deployment, we will attempt to enable nested kvm, if that is not possible, qemu will be used instead. Only support Intel for now. Change-Id: I951835c3e3faedfc698a4c879366d6c96249e5c1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-02Adds overcloud external connectivity test and adds NAT to instack VM ifMarkus Kullberg2-1/+15
needed JIRA: APEX-198 Adds support for baremetal deployments where external connectivity is only provided via the jumphost. The connectivity test is done by pinging an external IP (8.8.8.8 by default) for each node. If ping fails for any of the nodes then NAT is added. Change-Id: I8d59beb03c3b2998deaec5dc7536fa7a5b1f7718 Signed-off-by: Markus Kullberg <markus.kullberg@nokia.com>
2016-07-31IPv6 fixes for network settings and post deployFeng Pan3-8/+29
This patch contains the following: - Add dns and nic information in network settings file - Add ipv6 option for find_ip function in common-functions.sh - Change neutron commands to handle IPv6 during post deploy, skip NAT configuration if IPv6 is configured. - Fix an error in python library when generating floating ip range. JIRA: APEX-130 Change-Id: I27da7f7a714f42ee827be7091fcb1a6d89a0aae8 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-07-26Add pcs cleanup execMichael Chapman1-0/+7
Run a pcs cleanup before db sync and also at the end of the deployment. This will give processes a chance to recover in case there has been any kind of error that would lead to a process being scored -INFINITY due to repeated failed startup that may have been caused by load during the deployment, or another latent issue. Print out any services that are failed in pcs at the end of deployments. opnfv-tht-pr: 41 Change-Id: Idf4f03cd0463a3facd0726483091ac6f1b3bf000 Signed-off-by: Michael Chapman <michapma@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 Rozet2-0/+9
2016-07-21Merge "Adds utility to connect to ODL karaf console"Tim Rozet1-0/+16
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-20Adds utility to connect to ODL karaf consoleTim Rozet1-0/+16
JIRA: APEX-185 Change-Id: I1e281f5905cc1db05d0f654503d91acda853c183 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-20Adding tacker supportDan Radez2-0/+9
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 "Fixes incorrect SDN_CONTROLLER_IP in overcloudrc"Tim Rozet1-1/+1
2016-07-20Merge "Makes flavor consistent in virtual/baremetal deploys"Dan Radez1-3/+2
2016-07-19Fixes incorrect SDN_CONTROLLER_IP in overcloudrcTim Rozet1-1/+1
Previous patch set this to be the public IP of the first controller. However we only allow ODL to bind to the admin/API IP of the first controller for security reasons. JIRA: APEX-152 Change-Id: I22addbb9e7c3fcd850b9695b846357bf9447cd50 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-19Allows specifying domain name for overcloud/undercloudTim Rozet4-0/+17
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>