fuel.git
8 years agoFinal documentation review for Brahmaputra release 57/9757/6
Jonas Bjurel [Wed, 10 Feb 2016 20:42:40 +0000 (21:42 +0100)]
Final documentation review for Brahmaputra release

Issue of the Fuel documentation for Brahmaputra for final review as
proposed by Sofia and me. This patch will constantly be amended with
improvements, corrections, etc as we go. From time to time we will,
merge this patch to generate consolidated scraped results. But we will
re-issue a review patch with the same topic-branch and commit headline
until we have a taged Brahmaputra release.

To view/review the entire files from gerrit, click the settings icon almost
at the top right, and select "lines of context: entire file"

- Note: There is still unknowns highlighted by <TODO>
- Please comment on disposition, content, directory placing, etc.
- You can find the rendered versions of the Fuel@OPNFV specific docs
  from the CI-job for this patch. These include:
  - installation-instruction.rst
  - build-instruction.rst
  - release-notes.rst
- Scraped document composit rendering are placed - TBD. These include:
  - installerconfig.rst
  - postinstall.rst

Change-Id: I5e28141cf03d80e5da9c5e10f5e75a3a26994f38
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoDocumentation according to new template provided by the Docs team 93/6593/9
Jonas Bjurel [Wed, 13 Jan 2016 19:22:14 +0000 (20:22 +0100)]
Documentation according to new template provided by the Docs team

- The Config guide is not an atonomos document, but will be scraped into a
  bigger context.

- The post install guide is not an atonomos document, but will be scraped
  into a bigger context.

- Installation instructions is an atonomos document describing details on
  how to install Fuel@OPNFV

- Build instructions is an atonomos document describing how to build Fuel@OPNFV

- Release notes

- Agreed with the community that binary image files shall be in the repo,
  as much as I hate it.

DO NOT MERGE

JIRA: FUEL-38

Change-Id: I88a93e20ef2c67a2c973147a7a1e332e3da55674
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoPut ubuntu mirror in predictable directory 67/9667/1
Michal Skalski [Wed, 10 Feb 2016 00:25:17 +0000 (01:25 +0100)]
Put ubuntu mirror in predictable directory

Change-Id: I05cb8dfcf8d8b7cf256c6e6d900f1a90a2b2870e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoWe need to preserve environment for sudo build 77/9477/1
Stefan K. Berg [Sat, 6 Feb 2016 23:09:55 +0000 (00:09 +0100)]
We need to preserve environment for sudo build

In order to preserve environment variables (esp commit ids)
for the Fuel build, the environment needs to be kept when
the build loop is run.

Change-Id: Ia044ea92853147280db0686ac857beda52ab50dc
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoEnable use of Fuel library commit ids for mirror 73/9473/3
Stefan K. Berg [Sat, 6 Feb 2016 16:40:27 +0000 (17:40 +0100)]
Enable use of Fuel library commit ids for mirror

If FUEL_MIRROR_COMMIT is set (indicating a pinning of all
Fuel repositories), use that one instead of FUEL_MAIN_TAG.

Change-Id: I4af82cf63f8e846d757a583836fce8bb78d93906
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoURGENT Quick-fix for scenarios 01/9401/1
Jonas Bjurel [Fri, 5 Feb 2016 14:40:48 +0000 (15:40 +0100)]
URGENT Quick-fix for scenarios

Change-Id: I709d5868ebe038f908b43d930117060ba1936a61
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "Added environment sanity checks for build."
Jonas Bjurel [Fri, 5 Feb 2016 10:50:29 +0000 (10:50 +0000)]
Merge "Added environment sanity checks for build."

8 years agoMerge "Switching to using local package mirror for installation"
Stefan K. Berg [Fri, 5 Feb 2016 10:24:58 +0000 (10:24 +0000)]
Merge "Switching to using local package mirror for installation"

8 years agoMerge "Increase Fuel disk size from 50 GB to 100 GB"
Stefan Berg [Fri, 5 Feb 2016 09:08:28 +0000 (09:08 +0000)]
Merge "Increase Fuel disk size from 50 GB to 100 GB"

8 years agoSwitching to using local package mirror for installation 69/9269/6
Stefan K. Berg [Thu, 4 Feb 2016 13:32:06 +0000 (14:32 +0100)]
Switching to using local package mirror for installation

Change-Id: Ic2039bfd4fe23851197e92cce060397b54c891f0
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoDon't download packages which are already on ISO 09/9309/1
Michal Skalski [Thu, 4 Feb 2016 16:03:30 +0000 (17:03 +0100)]
Don't download packages which are already on ISO

It is not necessary to create local mirrors with mos-ubuntu packages for
our purpose. These packages are already included on ISO, we only need
these from ubuntu upstream repositories.

Change-Id: I26d88019981b32e7fdb69a0a608a910bbe4d623a
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoAdded environment sanity checks for build. 95/9295/2
Jonas Bjurel [Thu, 4 Feb 2016 21:18:31 +0000 (22:18 +0100)]
Added environment sanity checks for build.

Based on a discussion I and Stefan had today, better to check early on than
crash hours in to the build with vague information of the root-cause.

Added checks:
- Linus distro - must be Ubuntu
- Kernel version - must be 3.19 or later
- Docker network sanity check

Change-Id: Ie6758064ade4c58388368106d9bc556730d2bcec
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoIncrease Fuel disk size from 50 GB to 100 GB 67/9267/2
Peter Barabas [Thu, 4 Feb 2016 13:20:20 +0000 (14:20 +0100)]
Increase Fuel disk size from 50 GB to 100 GB

Change-Id: I4a5471f9b910584d6af6620bf901d6308a425bb9
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoMerge "Remove leftover from old plugin configurations"
Michal Skalski [Thu, 4 Feb 2016 21:25:49 +0000 (21:25 +0000)]
Merge "Remove leftover from old plugin configurations"

8 years agoMerge "Remove patching 'netmask' from isolinux.cfg"
Jonas Bjurel [Thu, 4 Feb 2016 16:41:36 +0000 (16:41 +0000)]
Merge "Remove patching 'netmask' from isolinux.cfg"

8 years agoRemove leftover from old plugin configurations 83/9283/1
Michal Skalski [Thu, 4 Feb 2016 16:16:25 +0000 (17:16 +0100)]
Remove leftover from old plugin configurations

Change-Id: Id1008ffbbfa4f30b63997f77183cc802ee01fcd6

8 years agoCorrecting license and copyright terms throughout the repo 85/9085/5
Jonas Bjurel [Tue, 2 Feb 2016 22:52:10 +0000 (23:52 +0100)]
Correcting license and copyright terms throughout the repo

Please review this carefully!

Strategy:
1) No strict research on copyright/who did what (if you want it changed
   contact the Fuel team or Jonas Bjurel)
2) Licence statements will not be added to the following file types:
   - Patch files or orig files for patches
   - Config files generated by ordinary tools, like libvirt/visrsh
   - GIT dierctive file
   - Other auto-generated files

Change-Id: I48504c6f27925445dc44683a27a575bcab78d828
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoAdding .gitignore part of previous commits but reverted due to gerrit issues 01/9201/2
Jonas Bjurel [Wed, 3 Feb 2016 22:59:06 +0000 (23:59 +0100)]
Adding .gitignore part of previous commits but reverted due to gerrit issues

This patch should reassemble patches from Ryota, Nikolase, etc. which became
broken at the process of mass cherry-picking.

Change-Id: I9aa386c48ae7fadda1ebdf4b29bd88728d0a4b61
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoRemove patching 'netmask' from isolinux.cfg 55/9255/1
Peter Barabas [Thu, 4 Feb 2016 10:14:09 +0000 (11:14 +0100)]
Remove patching 'netmask' from isolinux.cfg

Change-Id: I7ba0c677b8a77b1239fcec4d0771af2b2cdddc01
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoMerge "Properly clean up after SIGTERM (kill) and Ctrl-c"
Jonas Bjurel [Thu, 4 Feb 2016 10:02:28 +0000 (10:02 +0000)]
Merge "Properly clean up after SIGTERM (kill) and Ctrl-c"

8 years agoUplift scenario files to Liberty 89/9189/2
Nikolas Hermanns [Wed, 3 Feb 2016 17:25:05 +0000 (18:25 +0100)]
Uplift scenario files to Liberty

Change-Id: I4d977caadc3858b315ff8f3d0eb063bcc443ace1

8 years agoUplift fuel-plugin-bgpvpn to fuel8.0 89/8689/3
Nikolas Hermanns [Fri, 29 Jan 2016 21:12:15 +0000 (22:12 +0100)]
Uplift fuel-plugin-bgpvpn to fuel8.0

Change-Id: I69d86ea7d7ab794582a9cac05ceee544b35608fa

8 years agoProperly clean up after SIGTERM (kill) and Ctrl-c 37/9137/2
Peter Barabas [Wed, 3 Feb 2016 09:35:24 +0000 (10:35 +0100)]
Properly clean up after SIGTERM (kill) and Ctrl-c

Change-Id: Ibcd9bdda9aaebfd96d32a3efbc7a53f5428b5c91
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoRevert "Ignoring pyc and eclipse files" 49/9149/2
Jonas Bjurel [Wed, 3 Feb 2016 10:11:29 +0000 (10:11 +0000)]
Revert "Ignoring pyc and eclipse files"

This reverts commit 516e97efb5a47e6e2b88f1b237f3f9e1c6465832.

Change-Id: I19fb634db01f074495fd06508ab3d7c9ee084d0d

8 years agoRevert "updates to use new doc toolchain" 43/9143/2
Jonas Bjurel [Wed, 3 Feb 2016 09:55:11 +0000 (09:55 +0000)]
Revert "updates to use new doc toolchain"

This reverts commit 62beda30b7d5be6ee8171774c35282c0541a5dd4.

Change-Id: I4ff9700ec8b81659e9410f373c4decb5dca2f484

8 years agoProperly handling ubuntu directory as a non top of repository 91/9091/2
Michal Skalski [Wed, 3 Feb 2016 01:29:09 +0000 (02:29 +0100)]
Properly handling ubuntu directory as a non top of repository

Change-Id: Ie7d921b3728df937dc719cd638fa7ae035fc9307
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Sync with upstream repository"
Michal Skalski [Wed, 3 Feb 2016 08:17:45 +0000 (08:17 +0000)]
Merge "Sync with upstream repository"

8 years agoSync with upstream repository 61/9061/4
Michal Skalski [Tue, 2 Feb 2016 15:53:21 +0000 (16:53 +0100)]
Sync with upstream repository

Revert to default Fuel partition schema which is now
based on percentage usage.

Change-Id: I04884dc0e33f8fc7198334db1cb1f7364669b22c
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoupdates to use new doc toolchain 59/4259/4
Ryota MIBU [Fri, 11 Dec 2015 06:30:46 +0000 (15:30 +0900)]
updates to use new doc toolchain

Change-Id: Ic743125195c158dfb6b09b7f101f71cc71e66c2b
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoIncrease Fuel disk size 95/8895/2
Jonas Bjurel [Mon, 1 Feb 2016 14:33:20 +0000 (15:33 +0100)]
Increase Fuel disk size

Change-Id: I386113113a7f3d754f66c2a359ef4a5d18176f47
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoonos change scenario 67/8867/2
dongfeng [Mon, 1 Feb 2016 12:34:49 +0000 (07:34 -0500)]
onos change scenario

Change-Id: Iaaa36203e826e1785489538f06ea1a25da373945

8 years agoFix KVM/QEMU bugs 09/8809/2
David Chou [Mon, 1 Feb 2016 00:19:22 +0000 (00:19 +0000)]
Fix KVM/QEMU bugs

1. fix kvm boot issue
2. fix qemu/libvirt compatability issue

Change-Id: I9de950ce971d5d51da1a5e3876fff805b5ce118d
Signed-off-by: David Chou <david.j.chou@intel.com>
8 years agoIncrease size of var partition on Fuel Master 23/8723/2
Michal Skalski [Sat, 30 Jan 2016 00:05:48 +0000 (01:05 +0100)]
Increase size of var partition on Fuel Master

Because we want to store local mirrors it could happen
that there will be no enough space on var partition to build
installation os image.

Also sync with upstream changes.

Change-Id: I95161453d72bdee2b6992955b0634d33c64f0b4e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoRebasement of Fuel8 deployment configuration files and scenarios 87/8087/28
Jonas Bjurel [Tue, 26 Jan 2016 22:37:23 +0000 (23:37 +0100)]
Rebasement of Fuel8 deployment configuration files and scenarios

Note:
- Lab configurations removed
- Most of the POD configuration files resides in the securedlab repo
- The securedlab repo is very restricive, cause it carries Lab internal
  secrets

TODO:
- Ericsson virt is not yet rebased
- Intel virt is not yet rebased
- LF-POD2 is not yet rebased
- Deployment scenarios for vsperf, NFVOVS, NFVKVM, ONOS, VSPERF, BGPVPN is not yet rebased

NOT VERIFIED
DO NOT MERGE

Change-Id: I59d96acb26c06abf60c254fae8ea2ced332e5884
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoonos-config 63/8463/1
dongfeng [Fri, 29 Jan 2016 11:40:35 +0000 (06:40 -0500)]
onos-config

Change-Id: I10af719aa70dd9fde333542f507033903a6224de

8 years agoCreate local mirrors for offline installation 59/8359/4
Michal Skalski [Thu, 28 Jan 2016 14:28:07 +0000 (15:28 +0100)]
Create local mirrors for offline installation

- switch to fuel-mirror [1]
- plugin developers can create packages.yaml
  file with names of required packages
- use custom configuration for fuel-bootstrap
  which always point to local repositories
- delay process of bootstrap image creation until
  mirrors will be ready

[1] https://github.com/openstack/fuel-mirror

Change-Id: Ie4a47c8cc13d9ded8c6b5fe48cdcbfeb1f6277a4
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoRebase Fuel OVS & QEMU plugin to Fuel 8.0 47/7947/4
Ruijing Guo [Tue, 26 Jan 2016 03:23:03 +0000 (03:23 +0000)]
Rebase Fuel OVS & QEMU plugin to Fuel 8.0

Change-Id: I73a3e5e64d7987c773d3f543f6ad94cdf96d2bdb
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agofuel-plugin-vsperf: Change repo for vswitchperf plugin 87/7487/7
Billy O'Mahony [Wed, 20 Jan 2016 17:13:56 +0000 (17:13 +0000)]
fuel-plugin-vsperf: Change repo for vswitchperf plugin

Change-Id: I694039c2762f17dfa4fdb642ad34e31aa7e2362a
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
8 years agoMerge "Support new plugin configuration schema"
Jonas Bjurel [Thu, 28 Jan 2016 19:34:29 +0000 (19:34 +0000)]
Merge "Support new plugin configuration schema"

8 years agoSupport new plugin configuration schema 35/8335/2
Michal Skalski [Thu, 28 Jan 2016 16:15:30 +0000 (17:15 +0100)]
Support new plugin configuration schema

In Fuel 8.0 it is possible to install many version of the same plugin.
Because of that there is additonal structurce in plugin configuration.
Assumption is that we only use one version of the plugin.

Change-Id: I50d5bc32dd6dab6fe2541748dd8404d887e336e0
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agofuel-plugin-ovsnfv: Enable plugin after rebase 67/8167/4
Billy O'Mahony [Wed, 27 Jan 2016 16:55:52 +0000 (16:55 +0000)]
fuel-plugin-ovsnfv: Enable plugin after rebase

Change-Id: I08ae033e905cae9c2f7cd4f8cc66e8f78f1d54c4
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
8 years agoonosfw plugin for 8.0 87/7887/2
dongfeng [Mon, 25 Jan 2016 13:08:55 +0000 (08:08 -0500)]
onosfw plugin for 8.0

Change-Id: I7804986242e9e2ac556a17b3475e7af48cec2756

8 years agoNew verified version of OpenDaylight 57/8257/2
Michal Skalski [Thu, 28 Jan 2016 08:48:01 +0000 (09:48 +0100)]
New verified version of OpenDaylight

New autorelease version of ODL is available: daily-v201601270140
In this version problems with missing openflow tables seems to not
occur.

Change-Id: I95ce171b02ee5775f0e63f1e601d0c78edb4b178
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoRebase of ks.cfg due to upstream changes 63/8263/1
Stefan K. Berg [Thu, 28 Jan 2016 09:02:00 +0000 (10:02 +0100)]
Rebase of ks.cfg due to upstream changes

Change-Id: I488851ded40e88180359d545259ec0631416d32d
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoMerge "Fix wrong offset in environment array"
Stefan Berg [Wed, 27 Jan 2016 15:41:30 +0000 (15:41 +0000)]
Merge "Fix wrong offset in environment array"

8 years agoFix wrong offset in environment array 47/8147/1
Peter Barabas [Wed, 27 Jan 2016 13:44:17 +0000 (14:44 +0100)]
Fix wrong offset in environment array

Change-Id: Ifd01bc89c2c73801544310f567dd0458233b3290
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoMerge "Revert "Fix build failure in fuel base & qemu""
Stefan K. Berg [Wed, 27 Jan 2016 12:38:42 +0000 (12:38 +0000)]
Merge "Revert "Fix build failure in fuel base & qemu""

8 years agoUse Fuel 8 CLI compatible commands 33/8133/1
Peter Barabas [Wed, 27 Jan 2016 10:07:52 +0000 (11:07 +0100)]
Use Fuel 8 CLI compatible commands

Change-Id: Icd2feed7326772837c74f35688160d1eb0c25652
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoFix boot parameters for Fuel 8 33/8033/1
Peter Barabas [Tue, 26 Jan 2016 13:23:36 +0000 (14:23 +0100)]
Fix boot parameters for Fuel 8

Change-Id: I21a70728810571482ca2cc2264733dbca89058d6

8 years agoUse e1000 network driver in virtual labs 95/7995/1
Michal Skalski [Tue, 26 Jan 2016 10:10:34 +0000 (11:10 +0100)]
Use e1000 network driver in virtual labs

In the past virtio network driver cause problems when vlan segmentation
was used [1][2]. E1000 driver looks like safer choice.

[1] https://bugs.launchpad.net/fuel/+bug/1433593
[2] https://bugs.launchpad.net/fuel/+bug/1463316

Change-Id: I0a573e640309ad3caf2d67166cdaeaf285a6e6be
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Sync with recent changes in fuel-main"
Michal Skalski [Mon, 25 Jan 2016 23:26:03 +0000 (23:26 +0000)]
Merge "Sync with recent changes in fuel-main"

8 years agoSync with recent changes in fuel-main 29/7929/3
Michal Skalski [Mon, 25 Jan 2016 20:35:53 +0000 (21:35 +0100)]
Sync with recent changes in fuel-main

Change-Id: Ife63c8c69e0e17150c198a7a75788a13b8df0d81
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoUplift deployment code for Fuel 8.0 29/7129/12
Peter Barabas [Mon, 18 Jan 2016 14:03:07 +0000 (15:03 +0100)]
Uplift deployment code for Fuel 8.0

Change-Id: If784cbd7371133bd35e95004a11e9802660ac332
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoTurn predictable network interface names back on 89/7889/2
Stefan K. Berg [Mon, 25 Jan 2016 13:17:24 +0000 (14:17 +0100)]
Turn predictable network interface names back on

Returning to the stock behaviour of Fuel 8.

Change-Id: I410253f89b28ece93a792937f9c1abccb8552311
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
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 agoRevert "Fix build failure in fuel base & qemu" 55/7155/2
Stefan K. Berg [Mon, 18 Jan 2016 13:42:06 +0000 (14:42 +0100)]
Revert "Fix build failure in fuel base & qemu"

This reverts commit 0a35e64026402a672af343427bf591142babb6be.

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