fuel.git
8 years agoCache as we go instead of in the end 23/7823/4
Stefan K. Berg [Sat, 23 Jan 2016 19:56:48 +0000 (20:56 +0100)]
Cache as we go instead of in the end

In order to speed up the build process when building with the cache
enabled, cache immediately following the build of a sub artifact
instead of at the end.

Should the build fail, we don't need to rebuild those parts that
already were successful in the last build.

Change-Id: I23b59f7ba4a04272aea855cf451793158fe12241
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "All plug-ins except those explicitly rebased are disabled"
Jonas Bjurel [Sun, 24 Jan 2016 21:52:46 +0000 (21:52 +0000)]
Merge "All plug-ins except those explicitly rebased are disabled"

8 years agoAll plug-ins except those explicitly rebased are disabled 27/7827/1
Jonas Bjurel [Sun, 24 Jan 2016 21:29:06 +0000 (22:29 +0100)]
All plug-ins except those explicitly rebased are disabled

Plugin providers need to enable plugins as they get rebased to Fuel8
and builds successfully

Change-Id: Iea0847a1fc0484cf0900912ab6e07bfa501bc479
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoBreak early in build if docker-in-docker fails 25/7625/3
Stefan K. Berg [Thu, 21 Jan 2016 15:04:15 +0000 (16:04 +0100)]
Break early in build if docker-in-docker fails

Change-Id: Ic5d8779f938133a958627170bd379198bec36342
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoStart sshd daemon before fuelmenu 21/7821/1
Michal Skalski [Sat, 23 Jan 2016 19:42:27 +0000 (20:42 +0100)]
Start sshd daemon before fuelmenu

OPNFV deploy script require ssh connectivity to fuel master node to
discover if fuelmenu process is started.

Change-Id: Ib9aa61f98d15d0554b135f4c0c8887cd0a2d36ce
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoOpenDaylight plugin for brahmaputra release 47/7247/3
Michal Skalski [Tue, 19 Jan 2016 10:00:23 +0000 (11:00 +0100)]
OpenDaylight plugin for brahmaputra release

Include new version of fuel-plugin-opendaylight.
Changes in this version:

 - Support MOS 8.0.
 - Move ODL installation and configuration
   to main phase of deployment.
 - L3 traffic managed by ODL possible when vxlan
   tunneling is used.
 - Include snapshot of OpenDaylight Beryllium,
   stable version not available at this moment.
 - Get rid of hardcoded configuration related to specific ODL version.
   Now plugin is more elastic and should support a broader
   number of ODL versions.
 - odl_network_scheme function overrided standard network scheme
   so custom network templates are not required.
 - ODL is no longer patched to use br-floating bridge

JIRA: FUEL-58

Change-Id: Ie3542e285a064c37d1edb6751c4853a5e7594478
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoFix to allow more physical nodes defined in DHA than node definitions in dea 67/7267/6
Jonas Bjurel [Tue, 19 Jan 2016 11:34:36 +0000 (12:34 +0100)]
Fix to allow more physical nodes defined in DHA than node definitions in dea
NOT VERIFIED
DO NOT MERGE

Change-Id: Id5b6029d11bfcd394e6f84a7b73b8a17820561cf
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "Select closest Fuel mirror as measured by ping"
Stefan K. Berg [Fri, 22 Jan 2016 14:15:57 +0000 (14:15 +0000)]
Merge "Select closest Fuel mirror as measured by ping"

8 years agoAdded template for postinstall 87/5787/3
Sofia Wallin [Thu, 7 Jan 2016 13:56:35 +0000 (14:56 +0100)]
Added template for postinstall

Added template for postinstall as part of the configuration guide.

Change-Id: I212baa59b071fd785e70a9f018dc004ba79ec9fa
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
8 years agoadd map for onos virtual deployment 25/7525/3
dongfeng [Thu, 21 Jan 2016 01:26:29 +0000 (20:26 -0500)]
add map for onos virtual deployment

Change-Id: I331a9936156730e58846007f154e6eadaeedd5ba

8 years agoSelect closest Fuel mirror as measured by ping 13/7713/2
Stefan K. Berg [Fri, 22 Jan 2016 12:15:02 +0000 (13:15 +0100)]
Select closest Fuel mirror as measured by ping

Select the (hopefully) geographically closest Fuel mirror to speed
up the build time.

Change-Id: I586d90ae58a9c22b1cf60df1bdb907c0e97486fa
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Store Fuel ISO in build cache as it is built"
Stefan K. Berg [Fri, 22 Jan 2016 12:16:35 +0000 (12:16 +0000)]
Merge "Store Fuel ISO in build cache as it is built"

8 years agoRestore ISO file name to make CI functional again 11/7711/1
Stefan K. Berg [Fri, 22 Jan 2016 11:02:35 +0000 (12:02 +0100)]
Restore ISO file name to make CI functional again

An overzealous designer :) renamed the ISO output file, which
broke CI. This will put everything right again.

Change-Id: I25dca7ecfaa679872ee3d670b5df56333b3321c4
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoStore Fuel ISO in build cache as it is built 01/7701/2
Stefan K. Berg [Fri, 22 Jan 2016 09:05:07 +0000 (10:05 +0100)]
Store Fuel ISO in build cache as it is built

Right not the build cache is populated after a full (successful)
build. As the Fuel ISO takes some time to build, this saves quite
some time in the cases where the ISO is built successfully but a
following plugin build fails.

Change-Id: Ic6be1f5b5d00b9436eb0f82911cf28b449d0a156
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Small updates to build-requirements for docker stuff. fixed whitespace x2...
Daniel Smith [Fri, 22 Jan 2016 09:19:13 +0000 (09:19 +0000)]
Merge "Small updates to build-requirements for docker stuff. fixed whitespace x2 Change-Id: Ie9d52f820400df10d88ade035f2900aecab0c66d JIRA:0 Signed-off-by: Daniel Smith <daniel.smith@ericsson.com>"

8 years agoUse mirrors snapshots 27/7527/7
Michal Skalski [Thu, 21 Jan 2016 01:17:11 +0000 (02:17 +0100)]
Use mirrors snapshots

Add logic to fetch information about last suitable snapshot which can be
used to download ubuntu packages. This is for example use to build
community ISO [1]. This should help in case of snapshot switch [2].

[1]
https://github.com/fuel-infra/jenkins-jobs/blob/master/servers/fuel-ci/8.0/builders/community.all.sh#L36-L40
[2] https://bugs.launchpad.net/fuel/+bug/1493390/comments/9

Change-Id: Id5a8d41278561473ea4844631bfefa0049e64dbc
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Turn on fuelmenu by default, turn off biosdevname"
Stefan K. Berg [Thu, 21 Jan 2016 12:48:38 +0000 (12:48 +0000)]
Merge "Turn on fuelmenu by default, turn off biosdevname"

8 years agoTurn on fuelmenu by default, turn off biosdevname 81/7481/9
Stefan K. Berg [Wed, 20 Jan 2016 16:53:55 +0000 (17:53 +0100)]
Turn on fuelmenu by default, turn off biosdevname

Added experimental Fuel build loop, rebuilding up to ten times
while keeping the package cache, in the hope that all packages
will be able to download. Added snapshot support into this script
as well.

Changed naming of OPNFV iso label to OPNFV_FUEL_<id>, made changes
in ks.cfg and isolinux.cfg to look for this name at install.

Change-Id: Ic28a3af769cfc90416d7d988afd6f07eadcef4f1
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoSmall updates to build-requirements for docker stuff. 89/7489/3
Daniel Smith [Wed, 20 Jan 2016 18:24:12 +0000 (13:24 -0500)]
Small updates to build-requirements for docker stuff.
fixed whitespace x2
Change-Id: Ie9d52f820400df10d88ade035f2900aecab0c66d
JIRA:0
Signed-off-by: Daniel Smith <daniel.smith@ericsson.com>
8 years agoFixed DNS and NTP serves for default virtual lab definitions 43/7443/2
Jonas Bjurel [Wed, 20 Jan 2016 12:46:18 +0000 (13:46 +0100)]
Fixed DNS and NTP serves for default virtual lab definitions

Change-Id: I47a5e2b3bc0e74c44256c6733e331b89889cf9c7
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoScenario uplift to Fuel8 61/7261/1
Jonas Bjurel [Tue, 19 Jan 2016 11:10:19 +0000 (12:10 +0100)]
Scenario uplift to Fuel8
- Re arranged node-roles according to Fuel8 requirements
  o There must be at least 3 CephOSD nodes
  o Ceph-OSD cannot be co-located with Mongo
  o Mongo cann not run on compute

Change-Id: I55b99bb4e5779170b31a56025d36b9b55a1a4da2
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoTemporary fix for ONOS deployment scenario. 07/6607/3
Jonas Bjurel [Wed, 13 Jan 2016 21:39:06 +0000 (22:39 +0100)]
Temporary fix for ONOS deployment scenario.

- Although ONOS supports L3, this patch doesnt let the L3 capabilities
  of ONOS loose - this is due to OPNFV Pharos lab incompatibilities
  with ONOS. Hope to have a fix soon
- Also provides a template for scenario short names

Change-Id: Ie86bcdc23492ee0fd7a19c11eecfca07afb64df3
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoCorrection of cache handling for ISO build 17/7117/3
Stefan K. Berg [Mon, 18 Jan 2016 12:51:24 +0000 (13:51 +0100)]
Correction of cache handling for ISO build

The cache id was not generated considering config.mk nor
Makefile.

Change-Id: I29ae0d60b89d4653cb38cffe83f666c5056daf63
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Fuel 8 uplift"
Stefan K. Berg [Sun, 17 Jan 2016 19:18:58 +0000 (19:18 +0000)]
Merge "Fuel 8 uplift"

8 years agoFuel 8 uplift 13/5913/18
Stefan K. Berg [Fri, 8 Jan 2016 12:26:00 +0000 (13:26 +0100)]
Fuel 8 uplift

Introducing Fuel 8 with associated changes:

Improvements in usage of cgroups - they are now bind mounted from
the host which solved a Docker-in-Docker problem.

The cache tool (cache.mk) has a new argument "getbiweek" which is
used by the top Makefile when building the Fuel ISO. This makes sure
that there's a fresh build every second week even if the cache is not
purged automatically based on its meta data. This is something we
should add everywhere (in a separate change set).

And obviously, Fuel is now building from stable/8.0 upstream.

NOTE! f_repobuild has been disabled for now, it throws an error
when run. Will be fixed separately.

Change-Id: I7e2ee737fd3bedc75f58539fbc3c5fd1fa08cfa1
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoAdding fuel-bgpvpn-plugin and Scenario 11/6711/4
Nikolas Hermanns [Thu, 14 Jan 2016 13:22:35 +0000 (14:22 +0100)]
Adding fuel-bgpvpn-plugin and Scenario

To use the bgpvpn fuel plugin configs where added
and a first scenario using it is added

Change-Id: Id3c65abe39e1945f6a451c523732a513b01db696

8 years agoMerge "Removing CPU specification from Templates"
Jonas Bjurel [Thu, 14 Jan 2016 16:27:32 +0000 (16:27 +0000)]
Merge "Removing CPU specification from Templates"

8 years agoIgnoring pyc and eclipse files 15/6715/1
Nikolas Hermanns [Thu, 14 Jan 2016 13:24:11 +0000 (14:24 +0100)]
Ignoring pyc and eclipse files

Change-Id: I6883c45b805ba52ed485c634300c86652c9cb9e0

8 years agoAlign scenario short names between installers 47/6547/2
Fatih Degirmenci [Wed, 13 Jan 2016 15:09:55 +0000 (16:09 +0100)]
Align scenario short names between installers

The fields in scenario short name is agreed between joid and fuel
as below.

    os-[controller]-[feature]-[mode](-[optionalparameter])

Change-Id: I3729e660c10429df0e2d8cf25e4b5a66128afa7e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "VLAN Segmentation scenarios needed for virtual traffic classifier"
Jonas Bjurel [Wed, 13 Jan 2016 20:43:05 +0000 (20:43 +0000)]
Merge "VLAN Segmentation scenarios needed for virtual traffic classifier"

8 years agoRemoving CPU specification from Templates 83/5883/2
Nikolas Hermanns [Fri, 8 Jan 2016 10:41:05 +0000 (11:41 +0100)]
Removing CPU specification from Templates

Not all the flags are supported by
every machine. This patch removes
the specification of cpu and
lets libvirt decide what cpu
model is used.

Change-Id: I1f183560e47d58abcfe496838a815d3f3594ee1b

8 years agof_ovsnfv-dpdk-pluginbuild: Update repo location 09/5809/2
Mark D. Gray [Thu, 7 Jan 2016 15:23:03 +0000 (15:23 +0000)]
f_ovsnfv-dpdk-pluginbuild: Update repo location

The code for fuel-plugin-ovsnfv has been moved to
the ovsnfv OPNFV project repository. This patch
updates the OPNFV fuel plugin builder to use this
location.

Change-Id: Ida1640ea6005aa1f4b31be145913556d6b05aa6e
Signed-off-by: Mark D. Gray <mark.d.gray@intel.com>
8 years agoFix build failure in fuel base & qemu 15/5715/2
Ruijing Guo [Thu, 7 Jan 2016 05:17:37 +0000 (05:17 +0000)]
Fix build failure in fuel base & qemu

Change-Id: I4a6cc047011547402641619a5683af3d24c057ee
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoVLAN Segmentation scenarios needed for virtual traffic classifier 31/6431/1
Jonas Bjurel [Tue, 12 Jan 2016 20:30:22 +0000 (21:30 +0100)]
VLAN Segmentation scenarios needed for virtual traffic classifier

Change-Id: I2a42cff6f128bc0faca40bd6576c52282e66c0f4
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoIntegration of vsperf plugin 83/5583/3
Jonas Bjurel [Tue, 5 Jan 2016 13:29:16 +0000 (14:29 +0100)]
Integration of vsperf plugin

VERIFIED
READY TO MERGE

Change-Id: Ia3b01c0de1081ce24e4db361ba6e77475e8ea291
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoDeploy Scenario bug-fixes 99/6299/1
Jonas Bjurel [Tue, 12 Jan 2016 08:57:29 +0000 (09:57 +0100)]
Deploy Scenario bug-fixes
- Fixed HA defenition for ODL-L2 and ODL-L3 in scenario.yaml

Change-Id: I60cbac779b2faa34f0bf96159839826e157295fe
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoAdded a few more deply.sh arguments needed by Jenkins 75/6175/4
Jonas Bjurel [Mon, 11 Jan 2016 14:38:02 +0000 (15:38 +0100)]
Added a few more deply.sh arguments needed by Jenkins

Added arguments:
  -B  PXE Bridge for booting of Fuel master
  -f  Deploy on existing Fuel master
  -F  Do only create a Fuel master
  -H  NO Health check
  -S Storage dir for VM images

Added checks for URI formats

Change-Id: I1f5138a2058e7b3274e9acf4bbbba243a427fb96
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoSmall fixes to the deployment scenario framework: 53/6053/3
Jonas Bjurel [Sat, 9 Jan 2016 15:01:50 +0000 (16:01 +0100)]
Small fixes to the deployment scenario framework:

- 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>
8 years agoONOS scenario according to wanted config file structure 55/6055/1
Jonas Bjurel [Sun, 10 Jan 2016 18:31:52 +0000 (19:31 +0100)]
ONOS scenario according to wanted config file structure

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>
8 years agoA simple method to separate configuration for base fuel, plugins, PODs 57/5357/10
Jonas Bjurel [Tue, 29 Dec 2015 21:16:57 +0000 (22:16 +0100)]
A simple method to separate configuration for base fuel, plugins, PODs
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>
8 years agoMerge "Templates for configuration guide"
Jonas Bjurel [Thu, 7 Jan 2016 12:07:55 +0000 (12:07 +0000)]
Merge "Templates for configuration guide"

8 years agoFix noha virtual deployment templates for Erisson blade 71/5671/1
Fatih Degirmenci [Wed, 6 Jan 2016 13:32:20 +0000 (14:32 +0100)]
Fix noha virtual deployment templates for Erisson blade

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>
8 years agoTemplates for configuration guide 85/5485/3
Sofia Wallin [Mon, 4 Jan 2016 13:01:39 +0000 (14:01 +0100)]
Templates for configuration guide

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>
8 years agoUpdate OVS Plugin 31/5431/1
Ruijing Guo [Sun, 3 Jan 2016 21:22:45 +0000 (21:22 +0000)]
Update OVS Plugin

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>
8 years agoupload onosfw plugin makefile 47/5347/2
dongfeng [Tue, 29 Dec 2015 09:57:38 +0000 (17:57 +0800)]
upload onosfw plugin makefile

Change-Id: I70f81d0ad66d559a672ca037021b4256b18a202d

8 years agoAdded Fuel plug-in builder for OVSNFV 83/4983/7
Jonas Bjurel [Mon, 21 Dec 2015 20:36:30 +0000 (21:36 +0100)]
Added Fuel plug-in builder for OVSNFV

JIRA FUEL-36

Change-Id: I354919bbed08dc2a449fa49334ca26d05e057676
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "Update OVS Plugin"
Ruijing Guo [Fri, 25 Dec 2015 00:36:43 +0000 (00:36 +0000)]
Merge "Update OVS Plugin"

8 years agoUpdate OVS Plugin 79/5179/1
Ruijing Guo [Wed, 23 Dec 2015 06:14:04 +0000 (06:14 +0000)]
Update OVS Plugin

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>
8 years agoUpdate KVM/QEMU 15/5115/1
Ruijing Guo [Wed, 23 Dec 2015 06:14:04 +0000 (06:14 +0000)]
Update KVM/QEMU

1. fix KVM/QEMU boot issue

Change-Id: I967e79e5a8eb6f349ad4feb61fa9701901e2913d
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoMerge "Revert "Fix for the default virtaul enviroment template.""
Daniel Smith [Tue, 22 Dec 2015 16:12:29 +0000 (16:12 +0000)]
Merge "Revert "Fix for the default virtaul enviroment template.""

8 years agoRevert "Fix for the default virtaul enviroment template." 93/5093/1
Fatih Degirmenci [Tue, 22 Dec 2015 15:56:03 +0000 (15:56 +0000)]
Revert "Fix for the default virtaul enviroment template."

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

8 years agoRemove extra controller from Ericsson POD2 DEA 91/5091/2
Fatih Degirmenci [Tue, 22 Dec 2015 15:52:10 +0000 (16:52 +0100)]
Remove extra controller from Ericsson POD2 DEA

Change-Id: I824e781f24a918fe724f3eb7194005cbf5962b5b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoFix for the default virtaul enviroment template. 17/5017/1
lmcdasm [Tue, 22 Dec 2015 06:10:46 +0000 (01:10 -0500)]
Fix for the default virtaul enviroment template.

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

8 years agoMove install_docker.sh to common place 19/4919/4
Ruijing Guo [Mon, 21 Dec 2015 03:39:47 +0000 (03:39 +0000)]
Move install_docker.sh to common place

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>
8 years agoAlign all plugins with new method for cache id 63/4863/10
Stefan K. Berg [Fri, 18 Dec 2015 11:53:46 +0000 (12:53 +0100)]
Align all plugins with new method for cache id

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>
8 years agoCreated a template for installer configuration 51/4451/4
Sofia Wallin [Mon, 14 Dec 2015 15:14:21 +0000 (16:14 +0100)]
Created a template for installer configuration

Change-Id: Ia47d104773987f6517eac2a198994d63c9f8122c
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
8 years agoRebased with latest upstream ONOSFW plugin 43/4943/1
Jonas Bjurel [Mon, 21 Dec 2015 11:21:53 +0000 (12:21 +0100)]
Rebased with latest upstream ONOSFW plugin

Change-Id: Iaa8f101380124aae3c91f75702a89ab784884072
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoReplace ericsson-pod2 dha and dea files with the working versions 13/4913/1
Fatih Degirmenci [Sun, 20 Dec 2015 13:49:13 +0000 (14:49 +0100)]
Replace ericsson-pod2 dha and dea files with the working versions

Change-Id: Ia071dd3c76a5d3fc5f8418e39f123850358a00a6
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoUplift of Docker versions 83/4883/1
Stefan K. Berg [Fri, 18 Dec 2015 15:11:36 +0000 (16:11 +0100)]
Uplift of Docker versions

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>
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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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

9 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"

9 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"

9 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"

9 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

9 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>
9 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

9 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

9 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>
9 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"