summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-07-19Merge "Allows specifying nic order for overcloud nodes in network settings"Dan Radez3-4/+55
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-18Allows specifying nic order for overcloud nodes in network settingsTim Rozet3-4/+55
Currently there is no way to specify logically or physically the nic order to be used on overcloud nodes. We always hardcode to use nic1 for admin network, nic2 for private, etc. This patch allows a user to not only decide which logical nics to use for which network, but also specify physical interface names if they need to. This is done on a per role basis, due to tripleO limitation. So a user is able to specify nic order/names for compute and controller roles separately. If a user specifies nic order, they must specify it for all networks other than admin network. We assume if admin network is unspecified it uses "nic1", so that name is reserved in this case. A user is also allowed to specify a mixture of logical and physical names, for example "nic2" and "eth3" on another network. JIRA: APEX-151 Change-Id: Ie9d4abb463cf8f8788913cb4bcf9486830adc449 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-18Adding vsperf supportDan Radez2-1/+7
JIRA: APEX-141 Change-Id: I9983ec5583100b7c536524a01e64bb6884b38d1d Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-18Merge "Fixes public vlan network settings"Dan Radez2-1/+6
2016-07-15Merge "Scripts for running smoke tests on the undercloud VM. Tested against ↵Tim Rozet1-4/+9
Apex Brahmaputra as I have had many issues getting a Colorado environment up and running."
2016-07-15Fixes public vlan network settingsTim Rozet2-1/+6
JIRA: APEX-201 Change-Id: I3ba8d5e38e203bb4f23679a3b91de97c591de146 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-13correction to a conditional in nic templateDan Radez1-5/+7
Change-Id: Ibed808350163379fcfa5178c78fabe2f47e491fc Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-12Adds SDN Controller IP to overcloudrc fileTim Rozet1-0/+8
JIRA: APEX-152 Change-Id: Id64a42531711c53ad453cd176aab2a9773a71811 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-11Adding doctor driver and datasourceDan Radez1-0/+1
opnfv-tht-pr: 37 JIRA: APEX-158 Change-Id: I079d22e8ee7798bddf7f2f1b6cc3f1b49f1d5773 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-10Move br-phy and ovs agent bring up after bridge ip assignment for dpdkFeng Pan1-25/+25
Change-Id: I37dd541d3ad413b76d94cbc89ab1b2c8e1a723f1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-07-06Splitting out common functions to lib filesDan Radez1-0/+30
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ie2d2d74de5b8cacbb1c57d3d397bede0b659c0af Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting post-install into functions fileDan Radez1-0/+153
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ie7068473e4ddd8eeca28ebd03de57781222ad761 Signed-off-by: Dan Radez <dradez@redhat.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>
2016-07-06Scripts for running smoke tests on the undercloud VM.spisarski1-4/+9
Tested against Apex Brahmaputra as I have had many issues getting a Colorado environment up and running. Moved Ansible playbooks and scripts from ci/smoke_tests/ to tests/smoke_tests/ Rebase to master... Change-Id: I09273de659c76d32ccfb74a548dabf7f84c65d6d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2016-07-06Splitting out deploy.sh undercloud to functions fileDan Radez1-0/+277
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ia92c055021073dc72f46a970cd03206ddd8df8da Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out virt functions to functions filesDan Radez1-0/+151
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ic40a7327d95a290d83f9c0b18ad87a280b0da3c4 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out deps configuration to a functions fileDan Radez1-0/+144
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ic788748969819637171a51d10b87b018fe286ae1 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-05Moving parser functions to a sourced fileDan Radez2-0/+183
Trying to split the monolith deploy.sh Change-Id: Ib145e01696384b1b27e8a79263647235e7d68e2a Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-05Merge "Adds overcloud ssh support and other fixes"Dan Radez1-3/+38
2016-07-01Adds overcloud ssh support and other fixesTim Rozet1-3/+38
Changes include: - Copies root pub key to overcloud nodes - Introduces overcloud util command to login control/computes - Minor fixes to undercloud util command JIRA: APEX-192 Change-Id: I903fda4b1d232fc623137490630ac905ebb781d7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-30Syntax updates and new testsDan Radez6-107/+93
- syntax updates to match pep8 standards - tests to cover apex_python_utils.py Change-Id: Ifac06fdbb97266f1b574b20610979b6965d6dd55 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-28Merge changes from topics 'fix_dpdk', 'vlan_support'Tim Rozet3-14/+62
* changes: Fixes IP failure during os-collect-config ping check Adding VLAN support
2016-06-28Adding VLAN supportDan Radez3-14/+62
JIRA: APEX-136 JIRA: APEX-30 Change-Id: I7cbbe11f4c1f1455dba253733c78fe8dc215de97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-22Adds initial FDIO supportTim Rozet1-1/+2
JIRA: APEX-133 opnfv-tht-pr: 29 Change-Id: I3080c91c3995ed946b902a75907ef11cb349fc33 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-22Merge "Fixes setting dns server for undercloud"Dan Radez1-0/+5
2016-06-17Fixes setting dns server for undercloudTim Rozet1-0/+5
JIRA: APEX-177 Change-Id: I6ee95a3c525fb58699fb3af795a66639f217214c Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-15Fixes nic templates for ovs dpdkTim Rozet1-3/+9
JIRA: APEX-119 Change-Id: Ia66f2ef4c169187b0cb575b10292d02f530b9902 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-13Merge "Add ipv6 support in network environment"Tim Rozet1-18/+50
2016-06-12Add ipv6 support in network environmentFeng Pan1-18/+50
Change-Id: I8db0cc0f715e95414e20f8a1e4d49f8d77e7b9ae Signed-off-by: Feng Pan <fpan@redhat.com>