summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2015-11-21Distributed plug-in configuration templatesFuel@OPNFV12-209/+1
This change proposes a new handling of plugin configuration files: - Each plugin is responsible to carry own configuration template files - Each of the plugin build fragments are responsible to copy these configuration files to ..deploy/templates/plugins/. - Later, some entity will be responsible to link rellevant configuration files from ..deploy/templates/plugins to ..<deploy_environment>/conf/plugins_conf, I.e. to respective/active deployment environment. - The actual linking process is not in place yet, but it could for example be deploy.sh, a separate deploy prep script or similar performing the linking based on arguments, or a config file describing the wanted set-up. Change-Id: Ia16a2c26bb1e1a51195be2382da502777d209a45 Signed-off-by: jonas.bjurel@ericsson.com <jonas.bjurel@ericsson.com>
2015-11-20Rebase of ks.cfg due to upstream changesStefan K. Berg2-2/+2
Change-Id: I27b88dbfddb6e16650096aa50d6edd560ea7547a Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-19Build OpenDaylight plugin for Fuel 7.0Michal Skalski2-5/+2
Change-Id: Ifc529102b59d0aa3aa4b766cc592e7ee8c2eddc1
2015-11-19Updating address of Fuel repositoriesStefan K. Berg1-1/+1
Change-Id: I2b1e328923390075854a08ee5d3942e4286a9073 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> Conflicts: fuel/build/config.mk Conflicts: fuel/build/config.mk
2015-11-19Merge "Autodeployment adaptation to Fuel 7"Stefan Berg7-365/+923
2015-11-19Merge "Disabling the ODL plugin waiting for Fuel 7 uplift"Stefan K. Berg1-1/+3
2015-11-19Merge "Fuel 7.0 rebase"Stefan K. Berg0-0/+0
2015-11-19Autodeployment adaptation to Fuel 7Szilard Cserey7-365/+923
Change-Id: I5071b8d65828ab13a6b1a08b907289068104b27e Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com> Conflicts: fuel/deploy/templates/hardware_environment/conf/ericsson_montreal_lab/dea.yaml fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod1/dea.yaml fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod2/dea.yaml fuel/deploy/templates/hardware_environment/conf/opnfv_box/dea.yaml fuel/deploy/templates/virtual_environment/conf/dea.yaml
2015-11-19Disabling the ODL plugin waiting for Fuel 7 upliftStefan K. Berg1-1/+3
Change-Id: Ica4dfa6f1ab221bce62fdff0c9c065b4a93d76b5 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-19Fuel 7.0 rebaseStefan K. Berg8-72/+256
Initial change for the Fuel 7.0 rebase. Change-Id: Ifbe1db9c892a94e64abbcfaaf1c98abce0c03dd4 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> Conflicts: fuel/build/config.mk
2015-11-18EXPERIMENTAL; DO NOT MERGE! Fuel 7.0 rebaseStefan K. Berg8-72/+256
This is work in progress, do not merge but feel free to experiment with this commit changeset as a base. Change-Id: Ifbe1db9c892a94e64abbcfaaf1c98abce0c03dd4 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> Conflicts: fuel/build/config.mk
2015-11-12FIX for NTP and for error log fetching from nodesSzilard Cserey3-12/+19
Change-Id: I2d56ccc97216676f5bf01b7ea1b35aaade9c33da Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-11-10Merge "FIX for ODL tzdata dependency issue suggested by Michal Skalski"Szilard Cserey5-41/+41
2015-11-09FIX for ODL tzdata dependency issue suggested by Michal SkalskiSzilard Cserey5-41/+41
Change-Id: Ia2b5e69318788a2c8c1c061ce9cc14cd3c020397 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-11-09Add dependency checker toolStefan K. Berg2-0/+43
A simple script, check_dependencies.sh, has been put in the build root. Given a file as argument, it will attempt to verify that all URIs within said file are accessible. If not, an error message will be presented and the script will exit with return code 1. The script is added to the ODL plugin makefile, and used to verify the Ubuntu and CentOS dependencies within. Change-Id: I4bac9eb5e383629794f6f72baa5472f258e35bef Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-05Merge "Removed bind mount of .ssh in runcontext"Stefan K. Berg1-13/+37
2015-11-05Removed bind mount of .ssh in runcontextStefan K. Berg1-13/+37
Previously the .ssh directory of the invoking user was bind mounted into the build container. This behavior is now removed. The ssh keys in the user's .ssh is however *copied* into the container if, and only if, the RSYNC_CONNECT_PROG environment variable has been set as this indicates the need to tunnel rsync traffic over (presumably) ssh. In this case the keys may actually be needed. In both cases the .ssh/config file will be updated with the StrictHostKeyChecking=no option to prevent failure due to the ssh confirmation dialogue. Change-Id: Ic2ecc9d7a9abfa796bdfa6aaa8cde0dcb632d76e Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-05minor fixesSzilard Cserey3-5/+7
fix for error log collecting feature Change-Id: I4db2ac19421301e1745a3beed90f32df57d75f8d Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-10-28Merge "Plugin config + bugfix + refactoring"Szilard Cserey33-488/+552
2015-10-27Plugin config + bugfix + refactoringSzilard Cserey33-488/+552
ignoring external repo errors during plugin installation refactoring import common Install only those plugins which have a yaml config file located under plugins folder collect puppet errors from all nodes Change-Id: I8d5248cf31c4877a6d59bfcfe62b43daf4ad43ef Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-10-27Merge "Support for building Fuel behind a http proxy"Stefan K. Berg8-27/+246
2015-10-26Support for building Fuel behind a http proxyStefan K. Berg8-27/+246
The build system is now able to work also behind a traditional web proxy setup if the http_proxy, https_proxy and (if needed) no_proxy environment variables has been set prior to invoking make. This is a joint work by Gillian Dunne <gillian.dunne@intel.com> and Stefan Berg <stefan.k.berg@ericsson.com>. Verification so far has been with a mock setup, placing the build machine behind a Squid proxy and blocking outgoing traffic not going through the proxy by firewall rules. The following environment variables was set in the host for these tests: RSYNC_PROXY=10.0.0.1:8888 http_proxy=http://10.0.0.1:8888 https_proxy=http://10.0.0.1:8888 no_proxy=localhost,127.0.0.1,.consultron.com,.sock *** IMPORTANT NOTE ABOUT THE HOST PROXY SETTINGS *** The build system will make use the following proxy environment variables: http_proxy: https_proxy no_proxy RSYNC_PROXY RSYNC_CONNECT_PROG During the build phase, a local Ubuntu package repository is fetched from upstream in order to be added to the OPNFV Fuel ISO and for parts of this process rsync is used. This will require that either RSYNC_PROXY is set according to the format "<proxy host>:<proxy port>" and that the proxy indicated indeed allows rsync traffic *or* that RSYNC_CONNECT_PROG is set to use an alternative transport. For a detailed explanation of these settings, see the rsync manual page. *** IMPORTANT NOTE ABOUT THE HOST DOCKER DAEMON SETTINGS *** The Docker daemon on the host must be configured to use the http proxy for it to be able to pull the base Ubuntu 14.04 image from the Docker registry before invoking make! In Ubuntu this is done by adding a line like: export http_proxy="http://10.0.0.1:8888/" to /etc/default/docker and restarting the Docker daemon. Change-Id: Ieed2269af295d90a4b33d834f723889bdf9c7dc6 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>