aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-11Small fixes to the deployment scenario framework:Jonas Bjurel2-19/+32
- Added deploy.sh -d option for dryrun. With -d + all the other mandatory arguments, deploy.sh produces ci/config/dea.yaml and /ci/config/dha.yaml with out actually deploying the stack. - Bugfix to exit with rc <> 0 if deployment fails. - Don't delete the programatically constructed dea.yaml or dha.yaml under fuel/ci/config after deploy has finished. dea.yaml and dha.yaml are needed functest, therefore these files must not be deleted after deployment has finished. They will reside in fuel/ci/config/. - Dont merge the dha-override section in deployment scenarios with the final dha.yaml unless the deployment is virtual. There is no way you can programatically override physicall resources, wireing, ipmi set-up, etc. - while you can for virtual environments. VERIFIED READY TO MERGE Change-Id: If4dedc472e07ed60071ee34c73db29f3b9c45252 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-01-10ONOS scenario according to wanted config file structureJonas Bjurel6-3/+642
Replaces: - https://gerrit.opnfv.org/gerrit/#/c/5999/ - https://gerrit.opnfv.org/gerrit/#/c/6003/ Description: - Onos scenarios updated with needed dea and dha overrides, no scenario specific information in other config files such dha, dea_base, dea_pod override, etc. - Added a virtual POD for Huawei-china specific needs, i.e. DNS and NTP. - Small fix in deploy-conf.py Change-Id: I85fe2fc4e9ec5fe0bc98ae7b399f2e49af6450f9 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-01-08A simple method to separate configuration for base fuel, plugins, PODsJonas Bjurel30-100/+3690
and deployment/test scenarios READY TO MERGE! Replaces: https://gerrit.opnfv.org/gerrit/#/c/3995/ Abstract -------- This deployment framework relies on a configuration structure, providing base installer configuration, per POD specific configuration, plugin configuration, and deployment scenario configuration. - The base installer configuration resembles the least common denominator of all HW/POD environment and deployment scenarios (These configurations are normally carried by the the installer projects in this case (fuel@OPNFV). - Per POD specific configuration specifies POD unique parameters, the POD parameter possible to alter is governed by the Fuel@OPNFV project. - Plugin configuration - providing configuration of a specific plugin. these configurations maintain there own namespace and are normally maintained by collaborative projects building Fuel@OPNFV plugins - Deployment scenario configuration - provides a high level, POD/HW environment independent scenario configuration for a specific deployment. It defines what features/plugins that shall be deployed - as well needed overrides of the plugin config as well as the base installer-, POD/HW environment- configurations. Objects allowed to override is governed by the Fuel@OPNFV project. Executing a deployment ---------------------- deploy.sh must be executed locally at the target lab/pod/jumpserver A lab configuration structure must be provided - see the section below. It is straight forward to execute a deployment task - as an example: sudo deploy.sh -b file:///home/jenkins/config -l ericsson-1 -p pod-2 -s os_odl-l2_no-ha -i file:///home/jenkins/MyIso.iso -b and -i arguments should be expressed in URI style. The resources can thus be local or remote. Feedback -------- Please give feed-back before I'm going to far on a wrong tangent Implemented scenarios so far: ----------------------------- - os_ha - os_no-ha - os_odl-l3_ha - os_odl-l3_no-ha - os_odl-l2_ha - os_odl-l2_no-ha - os_onos_ha - os_onos_no-ha - os_kvm_ha - os_kvm_no-ha - os_ovs_ha - os_ovs_no-ha - os_kvm_ovs_ha - os_kvm_ovs_no-ha VERIFIED READY TO MERGE JIRA: FUEL-35 Change-Id: I94a9b477d8ed4ee8057c16d8f20fe543f7ecc20d Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-01-07Merge "Templates for configuration guide"Jonas Bjurel1-0/+0
2016-01-06Fix noha virtual deployment templates for Erisson bladeFatih Degirmenci20-0/+2484
This change also move the noha templates into new directory structure which is proposed as a separate change with change-id I1ba1f1a7dd3951f4ce403ad2efde6a76130d533e Change-Id: I0bae0c90ae99c8eea1bc43295e727962709ecbe0 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-05Templates for configuration guideSofia Wallin1-0/+0
Please use the installerconfig.rst to describe the configuration for each installer. Removed configoptions from the patch, we will provide patches for the post install procedures template during the day. Change-Id: If315520f153c60e12e6d188fc5e5ba8c1a5bd865 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2016-01-03Update OVS PluginRuijing Guo1-1/+1
1. fix issue in https://gerrit.opnfv.org/gerrit/#/c/5179/ 2. no change for OVS without DPDK 3. add OVS with DPDK packages 4. add DPPD 5. TODO: netvirt + OVS with DPDK Change-Id: I153a95426d388d58933799e183d7b7316062e525 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2016-01-03upload onosfw plugin makefiledongfeng2-6/+17
Change-Id: I70f81d0ad66d559a672ca037021b4256b18a202d
2015-12-28Added Fuel plug-in builder for OVSNFVJonas Bjurel4-1/+109
JIRA FUEL-36 Change-Id: I354919bbed08dc2a449fa49334ca26d05e057676 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-12-25Merge "Update OVS Plugin"Ruijing Guo0-0/+0
2015-12-24Update OVS PluginRuijing Guo1-1/+1
1. no change for OVS without DPDK 2. add OVS with DPDK packages 3. add DPPD 4. TODO: netvirt + OVS with DPDK Change-Id: I5e1e0c14bea0a2c3284d572cc2ab333486d119d1 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-23Update KVM/QEMURuijing Guo1-1/+1
1. fix KVM/QEMU boot issue Change-Id: I967e79e5a8eb6f349ad4feb61fa9701901e2913d Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-22Merge "Revert "Fix for the default virtaul enviroment template.""Daniel Smith1-3/+3
2015-12-22Revert "Fix for the default virtaul enviroment template."Fatih Degirmenci1-3/+3
We need to revert this in order to be able to run virtual deployments on Intel machine. The issue on Ericsson machine needs to be looked into after the vacation period. This reverts commit 6ffd176509318935eae6dd554a5fb70c255c6db3. Change-Id: Ia0d33bee15f127016c3fda778b4327b5877f79f0
2015-12-22Remove extra controller from Ericsson POD2 DEAFatih Degirmenci1-4/+0
Change-Id: I824e781f24a918fe724f3eb7194005cbf5962b5b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-22Fix for the default virtaul enviroment template.lmcdasm1-3/+3
Im not sure who / how this value was changed, but when you are doing a virtual "AUTOMATED" installation, then the value needs to remain as the FUEL VM, since in a nested environment, the idea is NOT to allow the VM's external access (only to the FUEL VM on the ADMIN network )... If you need to have a different "virtualConfiguration", the create a new subdirectory and a alternate configuration rather than the working / default template for CI for FUEL Nested Setup Change-Id: I6163307bac285d710a5a5c683798a3c20c609932 Signed-off-by: lmcdasm <lmcdasm@OPNFV-VNCSRV1.opnfvericsson.ca> JIRA: 007
2015-12-21Move install_docker.sh to common placeRuijing Guo4-29/+2
1. copy install_docker.sh in qemu plugin to docker/ubuntu-builder 2. change docker build in ovs & qemu Change-Id: I3c0143e5e1b10a1cf798592d8bc05a49a5d12d48 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-21Align all plugins with new method for cache idStefan K. Berg5-6/+33
The cache tool is now responsible for returning the commit ID of a branch, tag or commit. This change was first introduced in the bgpvpn plugin and now the rest of the plugins with a need for this are also using the same method. Without this, a plugin pointing to a commit ID on master would fail to build once the head of master is updated to point to a later commit... Change-Id: I7c32d5b41871741717ae42c1334e8557f0b0bedd Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-12-21Created a template for installer configurationSofia Wallin1-0/+23
Change-Id: Ia47d104773987f6517eac2a198994d63c9f8122c Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2015-12-21Rebased with latest upstream ONOSFW pluginJonas Bjurel2-3/+7
Change-Id: Iaa8f101380124aae3c91f75702a89ab784884072 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-12-20Replace ericsson-pod2 dha and dea files with the working versionsFatih Degirmenci2-63/+63
Change-Id: Ia071dd3c76a5d3fc5f8418e39f123850358a00a6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-18Uplift of Docker versionsStefan K. Berg3-1/+24
The Docker version 1.5.0 is no longer allowed to acces the Docker remote image repository! Switching to version 1.7.1 instead. Change-Id: Id71cab4b26a02e98a3bb51f31caa394bcf25b7d9 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-12-18Fix for cache handlingStefan K. Berg2-10/+46
Introduced a separate function "getcommitid" in the cache.sh - a.k.a. $(CACHETOOL) - so that given a repo and a tag, branch or commitid the corresponding commitid is returned. The same principle should be used in all caching functions where not a strict tag or head is specified (as git ls-remote will not be able to figure out the commit id in those cases). Change-Id: I3540dca7ab408c872eaabdc68d4058f9d6d7c45f Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-12-17Merge "Updated Installation Instruction for FUEL B-REL WP1 (FUEL 7.0 rebasing)"Jonas Bjurel3-125/+317
2015-12-17Updated Installation Instruction for FUEL B-REL WP1 (FUEL 7.0 rebasing)Sofia Wallin3-125/+317
Updates include: - MTU Fix (JIRA FUEL-84) - Updates for FUEL config (admin pwd, HTTP proxy option) - Updates for FUEL 7.0 UI Elements - Tagged areas for updated when ODL is available in next WP - Corrected typo - Changed name installation-intruction - Changed name build-instruction JIRA: FUEL-84 replacing change: https://gerrit.opnfv.org/gerrit/#/c/3449/ Change-Id: Ib855c67e7fbe93781a4252f43f2911d9c5fa0645 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
2015-12-16Bugfix fuel-plugin-bgpvpn use wrong branchjose.lausuch1-2/+2
This commit fixes the failing master build: https://build.opnfv.org/ci/view/fuel/job/fuel-build-master/80/ Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> On behalf of Nikolas Hermanns <nikolas.hermanns@ericsson.com> Change-Id: Idd7c6cf00f9bc0792d70953d57f4c32f223d547d
2015-12-14Integration of ODL BGP-VPN pluginJonas Bjurel4-1/+106
READY TO MERGE JIRA: FUEL-48 Change-Id: Idc44966f32caf8728580bac8bcc89981f7c987ba Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-12-11Update QEMU/KVM pluginRuijing Guo3-1/+29
1. docker based build in qemu plugin 2. rebase to fuel 7.0 3. add kvm4nfv Change-Id: I5aceeec5e5f88b936cea43fa07db36f65e332211 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-11Docker based build for ovs and rebase to Fuel 7.0Ruijing Guo3-2/+29
Change-Id: I05ccabdb329dff31a52b3cd6c1b60148bee8efe9 Signed-off-by: Ling Yu <ling.y.yu@intel.com> Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-10Add fuel templates for Ericsson Montreal Lab POD2Fatih Degirmenci2-0/+900
Change-Id: I45130cc7d3457ebafec1d9e31b95e03a10847c8f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-09Add fuel templates for Ericsson Montreal Lab POD1Jo¶rgen Karlsson3-0/+1034
Change-Id: Icc2f63569fd39d517ae5d29ef47839c1b6c742ba Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-12-09Merge "FIX for getting all types of error log messages from ↵Daniel Smith1-1/+1
/var/log/puppet.log on nodes"
2015-12-09Merge "Refactor temporary directory creation"Daniel Smith4-4/+8
2015-12-09FIX for getting all types of error log messages from /var/log/puppet.log on ↵Szilard Cserey1-1/+1
nodes Change-Id: Id43e74fd3ebd1bd0c62e2aa963793d6b072e3fcc Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-12-09Merge "Reaping improvements for Fuel 7"Stefan K. Berg3-6/+27
2015-12-08Reaping improvements for Fuel 7Stefan K. Berg3-6/+27
In order to download the deployment information, the node id must be explicitly specified. The fuel setting commmand returns "ha_compact" as the mode for a cluster, but Fuel does itself not understand this when changing the settings - it needs to be named "ha". Added shebang for reap.py and deploy.py. Upped the default image sizes for the DHA template to match Fuel 7. Change-Id: I3ecacb83dc44454b90dedc98104658a16926dc1f Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-12-08Refactor temporary directory creationPeter Barabas4-4/+8
Use Python's tempfile instead of forking a shell for mktemp. Change-Id: Icba442ea08d4098d67fb51575da16e85d4363beb Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2015-12-07Change network config for LF-POD2 to match the current jumphost management ↵jose.lausuch1-12/+12
interface. Change-Id: Ia9b65ee67e7972a7def8c38a71f7fed212c68e60 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-03Support for selecting which plugins to buildStefan K. Berg4-2/+39
In order to cut the build time for unofficial builds, this change supports setting the environment variable "BUILD_FUEL_PLUGINS" prior to building. Only the plugin targets from fuel/build/f_isoroot/Makefile that are specified will then be built. In order to completely disable the building of plugins, the environment variable is set to " ". When using this functionality, the resulting iso file will be prepended with the prefix "unofficial-" to clearly indiciate that this is not a full build. Change-Id: Ib0a914ed6577f54f31b056a752691316302081dc Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-30Moved the noha virtual templatesStefan K. Berg10-0/+0
This will complete the restructuring of the Fuel repo. Change-Id: If2029617dca872741d6108362a7315833ae62c4e Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-30Merge "Smaller non-HA virtual deployment template"Stefan K. Berg10-0/+1242
2015-11-29Remove doc configuration in order to use common configFatih Degirmenci3-35/+1
Common doc generation configuration will be controlled from releng. Change-Id: I4e79a9b7b620fd556eedafbfdc7b3eee223c98eb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-11-29Enable new doc generation for fuelFatih Degirmenci7-0/+63
The work to unify the doc generation for all OPNFV projects is currently ongoing. This change adjusts docs directory structure for fuel project. Trigger the fuel-verify build without cache. verify: no-cache Change-Id: Ie430b662c5b50d38efe0c8a1eb50aa8f01c85e85 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-11-28ONOSFW SDN supportJonas Bjurel4-1/+103
Implements a plugin builder for the ONOSFW Fuel plugin. TODO: - Naildown upstream plug-in to a specific tag/commit-id NOT VERIFIED DO NOT MERGE JIRA: FUEL-56 Change-Id: I7c1a60446593ec860fc87a51255242388044e254 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-11-28Plugin builder for OVS-NSH-DPDKJonas Bjurel4-1/+105
This plugin builder builds the OVS-NSH-DPDK plugin such that it can be automatically deployed off-line (part of the .iso) READY TO MERGE Change-Id: Ied8e0a8d01baea932acc5eb3398cec48e44d5c04 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-11-27OPNFV qemu (KVM4NFV) plugin builder/installer.Fuel@OPNFV4-1/+104
This plugin builder builds the KVM4NFV plugin such that it can be automatically deployed off-line (part of the .iso) READY TO MERGE verify: no-cache Change-Id: I1d4877c5fd83b4f4aee4432173edaf2a438406e3 Signed-off-by: Fuel@OPNFV <fuel@opnfv.org>
2015-11-27Download plugins dependencies using fuel-createmirrorMichal Skalski3-2/+5
Including dependencies directly in to plugin binary require maintain list of direct links to specific versions of system packages, which often become out of date. This change propose to create requirements-deb.txt file in plugin build directories which will contain only names of deb packages needed for successful deployments in offline environments. Based on the content of these files the common list of dependencies will be created [1]. Defined system packages together with their dependencies will be downloaded during process of creating partial mirror. [1] https://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html#troubleshooting-partial-mirror verify: no-cache Change-Id: If40b040fcf062f78af6c453a791b02ebf10e7b85 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2015-11-27Restructcture of the directory layoutJonas Bjurel190-10445/+0
Restructure of the directory layout due to move of Fuel into it's own repo JIRA: FUEL-85 Change-Id: I3647e1992a508f29dce06a5d6c790725c527f6f5 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-11-25Update of endpoint addressesStefan K. Berg5-11/+11
As https endpoints introduced in Fuel 7.0 has caused some issues for the automated test setup, this reverts back to the "non https" behavior as in 6.1 for both Horizon and the endpoints, disabling https. This is a *momentary* solution, we need to figure out how to setup the testing infrastructure with secure endpoints enabled! Change-Id: Ida61c2fd0834861b26ab64afec87b2bfbd921e0e Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-25Smaller non-HA virtual deployment templateStefan K. Berg10-0/+1242
Change-Id: I8eb9ff059e45d4f72ba7b750ff17661e0f3bade3 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>