fuel.git
7 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)

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

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

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

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

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

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

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

7 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

7 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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

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

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

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

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

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

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

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

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

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

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

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

7 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>
7 years agoMerge "Tune up virtual envs"
Nikolas Hermanns [Fri, 19 Aug 2016 07:57:27 +0000 (07:57 +0000)]
Merge "Tune up virtual envs"

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

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

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

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

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

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

7 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>
7 years agoMerge "Rebase vsperf"
Guo Ruijing [Fri, 12 Aug 2016 00:07:18 +0000 (00:07 +0000)]
Merge "Rebase vsperf"

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

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

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

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

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

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

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

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

7 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>
7 years agoMerge "Use ODL Be SR3"
Michal Skalski [Tue, 9 Aug 2016 08:05:55 +0000 (08:05 +0000)]
Merge "Use ODL Be SR3"

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

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

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

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

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

7 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>
7 years agoFix OVS scenarios to use fuel-plugin-ovs 13/16913/16
Fedor Zhadaev [Tue, 12 Jul 2016 09:59:07 +0000 (12:59 +0300)]
Fix OVS scenarios to use fuel-plugin-ovs

 * Use fuel-nshovs instead deprecated fuel-nfvovs
 * Modified scenario to enable DPDK via Fuel
 * Removed hard dependency from specific POD

 * Add ability to merge networks lists

JIRA: FUEL-156
JIRA: FUEL-162

Change-Id: Ie609ff140f1de96e54df37dd9b1881afec792317
Depends-On: Ic6072d938e09a40516c32cdde6223d0a21e57403
Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
7 years agoAllow to use Intel NICs for DPDK on Ericsson POD2 69/17969/2
Michal Skalski [Wed, 3 Aug 2016 14:56:31 +0000 (16:56 +0200)]
Allow to use Intel NICs for DPDK on Ericsson POD2

JIRA: FUEL-161

Change-Id: I009ba7e9587f3c47d8e609c96b0666394887929e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoFix config for no-ha kvm scenario 63/17963/1
Michal Skalski [Wed, 3 Aug 2016 12:35:26 +0000 (14:35 +0200)]
Fix config for no-ha kvm scenario

JIRA: FUEL-157

Change-Id: I09e595902b2c467b5522b7b37a772f7ab35c8cea
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoPOC script updates for Colorado 59/17959/1
ferenc Cserepkei [Wed, 3 Aug 2016 10:59:23 +0000 (12:59 +0200)]
POC script updates for Colorado

Change-Id: I2afb7826a5dcc22f5d810312e1ff027a0b5fcbfa
Signed-off-by: ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
7 years agoMerge "Add collectd package for collectd ceilometer plugin"
Michal Skalski [Wed, 3 Aug 2016 09:11:40 +0000 (09:11 +0000)]
Merge "Add collectd package for collectd ceilometer plugin"

7 years agobootstrap_admin_node: Fix connectivity check. 51/15951/6
Alexandru Avadanii [Wed, 22 Jun 2016 15:50:38 +0000 (17:50 +0200)]
bootstrap_admin_node: Fix connectivity check.

After Fuel Master builds the bootstrap image at first boot,
internet connectivity is tested using the URL for the CentOS
updates repository.

bootstrap_admin_node.sh script parses the output of `yum repolist`,
looking for entries like 'Repo-baseurl: http://...'.

However, in Fuel 9.0, <updates> points to a mirrorlist file (a text
file containing a list of possible mirror URLs) instead of being
a single, direct link to the repository.

Also, note that in Fuel9, <updates> and <security> repos are disabled
by default.

For now, we only test that we can access the mirrorlist file,
while the check should be performed against the mirror(s).

Old (Fuel 8) repo entry format:
Repo-baseurl: http://mirror.fuel-infra.org/.../updates/x86_64/

New (Fuel 9) mirrorlist format:
Repo-mirrors: http://mirror.fuel-infra.org/.../mos-mirrors-updates.txt

Backported from upstream change [1], which should fix bug [2].
This change will get merged upstream in Fuel 10.

[1] https://review.openstack.org/#/c/335094/
[2] https://bugs.launchpad.net/fuel/+bug/1596981

Change-Id: Ibec397af2e1d925a011907f14e1d655741e280fb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: fuel-main: Decouple patches, Makefile. 59/15859/6
Alexandru Avadanii [Fri, 17 Jun 2016 23:09:27 +0000 (01:09 +0200)]
build: fuel-main: Decouple patches, Makefile.

Tested in armband, with very small adaptions.

Use `git apply` and/or `git am` in favor of `patch`.
Change patches from old context format to unified diff.

This change allows us to decouple Makefile and patches.
This means we no longer have to manually stage touched files
before committing them to git.

Possible improvements:
- move patches to separate dir and add ordering info (prefix);
- merge patches (currently we have one per touched file);

Remove obsolete (unused?) patch:
- fuel-main_docker_version.patch

Change-Id: I5b621370993b259779c813b47105f632948e6da7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "Add functionality to generate a base DEA file"
Michal Skalski [Tue, 2 Aug 2016 09:20:05 +0000 (09:20 +0000)]
Merge "Add functionality to generate a base DEA file"

7 years agoMerge "Make it possible to include files in templates"
Michal Skalski [Tue, 2 Aug 2016 09:19:44 +0000 (09:19 +0000)]
Merge "Make it possible to include files in templates"

7 years agoMerge "Refactor deploy-config.py"
Michal Skalski [Tue, 2 Aug 2016 09:19:16 +0000 (09:19 +0000)]
Merge "Refactor deploy-config.py"

7 years agoAdd functionality to generate a base DEA file 13/17413/3
Peter Barabas [Fri, 22 Jul 2016 12:27:48 +0000 (14:27 +0200)]
Add functionality to generate a base DEA file

 - Add template file for base DEA

Change-Id: I8055087b992fdc9850852bad9fa07a4e4fde0085
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
7 years agoMake it possible to include files in templates 81/17881/1
Peter Barabas [Mon, 1 Aug 2016 12:41:29 +0000 (14:41 +0200)]
Make it possible to include files in templates

Change-Id: I45c42ac65cfbe6562f0035df3375a2231148e22e
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
7 years agoRefactor deploy-config.py 95/17395/13
Peter Barabas [Fri, 22 Jul 2016 06:49:06 +0000 (08:49 +0200)]
Refactor deploy-config.py

 - fix vertical whitespace
 - more consistent function naming
 - clean up file writes
 - break up some long lines
 - typo fixes
 - remove duplicate spaces
 - unify print's

Change-Id: I5517747ef9f2e39ade7fb553ae2b1547fdf7b9e1
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
7 years agoFix configuration for kvm scenario 41/17641/2
Michal Skalski [Wed, 27 Jul 2016 16:33:53 +0000 (18:33 +0200)]
Fix configuration for kvm scenario

JIRA: FUEL-157

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