summaryrefslogtreecommitdiffstats
path: root/lib/post-install-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-15Fixes missing SDN_CONTROLLER_IP in overcloudrc.v3juraj.linkes1-0/+1
JIRA: APEX-474 Change-Id: Iadc8e1614161421ae32b25e3cf10e1b5ba599250 Signed-off-by: juraj.linkes <jlinkes@cisco.com>
2017-06-12Fixes vars missing in overcloudrc.v3Tim Rozet1-10/+10
Change-Id: I03df4973fe2bb1356719dda5666484f556df2ffa Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-28Fixing the congress post install operationsDan Radez1-3/+9
- adding comments regarding nova's api microversion, please read the comments in the code for explaination - removing the ceilometer datasource creation, ceilometer has been replace by gnocchi as the primary telemetry source and there is not a gnocchi driver in newton for congress Change-Id: I77ddc30220e7b73e9b3c625ee0479e0351bae832 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-27Merge "Adding dovetail installation using docker container"Tim Rozet1-2/+15
2017-02-27Adding dovetail installation using docker containerzshi1-2/+15
This patch adds dovetail option to deploy settings, installs dovetail image to undercloud. Change-Id: If7a763d9f6b27655dbb1f5855f438ab11bd88a82 Signed-off-by: zshi <zshi@redhat.com>
2017-02-23Adding endpoint url definitions to congressDan Radez1-1/+1
opnfv-tht-pr: 109 Change-Id: Iad64221f4ced02eb78661ded6c9185554698200b Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-22Adding congress support back into DanubeDan Radez1-5/+1
opnfv-tht-pr: 97 opnfv-puppet-tripleo-pr: 10 Change-Id: Idfc109fc984f20b096a23d12864a027146a9c74c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-17Adding Quagga to buildRomanos Skiadas1-0/+5
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-16Adding Gluon to post-install and bumping versionGeorg Kunz1-0/+13
Adding the creation of the Gluon dummy network and subnet to the post installation steps. Bumping the version of Gluon to the latest. opnfv-tht-pr: 106 Change-Id: I5123916f0e153cbd1e70e443d9c8af38ac55fdef Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-02-06Adding yardstick installation using docker containerManjunath Ranganathaiah1-0/+10
This patch adds yardstick option to deploy settings, installs docker and yardstick image to undercloud. Change-Id: I3a2a1d6bcdfe5becd11d6d9f22218837c572d5da Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
2017-02-06Fixing glance-client and rallyNikolas Hermanns1-0/+16
Since the project_id is not in the overcloudrc glance clinet is failing. Since os_tenant_name is not in overcloudrc rally setup is failing. Change-Id: Iaec4031d3419e8380fb8789288e587c44d600971 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-24fix post-install.shRyota MIBU1-4/+4
If sahara and swift are not configured, the post install script will fail during removals of endpoints for sahara and swift. This patch adds checks whether endpoints to be removed exist or not. Change-Id: I8e417dbe6e51461d7c4ef1e2368865917b2f8279 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-20Change commands to print PublicVip to fix format issue.Tomofumi Hayashi1-1/+1
Latest 'openstack stack output' commands prints output with ascii table format, so opnfv-deploy output breaks as following: "Overcloud dashboard available at http://+---------" This change fix it with json+jq. Change-Id: I594f31254caeee1dc2bc3c6d39d9640cba039f05 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2016-12-22Updating Congress version to NewtonDan Radez1-1/+3
- Congress is not in THT now so this will not install yet - Removing doctor driver sideload in build The doctor driver is upstream in Newton. No need to side load the driver into the congress codebase anymore. - moving to upstream puppet module Change-Id: Ia60d7d33039dddda634cb5485a3c40ce6ec2b261 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-02Fixes using single network (previously called flat) for deployTim Rozet1-4/+15
Also contains various network parsing fixes. JIRA: APEX-361 Change-Id: I5e40ed67267d5ded85adc2982a8726ebbceaeae5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-29Renames 'usable_ip_range' to 'overcloud_ip_range'Tim Rozet1-1/+1
'usable_ip_range' was confusing for a lot of users, and most thought it encompassed all of the defined ranges in the network settings file (like floating_ip_range and introspection_range). This renames it to be more accurate. JIRA: APEX-288 Change-Id: I2e106666df1bfd007f150279e2e0387a64cd0f48 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-18Fixes external network creationTim Rozet1-1/+1
Without specifying the provider network type or physical network results in the default tenant network type being used upon external network creation (for us this means vxlan). Previously this worked fine because Neutron L3 agent and ODL L3 would assume to use br-ex. This is no longer true in ODL new nettvirt, and needs to be explicitly flat along with the correct physical network. Also includes minor fix for Manila service naming that was fixed upstream. JIRA: APEX-300 Change-Id: If5d467a811baafe01b725dd530938482fdd3fd03 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-09-22migrating to proposed common network settings fileDan Radez1-15/+15
- proposed in genesis https://wiki.opnfv.org/display/genesis/Common+Network+Settings - This patch updates the network_settings files in the config/network dir and updates the associated bash, python and python tests relative to the new yaml structure and nomenclature used in the proposed settings file JIRA: APEX-262 Change-Id: Ib0dc9d0f21465b38f2a53cff20f71fb9230bfc48 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-09Update 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>
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>
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>
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-02Adds overcloud external connectivity test and adds NAT to instack VM ifMarkus Kullberg1-1/+2
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 Pan1-4/+19
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-22Merge "Adding tacker support"Tim Rozet1-0/+5
2016-07-20Adding tacker supportDan Radez1-0/+5
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-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-18Adding vsperf supportDan Radez1-0/+6
JIRA: APEX-141 Change-Id: I9983ec5583100b7c536524a01e64bb6884b38d1d Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-15Fixes public vlan network settingsTim Rozet1-1/+5
JIRA: APEX-201 Change-Id: I3ba8d5e38e203bb4f23679a3b91de97c591de146 Signed-off-by: Tim Rozet <trozet@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 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>