fuel.git
8 years agoFix for cache handling 89/4589/6
Stefan K. Berg [Tue, 15 Dec 2015 14:57:46 +0000 (15:57 +0100)]
Fix for cache handling

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>
8 years agoMerge "Updated Installation Instruction for FUEL B-REL WP1 (FUEL 7.0 rebasing)"
Jonas Bjurel [Thu, 17 Dec 2015 12:18:11 +0000 (12:18 +0000)]
Merge "Updated Installation Instruction for FUEL B-REL WP1 (FUEL 7.0 rebasing)"

8 years agoUpdated Installation Instruction for FUEL B-REL WP1 (FUEL 7.0 rebasing) 71/4671/9
Sofia Wallin [Wed, 16 Dec 2015 14:34:35 +0000 (15:34 +0100)]
Updated Installation Instruction for FUEL B-REL WP1 (FUEL 7.0 rebasing)

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>
8 years agoBugfix fuel-plugin-bgpvpn use wrong branch 57/4657/1
jose.lausuch [Wed, 16 Dec 2015 12:23:57 +0000 (13:23 +0100)]
Bugfix fuel-plugin-bgpvpn use wrong branch

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

8 years agoIntegration of ODL BGP-VPN plugin 25/4225/5
Jonas Bjurel [Thu, 10 Dec 2015 19:59:52 +0000 (20:59 +0100)]
Integration of ODL BGP-VPN plugin

READY TO MERGE
JIRA: FUEL-48

Change-Id: Idc44966f32caf8728580bac8bcc89981f7c987ba
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoUpdate QEMU/KVM plugin 07/3907/3
Ruijing Guo [Fri, 11 Dec 2015 06:23:23 +0000 (06:23 +0000)]
Update QEMU/KVM plugin

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>
8 years agoDocker based build for ovs and rebase to Fuel 7.0 01/3801/7
Ruijing Guo [Thu, 3 Dec 2015 01:47:50 +0000 (01:47 +0000)]
Docker based build for ovs and rebase to Fuel 7.0

Change-Id: I05ccabdb329dff31a52b3cd6c1b60148bee8efe9
Signed-off-by: Ling Yu <ling.y.yu@intel.com>
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoAdd fuel templates for Ericsson Montreal Lab POD2 43/4143/2
Fatih Degirmenci [Wed, 9 Dec 2015 13:39:51 +0000 (14:39 +0100)]
Add fuel templates for Ericsson Montreal Lab POD2

Change-Id: I45130cc7d3457ebafec1d9e31b95e03a10847c8f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoAdd fuel templates for Ericsson Montreal Lab POD1 19/4119/2
Jo¶rgen Karlsson [Wed, 9 Dec 2015 10:44:17 +0000 (11:44 +0100)]
Add fuel templates for Ericsson Montreal Lab POD1

Change-Id: Icc2f63569fd39d517ae5d29ef47839c1b6c742ba
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
8 years agoMerge "FIX for getting all types of error log messages from /var/log/puppet.log on...
Daniel Smith [Wed, 9 Dec 2015 10:13:42 +0000 (10:13 +0000)]
Merge "FIX for getting all types of error log messages from /var/log/puppet.log on nodes"

8 years agoMerge "Refactor temporary directory creation"
Daniel Smith [Wed, 9 Dec 2015 10:08:28 +0000 (10:08 +0000)]
Merge "Refactor temporary directory creation"

8 years agoFIX for getting all types of error log messages from /var/log/puppet.log on nodes 85/3585/2
Szilard Cserey [Tue, 24 Nov 2015 18:38:12 +0000 (19:38 +0100)]
FIX for getting all types of error log messages from /var/log/puppet.log on nodes

Change-Id: Id43e74fd3ebd1bd0c62e2aa963793d6b072e3fcc
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "Reaping improvements for Fuel 7"
Stefan K. Berg [Wed, 9 Dec 2015 09:10:03 +0000 (09:10 +0000)]
Merge "Reaping improvements for Fuel 7"

8 years agoReaping improvements for Fuel 7 55/4055/5
Stefan K. Berg [Tue, 8 Dec 2015 10:21:19 +0000 (11:21 +0100)]
Reaping improvements for Fuel 7

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>
8 years agoRefactor temporary directory creation 63/4063/1
Peter Barabas [Tue, 8 Dec 2015 12:05:57 +0000 (13:05 +0100)]
Refactor temporary directory creation

Use Python's tempfile instead of forking a shell for mktemp.

Change-Id: Icba442ea08d4098d67fb51575da16e85d4363beb
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoChange network config for LF-POD2 to match the current jumphost management interface. 11/4011/1
jose.lausuch [Mon, 7 Dec 2015 10:27:25 +0000 (11:27 +0100)]
Change network config for LF-POD2 to match the current jumphost management interface.

Change-Id: Ia9b65ee67e7972a7def8c38a71f7fed212c68e60
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSupport for selecting which plugins to build 89/3889/3
Stefan K. Berg [Wed, 2 Dec 2015 15:27:41 +0000 (16:27 +0100)]
Support for selecting which plugins to build

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>
8 years agoMoved the noha virtual templates 57/3757/1
Stefan K. Berg [Mon, 30 Nov 2015 15:00:48 +0000 (16:00 +0100)]
Moved the noha virtual templates

This will complete the restructuring of the Fuel repo.

Change-Id: If2029617dca872741d6108362a7315833ae62c4e
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Smaller non-HA virtual deployment template"
Stefan K. Berg [Mon, 30 Nov 2015 08:52:13 +0000 (08:52 +0000)]
Merge "Smaller non-HA virtual deployment template"

8 years agoRemove doc configuration in order to use common config 21/3721/3
Fatih Degirmenci [Sun, 29 Nov 2015 20:23:45 +0000 (21:23 +0100)]
Remove doc configuration in order to use common config

Common doc generation configuration will be controlled from releng.

Change-Id: I4e79a9b7b620fd556eedafbfdc7b3eee223c98eb
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoEnable new doc generation for fuel 93/3693/4
Fatih Degirmenci [Fri, 27 Nov 2015 11:40:35 +0000 (12:40 +0100)]
Enable new doc generation for fuel

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>
8 years agoONOSFW SDN support 05/3705/3
Jonas Bjurel [Fri, 27 Nov 2015 13:57:07 +0000 (14:57 +0100)]
ONOSFW SDN support

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>
8 years agoPlugin builder for OVS-NSH-DPDK 71/2971/8
Jonas Bjurel [Sat, 31 Oct 2015 11:36:09 +0000 (12:36 +0100)]
Plugin builder for OVS-NSH-DPDK

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>
8 years agoOPNFV qemu (KVM4NFV) plugin builder/installer. 47/3247/8
Fuel@OPNFV [Thu, 12 Nov 2015 14:10:01 +0000 (15:10 +0100)]
OPNFV qemu (KVM4NFV) plugin builder/installer.

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>
8 years agoDownload plugins dependencies using fuel-createmirror 79/3679/6
Michal Skalski [Fri, 27 Nov 2015 01:14:48 +0000 (02:14 +0100)]
Download plugins dependencies using fuel-createmirror

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>
8 years agoRestructcture of the directory layout 13/3613/2
Jonas Bjurel [Wed, 25 Nov 2015 10:32:57 +0000 (11:32 +0100)]
Restructcture of the directory layout

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>
8 years agoUpdate of endpoint addresses 81/3581/3
Stefan K. Berg [Tue, 24 Nov 2015 15:45:35 +0000 (16:45 +0100)]
Update of endpoint addresses

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>
8 years agoSmaller non-HA virtual deployment template 21/3521/8
Stefan K. Berg [Mon, 23 Nov 2015 14:07:27 +0000 (15:07 +0100)]
Smaller non-HA virtual deployment template

Change-Id: I8eb9ff059e45d4f72ba7b750ff17661e0f3bade3
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoDistributed plug-in configuration templates 91/3291/5
Fuel@OPNFV [Sun, 15 Nov 2015 18:24:50 +0000 (19:24 +0100)]
Distributed plug-in configuration templates

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>
8 years agoRebase of ks.cfg due to upstream changes 91/3491/1
Stefan K. Berg [Fri, 20 Nov 2015 15:54:14 +0000 (16:54 +0100)]
Rebase of ks.cfg due to upstream changes

Change-Id: I27b88dbfddb6e16650096aa50d6edd560ea7547a
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoBuild OpenDaylight plugin for Fuel 7.0 43/3443/2
Michal Skalski [Thu, 19 Nov 2015 15:42:20 +0000 (16:42 +0100)]
Build OpenDaylight plugin for Fuel 7.0

Change-Id: Ifc529102b59d0aa3aa4b766cc592e7ee8c2eddc1

8 years agoUpdating address of Fuel repositories 39/3439/1
Stefan K. Berg [Mon, 26 Oct 2015 09:51:30 +0000 (10:51 +0100)]
Updating address of Fuel repositories

Change-Id: I2b1e328923390075854a08ee5d3942e4286a9073
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Conflicts:
fuel/build/config.mk

Conflicts:
fuel/build/config.mk

8 years agoMerge "Autodeployment adaptation to Fuel 7"
Stefan Berg [Thu, 19 Nov 2015 12:32:18 +0000 (12:32 +0000)]
Merge "Autodeployment adaptation to Fuel 7"

8 years agoMerge "Disabling the ODL plugin waiting for Fuel 7 uplift"
Stefan K. Berg [Thu, 19 Nov 2015 12:32:08 +0000 (12:32 +0000)]
Merge "Disabling the ODL plugin waiting for Fuel 7 uplift"

8 years agoMerge "Fuel 7.0 rebase"
Stefan K. Berg [Thu, 19 Nov 2015 12:31:50 +0000 (12:31 +0000)]
Merge "Fuel 7.0 rebase"

8 years agoAutodeployment adaptation to Fuel 7 27/3427/1
Szilard Cserey [Thu, 12 Nov 2015 19:44:58 +0000 (20:44 +0100)]
Autodeployment adaptation to Fuel 7

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

8 years agoDisabling the ODL plugin waiting for Fuel 7 uplift 25/3425/1
Stefan K. Berg [Mon, 26 Oct 2015 09:52:42 +0000 (10:52 +0100)]
Disabling the ODL plugin waiting for Fuel 7 uplift

Change-Id: Ica4dfa6f1ab221bce62fdff0c9c065b4a93d76b5
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoFuel 7.0 rebase 21/3421/1
Stefan K. Berg [Wed, 7 Oct 2015 09:17:10 +0000 (11:17 +0200)]
Fuel 7.0 rebase

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

8 years agoEXPERIMENTAL; DO NOT MERGE! Fuel 7.0 rebase 87/3387/1
Stefan K. Berg [Wed, 7 Oct 2015 09:17:10 +0000 (11:17 +0200)]
EXPERIMENTAL; DO NOT MERGE! Fuel 7.0 rebase

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

8 years agoFIX for NTP and for error log fetching from nodes 25/3225/2
Szilard Cserey [Tue, 10 Nov 2015 21:14:22 +0000 (22:14 +0100)]
FIX for NTP and for error log fetching from nodes

Change-Id: I2d56ccc97216676f5bf01b7ea1b35aaade9c33da
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "FIX for ODL tzdata dependency issue suggested by Michal Skalski"
Szilard Cserey [Tue, 10 Nov 2015 19:51:48 +0000 (19:51 +0000)]
Merge "FIX for ODL tzdata dependency issue suggested by Michal Skalski"

8 years agoFIX for ODL tzdata dependency issue suggested by Michal Skalski 57/3157/1
Szilard Cserey [Mon, 9 Nov 2015 18:05:16 +0000 (19:05 +0100)]
FIX for ODL tzdata dependency issue suggested by Michal Skalski

Change-Id: Ia2b5e69318788a2c8c1c061ce9cc14cd3c020397
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoAdd dependency checker tool 47/3147/2
Stefan K. Berg [Mon, 9 Nov 2015 10:08:26 +0000 (11:08 +0100)]
Add dependency checker tool

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>
8 years agoMerge "Removed bind mount of .ssh in runcontext"
Stefan K. Berg [Thu, 5 Nov 2015 16:01:51 +0000 (16:01 +0000)]
Merge "Removed bind mount of .ssh in runcontext"

8 years agoRemoved bind mount of .ssh in runcontext 59/3059/2
Stefan K. Berg [Thu, 5 Nov 2015 13:17:54 +0000 (14:17 +0100)]
Removed bind mount of .ssh in runcontext

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>
8 years agominor fixes 67/3067/1
Szilard Cserey [Thu, 29 Oct 2015 09:22:18 +0000 (10:22 +0100)]
minor fixes

fix for error log collecting feature

Change-Id: I4db2ac19421301e1745a3beed90f32df57d75f8d
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "Plugin config + bugfix + refactoring"
Szilard Cserey [Wed, 28 Oct 2015 09:50:52 +0000 (09:50 +0000)]
Merge "Plugin config + bugfix + refactoring"

8 years agoPlugin config + bugfix + refactoring 13/2713/7
Szilard Cserey [Tue, 20 Oct 2015 12:18:37 +0000 (14:18 +0200)]
Plugin config + bugfix + refactoring

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>
8 years agoMerge "Support for building Fuel behind a http proxy"
Stefan K. Berg [Tue, 27 Oct 2015 00:10:33 +0000 (00:10 +0000)]
Merge "Support for building Fuel behind a http proxy"

8 years agoSupport for building Fuel behind a http proxy 33/2633/15
Stefan K. Berg [Mon, 19 Oct 2015 14:52:34 +0000 (16:52 +0200)]
Support for building Fuel behind a http proxy

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>
8 years agoUpdate addresses of fuel repositories 31/2631/2
Michal Skalski [Mon, 19 Oct 2015 14:46:32 +0000 (16:46 +0200)]
Update addresses of fuel repositories

As described on this page [1] stackforge git namespace is deprecated.
Fuel together with associate projects (plugins etc.) is now moving to
openstack namespace.

[1] https://wiki.openstack.org/wiki/Stackforge_Namespace_Retirement

Change-Id: Id843e5512f27c9c106afbc2dc33a4fb322abb639

8 years agoCAN MERGE 67/2367/2
Jonas Bjurel [Thu, 8 Oct 2015 17:47:12 +0000 (19:47 +0200)]
CAN MERGE
VERIFIED
Description: Update of a few information files
JIRA: IMPROVEMENT

Change-Id: I792d4d79b1fda048231819de9be73c3467f3625a
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoCopy gitinfo.txt to the root of the Fuel master 93/2593/1
Stefan K. Berg [Fri, 16 Oct 2015 12:18:32 +0000 (14:18 +0200)]
Copy gitinfo.txt to the root of the Fuel master

The gitinfo.txt file contains the SHA1 of all upstream repos
used during the build of the install ISO (including the OPNFV
Fuel repo as well). Move these to the root directory of the
nstalled Fuel master as well for easy reference.

Change-Id: I23caadc23c69744a980027ef24d974f11efc37bd
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoImproved caching functionality and tracability 57/2557/5
Stefan K. Berg [Thu, 15 Oct 2015 10:51:26 +0000 (12:51 +0200)]
Improved caching functionality and tracability

In order to enable the caching of more build artifacts than the Fuel
iso during CI builds, the caching functionality and the CI build
frontend "build.sh" has been rewritten.

The build.sh script will now rely on the "make cache" functionality of
the top Makefile to make sure that the build is using cache handling.

The underlying cache logic is implemented in "cache.mk" for the top
makefile and those recursive levels that do not produce cachable
artifacts themselves in that they are only calling the SUBDIRS of
their lower level (like f_isoroot).

All "leaf" Makefiles will however need to implement three cache
targets in their top Makefile (for visibility):

clean-cache:
        Clean all files relating to the handling of caches.
get-cache:
        Attempt to fetch a cached artifact using a SHA1 key.
put-cache:
        Store a built artifact into the cache.

They can just implement a simple "no-op" functionality for thes
targets if they do not have any use of the caching functionality.

If they are to use the caching functionality, they must make sure to
implement a logic that produces a SHA1 hash based on the source of the
data they are to cache - for upstream repos one suggestion is to use
the commit ID of the used upstream HEAD. For examples, see the top
Makefile that implements this logic for the Fuel ISO build, taking
into consideration the commit IDs of all the upstream repositories
used.

To improve tracability, the root directory of the ISO will contain the
file gitinfo.txt, which is meant to detail the upstream repo and
commit ID used for all upstream dependencies of a build. If you are
adding additional upstream dependencies, make sure to use the
repo_info.sh tool to add this data.

The cache tool cache.sh has no notion of the cache data it is storing
- from the tools perspective, cache data is just a binary blob piped
in or out of the tool.

This blob is stored by the cache tool at the cache location as
<SHA1>.blob, together with an associated meta file <SHA1>.meta.

The cache meta file currently holds just one line:

    Expires: <epoch time>

This file is expected to be used to iterate through the cache objects
and retire those who's expiry date has passed. Currently objects will
always have an expiry date of two weeks into the future, but down the
road the "cache put" functionality may be amended with an optional
"age" argument that can set a different expiration time.

New tools in this commit:

  cache.sh - the cache logic
  repo_info.sh - the (optionally recursive) repo information logger

Change-Id: I8a40546c21febeecc9de6d82c0ceb6bc60b04205
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoUpdated logic for selecting Ubuntu repo for mirroring 65/2365/5
Stefan K. Berg [Thu, 8 Oct 2015 16:06:00 +0000 (18:06 +0200)]
Updated logic for selecting Ubuntu repo for mirroring

A slight improvement to Michal Skalski's original concept just
to filter out repos where updates are in progress (which would
leave us hanging).

Change-Id: Id641b3aa82b991c23b5742d1f64ff79cfbbd708c
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoTemporary fix for forcing cache rebuild 17/2317/2
Stefan K. Berg [Wed, 7 Oct 2015 18:54:05 +0000 (20:54 +0200)]
Temporary fix for forcing cache rebuild

The caching functionality will be greatly improved for the next
release - this is a quick fix for having the possiblility to
invalidate the cache forcefully when needed.

Change-Id: I4d83907255105fb454af6fb426193acc744fdba9
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Rebased patch due to upstream changes"
Stefan K. Berg [Fri, 9 Oct 2015 05:09:08 +0000 (05:09 +0000)]
Merge "Rebased patch due to upstream changes"

8 years agoRebased patch due to upstream changes 69/2369/1
Stefan K. Berg [Thu, 8 Oct 2015 18:55:06 +0000 (20:55 +0200)]
Rebased patch due to upstream changes

Change-Id: I63e39ff3d08bcfb80b83bb0c42082deb680ad727
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoCAN MERGE 95/2295/4
Jonas Bjurel [Wed, 7 Oct 2015 14:10:16 +0000 (16:10 +0200)]
CAN MERGE
VERIFIED
Description: Improved handling of docker clean-up
JIRA: FUEL-71

Change-Id: I565f77e227da2dcbaecd86582ab6890508726607
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoModifications due to upstream changes 93/2293/1
Stefan K. Berg [Wed, 7 Oct 2015 14:11:07 +0000 (16:11 +0200)]
Modifications due to upstream changes

Removed a patch which is now incorporated upstream.
Added debmirror as a requirement for the build Docker
container.

Change-Id: I92fa8571019ece9bac41bec2baa3629d286a3a51
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoAdd AMT adapter 51/2251/1
Liyi Meng [Mon, 5 Oct 2015 07:55:20 +0000 (09:55 +0200)]
Add AMT adapter

This adapter allow fuel deploy over Intel AMT/vPro system.
Please note that the adapter use amttool to interact with
target system, which imply that it only support up to
vPro v7.

Change-Id: I75f0882ea914b57d7d62338ed803a45104bc2d4e
Signed-off-by: Liyi Meng <liyi.meng@ericsson.com>
8 years agoMove of genesis/fuel master branch: commit 563547b4a9f44090f32c0e17d040114854563760 11/2211/1
Jonas Bjurel [Fri, 2 Oct 2015 11:29:56 +0000 (13:29 +0200)]
Move of genesis/fuel master branch: commit 563547b4a9f44090f32c0e17d040114854563760
Note: other installers and /common are removed

Change-Id: Ie5a2b0b7f3e7fa2eda191710c98456eeec17ed61
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoModified INFO 64/1164/1
Jonas Bjurel [Wed, 12 Aug 2015 14:30:48 +0000 (16:30 +0200)]
Modified INFO
Added Licence.rst

Change-Id: I610e75eccd44adff177122dd8e3a93a44e83d28e
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoAdding .gitreview INFO and License 94/994/1
Aric Gardner [Fri, 10 Jul 2015 17:21:00 +0000 (13:21 -0400)]
Adding .gitreview INFO and License

Change-Id: I31333946c4095c3e96f541f3fcc62cdeabd17a77
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agoInitial empty repository
Aric Gardner [Fri, 10 Jul 2015 15:07:46 +0000 (15:07 +0000)]
Initial empty repository