fuel.git
8 years agoUpdated committer list 25/21325/1
Jonas Bjurel [Fri, 16 Sep 2016 22:39:09 +0000 (00:39 +0200)]
Updated committer list

Change-Id: I5f22080edf695cef3c6fd24ff0f62b02a1dbc0af
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoEnable ci off-line deployment 29/21229/2
Jonas Bjurel [Wed, 14 Sep 2016 13:24:39 +0000 (15:24 +0200)]
Enable ci off-line deployment

Updated dea_base to use locak repo mirrors for off-line deployment
NOT TO BE PART OF COLORADO.1

Change-Id: Ia8e2d716570267ed9a9e06e253b6a7b258ee26eb
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "Final updates of release notes"
Jonas Bjurel [Fri, 16 Sep 2016 16:43:42 +0000 (16:43 +0000)]
Merge "Final updates of release notes"

8 years agoFinal updates of release notes 63/21263/5
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>
8 years agoMerge "Increase number of hugepages allocated for nova"
Michal Skalski [Fri, 16 Sep 2016 14:19:05 +0000 (14:19 +0000)]
Merge "Increase number of hugepages allocated for nova"

8 years agoRemove extra empty line 71/21171/2
Peter Barabas [Thu, 15 Sep 2016 11:03:11 +0000 (13:03 +0200)]
Remove extra empty line

Change-Id: I462a99b42d05b979c4f1904e7309e87ddd94d1bb
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoMerge "[OVS-DPDK] Turn off missing options"
Michal Skalski [Fri, 16 Sep 2016 09:08:05 +0000 (09:08 +0000)]
Merge "[OVS-DPDK] Turn off missing options"

8 years agoIncrease number of hugepages allocated for nova 31/21231/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>
8 years agoStop using network transformation 53/21153/6
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>
8 years ago[OVS-DPDK] Turn off missing options 97/21197/1
Michael Polenchuk [Thu, 15 Sep 2016 14:36:58 +0000 (17:36 +0300)]
[OVS-DPDK] Turn off missing options

Get all gcc/compile options to conform to corei7 arch.

JIRA: FUEL-186
Change-Id: I5ce76631aac9174c69362f96f71e26285fc95842
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agoUplift fuel-plugin-ovs 77/21177/1
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: Billy O'Mahony <billy.o.mahony@intel.com>
8 years agoMerge "Use Boron RC3.5 for sfc scenarion"
Michal Skalski [Wed, 14 Sep 2016 15:03:42 +0000 (15:03 +0000)]
Merge "Use Boron RC3.5 for sfc scenarion"

8 years agoUse Boron RC3.5 for sfc scenarion 13/21113/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>
8 years agoUpdate local mirrors defintions 49/21049/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>
8 years ago[ovs-dpdk] Target compiler to corei7 cpu arch 81/20981/2
Michael Polenchuk [Tue, 13 Sep 2016 08:06:14 +0000 (11:06 +0300)]
[ovs-dpdk] Target compiler to corei7 cpu arch

Change-Id: Id2405bc3b636178791428b9bab739fdaa0f094a2
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agoMerge "Don't fork a templater process, use the library"
Jonas Bjurel [Tue, 13 Sep 2016 09:48:13 +0000 (09:48 +0000)]
Merge "Don't fork a templater process, use the library"

8 years agoMerge "Properly handle quotes in argument masking"
Jonas Bjurel [Mon, 12 Sep 2016 13:29:26 +0000 (13:29 +0000)]
Merge "Properly handle quotes in argument masking"

8 years agoMerge "update node_reset() in zte_adapter.py"
Jonas Bjurel [Mon, 12 Sep 2016 13:28:58 +0000 (13:28 +0000)]
Merge "update node_reset() in zte_adapter.py"

8 years agoMerge "Add intel-sc lab devel-pipeline configuration"
Jonas Bjurel [Mon, 12 Sep 2016 11:12:24 +0000 (11:12 +0000)]
Merge "Add intel-sc lab devel-pipeline configuration"

8 years agoChange the way of hugepage allocation 69/20769/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>
8 years agoupdate node_reset() in zte_adapter.py 45/20745/2
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>
8 years agoAdd intel-sc lab devel-pipeline configuration 87/20687/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>
8 years agoReduce ceilometer memory usage 97/20697/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>
8 years agoDon't fork a templater process, use the library 39/20439/2
Peter Barabas [Tue, 6 Sep 2016 11:23:35 +0000 (13:23 +0200)]
Don't fork a templater process, use the library

Change-Id: I931ba56fe65f2f5d5af483a8bfe654a0ecda1611
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoProperly handle quotes in argument masking 35/20535/1
Peter Barabas [Wed, 7 Sep 2016 08:04:56 +0000 (10:04 +0200)]
Properly handle quotes in argument masking

Use shlex to parse the command line, thus handling quotes and other
special characters.

Change-Id: Icc3a2cd934aac8f67e07d967f76c7679bcb34996
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoDisable cpu features in ovs with DPDK 15/20515/1
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>
8 years agoMerge "Final Colorado document review. - Please review the rendered HTML document...
Jonas Bjurel [Tue, 6 Sep 2016 13:35:07 +0000 (13:35 +0000)]
Merge "Final Colorado document review. - Please review the rendered HTML document (See Jenkins references below) - Please verify the documented procedures and instructions"

8 years agoFinal Colorado document review. 55/19555/12
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>
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoMerge "build: Move patches to <patch-repos> dir"
Jonas Bjurel [Mon, 5 Sep 2016 10:50:51 +0000 (10:50 +0000)]
Merge "build: Move patches to <patch-repos> dir"

8 years agoMerge "Do not use rsync for choosing mirror server"
Michal Skalski [Mon, 5 Sep 2016 10:05:51 +0000 (10:05 +0000)]
Merge "Do not use rsync for choosing mirror server"

8 years agoDo not use rsync for choosing mirror server 89/20189/2
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>
8 years agoChange source of ODL Boron tarball 33/20233/2
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>
8 years ago[OVS-DPDK] Set default for dpdk_socket_mem 43/20143/1
Michael Polenchuk [Thu, 1 Sep 2016 13:23:10 +0000 (16:23 +0300)]
[OVS-DPDK] Set default for dpdk_socket_mem

Change-Id: I175178cdcbab52ac024157d2c5707fd7e1236dd4
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agoMerge "Shift opendaylight role out of controller"
Michal Skalski [Thu, 1 Sep 2016 11:13:32 +0000 (11:13 +0000)]
Merge "Shift opendaylight role out of controller"

8 years agoMerge "[OVS-DPDK] Allocate dpdk socket memory"
Michal Skalski [Wed, 31 Aug 2016 15:20:25 +0000 (15:20 +0000)]
Merge "[OVS-DPDK] Allocate dpdk socket memory"

8 years agobuild: Move patches to <patch-repos> dir 43/20043/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>
8 years agoMerge "deploy/reap.py: Dump extra interfaces information."
Jonas Bjurel [Wed, 31 Aug 2016 15:01:19 +0000 (15:01 +0000)]
Merge "deploy/reap.py: Dump extra interfaces information."

8 years agoMerge "transplant: Generate extra interfaces config file"
Jonas Bjurel [Wed, 31 Aug 2016 15:00:39 +0000 (15:00 +0000)]
Merge "transplant: Generate extra interfaces config file"

8 years ago[OVS-DPDK] Allocate dpdk socket memory 37/19837/2
Michael Polenchuk [Tue, 30 Aug 2016 07:46:30 +0000 (10:46 +0300)]
[OVS-DPDK] Allocate dpdk socket memory

JIRA: FUEL-186
Change-Id: Id44a786f69d78b378fbabea2c70ab1ca78651729
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
8 years agodocs: build req: Remove p7zip-full 09/20009/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>
8 years agoMerge changes from topic 'multiarch-mirrors'
Jonas Bjurel [Wed, 31 Aug 2016 12:01:24 +0000 (12:01 +0000)]
Merge changes from topic 'multiarch-mirrors'

* changes:
  build: cache: Consider UBUNTU_ARCH in .cacheid
  repo mirror: Allow multi-arch local mirrors

8 years agoMerge "deploy: Delete old Fuel env if present"
Szilard Cserey [Tue, 30 Aug 2016 16:29:32 +0000 (16:29 +0000)]
Merge "deploy: Delete old Fuel env if present"

8 years agoMerge "deploy.sh: accept a timeout flag (-T)"
Jonas Bjurel [Mon, 29 Aug 2016 12:49:02 +0000 (12:49 +0000)]
Merge "deploy.sh: accept a timeout flag (-T)"

8 years agoMerge "build: cache: Allow LOCAL_CACHE_ARCH_NAME override"
Jonas Bjurel [Mon, 29 Aug 2016 12:48:19 +0000 (12:48 +0000)]
Merge "build: cache: Allow LOCAL_CACHE_ARCH_NAME override"

8 years agoMerge changes from topic 'var-overrides'
Jonas Bjurel [Mon, 29 Aug 2016 12:46:06 +0000 (12:46 +0000)]
Merge changes from topic 'var-overrides'

* changes:
  build: Allow MIRROR_MOS_UBUNTU override
  build: Allow PLUGINS override

8 years agoScript updates for CI job 33/19633/3
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>
8 years agoMerge "[DOC] Do not create mailto link for Fuel@OPNFV name"
Michal Skalski [Thu, 25 Aug 2016 10:59:10 +0000 (10:59 +0000)]
Merge "[DOC] Do not create mailto link for Fuel@OPNFV name"

8 years agoMerge "[ODL] Fix odl deployment on separate node"
Michal Skalski [Thu, 25 Aug 2016 10:18:13 +0000 (10:18 +0000)]
Merge "[ODL] Fix odl deployment on separate node"

8 years ago[DOC] Do not create mailto link for Fuel@OPNFV name 53/19553/1
Michal Skalski [Thu, 25 Aug 2016 09:19:12 +0000 (11:19 +0200)]
[DOC] Do not create mailto link for Fuel@OPNFV name

Change-Id: Ib130e8a2440531c3b9c484c9e516c72d5b20301b
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
8 years agoFinal updates of the Installation instructions: 55/19355/10
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>
8 years ago[ODL] Fix odl deployment on separate node 49/19549/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>
8 years agobuild: cache: Consider UBUNTU_ARCH in .cacheid 05/19505/1
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.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agobuild: cache: Allow LOCAL_CACHE_ARCH_NAME override 03/19503/1
Alexandru Avadanii [Thu, 18 Aug 2016 12:39:08 +0000 (14:39 +0200)]
build: cache: Allow LOCAL_CACHE_ARCH_NAME override

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agobuild: Allow MIRROR_MOS_UBUNTU override 01/19501/1
Alexandru Avadanii [Tue, 16 Aug 2016 16:45:10 +0000 (18:45 +0200)]
build: Allow MIRROR_MOS_UBUNTU override

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agobuild: Allow PLUGINS override 99/19499/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.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agorepo mirror: Allow multi-arch local mirrors 97/19497/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>
8 years agodeploy/reap.py: Dump extra interfaces information. 95/19495/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>
8 years agotransplant: Generate extra interfaces config file 93/19493/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>
8 years agodeploy.sh: accept a timeout flag (-T) 89/19489/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>
8 years agodeploy: Delete old Fuel env if present 87/19487/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>
8 years agoFinal Updates of the build instructions 77/19477/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>
8 years agoFix ovs scenario configuration 53/19353/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>
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 agoShift opendaylight role out of controller 79/19179/1
Michael Polenchuk [Mon, 22 Aug 2016 10:02:02 +0000 (13:02 +0300)]
Shift opendaylight role out of controller

In order to unload controller resources place
opendaylight role to a separate node.

Change-Id: I63db4074a9b50d80e8b8b29abd385b37bdb5f9d7
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
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""