fuel.git
8 years agobuild: Move patches to <patch-repos> dir 35/21335/1
Alexandru Avadanii [Sat, 27 Aug 2016 15:13:32 +0000 (17:13 +0200)]
build: Move patches to <patch-repos> dir

Decouple main Makefile and repository patches by moving all Fuel
component patches to a subdir, <patch-repo>.

Proposed structure of <patch-repos> dir:
- patch-repos/*.patch are intended for <fuel-main> git repo;
- patch-repos/build/repo/<fuel-module>/*.patch are intended for
  <fuel-module>, e.g. "fuel-nailgun";

Full list of Fuel submodules supported by this mechanism at [1].

While at it, replace all occurences of </tmp/fuel-main> with
<FUEL_MAIN_DIR> in main Makefile and rewrite a few git/make calls
to use the "-C" arg.

NOTE: `git -C` is available starting with git 1.8.5.

[1] https://github.com/openstack/fuel-main/blob/stable/mitaka/repos.mk
    #L32-L44

Change-Id: I5e4adc7285054777c3898592ed48482ccd2b706f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 52701ce099ac455aa393aac34d684f5d59b3d2fe)

8 years agoMerge "Increase number of hugepages allocated for nova" into stable/colorado
Michal Skalski [Sat, 17 Sep 2016 12:50:47 +0000 (12:50 +0000)]
Merge "Increase number of hugepages allocated for nova" into stable/colorado

8 years agoStop using network transformation 29/21329/1
Michal Skalski [Thu, 15 Sep 2016 03:09:53 +0000 (05:09 +0200)]
Stop using network transformation

Due the bug in code we did not apply network transformation to created
environments, but still Fuel base on chosen segmentation type and
networks to NICs assigment has been generated network schema itself.
Since we don't use custom network schema we can remove transformation
defintions from dea pod overrides files. However there is a need to
configure NIC properties in case of dpdk deployment.

JIRA: FUEL-192

Change-Id: Ib7dab4d61910ac8c44b6d91e0c486c9693034823
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoFinal updates of release notes 91/21291/1
Jonas Bjurel [Fri, 16 Sep 2016 11:30:00 +0000 (13:30 +0200)]
Final updates of release notes

-Added filters for fixes, issues and work-arounds

Change-Id: Id76545fd7837c83145bd8d87b309c23849da6f7e
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 7dc64e4f8813a1cef9697074326698bc27a85937)

8 years agoIncrease number of hugepages allocated for nova 77/21277/1
Michal Skalski [Thu, 15 Sep 2016 23:10:10 +0000 (01:10 +0200)]
Increase number of hugepages allocated for nova

Yardstick is using m1.small flavor for some tests, in case of ovs
scenario it should be possible to allocate 2GB from hugepages.

Change-Id: Ie908d94e63a5055907bb33c69a5e028739f44f2e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit c64a4063f591c0140509e3edb88d9f0c3cd20928)

8 years agoUplift fuel-plugin-ovs 95/21195/1 colorado.1.rc2
billyom [Thu, 15 Sep 2016 12:27:50 +0000 (13:27 +0100)]
Uplift fuel-plugin-ovs

Pull in "Update flavors mem_page_size"

Change-Id: I3e285cefee561dbbc02eb9ab7d2e9c01eef2742a
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoUse Boron RC3.5 for sfc scenarion 41/21141/1
Michal Skalski [Wed, 14 Sep 2016 09:55:21 +0000 (11:55 +0200)]
Use Boron RC3.5 for sfc scenarion

It should fix problems with vm communication through floating IPs.

Change-Id: Icadc71f2b99c28715c15389e59111272a21440fb
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit ff9c24257a2c62dd981297a92eecf712f6643617)

8 years agoUpdate local mirrors defintions 21/21121/1
Michal Skalski [Tue, 13 Sep 2016 18:49:03 +0000 (20:49 +0200)]
Update local mirrors defintions

If we only use main section, not all required packages are discovered.

Change-Id: I2eaa4a7bfc659b820901ce55a4ab799c3281df3b
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit 2e9ff14f8ab6ee9e4ebf84a2e8e40bd3f149c48e)

8 years agoMerge "Add intel-sc lab devel-pipeline configuration" into stable/colorado
Jonas Bjurel [Tue, 13 Sep 2016 09:40:22 +0000 (09:40 +0000)]
Merge "Add intel-sc lab devel-pipeline configuration" into stable/colorado

8 years agoupdate node_reset() in zte_adapter.py 57/20957/1
wu.zhihui [Fri, 9 Sep 2016 07:55:01 +0000 (15:55 +0800)]
update node_reset() in zte_adapter.py

Change-Id: I71790b8abb25936045f777a78ed903f3b8ce4303
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
(cherry picked from commit 161dd445f06aa9a5dfcd273d89a00d1f02260ba3)

8 years agoAdd intel-sc lab devel-pipeline configuration 53/20953/1
davidjchou [Thu, 8 Sep 2016 21:51:01 +0000 (14:51 -0700)]
Add intel-sc lab devel-pipeline configuration

intel-sc is the lab devel-pipeline configuration for a lab of Intel
in Santa Clara, CA, USA. This lab is behind Intel proxy sever.

Change-Id: I401b030adf82d6a19397e92aef4b30ebe971d80c
Signed-off-by: davidjchou <david.j.chou@intel.com>
(cherry picked from commit 8079d1237ab9f2326adef163dc509c8a84e62775)

8 years agoMerge "Reduce ceilometer memory usage" into stable/colorado
Michal Skalski [Mon, 12 Sep 2016 11:11:00 +0000 (11:11 +0000)]
Merge "Reduce ceilometer memory usage" into stable/colorado

8 years agoChange the way of hugepage allocation 23/20823/1
Michal Skalski [Fri, 9 Sep 2016 12:49:42 +0000 (14:49 +0200)]
Change the way of hugepage allocation

Try to allocate enough hugepages for all NUMA nodes.

JIRA: FUEL-186

Change-Id: Idcdf6ab616dfbd9ef1104be8d1667421221ea5f2
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit 8d7559b50b265298f7800b18f840b87ad1e84b20)

8 years agoReduce ceilometer memory usage 67/20767/1
Michael Polenchuk [Thu, 8 Sep 2016 16:36:45 +0000 (19:36 +0300)]
Reduce ceilometer memory usage

JIRA: FUEL-189
Change-Id: I54854e4cc87f0c0e9e348e18131aa88b70e30054
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 4c47ef4b6f192482d99196c7a7070e5f396b1fd5)

8 years agoDisable cpu features in ovs with DPDK 49/20549/1 colorado.1.rc1
Guo Ruijing [Tue, 6 Sep 2016 22:14:51 +0000 (18:14 -0400)]
Disable cpu features in ovs with DPDK

Change-Id: I2cf5df2f0469f21f64e0e7d11740058639f68697
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
(cherry picked from commit 9a3f6a38d708cbc3633d203e36e32bc91764ba20)

8 years agoScript updates for CI job 75/20475/1
ferenc Cserepkei [Fri, 26 Aug 2016 05:29:28 +0000 (07:29 +0200)]
Script updates for CI job

Due to the redesign of the SFC feature test, the poc script became
part of CI job functest-fuel-baremetal, scenario os_odl_l2-sfc-ha,
there is a need of full uplift to colorado.
Changes:
 - GPG keyserver use (line 61)
 - patch updated fixing the debian package dependency issue
    (python-oslo.messaging-)
 - some typos are fixed
 - OpenDayLight address is read from hiera (management vip)

Change-Id: I4a19ec753a575220cf321819ab4ff2d9433ec16c
Signed-off-by: ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
(cherry picked from commit ad0dd57dc045b58c46e53f281ab57e70d00947d7)

8 years agoFinal Colorado document review. 67/20467/1
Jonas Bjurel [Thu, 25 Aug 2016 09:20:55 +0000 (11:20 +0200)]
Final Colorado document review.
- Please review the rendered HTML document (See Jenkins references below)
- Please verify the documented procedures and instructions

READY TO MERGE

Change-Id: Idff52212ca68ce2b97f203043e18a18c582589a7
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoDo not use rsync for choosing mirror server 17/20317/1
Michal Skalski [Thu, 1 Sep 2016 22:39:30 +0000 (00:39 +0200)]
Do not use rsync for choosing mirror server

Rsync protocol was used for creating local mirrors, but now we only need
http connection. This requirement can be problematic for environments
which are behind proxy and can lead to build failures when rsync is not
allowed.

Change-Id: I4efcf500fd0c25de5fdb87307e7210cc4a96714d
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit a8820e25b80ee0c069e473cb54c576d98dd10aee)

8 years agoChange source of ODL Boron tarball 03/20303/1
Michal Skalski [Fri, 2 Sep 2016 10:23:20 +0000 (12:23 +0200)]
Change source of ODL Boron tarball

For SFC scenario we need to use ODL Boron. Since it is not yet released
there is no persistent location for a tarball. Use opnfv artifacts to
store Boron build which include required changes.

Change-Id: I43e35dbdf5ca0160d48a1adc817db071fd5db85d
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit 9d871421fbc631f875f7a8bdca590b42eb1bd3bf)

8 years ago[OVS-DPDK] Allocate dpdk socket memory 07/20207/1
Michael Polenchuk [Fri, 2 Sep 2016 07:15:27 +0000 (10:15 +0300)]
[OVS-DPDK] Allocate dpdk socket memory

Change-Id: Ic84094e9842295df936d9f87d0777009e0020013
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agoMerge "transplant: Generate extra interfaces config file" into stable/colorado
Jonas Bjurel [Thu, 1 Sep 2016 14:56:02 +0000 (14:56 +0000)]
Merge "transplant: Generate extra interfaces config file" into stable/colorado

8 years agodeploy/reap.py: Dump extra interfaces information. 53/20153/1
Alexandru Avadanii [Wed, 4 May 2016 16:31:09 +0000 (18:31 +0200)]
deploy/reap.py: Dump extra interfaces information.

Since on AArch64, Ubuntu local mirror lacks arm64 packages (see [1]),
Fuel master requires internet connectivity during deploy, and hence
a way to setup such a public (extra) interface automatically.

Previous commit "transplant: Generate extra interfaces config file"
introduced support for passing this information via DEA (override),
which may define a IFCGF_<interface> section in its 'fuel:'
section, containing the necessary keys to produce a ifcfg-<interface>
file, like in this example:

fuel:
   IFCFG_ETH1:
     device: eth1
     ipaddress: 10.0.1.10
     netmask: 255.255.255.0
     gateway: 10.0.1.254

In order for Network Manager to use the newly added interfaces
for outgoing traffic and honor their GATEWAY setting (e.g. if we just
added one public interface), the default route on admin iface (most of
the time called eth0) is disabled when extra interfaces are present.

FIXME: Only supports lowercase interface names, but so does Fuel,
see related bug report [2].

[1] https://jira.opnfv.org/browse/ARMBAND-35
[2] https://jira.opnfv.org/browse/FUEL-136

Change-Id: I14b023b2b9b4c7d9b9f390d4f86f693c176efde0
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 888c45b1ab7f70f226e3dc2c81725f1c6397afff)

8 years agotransplant: Generate extra interfaces config file 51/20151/1
Alexandru Avadanii [Wed, 4 May 2016 15:58:56 +0000 (17:58 +0200)]
transplant: Generate extra interfaces config file

Original work by Josep, only signed by Alex for upstreaming.

The DEA override may contain a IFCGF_<interface> section in its 'fuel:'
section, containing the necessary keys to produce a ifcfg-<interface>
file, like in this example:

fuel:
   IFCFG_ETH1:
     device: eth1
     ipaddress: 10.0.1.10
     netmask: 255.255.255.0
     gateway: 10.0.1.254

FIXME: In order for Network Manager to use the newly added interfaces
for outgoing traffic and honor their GATEWAY setting (e.g. if we just
added one public interface), the default route on admin iface (most of
the time called eth0) should be disabled. For now, we assume the admin
interface is always "eth0".

Change-Id: I96e3ac5046dd59ed10c43099dd76a6418806a1f3
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 56d816920bfefe7d41d9c35cb8fb52e36295ee07)

8 years agobuild: cache: Consider UBUNTU_ARCH in .cacheid 97/19997/2
Alexandru Avadanii [Wed, 17 Aug 2016 18:36:51 +0000 (20:36 +0200)]
build: cache: Consider UBUNTU_ARCH in .cacheid

Usually UBUNTU_ARCH is not changed inside the same repository,
but we should consider this case anyway for future merging
Armband and Fuel@OPNFV repositories/build systems.

This applies to all Fuel plugins and the local repo.

Change-Id: I1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a)

8 years agoMerge "repo mirror: Allow multi-arch local mirrors" into stable/colorado
Jonas Bjurel [Wed, 31 Aug 2016 14:55:29 +0000 (14:55 +0000)]
Merge "repo mirror: Allow multi-arch local mirrors" into stable/colorado

8 years agoMerge "docs: build req: Remove p7zip-full" into stable/colorado
Jonas Bjurel [Wed, 31 Aug 2016 14:54:46 +0000 (14:54 +0000)]
Merge "docs: build req: Remove p7zip-full" into stable/colorado

8 years agoMerge "Final Updates of the build instructions - Updated references" into stable...
Jonas Bjurel [Wed, 31 Aug 2016 14:54:13 +0000 (14:54 +0000)]
Merge "Final Updates of the build instructions - Updated references" into stable/colorado

8 years agoMerge "Final updates of the Installation instructions: - Images updated - Updated...
Jonas Bjurel [Wed, 31 Aug 2016 14:53:49 +0000 (14:53 +0000)]
Merge "Final updates of the Installation instructions: - Images updated - Updated reference URIs" into stable/colorado

8 years agoMerge "deploy.sh: accept a timeout flag (-T)" into stable/colorado
Jonas Bjurel [Wed, 31 Aug 2016 14:48:53 +0000 (14:48 +0000)]
Merge "deploy.sh: accept a timeout flag (-T)" into stable/colorado

8 years agodocs: build req: Remove p7zip-full 19/20019/1
Alexandru Avadanii [Wed, 31 Aug 2016 13:29:04 +0000 (15:29 +0200)]
docs: build req: Remove p7zip-full

p7zip-full is not required for building, as stated in the current
version of the docs. I think this bogus requirement was introduced
by Armband (by me, more precisely) because our build process was
happening outside docker.

Sorry for the useless code churn.

Change-Id: Id0a3c5b9016706535ca159e1da261e83c8d36d31
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit de6d5d4b6ba6848304d620e65ad97f3aeeadccd5)

8 years agoMerge "[ODL] Fix odl deployment on separate node" into stable/colorado
Michal Skalski [Wed, 31 Aug 2016 12:50:32 +0000 (12:50 +0000)]
Merge "[ODL] Fix odl deployment on separate node" into stable/colorado

8 years agorepo mirror: Allow multi-arch local mirrors 93/19993/1
Alexandru Avadanii [Sat, 18 Jun 2016 17:42:15 +0000 (19:42 +0200)]
repo mirror: Allow multi-arch local mirrors

Original patch from Stan, signed by me for upstreaming.

This patch allows specifying multiple architectures via UBUNTU_ARCH in
form of a list of space separated architectures. The first architecture
in the list is considered primary and will be used for building all the
deb packages by fuel-main. Additional architectures are added to allow
targets of other architectures to use the mirror.

NOTE: this imposes a requirement that all packages built are arch
independent (which is true so far).

[ Alexandru Avadanii ]
Reworked for applying on top of Fuel@OPNFV.
Pass UBUNTU_ARCH to Docker containers.

Change-Id: Ibc4ae03223545383813ac58ec34d44c1f97b4694
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 655e777a5adeb633e114d98ffb02f74b227ab437)

8 years agoMerge "build: cache: Allow LOCAL_CACHE_ARCH_NAME override" into stable/colorado
Jonas Bjurel [Wed, 31 Aug 2016 11:58:19 +0000 (11:58 +0000)]
Merge "build: cache: Allow LOCAL_CACHE_ARCH_NAME override" into stable/colorado

8 years agoMerge "build: Allow MIRROR_MOS_UBUNTU override" into stable/colorado
Jonas Bjurel [Wed, 31 Aug 2016 11:57:48 +0000 (11:57 +0000)]
Merge "build: Allow MIRROR_MOS_UBUNTU override" into stable/colorado

8 years agoMerge "build: Allow PLUGINS override" into stable/colorado
Jonas Bjurel [Wed, 31 Aug 2016 11:32:34 +0000 (11:32 +0000)]
Merge "build: Allow PLUGINS override" into stable/colorado

8 years agodeploy: Delete old Fuel env if present 33/19933/1
Alexandru Avadanii [Mon, 18 Jul 2016 15:42:48 +0000 (17:42 +0200)]
deploy: Delete old Fuel env if present

In order to clean up old partitioning and boot entries on target
nodes, before removing the Fuel Master, try ssh-ing into it and
removing all environments/nodes.

This is especially important for EFI systems, where old boot
entries are left behind without a proper env delete, leading to
target nodes failing to PXE boot on Fuel Master re-install.

This change assumes that:
- all Fuel Master information is unchanged between old and new
  deploy (fuel IP, password etc.);
- Fuel Master is up and running, in a sane state (target nodes
  are also online), when deploy starts;

Closes: ARMBAND-51

Change-Id: I7b61124ea9182ce2d599adcdedef03e0d8d67ed6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit f1e808677a29a157e009f33a1a5a024eaad2c021)

8 years agobuild: Allow MIRROR_MOS_UBUNTU override 31/19931/1
Alexandru Avadanii [Tue, 16 Aug 2016 16:45:10 +0000 (18:45 +0200)]
build: Allow MIRROR_MOS_UBUNTU override

Change-Id: Idc647f941fc3923f5ed1f2888318b218c23f4362
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit dc647f941fc3923f5ed1f2888318b218c23f4362)

8 years agobuild: Allow PLUGINS override 29/19929/1
Alexandru Avadanii [Wed, 10 Aug 2016 14:43:39 +0000 (16:43 +0200)]
build: Allow PLUGINS override

Instead of using BUILD_FUEL_PLUGINS, which was intended for manual
overrides of the Fule@OPNFV plugin list, allow PLUGINS to be
preset to a custom list, which we will provide via Armband
Makefile spec.

Change-Id: Ic4204aefeaf0d781998e54ab83831fcde7527b89
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c4204aefeaf0d781998e54ab83831fcde7527b89)

8 years agobuild: cache: Allow LOCAL_CACHE_ARCH_NAME override 27/19927/1
Alexandru Avadanii [Thu, 18 Aug 2016 12:39:08 +0000 (14:39 +0200)]
build: cache: Allow LOCAL_CACHE_ARCH_NAME override

Change-Id: Id6251356aac4fdb8fbcb2893d5072ea16500bd93
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d6251356aac4fdb8fbcb2893d5072ea16500bd93)

8 years agodeploy.sh: accept a timeout flag (-T) 37/19737/1
Alexandru Avadanii [Mon, 9 May 2016 09:05:58 +0000 (11:05 +0200)]
deploy.sh: accept a timeout flag (-T)

Original work by Josep, signed by me (Alex) for upstreaming only.

Change-Id: I58a7b9bc639bb03b994ea34fc317f5679140d9fd
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit bb2a6188ff55e61390841694cac786d4e758d67b)

8 years agoFinal updates of the Installation instructions: 85/19585/1
Jonas Bjurel [Tue, 23 Aug 2016 13:39:31 +0000 (15:39 +0200)]
Final updates of the Installation instructions:
- Images updated
- Updated reference URIs

Change-Id: Ieeefbd8a3ef9bbd6c3a0e767f770097ab8a98f9d
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 087c8de9c667b28506b7621d5147be4846c06397)

8 years agoFinal Updates of the build instructions 83/19583/1
Jonas Bjurel [Wed, 24 Aug 2016 12:33:52 +0000 (14:33 +0200)]
Final Updates of the build instructions
- Updated references

Change-Id: I2a6cfdec0de6afa41ea8af59f415439b7ab7056d
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 9f00e08b54ac2be36e6315adc3bd29f7e3bd40d8)

8 years ago[ODL] Fix odl deployment on separate node 69/19569/1
Michal Skalski [Thu, 25 Aug 2016 08:18:21 +0000 (10:18 +0200)]
[ODL] Fix odl deployment on separate node

JIRA: FUEL-185

Change-Id: Id14d30154b63abc915a0cd55835bb72cee862dde
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit ba1cb485398d811d2f473406ae085993bfd9f68a)

8 years agoFix ovs scenario configuration 73/19373/1
Michal Skalski [Tue, 23 Aug 2016 13:28:33 +0000 (15:28 +0200)]
Fix ovs scenario configuration

Due the incorrect indentation install_dpdk option was not set to true.

JIRA: OVSNFV-37

Change-Id: Ida3b0d1e72ce8322905ff399af89b43cac878299
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit ae8196be2c5863a5ca837828eead7188d608023d)

8 years agoMerge "Changing ODL change into FUEL_PLUGIN_ODL"
Nikolas Hermanns [Mon, 22 Aug 2016 15:11:06 +0000 (15:11 +0000)]
Merge "Changing ODL change into FUEL_PLUGIN_ODL"

8 years agoMerge "Claenup"
Michal Skalski [Fri, 19 Aug 2016 22:03:03 +0000 (22:03 +0000)]
Merge "Claenup"

8 years ago[KVM]Add support for Broadcom NetXtremeII 10Gb 91/19091/1
Michal Skalski [Fri, 19 Aug 2016 18:54:19 +0000 (20:54 +0200)]
[KVM]Add support for Broadcom NetXtremeII 10Gb

This NIC is used on Ericsson CI POD2

JIRA: KVMFORNFV-45
JIRA: FUEL-171

Change-Id: I44576b399b6195ccc1e64dfc0b04e239ced8acc7
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Tune up virtual envs"
Nikolas Hermanns [Fri, 19 Aug 2016 07:57:27 +0000 (07:57 +0000)]
Merge "Tune up virtual envs"

8 years agoChanging ODL change into FUEL_PLUGIN_ODL 33/19033/2
Nikolas Hermanns [Fri, 19 Aug 2016 07:47:27 +0000 (09:47 +0200)]
Changing ODL change into FUEL_PLUGIN_ODL

Some users where confused if the change we are doing
here is a change to ODL or the fuel-plugin-opendaylight.
So renaming helps for more understanding.

Change-Id: I886d7be3db995f37f9451c06ee22c16d540254e1
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
8 years ago[ODL-plugin-update] Adding more memory to java vm 29/19029/1
Nikolas Hermanns [Fri, 19 Aug 2016 07:07:43 +0000 (09:07 +0200)]
[ODL-plugin-update] Adding more memory to java vm

When running functes ODL crashes in the middel
and is not starting again. Investigtion
showed that it is due to insufficient memory
of the java vm.

Change-Id: I18cda9ed5bed91e72fd91aaf0efa02c5e1a3c8d1
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
8 years agoClaenup 17/19017/1
davidjchou [Thu, 18 Aug 2016 20:59:24 +0000 (13:59 -0700)]
Claenup

Remove the workaround marked by "# fix me" mentioned in commit id:
e8928f93b50df3ecb11942ab754bae848c082c6a, since the issue (some files
generated during kvmfornfv building are owned by "root") already
resolved in fuel-plugin-kvm build process.

Change-Id: I5efb60173b9974f6fba25f04da1f4b1f53207b1a
Signed-off-by: davidjchou <david.j.chou@intel.com>
8 years agoupdate release-notes for colorado 69/17869/5
Guo Ruijing [Wed, 10 Aug 2016 05:42:07 +0000 (13:42 +0800)]
update release-notes for colorado

1. take care of Alexandru's comments
2. update liberty to mitaka
3. update ODL Beryllium SR1 to SR3

Change-Id: I7ae590333e781730e462c797270282e8e51fff01
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agoTune up virtual envs 91/18791/3
Michael Polenchuk [Wed, 17 Aug 2016 06:30:11 +0000 (09:30 +0300)]
Tune up virtual envs

* increase the memory/cpu of controller for noha case
* reduce the memory of computes

Change-Id: Iea9351bb846823fae64a662e92f894eca2f6cecb
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agoUpdate kvm plugin 13/18913/1
Michal Skalski [Thu, 18 Aug 2016 07:07:03 +0000 (09:07 +0200)]
Update kvm plugin

Move kernel installation to main phase of deployment which may reduce
problems with mcollective agent after node reboot.

JIRA: KVMFORNFV-45
JIRA: FUEL-171

Change-Id: I48308471f9336b73cde238ff055433f030395e19
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoREVISED DOCUMENT STRUCTURE 31/18831/4
Jonas Bjurel [Wed, 17 Aug 2016 11:11:15 +0000 (13:11 +0200)]
REVISED DOCUMENT STRUCTURE

Documentation structure changed according to docs team directions:
- Configuration guide removed (only aplicable for features/scenarios)
- Installation instructions moved to a separate directory
- Build instructions moved to a separate directory
- Release notes moved to a separate directory

NOTE: Content not updated to the Colorado baseline

Change-Id: I47f3bee0cf91bab6ed5c4a7f371b10347a917857
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoRebase yardstick 61/18361/2
Guo Ruijing [Thu, 11 Aug 2016 01:34:27 +0000 (18:34 -0700)]
Rebase yardstick

1. discuss stable commit ID with yardstick PTL
2. do basic test for yardstick fuel plugin

Change-Id: I9ca3a71e178e5e90497629f43110121e4265602f
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agoFix DPDK port create failure issue 15/18515/2
Guo Ruijing [Fri, 12 Aug 2016 08:05:11 +0000 (16:05 +0800)]
Fix DPDK port create failure issue

Change-Id: Id514d995e1e985652e118caadb505237fc0b740a
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agoAdd config information as well to default lab 95/18795/3
Nikolas Hermanns [Wed, 17 Aug 2016 07:12:57 +0000 (09:12 +0200)]
Add config information as well to default lab

It is possible that some one changes the
config of the vms from a virtual environment.
This is already shown in the elx lab.
To make everyone aware of this we push it
to the default lab as well.

Change-Id: I4e9012b3237838b98321472bb16037aa0aeacfdc
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
8 years agodeploy: Allow DEA to override bootstrap config 63/17563/3
Alexandru Avadanii [Tue, 26 Jul 2016 16:07:55 +0000 (18:07 +0200)]
deploy: Allow DEA to override bootstrap config

This commit does not change the current behavior in OPNFV, the
preconfigured fuel_bootstrap_cli.yaml from OPNFV ISO is still
used to replace the default settings / fuel-menu bootstrap cfg.

The only addition is the possibility to override the preconfigured
fuel_bootstrap_cli.yaml info using DEA.

JIRA: FUEL-155

Change-Id: I4e66b789fdf0a5b1af512a3efc84fedb72ce3b05
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agodeploy-config: honor interfaces and transformations 63/16863/4
Josep Puigdemont [Wed, 13 Jul 2016 16:29:05 +0000 (18:29 +0200)]
deploy-config: honor interfaces and transformations

Currently all scenarios assume interfaces and transformations are the
same for all nodes in the POD, however some PODs may contain nodes that
have different hardware, or where the interfaces are configured
differently.

In this patch we honor the original interfaces and transformations if
they are present in the dea-override.yaml file. The way to add this
information in the dea-override is by having a "nodes:" section with
this information, ie:

nodes:
- id: 1
  interfaces: interfaces_1
  transformations: transformations_1
- id: 2
  interfaces: interfaces_2
  transformations: transformations_2
- id: 3
  interfaces: interfaces_1
  transformations: transformations_1

The node IDs is used to find out this information.

Change-Id: If6ff8ca28b42e043d1bdf91142a4a56ae36e4304
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoMerge "Use virtio driver for fuel-master NIC"
Michal Skalski [Wed, 17 Aug 2016 10:27:11 +0000 (10:27 +0000)]
Merge "Use virtio driver for fuel-master NIC"

8 years agoChange log file permissions 45/15745/2
Peter Barabas [Thu, 16 Jun 2016 12:34:28 +0000 (14:34 +0200)]
Change log file permissions

Don't make it executable; don't make it world-writable.

Change-Id: I5d117b39e70fff2c1cb5e62d017efe0387b9b5f4
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoUse virtio driver for fuel-master NIC 09/18809/1
Michal Skalski [Wed, 17 Aug 2016 07:55:49 +0000 (09:55 +0200)]
Use virtio driver for fuel-master NIC

Using e1000 driver on fuel master may lead to temporarily loss of
communication [1]. We can use two approaches here:

  * use virtio driver
  * install e1000-kmod package

virtio driver should be sufficient for our purposes, we don't use
bonding on fuel master.

e1000-kmod package is available on fuel master and provide e1000 kernel
module which does not introduce additional problems. This package is not
installed by default but for this purpose MASTER_NODE_EXTRA_PACKAGES
cmdline option can be set during fuel master installation.

[1]
http://docs.openstack.org/developer/fuel-docs/userdocs/release-notes/fuel_known_issues.html

Change-Id: I3fc1fed5f0b9c780cd9174205a3c31dae92a180e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoPrepared for Fuel release documentation 39/18739/1
Sofia Wallin [Tue, 16 Aug 2016 14:16:47 +0000 (16:16 +0200)]
Prepared for Fuel release documentation

Helping project with the new structure, added a fuel/docs/installationprocedure
and relevant templates. If you dont need this feel free to abandon this patch.

Change-Id: Ia704aa0b2e66c62241ef0a5eb769ea8f538caa1f
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
8 years agoMerge "Filter out non-cluster nodes"
Michal Skalski [Fri, 12 Aug 2016 14:28:10 +0000 (14:28 +0000)]
Merge "Filter out non-cluster nodes"

8 years agoMerge "Allign odl-sfc scenarios with new plugin version"
Michal Skalski [Fri, 12 Aug 2016 14:20:36 +0000 (14:20 +0000)]
Merge "Allign odl-sfc scenarios with new plugin version"

8 years agodocs: Add code-block markup 23/18523/2
Cristina Pauna [Wed, 10 Aug 2016 14:57:42 +0000 (17:57 +0300)]
docs: Add code-block markup

Add bash code-block markup for:
- instalation instruction guides
- build instruction guides

Change-Id: If7a0f4cfc17e8cabe5d5ff59a7b2fe80ca0bb66b
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
8 years agoMerge "Update instructions with references to C-release"
Michal Skalski [Fri, 12 Aug 2016 12:25:56 +0000 (12:25 +0000)]
Merge "Update instructions with references to C-release"

8 years agoUpdate installation guide for Colorado 45/18545/1
Michael Polenchuk [Fri, 12 Aug 2016 10:33:37 +0000 (13:33 +0300)]
Update installation guide for Colorado

Change-Id: Ie0fb45a570c59588429b167c4d83109ebf670ba7
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agoUpdate instructions with references to C-release 43/18543/1
Michal Skalski [Fri, 12 Aug 2016 11:57:52 +0000 (13:57 +0200)]
Update instructions with references to C-release

Change-Id: I7682e7cffcafdec3c42ca5a090662df9ccc431e2
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoAllign odl-sfc scenarios with new plugin version 13/18313/2
Michal Skalski [Wed, 10 Aug 2016 09:55:46 +0000 (11:55 +0200)]
Allign odl-sfc scenarios with new plugin version

ODL Boron use different set of sfc features.

JIRA: FUEL-169

Change-Id: I38c1e518ffbf625a68f879779c01e4abfdb1d672
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoFilter out non-cluster nodes 11/18511/2
Michael Polenchuk [Fri, 12 Aug 2016 07:41:40 +0000 (10:41 +0300)]
Filter out non-cluster nodes

In order to avoid fetching up non-cluster nodes
filter them out by option of id.

JIRA: FUEL-183
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Change-Id: If0d0a1480d648167f1bcf726f0d6d345d2e00711

8 years agoMerge "KVM scenario updates"
Michal Skalski [Fri, 12 Aug 2016 09:01:43 +0000 (09:01 +0000)]
Merge "KVM scenario updates"

8 years agoKVM scenario updates 43/18243/4
Julien [Tue, 9 Aug 2016 15:17:58 +0000 (23:17 +0800)]
KVM scenario updates

1. Install CEPH_OSD on 2 compute nodes
2. Delete default 'net_segment_type: tun' definition, for it
   is already defined in dea_base.yaml, and it can be updated
   by lab dea files
3. Update osd_pool_size from 1 to 2
4. Michal indicates that
https://review.openstack.org/#/c/342717/ set the limitation
: Restrict usage of controller and osd role on single host

Change-Id: I4907482391588fc21ecf60603b1c599413cbc531
Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
8 years agoMerge "Rebase vsperf"
Guo Ruijing [Fri, 12 Aug 2016 00:07:18 +0000 (00:07 +0000)]
Merge "Rebase vsperf"

8 years agoMerge "Fix merge_dicts logic for the case of two nonempty lists"
Michal Skalski [Thu, 11 Aug 2016 08:37:42 +0000 (08:37 +0000)]
Merge "Fix merge_dicts logic for the case of two nonempty lists"

8 years agoRebase vsperf 65/18365/1
Guo Ruijing [Thu, 11 Aug 2016 01:48:07 +0000 (18:48 -0700)]
Rebase vsperf

1. discuss with vsperf PTL to rebase vspef with stable commit ID

Change-Id: Ia87d4d5394b5eb476165b06d015414c1675fccac
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agoMerge "Pass host cpu flags to compute guests"
Michal Skalski [Thu, 11 Aug 2016 00:09:51 +0000 (00:09 +0000)]
Merge "Pass host cpu flags to compute guests"

8 years agoMerge "Rebase OVS with DPDK"
Guo Ruijing [Thu, 11 Aug 2016 00:08:21 +0000 (00:08 +0000)]
Merge "Rebase OVS with DPDK"

8 years agoPass host cpu flags to compute guests 59/18359/1
Michal Skalski [Wed, 10 Aug 2016 23:33:55 +0000 (01:33 +0200)]
Pass host cpu flags to compute guests

Both kvm and ovs plugins require specific cpu flags.
Host-model mode will pass most of the host cpu flags to guest.
If a hypervisor is not able to use the exact CPU model, libvirt
automatically falls back to a closest model.

JIRA: FUEL-157

Change-Id: I77ce625e118b6de51cbcdb58e4be5a6dcaecf384
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Revert "Pass host cpu flags to compute guests""
Michal Skalski [Wed, 10 Aug 2016 21:08:08 +0000 (21:08 +0000)]
Merge "Revert "Pass host cpu flags to compute guests""

8 years agoRevert "Pass host cpu flags to compute guests" 57/18357/1
Michal Skalski [Wed, 10 Aug 2016 20:53:55 +0000 (20:53 +0000)]
Revert "Pass host cpu flags to compute guests"

This reverts commit 34da00c2baa6abc69a812aae4c30a82ebae561bd.

Change-Id: I495fa1f71ac30e259ca63e90ca8b38dd2300d469
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Provide access to mgmt network from host level"
Michal Skalski [Wed, 10 Aug 2016 18:38:33 +0000 (18:38 +0000)]
Merge "Provide access to mgmt network from host level"

8 years agoMerge "Pass host cpu flags to compute guests"
Michal Skalski [Wed, 10 Aug 2016 18:19:37 +0000 (18:19 +0000)]
Merge "Pass host cpu flags to compute guests"

8 years agoMerge "tacker-server patch updated"
Michal Skalski [Wed, 10 Aug 2016 14:23:40 +0000 (14:23 +0000)]
Merge "tacker-server patch updated"

8 years agoFix merge_dicts logic for the case of two nonempty lists 17/18317/1
Fedor Zhadaev [Wed, 10 Aug 2016 11:43:04 +0000 (14:43 +0300)]
Fix merge_dicts logic for the case of two nonempty lists

JIRA: FUEL-170

Change-Id: I5abae6fc950cdabe064b5402d9555cedf81cfc23
Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
8 years agoPass host cpu flags to compute guests 15/18315/1
Michal Skalski [Wed, 10 Aug 2016 07:34:16 +0000 (09:34 +0200)]
Pass host cpu flags to compute guests

Both kvm and ovs plugins require specific cpu flags.
Host-model mode will pass most of the host cpu flags to guest.

JIRA: FUEL-157

Change-Id: Iff620a4b4f5948e54f6f8db01411d6659f08ec00
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoProvide access to mgmt network from host level 59/18259/2
Michal Skalski [Tue, 9 Aug 2016 18:06:33 +0000 (20:06 +0200)]
Provide access to mgmt network from host level

Functest framework is trying to access internal endpoints from host
level which currently is not possible in virtual deployments. Move mgmt
network to untagged interface and setup IP address from mgmt subnet on
the linux bridge where mgmt traffic is traversing.

There will be corresponding changes in securedlab repository.

JIRA: FUEL-167

Change-Id: I29b8ebb23a64e39a4e56b27639a87ce2386b9774
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoRebase OVS with DPDK 87/18287/1
Guo Ruijing [Wed, 10 Aug 2016 05:21:54 +0000 (13:21 +0800)]
Rebase OVS with DPDK

1. Rebase OVS to commit 9f4ecd654dbcb88b15a424445184591fc887537e
2. Rebase DPDK to 16.07
3. Fix 2 vms in 2 hosts ping each other issue
4. update demo script

Change-Id: I85b56ab6e3a735bbf26df8d4df22f2d76b9fb1d3
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agoMerge "Rebase to collectd-ceilometer-plugin stable/mitaka 1. fix pbr:version_string...
Guo Ruijing [Wed, 10 Aug 2016 00:58:28 +0000 (00:58 +0000)]
Merge "Rebase to collectd-ceilometer-plugin stable/mitaka 1. fix pbr:version_string in collectd-ceilometer-plugin 2. disable collectd build to use stock collectd 3. update README in fuel plugin"

8 years agotacker-server patch updated 11/18211/1
ferenc Cserepkei [Tue, 9 Aug 2016 10:38:35 +0000 (12:38 +0200)]
tacker-server patch updated

The deb package control is changed in Mitaka, so the patch should
be updated as well.

Change-Id: Ifde84e19da72217a5cca73e0da366e21625cd21b
Signed-off-by: ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
8 years agoMerge "Use ODL Be SR3"
Michal Skalski [Tue, 9 Aug 2016 08:05:55 +0000 (08:05 +0000)]
Merge "Use ODL Be SR3"

8 years agoRebase to collectd-ceilometer-plugin stable/mitaka 19/18019/5
Guo Ruijing [Mon, 8 Aug 2016 08:12:59 +0000 (16:12 +0800)]
Rebase to collectd-ceilometer-plugin stable/mitaka
1. fix pbr:version_string in collectd-ceilometer-plugin
2. disable collectd build to use stock collectd
3. update README in fuel plugin

Change-Id: I773910c03d109af1fc1f86a5709105e9ffbfc350
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agoMerge "POC script updates for Colorado"
Nikolas Hermanns [Mon, 8 Aug 2016 15:55:47 +0000 (15:55 +0000)]
Merge "POC script updates for Colorado"

8 years agoMerge "bootstrap_admin_node: Fix connectivity check."
Michal Skalski [Mon, 8 Aug 2016 11:57:03 +0000 (11:57 +0000)]
Merge "bootstrap_admin_node: Fix connectivity check."

8 years agoUse ODL Be SR3 41/18141/1
Michal Skalski [Mon, 8 Aug 2016 10:30:48 +0000 (12:30 +0200)]
Use ODL Be SR3

JIRA: FUEL-165

Change-Id: I483f23c2f74313020d6a3dbb88079558d6674010
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "Fix OVS scenarios to use fuel-plugin-ovs"
Michal Skalski [Mon, 8 Aug 2016 10:08:55 +0000 (10:08 +0000)]
Merge "Fix OVS scenarios to use fuel-plugin-ovs"

8 years agoMerge "Don't use -f flag with docker tag"
Michal Skalski [Mon, 8 Aug 2016 07:32:41 +0000 (07:32 +0000)]
Merge "Don't use -f flag with docker tag"

8 years agoMerge "Allow to use Intel NICs for DPDK on Ericsson POD2"
Michal Skalski [Fri, 5 Aug 2016 10:13:27 +0000 (10:13 +0000)]
Merge "Allow to use Intel NICs for DPDK on Ericsson POD2"

8 years agoDon't use -f flag with docker tag 53/18053/4
Michal Skalski [Thu, 4 Aug 2016 19:35:39 +0000 (21:35 +0200)]
Don't use -f flag with docker tag

-f flag has been deprecated since v1.10.0 and is removed from v1.12.0.
If user use recent version of docker iso built will fail.

https://docs.docker.com/engine/deprecated/#/f-flag-on-docker-tag

JIRA: FUEL-163

Change-Id: If42781f342d59db7672322ec07063d09a23e1dcb
Signed-off-by: Michal Skalski <mskalski@mirantis.com>