fuel.git
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 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>
7 years agoMerge "Fix default value for plugin metadata"
Michal Skalski [Tue, 26 Jul 2016 08:36:27 +0000 (08:36 +0000)]
Merge "Fix default value for plugin metadata"

7 years agoMerge "Add ability to override node attributes"
Michal Skalski [Tue, 26 Jul 2016 08:35:16 +0000 (08:35 +0000)]
Merge "Add ability to override node attributes"

7 years agoMerge "Update collectd ceilometer fuel plugin installation scripts"
Guo Ruijing [Tue, 26 Jul 2016 00:16:20 +0000 (00:16 +0000)]
Merge "Update collectd ceilometer fuel plugin installation scripts"

7 years agoMerge "Minor fixes in yardstick fuel plugin"
Guo Ruijing [Tue, 26 Jul 2016 00:16:08 +0000 (00:16 +0000)]
Merge "Minor fixes in yardstick fuel plugin"

7 years agoAdd templating support for generating config files 67/16567/13
Peter Barabas [Thu, 7 Jul 2016 15:40:28 +0000 (17:40 +0200)]
Add templating support for generating config files

 - Remove unneeded method
 - Write result to a file and not STDOUT
 - Add documentation
 - Remove trailing whitespace
 - Documentation corrections

Change-Id: I7532222d3512380c4f1129bd05dc2ba37b409dc2
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
7 years agoAdd ability to override node attributes 95/17195/4
Fedor Zhadaev [Wed, 20 Jul 2016 07:03:21 +0000 (10:03 +0300)]
Add ability to override node attributes

Fixes https://jira.opnfv.org/browse/FUEL-152

Change-Id: I444bf3aef54ffd53c53431e2795b11b10545f55f
Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
7 years agoPinning down exact Fuel 9.0.1 repo versions 25/17225/6
Michal Skalski [Wed, 20 Jul 2016 12:27:06 +0000 (14:27 +0200)]
Pinning down exact Fuel 9.0.1 repo versions

stable/mitaka branch is open for new commits for Fuel 9.1. To not be
impacted by new upstream changes point to specific commits which were
used for Fuel 9.0 General Availabilit (9.0.1).

JIRA: https://jira.opnfv.org/browse/FUEL-153
verify: no-cache

Change-Id: I7fd8d2f11e4be6f47e39924913c48bfe7d4f2eb3
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoTemporary fix for bgpvpn plugin builds 09/17309/1
Michal Skalski [Thu, 21 Jul 2016 08:37:21 +0000 (10:37 +0200)]
Temporary fix for bgpvpn plugin builds

JIRA: FUEL-154

Change-Id: Iad554aef8db9a6d01c408c0014dabf45e4c1a0e6
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoUpdate the commit ID of kvmfornfv upstream for fuel-plugin-kvm 53/17253/1
davidjchou [Wed, 20 Jul 2016 11:01:43 +0000 (04:01 -0700)]
Update the commit ID of kvmfornfv upstream for fuel-plugin-kvm

This version of kvmfornfv upstream fixed the issue of failing to launch
instances in Horizon after OPNFV environment deployed.

Change-Id: I05fa9f977924ee679312c599ee0bccabaf7bf1a9
Signed-off-by: davidjchou <david.j.chou@intel.com>
7 years agoAdd collectd package for collectd ceilometer plugin 93/16893/2
Guo Ruijing [Thu, 14 Jul 2016 00:23:06 +0000 (08:23 +0800)]
Add collectd package for collectd ceilometer plugin

Change-Id: I8da0087d8f17f5f2e4c3275a26ad2ca164878226
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoFix default value for plugin metadata 93/17193/1
Fedor Zhadaev [Wed, 20 Jul 2016 05:46:42 +0000 (08:46 +0300)]
Fix default value for plugin metadata

Fix typo which result in error while getting default metadata
in case if it's not overridden in scenario.

Fixes https://jira.opnfv.org/browse/FUEL-151

Change-Id: Ibf40f846919155e27da5dc1f778f72afee79ff12
Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
7 years agoMinor fixes in yardstick fuel plugin 83/17183/1
Guo Ruijing [Wed, 20 Jul 2016 03:10:31 +0000 (11:10 +0800)]
Minor fixes in yardstick fuel plugin

Change-Id: Ifc4a31efc8a2717eaccb7b39fa36e1282eb16173
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoUpdate collectd ceilometer fuel plugin installation scripts 79/17179/1
Guo Ruijing [Wed, 20 Jul 2016 02:23:42 +0000 (10:23 +0800)]
Update collectd ceilometer fuel plugin installation scripts

Change-Id: I4019b2167092f522a3d2533bf20b2ea04bb3b2b2
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoBuild new cache when list of packages has changed 03/17103/1
Michal Skalski [Sat, 16 Jul 2016 18:16:17 +0000 (20:16 +0200)]
Build new cache when list of packages has changed

Create a new cache of f_repobuild job when list of packages required by
plugins has changed.

JIRA: FUEL-150

Change-Id: I079950eaa9e3b32ea7baa3f6d4a37cc37f99f3a7
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoMerge "Update fuel yardstick plugin 1. update fuel plugin builder 2. change insta...
Guo Ruijing [Mon, 18 Jul 2016 08:33:39 +0000 (08:33 +0000)]
Merge "Update fuel yardstick plugin   1. update fuel plugin builder   2. change install directory in yardstick plugin   3. update README"

7 years agoMerge "Add fuel collectd ceilometer plugin"
Guo Ruijing [Thu, 14 Jul 2016 08:13:32 +0000 (08:13 +0000)]
Merge "Add fuel collectd ceilometer plugin"

7 years agoMerge "Update NSH patches"
Michal Skalski [Wed, 13 Jul 2016 14:16:53 +0000 (14:16 +0000)]
Merge "Update NSH patches"

7 years agoUpdate fuel yardstick plugin 27/16727/2
Guo Ruijing [Tue, 12 Jul 2016 22:35:43 +0000 (06:35 +0800)]
Update fuel yardstick plugin
  1. update fuel plugin builder
  2. change install directory in yardstick plugin
  3. update README

Change-Id: I8d717ef568aeaa7958cd1a3161d4ef8ca17a1de1
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoAdd fuel collectd ceilometer plugin 55/16655/2
Guo Ruijing [Tue, 12 Jul 2016 17:32:42 +0000 (01:32 +0800)]
Add fuel collectd ceilometer plugin

Change-Id: I2f95d9166e2d0d7508551de8b87dc6c84800e3c1
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoAligning machine type over Ubuntu and Centos 29/16729/1
Stefan K. Berg [Tue, 12 Jul 2016 08:54:17 +0000 (10:54 +0200)]
Aligning machine type over Ubuntu and Centos

We have previously used "pc-1.0" as the qemu-kvm machine definition
for virtual Fuel deploys. On Ubuntu this points to:

pc-1.0               Standard PC (i440FX + PIIX, 1996)

On CentOS 7 this machine definition does not exist, but there's a
match in "pc":

pc                   RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of
pc-i440fx-rhel7.0.0

So, finally, pc is also in Ubuntu:

pc                   Ubuntu 14.04 PC (i440FX + PIIX, 1996) (alias of
pc-i440fx-trusty)

This change is about exploring whether moving to "pc" will make the
auto deploy work on both platforms with the "pc" machine type.

What still needs to be done in CentOS is to create a symlink from
/usr/libexec/qemu-kvm and /usr/bin/kvm though.

Change-Id: I1cce52a21075950cb59b75709b12d724d759e3e6
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
7 years agoUpdate NSH patches 17/16717/1
Guo Ruijing [Mon, 11 Jul 2016 20:58:27 +0000 (04:58 +0800)]
Update NSH patches

1. update patches from commit 307b06d

Change-Id: Ibaba101833a934840b4491925ff944f1420fce2e
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoMerge "[BGPVPN] Do not include temporary files in plugin"
Michal Skalski [Fri, 8 Jul 2016 16:29:17 +0000 (16:29 +0000)]
Merge "[BGPVPN] Do not include temporary files in plugin"

7 years agoMerge "deploy: ISO rebuild: use -joliet-long names."
Michal Skalski [Fri, 8 Jul 2016 16:16:33 +0000 (16:16 +0000)]
Merge "deploy: ISO rebuild: use -joliet-long names."

7 years agoMerge changes from topic 'multiple-nics-for-fuel-vm'
Michal Skalski [Fri, 8 Jul 2016 16:14:15 +0000 (16:14 +0000)]
Merge changes from topic 'multiple-nics-for-fuel-vm'

* changes:
  deploy: add support for multiple bridges
  virtual_fuel: prepare class to allow multiple bridges

7 years agodeploy: ISO rebuild: use -joliet-long names. 21/16621/1
Alexandru Avadanii [Fri, 8 Jul 2016 15:26:51 +0000 (17:26 +0200)]
deploy: ISO rebuild: use -joliet-long names.

Armband adds similar files, which tend to have long names and only
differ in suffixes (e.g. DEBs for amd64 vs arm64).

Previous change [1] fixed ISO build errors, but failed to address
the deploy.py ISO rebuild (which modifies and recreates the ISO,
calling mkisofs, which complains about clashing file indexes).

This works around ISO rebuild error(s) like:

"genisoimage: Error:
./ubuntu/pool/main/g/golang-gogoprotobuf/golang-gogoprotobuf\
-dev_0.0~git20150828.0.6cab0cc-1~u14.04+mos1_arm64.deb and
./ubuntu/pool/main/g/golang-gogoprotobuf/golang-gogoprotobuf\
-dev_0.0~git20150828.0.6cab0cc-1~u14.04+mos1_amd64.deb
have the same Joliet name"

[1] https://gerrit.opnfv.org/gerrit/#/c/14973/

Change-Id: If58a18ba46343a52ce6e9a0a6a0482c1a3079451
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years ago[BGPVPN] Do not include temporary files in plugin 97/16597/1
Michal Skalski [Fri, 8 Jul 2016 08:39:36 +0000 (10:39 +0200)]
[BGPVPN] Do not include temporary files in plugin

Change-Id: Idd2e2f403a2dd5be44c480e8b493e4281ade1994
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoPoint to newer commit in ODL plugin repo 91/16591/1
Michal Skalski [Fri, 8 Jul 2016 07:53:23 +0000 (09:53 +0200)]
Point to newer commit in ODL plugin repo

Use small fix for setting ovsdb managers.

Change-Id: Ie405d4a2db59ea490ff0a690bb310c0c74d8de79
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoPoint to latest commit in bgpvpn plugin repo 29/16429/1
Michal Skalski [Wed, 6 Jul 2016 08:42:04 +0000 (10:42 +0200)]
Point to latest commit in bgpvpn plugin repo

Currently we use commit before uplift to mitaka.

Change-Id: Ie08a548b133aff01cc2457bd74d0fe7a86a18eff
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years ago[BGPVPN] fpm: Build multiarch DEBs (arch <all>) 73/16373/1
Alexandru Avadanii [Tue, 5 Jul 2016 12:45:53 +0000 (14:45 +0200)]
[BGPVPN] fpm: Build multiarch DEBs (arch <all>)

Update upstream reference to include support for building DEB
packages for architecture <all> instead of the native one, since
apart from one small hardcoded check on Fedora for java version,
most code is arch-independant (python).

TODO:
 Extend check for `uname -m` result for aarch64 and other platforms
 in <networking_odl/devstack/setup_java.sh>.

While at it, make git info variable overrideable, just in case
we want to patch this out of upstream tree locally.

Change-Id: Ia139c8d957f65bb120dca1727fd4a422e2510ea0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFix ODL deployments 59/16359/1
Michal Skalski [Tue, 5 Jul 2016 10:21:42 +0000 (12:21 +0200)]
Fix ODL deployments

Change-Id: Idae02b340d3a64109deeda7ef67574430b928219
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoPlugin version is required 19/16319/3
Michal Skalski [Mon, 4 Jul 2016 08:20:21 +0000 (10:20 +0200)]
Plugin version is required

Plugin version is required when plugin configuration is overwritten.

Change-Id: I93af002ed5e994c90b9134f8c020a3822e81e42c
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoModify the indent in fuel-odl_0.9.0.yaml. 15/16315/1
wu.zhihui [Mon, 4 Jul 2016 07:20:51 +0000 (15:20 +0800)]
Modify the indent in fuel-odl_0.9.0.yaml.

Change-Id: I15bb84c35c075037df23746b75b108e2d7b90ede
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
7 years ago[BGPVPN] Uplift plugin to Mitaka 07/16107/5
Nikolas Hermanns [Wed, 29 Jun 2016 09:16:51 +0000 (11:16 +0200)]
[BGPVPN] Uplift plugin to Mitaka

Change-Id: I9db366806ec97b44b0e537ee2d4beb3c8a968b92
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoruby-json is required for fpm 55/16255/1
Michal Skalski [Fri, 1 Jul 2016 11:34:05 +0000 (13:34 +0200)]
ruby-json is required for fpm

Change-Id: Ib8a759922879a81a355bca14e3d4beeeb2ad72d4
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoFix module versions for scenarios 43/16243/1
Michal Skalski [Fri, 1 Jul 2016 07:59:22 +0000 (09:59 +0200)]
Fix module versions for scenarios

Change-Id: Ia5a5d008af717f9b2d0e7495bd2180cdad4075e8
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoMerge "Use ODL Boron for SFC"
Michal Skalski [Thu, 30 Jun 2016 21:55:56 +0000 (21:55 +0000)]
Merge "Use ODL Boron for SFC"

7 years agoplugins: ovs, vswperf, yardstick: Allow overrides. 95/16195/1
Alexandru Avadanii [Mon, 20 Jun 2016 15:49:51 +0000 (17:49 +0200)]
plugins: ovs, vswperf, yardstick: Allow overrides.

Allow git info related variables from various plugin config.mk
configuration files to be overriden.

We rely on this in Armband to apply our patches on top of selected
commit(s), then pick up the new (patched) git info.

Change-Id: Ib7d9a52f51cef27ec4031587a09a39732a9fbbb4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoUse ODL Boron for SFC 73/16173/3
Michal Skalski [Thu, 30 Jun 2016 13:53:30 +0000 (15:53 +0200)]
Use ODL Boron for SFC

SFC scenario requires OpenDaylight Boron.
ODL plugin will be built with both Beryllium and Boron. It will be
possible to choose deployment with Boron instead of default Beryllium.

Change-Id: I1abd22ddca16e710430accd40ad8359be1bd7132
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoUplift fuel and nshovs plugins configs 77/16177/1
Nikolas Hermanns [Thu, 30 Jun 2016 14:20:59 +0000 (16:20 +0200)]
Uplift fuel and nshovs plugins configs

Change-Id: I86cdef9d3e3337d1b16b9154c940f73b0a3d8567
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>