fuel.git
5 years ago[mas01] Fix iptables pillar compatibility format 25/65925/1
Alexandru Avadanii [Mon, 17 Dec 2018 18:17:59 +0000 (19:17 +0100)]
[mas01] Fix iptables pillar compatibility format

Sync our reclass pillar data for mas01's iptables with latest formula
changes [1].

[1] https://github.com/salt-formulas/salt-formula-iptables/commit/e353ce3c

Change-Id: I66b2a75066ed512ab5ab4cc213d13d15c5c8cc7f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[maas] Adopt maas, maasng proposed functions 07/62807/13
Alexandru Avadanii [Sat, 22 Sep 2018 19:54:01 +0000 (21:54 +0200)]
[maas] Adopt maas, maasng proposed functions

JIRA: FUEL-364

Change-Id: Ia470fc8103713e7a06cd9647675b0edfb4342bf8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[docker] deploy.sh: Use tag for stable branch 33/65833/1
Alexandru Avadanii [Fri, 14 Dec 2018 14:25:40 +0000 (15:25 +0100)]
[docker] deploy.sh: Use tag for stable branch

Outside OPNFV Jenkins (i.e. when manually cloning the OPNFV Fuel
repo and starting a deploy), the Docker tag used to default to
'latest' unless the user specifically set it to 'gambia'.
Rely on 'defaultbranch' setting in .gitreview to determine the
appropiate Docker tag.

Change-Id: I7e6b0706597d84d7cd5dc077499da78031aa61af
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[docs] Updates for Gambia 7.1.0 release"
Alexandru Avadanii [Fri, 14 Dec 2018 13:29:05 +0000 (13:29 +0000)]
Merge "[docs] Updates for Gambia 7.1.0 release"

5 years agoMerge "Documentation for ONAP scenarios"
Alexandru Avadanii [Fri, 14 Dec 2018 13:11:05 +0000 (13:11 +0000)]
Merge "Documentation for ONAP scenarios"

5 years agoMerge "[VCP] Reboot all VCP VMs after network config"
Alexandru Avadanii [Thu, 13 Dec 2018 15:08:27 +0000 (15:08 +0000)]
Merge "[VCP] Reboot all VCP VMs after network config"

5 years ago[docs] Updates for Gambia 7.1.0 release 91/65791/4
Alexandru Avadanii [Thu, 13 Dec 2018 14:05:35 +0000 (15:05 +0100)]
[docs] Updates for Gambia 7.1.0 release

While at it, rename FDIO (VPP) scenarios to align with OPNFV FDS
and OPNFV Apex projects.

Change-Id: I9aab5dc4a0dc41a2cc996687a8a2726d03288678
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoDocumentation for ONAP scenarios 85/65785/2
Richard Elias [Thu, 13 Dec 2018 10:56:37 +0000 (11:56 +0100)]
Documentation for ONAP scenarios

Patch adds a short description for the two ONAP scenarios added by
JIRA: AUTO-71(os-nosdn-onap-*ha).

JIRA: AUTO-90

Change-Id: I0a25b1877090a16d365e06dc41705239ada9d0b0
Signed-off-by: Richard Elias <richard.elias@tieto.com>
5 years agoMerge "Make MTU cluster-level configurable via IDF"
Alexandru Avadanii [Wed, 12 Dec 2018 19:44:34 +0000 (19:44 +0000)]
Merge "Make MTU cluster-level configurable via IDF"

5 years ago[VCP] Reboot all VCP VMs after network config 59/65759/1
Alexandru Avadanii [Wed, 12 Dec 2018 19:37:27 +0000 (20:37 +0100)]
[VCP] Reboot all VCP VMs after network config

Currently, PXE/admin on VCP nodes still uses MaaS DHCP before
the new network configuration is enforced. A live network
refresh would break minion registration with the Salt master,
so perform a node reboot instead.

Change-Id: I1c25f63f6c98a9fff98108d3fad9550dd4468355
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMake MTU cluster-level configurable via IDF 37/65737/6
Alexandru Avadanii [Tue, 11 Dec 2018 14:56:21 +0000 (15:56 +0100)]
Make MTU cluster-level configurable via IDF

JIRA: FUEL-336

Change-Id: I1c8d22b8322f700eb727d9077035ba4c9f9f9753
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[docs] Update scenario matrix: os-odl-bgpvpn-noha 65/65365/2
Stamatis Katsaounis [Fri, 23 Nov 2018 14:11:35 +0000 (16:11 +0200)]
[docs] Update scenario matrix: os-odl-bgpvpn-noha

Scenario description resides in the SDNVPN repository.

JIRA: FUEL-393

Change-Id: I2c4f3c32821ed47ea104706bd1bff6e2e55eb50f
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoMerge "[bgpvpn] Use Linux bridge for odl01 public network"
Alexandru Avadanii [Mon, 10 Dec 2018 13:55:12 +0000 (13:55 +0000)]
Merge "[bgpvpn] Use Linux bridge for odl01 public network"

5 years ago[odl/dpdk] Disable up/down for public interface 91/65691/1
Michael Polenchuk [Mon, 10 Dec 2018 09:00:07 +0000 (13:00 +0400)]
[odl/dpdk] Disable up/down for public interface

There is a race with interfaces up/down action during
configuration, so activate them after node reboot.

Change-Id: Id40ce746cc6635fcedd0f9c809cf4a9fe4d1f034
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoMerge "[ha] barbican, nova targeting: use server:role"
Michael Polenchuk [Mon, 10 Dec 2018 07:03:45 +0000 (07:03 +0000)]
Merge "[ha] barbican, nova targeting: use server:role"

5 years ago[bgpvpn] Use Linux bridge for odl01 public network 87/65687/1
Alexandru Avadanii [Sun, 9 Dec 2018 14:34:52 +0000 (15:34 +0100)]
[bgpvpn] Use Linux bridge for odl01 public network

Previously, we used a single interface definition for public network
on odl01 node, which does not work well for baremetal setups that
use a tagged VLAN public network, like ericsson-pod1.

Change-Id: I10ff7c105406691011e94e06b2f099dc2cdf8a06
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[cfg01] reclass: Apply broken default patch first 73/65673/1
Alexandru Avadanii [Sat, 8 Dec 2018 16:02:37 +0000 (17:02 +0100)]
[cfg01] reclass: Apply broken default patch first

reclass settings.py should be patched before the salt-master service
is started (since we can't restart it inside the container without
killing the tini init).

Fixes: 2de5348a

Change-Id: Id62d8f9f12fd72ef60322dd9907f26907231c4a7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[ha] barbican, nova targeting: use server:role 57/65657/2
Alexandru Avadanii [Fri, 7 Dec 2018 14:57:13 +0000 (15:57 +0100)]
[ha] barbican, nova targeting: use server:role

Instead of matching the hostname to determine the primary barbican
node, rely on pillar data.

While at it, apply the same logic to nova:controller states.

Change-Id: Ia4ac391927a8b4b223febff106b400e84d264f7a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[cfg01] Patch reclass settings.py broken default 51/65651/1
Alexandru Avadanii [Fri, 7 Dec 2018 14:42:23 +0000 (15:42 +0100)]
[cfg01] Patch reclass settings.py broken default

Until a new reclass release including the fix for [1] is published,
patch settings.py explicitly.

[1] https://github.com/salt-formulas/reclass/issues/77

Change-Id: If93848a6b6f084c76e64ddcf7bfdfa52b7d59050
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[ha] fix barbican server install error 35/65635/2
Guillermo Herrero [Fri, 7 Dec 2018 08:09:38 +0000 (09:09 +0100)]
[ha] fix barbican server install error

Ensure installation happens first on node 1 first,
run as batch on the rest after.

Change-Id: I1ac3f516c35c4941b343e88d47c78b19d13d7b90
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
5 years agoMerge "Initial implementation of ONAP scenarios"
Michael Polenchuk [Thu, 6 Dec 2018 12:37:11 +0000 (12:37 +0000)]
Merge "Initial implementation of ONAP scenarios"

5 years agosubmodule: Bump pharos to latest 65/65565/1
Paul Vaduva [Tue, 4 Dec 2018 13:12:59 +0000 (15:12 +0200)]
submodule: Bump pharos to latest

Change-Id: I1bf4452e0f6e9aa5d2b9a002a1ec45c70fb8c2ab
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
5 years agoInitial implementation of ONAP scenarios 69/64369/51
Martin Klozik [Thu, 1 Nov 2018 08:49:45 +0000 (09:49 +0100)]
Initial implementation of ONAP scenarios

Patch introduces a new specific scenarios os-nosdn-onap-*ha
for automatic ONAP deployment on top of the OPNFV installation.
Deployment and configuration of ONAP is managed by OPNFV Auto project.

New scenarios are based on generic os-nosdn-nofeature-*ha scenarios.

Auto project is responsible for os-nosdn-onap-*ha development
and maintenance.

JIRA: AUTO-71

Change-Id: I8b177668d856f30b62d1d135b80a95c32ebb9937
Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
5 years ago[docker] compose: Switch ip_range to ipv4_address 67/65467/3
Alexandru Avadanii [Wed, 28 Nov 2018 17:11:20 +0000 (18:11 +0100)]
[docker] compose: Switch ip_range to ipv4_address

Explicitly set the ipv4_address for each network instead of relying
on ip_range allocation, which seems to fail / not be picked up.

While at it, use docker-compose 1.22 or newer to bypass slow Docker
network creation with 'macvlan' driver [1].

[1] https://github.com/docker/compose/issues/5248

Change-Id: Ic31851522576ebb2407d869b7c3ed7bd06951922
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[patch] docker: Explicitly install python-futures 97/65497/1
Alexandru Avadanii [Thu, 29 Nov 2018 14:37:41 +0000 (15:37 +0100)]
[patch] docker: Explicitly install python-futures

For x86_64, the Saltstack bootstrapping scripts fetch a custom build
of `python-tornado` DEB package, which being arch-specific won't be
picked up on AArch64 (and a similar version from Ubuntu Xenial repos
will be used instead).

Although the Ubuntu package works just fine, it lacks a hard
dependency on `python-futures`, which became mandatory in Salt
2017.7.8, see [1].

Explicitly install `python-futures` inside cfg01 Docker container
during build, which will be a no-op on x86_64 and fix the issue on
AArch64.

[1] https://github.com/saltstack/salt/issues/50220

Change-Id: Ie4aad064572788c0852aaf398f21437b456becbe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[docker] build: Allow cache invalidation"
Alexandru Avadanii [Tue, 27 Nov 2018 14:22:53 +0000 (14:22 +0000)]
Merge "[docker] build: Allow cache invalidation"

5 years agoMerge "[ha] odl: Set _param:cluster_vip_address"
Alexandru Avadanii [Mon, 26 Nov 2018 18:03:16 +0000 (18:03 +0000)]
Merge "[ha] odl: Set _param:cluster_vip_address"

5 years ago[ha] odl: Set _param:cluster_vip_address 67/65367/2
Alexandru Avadanii [Fri, 23 Nov 2018 14:55:54 +0000 (15:55 +0100)]
[ha] odl: Set _param:cluster_vip_address

Fix an undefined parameter reference:

root@cfg01:~# reclass-salt -p odl01.mcp-odl-ha.local
-> odl01.mcp-odl-ha.local
   Cannot resolve ${_param:cluster_vip_address}, at
_param:keepalived_vip_address, in
yaml_fs:///srv/salt/reclass/classes/service/keepalived/cluster/single.yml

Change-Id: Ie653b80f2ba0f2c9664b36e23f8e95793ba0e198
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[cfg01] Honor idf.net_config.mgmt.ip-range"
Alexandru Avadanii [Fri, 23 Nov 2018 15:11:07 +0000 (15:11 +0000)]
Merge "[cfg01] Honor idf.net_config.mgmt.ip-range"

5 years agoMerge "[state] maas: Retry first state apply on mas01"
Cristina Pauna [Thu, 22 Nov 2018 08:47:46 +0000 (08:47 +0000)]
Merge "[state] maas: Retry first state apply on mas01"

5 years ago[docker] build: Allow cache invalidation 17/65317/1
Alexandru Avadanii [Wed, 21 Nov 2018 15:57:10 +0000 (16:57 +0100)]
[docker] build: Allow cache invalidation

While at it, fix emoji issues with latest virtualenv [1].

JIRA: FUEL-398

[1] https://github.com/pypa/pipenv/issues/3223

Change-Id: Ice5937222bf75c1ddadc6b9f1994635bc10faf57
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "submodule: Bump salt-formula-maas"
Alexandru Avadanii [Wed, 21 Nov 2018 15:15:25 +0000 (15:15 +0000)]
Merge "submodule: Bump salt-formula-maas"

5 years agoMerge "[vcp] kvm: Re-apply sysctl settings after libvirt"
Alexandru Avadanii [Wed, 21 Nov 2018 15:14:11 +0000 (15:14 +0000)]
Merge "[vcp] kvm: Re-apply sysctl settings after libvirt"

5 years ago[state] maas: Retry first state apply on mas01 05/65305/1
Alexandru Avadanii [Wed, 21 Nov 2018 13:48:31 +0000 (14:48 +0100)]
[state] maas: Retry first state apply on mas01

Change-Id: I6d2fab853b25d2f235e27c83a355ebc2c520771c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[vcp] kvm: Re-apply sysctl settings after libvirt 97/65297/1
Alexandru Avadanii [Tue, 20 Nov 2018 22:16:09 +0000 (00:16 +0200)]
[vcp] kvm: Re-apply sysctl settings after libvirt

libvirt postinstall script configures `virbr0` by default, which we
later remove & disable. However, on network creation, libvirt also
enables ip_forward, so re-run kernel.sls to force it to 0 without a
reboot.

Change-Id: Ie27fbf995c10ad9cd0fa0c28c29bd88161f04fd7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[patch] Set ignore_overwritten_missing_references 95/65295/1
Alexandru Avadanii [Tue, 20 Nov 2018 21:37:06 +0000 (23:37 +0200)]
[patch] Set ignore_overwritten_missing_references

Workaround broken configuration default option in `reclass` [1].

[1] https://github.com/salt-formulas/reclass/issues/77

Change-Id: I8a6e1d9fcd20f32e2c9edff59f6b538dc94008fb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[cfg01] Honor idf.net_config.mgmt.ip-range 93/65293/1
Alexandru Avadanii [Tue, 20 Nov 2018 20:13:27 +0000 (22:13 +0200)]
[cfg01] Honor idf.net_config.mgmt.ip-range

Previously, cfg01 mgmt address did not consider the `ip-range` param,
leading to a mismatching `cfg01` entry in /etc/hosts on cluster nodes.

Change-Id: If6f605f4b2817c3751074bef60ebde298bc74b7d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[baremetal] cmp: Support per-node PXE/admin iface 79/65179/2
Alexandru Avadanii [Fri, 16 Nov 2018 15:33:09 +0000 (17:33 +0200)]
[baremetal] cmp: Support per-node PXE/admin iface

intel-pod18 has different network interfaces on its compute nodes,
requiring support for per-node PXE/admin NIC name override, instead
of assumming all computes use the same NIC naming.

Change-Id: I2b2e5ec6745601576ead898370241b743c963e3d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[ha] kvm: Disable ip_forward 31/65131/1
Alexandru Avadanii [Wed, 14 Nov 2018 16:26:43 +0000 (17:26 +0100)]
[ha] kvm: Disable ip_forward

kvm nodes should not try to route traffic. This also silences some
bogus 'martian packet' warnings about prx public VIP reaching br-ex.

Change-Id: I608a561d292be3042d20fcbe48b2f5c816c4e8bf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoRevert "Conform configs to updated Redis v5.0 package" 63/65063/2
Michael Polenchuk [Tue, 13 Nov 2018 12:49:46 +0000 (12:49 +0000)]
Revert "Conform configs to updated Redis v5.0 package"

This reverts commit 7c5c2a8353177a393f72d244470e34f23c46c3e8.
The package of Redis v5.0 has been removed from repository.

Change-Id: Ic9449314e9e177435878542eecbe5f4a8b848549
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agosubmodule: Bump salt-formula-maas 05/64505/5
Alexandru Avadanii [Mon, 5 Nov 2018 15:44:05 +0000 (16:44 +0100)]
submodule: Bump salt-formula-maas

* bump salt-formula-maas git submodule;
* sync AArch64 initial salt config with the x86_64 default config;
* bump Pharos git submodule to sync `power_pass` MaaS configuration
  paramater naming;

Change-Id: Ic59dd8becb6d83a9e67004c38d51681c88c4be7c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoConform configs to updated Redis v5.0 package 71/64671/7
Michael Polenchuk [Wed, 7 Nov 2018 14:15:29 +0000 (18:15 +0400)]
Conform configs to updated Redis v5.0 package

Also disable transparent hugepages on telemetry hosted nodes
to avoid latency and memory usage issues with Redis.

Change-Id: I3c7a0be6edbc51141f5d79d7368583afacef9025
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years ago[docs] Fix/update broken links 87/64687/1
Alexandru Avadanii [Wed, 7 Nov 2018 16:06:31 +0000 (17:06 +0100)]
[docs] Fix/update broken links

Change-Id: I2859bfbde40664cece5984b148ffe9c0a9a0a81b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[docs] Add odl-ovs-noha scenario docs"
Alexandru Avadanii [Wed, 7 Nov 2018 15:43:48 +0000 (15:43 +0000)]
Merge "[docs] Add odl-ovs-noha scenario docs"

5 years ago[docs] Add odl-ovs-noha scenario docs 69/64669/3
Michael Polenchuk [Wed, 7 Nov 2018 14:10:31 +0000 (18:10 +0400)]
[docs] Add odl-ovs-noha scenario docs

Change-Id: I67a1af46e1d392f3bd6042f4b7d122e30b6e8f99
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years ago[docs] Add PXE/admin DHCP warning 75/64675/2
Alexandru Avadanii [Wed, 7 Nov 2018 14:06:13 +0000 (15:06 +0100)]
[docs] Add PXE/admin DHCP warning

While at it, fix pdflatex build by replacing a warning with a note,
since warnings inside tables leads to breakage with `pdflatex`.

Change-Id: I2edbb2c12b579e6581fb32294d12b760270dc13d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoUpdate release date 59/64659/1
Cristina Pauna [Wed, 7 Nov 2018 12:31:20 +0000 (13:31 +0100)]
Update release date

Change-Id: I9a5750b0ed0ce81030902cc794c137433099cc3e
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
5 years agoMerge "submodule: Bump Pharos for arm PODs updates"
Alexandru Avadanii [Tue, 6 Nov 2018 20:26:12 +0000 (20:26 +0000)]
Merge "submodule: Bump Pharos for arm PODs updates"

5 years agoMerge "[opendaylight] Update SQLAlchemy library"
Michael Polenchuk [Tue, 6 Nov 2018 10:57:28 +0000 (10:57 +0000)]
Merge "[opendaylight] Update SQLAlchemy library"

5 years ago[opendaylight] Update SQLAlchemy library 29/64429/2
Michael Polenchuk [Fri, 2 Nov 2018 13:00:30 +0000 (17:00 +0400)]
[opendaylight] Update SQLAlchemy library

To conform to the changes in networking-odl driver:
https://review.openstack.org/604755

Change-Id: I6aaefe9d6d4f26652464f82b7c7e45694387c8af
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agosubmodule: Bump Pharos for arm PODs updates 11/64511/1
Alexandru Avadanii [Mon, 5 Nov 2018 15:55:55 +0000 (16:55 +0100)]
submodule: Bump Pharos for arm PODs updates

Change-Id: I8fdc24130b3887defc2d7b53f94530f71b28aa02
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[docs] Refresh for Gambia release 73/63073/8
Alexandru Avadanii [Fri, 28 Sep 2018 14:35:10 +0000 (16:35 +0200)]
[docs] Refresh for Gambia release

- s/Fuel@OPNFV/OPNFV Fuel/g;
- added README files for ci/scenarios/patches directories;
- refresh & simplify cluster overview diagrams;
- unify labels across docs;
- fix TOC numbering;
- remove local labs PDF/IDF files, as they are merely duplicates of
  Pharos files included as a git submodule;

JIRA: FUEL-397

Change-Id: I87f61938eeb67f13fd9205d5226a30f02e55d267
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoSpecify barbican endpoint for glance service 95/63995/2
Michael Polenchuk [Thu, 25 Oct 2018 08:21:34 +0000 (12:21 +0400)]
Specify barbican endpoint for glance service

By default castellan key manager gets public endpoint of barbican
service which isn't preferable in terms of cluster ops, so specify
internal endpoint explicitly.

Change-Id: Ie686ceb936132143743af18fcb4960ea15a8b93c
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoFix salt target option in opendaylight state 59/64059/1
Michael Polenchuk [Fri, 26 Oct 2018 08:58:18 +0000 (12:58 +0400)]
Fix salt target option in opendaylight state

Change-Id: Idf8b4b42dcc68bc55debaac9a8b5f1ca6b5b398e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoMerge "[ha] Add haproxy on opendaylight nodes"
Michael Polenchuk [Fri, 26 Oct 2018 07:17:26 +0000 (07:17 +0000)]
Merge "[ha] Add haproxy on opendaylight nodes"

5 years ago[ha] Add haproxy on opendaylight nodes 47/63947/1
Michael Polenchuk [Wed, 24 Oct 2018 10:47:18 +0000 (14:47 +0400)]
[ha] Add haproxy on opendaylight nodes

Setup haproxy on opendaylight nodes to listen/bind on VIP address.
Keepalived will be checking existence of haproxy daemon.

Change-Id: Ie0a3a6ebb82523388d528529709415644f67a380
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoEnable IPv6 on entire cluster by default 49/63749/3
Michael Polenchuk [Fri, 19 Oct 2018 11:36:02 +0000 (15:36 +0400)]
Enable IPv6 on entire cluster by default

IPv6 has been enabled back by commenting out the
cis-3-3-3 yaml/class source in linux service reclass.

Change-Id: Ia8f4e2ddbb98f9316e6ce5136badbb14ecb277c5
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoMerge "[ha] Run OpenDaylight in cluster mode"
Michael Polenchuk [Mon, 22 Oct 2018 12:36:23 +0000 (12:36 +0000)]
Merge "[ha] Run OpenDaylight in cluster mode"

5 years agoMerge "[ha] Add barbican to nginx on proxy nodes"
Michael Polenchuk [Mon, 22 Oct 2018 10:31:42 +0000 (10:31 +0000)]
Merge "[ha] Add barbican to nginx on proxy nodes"

5 years ago[ha] Run OpenDaylight in cluster mode 21/63021/5
Michael Polenchuk [Fri, 28 Sep 2018 12:02:30 +0000 (16:02 +0400)]
[ha] Run OpenDaylight in cluster mode

Change-Id: Id75fbee34a6cfc6e7fc60df053cccaaff21cb15a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years ago[ha] Add barbican to nginx on proxy nodes 93/63693/3
Delia Popescu [Wed, 17 Oct 2018 11:53:16 +0000 (14:53 +0300)]
[ha] Add barbican to nginx on proxy nodes

JIRA: FUEL-395

Change-Id: I8bd3a8e914828548e2ded0915770550ce3673897
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
5 years ago[submodule] Bump pharos git repo for pod changes 43/63743/1
Guillermo Herrero [Fri, 19 Oct 2018 08:37:53 +0000 (10:37 +0200)]
[submodule] Bump pharos git repo for pod changes

Change-Id: I698d97f3dbf8cdbe7002c5e4b02ac1a51dacdbfb
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
5 years agoMerge "Add odl bgpvpn noha scenario to fuel"
Alexandru Avadanii [Wed, 17 Oct 2018 13:50:29 +0000 (13:50 +0000)]
Merge "Add odl bgpvpn noha scenario to fuel"

5 years agoAdd odl bgpvpn noha scenario to fuel 95/62995/6
Stamatis Katsaounis [Thu, 27 Sep 2018 08:52:12 +0000 (11:52 +0300)]
Add odl bgpvpn noha scenario to fuel

JIRA: FUEL-393

This patch adds support of os-odl-bgvpn-noha scenario to fuel
installer.

Change-Id: I4e053e38aac70023b0a81f9a41b415c7a1aae3af
Depends-On: I57288bbb42f4c75af19f3807f8f15b44482c066c
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoEnable IPv6 on compute nodes for noha and ha 89/63589/2
Delia Popescu [Tue, 16 Oct 2018 11:45:21 +0000 (14:45 +0300)]
Enable IPv6 on compute nodes for noha and ha

Enable IPv6 on compute nodes for both ha and noha deployment
types

Change-Id: I46c89e3005aefea8ccbeb4779efe513bf2be84e8
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
5 years agoSet volume device name to sdc 05/63405/1
Delia Popescu [Thu, 11 Oct 2018 07:02:04 +0000 (10:02 +0300)]
Set volume device name to sdc

Functest is now using scsi volume type for fuel
Set correct volume device name for functest volume tests

JIRA: ARMBAND-402

Change-Id: I2265901eeb624a395388f6ce8afae226b129c5be
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
5 years ago[license] Cleanup duplicate LICENSE files 69/63069/2
Alexandru Avadanii [Fri, 28 Sep 2018 13:41:18 +0000 (15:41 +0200)]
[license] Cleanup duplicate LICENSE files

github.com auto-detects the licensing terms if and only if the root
directory contains a single license file.

To leverage this, distinguish via main README file between:
- main fuel repository license (apache-2.0);
- documentation license (cc-by-4.0);
- 3rd party licenses (non-exhaustive list for 3rd party projects);

While at it, add missing license headers to docs auxiliary files.

Change-Id: I7bd25573b0c2b8d16881c7ae72198f5981683c08
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[cleanup] Remove obsolete prototypes 19/63019/2
Alexandru Avadanii [Fri, 28 Sep 2018 11:37:56 +0000 (13:37 +0200)]
[cleanup] Remove obsolete prototypes

Tacker POC is replaced by the full os-odl-sfc-noha scenario.

Change-Id: Ic0648d55e08ccf84244ac286b65fca2656d04a2d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[deploy] Use qemu:///system for virt-inst too 07/63007/1
Alexandru Avadanii [Thu, 27 Sep 2018 22:38:57 +0000 (00:38 +0200)]
[deploy] Use qemu:///system for virt-inst too

Make sure `virsh` and `virt-install` use the same connection URI.

Fixes: e49ffac1

Change-Id: I437f063ce9936804248b7cf09f6ecfef6417f387
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoUpdate salt formulas versions 97/62997/1
Michael Polenchuk [Thu, 27 Sep 2018 09:55:31 +0000 (13:55 +0400)]
Update salt formulas versions

Change-Id: Id2f93d0274b102a5eef5271a6d15cb91428d7a0c
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoMerge "[INFO] Add Cristina as committer"
Alexandru Avadanii [Wed, 26 Sep 2018 22:34:40 +0000 (22:34 +0000)]
Merge "[INFO] Add Cristina as committer"

5 years ago[ha] Fix missing aodh_version param 83/62983/1
Alexandru Avadanii [Mon, 24 Sep 2018 15:56:23 +0000 (17:56 +0200)]
[ha] Fix missing aodh_version param

_param:aodh_version was lost during a recent refactor, bring it back.
While at it, also make chown in entrypoint.sh recursive to prepare
for non-sudo deployments.

Fixes: c0de0902

Change-Id: I41b225c4a3f15269aa156a1c33412206beff6ee9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[ovn] Enable metadata agent"
Alexandru Avadanii [Wed, 26 Sep 2018 14:30:10 +0000 (14:30 +0000)]
Merge "[ovn] Enable metadata agent"

5 years agoMerge "[reclass] Ensure pxe_admin_address is set for all"
Alexandru Avadanii [Wed, 26 Sep 2018 14:29:46 +0000 (14:29 +0000)]
Merge "[reclass] Ensure pxe_admin_address is set for all"

5 years agoMerge "[lib.sh] Split into multiple files for readability"
Michael Polenchuk [Wed, 26 Sep 2018 12:02:56 +0000 (12:02 +0000)]
Merge "[lib.sh] Split into multiple files for readability"

5 years ago[reclass] Ensure pxe_admin_address is set for all 71/62971/1
Alexandru Avadanii [Tue, 25 Sep 2018 18:16:23 +0000 (20:16 +0200)]
[reclass] Ensure pxe_admin_address is set for all

Some nodes did not rely on the _param:pxe_admin_address internal
reclass param, although all of them do have an IP address in the
PXE/admin network segment.

Ensure all nodes define this param, so we can query all nodes with:
$ salt '*' pillar.item _param:pxe_admin_address

JIRA: FUEL-394

Change-Id: I7575934752c8b459c52af8a8c98c2b0327756428
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[AArch64] noha: Add armband repo prio"
Alexandru Avadanii [Wed, 26 Sep 2018 11:53:20 +0000 (11:53 +0000)]
Merge "[AArch64] noha: Add armband repo prio"

5 years ago[ovn] Enable metadata agent 63/62963/1
Michael Polenchuk [Wed, 26 Sep 2018 08:17:11 +0000 (12:17 +0400)]
[ovn] Enable metadata agent

Change-Id: I9ef3a1dd570abf90b222609af350565d385326c8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoMerge "[minion] Set tcp_keepalive for flaky networks"
Michael Polenchuk [Wed, 26 Sep 2018 05:48:40 +0000 (05:48 +0000)]
Merge "[minion] Set tcp_keepalive for flaky networks"

5 years agoMerge "[docs] Use https links"
Alexandru Avadanii [Tue, 25 Sep 2018 18:19:59 +0000 (18:19 +0000)]
Merge "[docs] Use https links"

5 years ago[AArch64] noha: Add armband repo prio 47/62947/1
Alexandru Avadanii [Tue, 25 Sep 2018 14:48:41 +0000 (16:48 +0200)]
[AArch64] noha: Add armband repo prio

Previously, only HA scenarios required the Armband repository
configuration (including its higher repo prio pinning), since NOHA
scenarios were not supported on baremetal.

With multiarch hybrid POD support landing, the same repo prio should
be set for NOHA scenarios.

Change-Id: I676ee262e270ce4689c44c245967badebc2efe2c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[INFO] Add Cristina as committer 45/62945/1
Alexandru Avadanii [Tue, 25 Sep 2018 14:34:14 +0000 (16:34 +0200)]
[INFO] Add Cristina as committer

Change-Id: Id9262040daa037fa715c41dc44258f62ffe3f78f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[reclass] Consolidate all passwords 75/62875/8
Guillermo Herrero [Mon, 24 Sep 2018 12:02:04 +0000 (14:02 +0200)]
[reclass] Consolidate all passwords

JIRA: FUEL-378

Change-Id: I00832d697d83c374628fa9d759c125e0b6ca64cf
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
5 years ago[minion] Set tcp_keepalive for flaky networks 87/61387/38
Alexandru Avadanii [Sat, 25 Aug 2018 21:57:09 +0000 (23:57 +0200)]
[minion] Set tcp_keepalive for flaky networks

Workaround issues like [1]. Requires bumping formulas for
salt-formula-salt support of tcp_keepalive_* params.

[1] https://github.com/saltstack/salt/issues/38157

Change-Id: I7093437fb696809f73a24b10144c6321d0f1be32
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[lib.sh] Split into multiple files for readability 57/62857/3
Alexandru Avadanii [Sat, 22 Sep 2018 16:29:31 +0000 (18:29 +0200)]
[lib.sh] Split into multiple files for readability

lib.sh got pretty big over time, making it hard to maintain.
Since most of the functions defined now in lib.sh are only required
during build/deploy and not in state files, move them to a new file.

While at it, prepare for running build/deploy as non-root and
set a default connection string for virsh instead of using
user specific config in ~/.config/libvirt/libvirt.conf, which
caused end user experience issues in the past.

Change-Id: Id8c2a8139e4bfdb99af2b0fad73b911ffa18ebea
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[repos] Replace keyserver accesses with pillar GPG 71/62671/6
Alexandru Avadanii [Thu, 20 Sep 2018 18:02:45 +0000 (20:02 +0200)]
[repos] Replace keyserver accesses with pillar GPG

JIRA: FUEL-392

Change-Id: Ia21840c7561a14a5eeed3d08bf89eb2dbf9acc3a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[odl] Create openflowplugin.cfg if not present 53/62853/2
Alexandru Avadanii [Sun, 23 Sep 2018 15:18:40 +0000 (17:18 +0200)]
[odl] Create openflowplugin.cfg if not present

Salt's `ini.options_present` expects the file to be present.

Change-Id: Ib62b324ae0bd154a35b8a80e4ab2ec0002bc6bce
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[build] Use python -m pip workaround 47/62747/5
Alexandru Avadanii [Fri, 21 Sep 2018 19:53:20 +0000 (21:53 +0200)]
[build] Use python -m pip workaround

pipenv depends on pip, which conflicts with some distro versions of
pip, see bug [1].

While at it, workaround lib64 issues on CentOS by passing
`--always-copy` when creating the venv [2].

[1] https://github.com/pyenv/pyenv/issues/1141
[2] https://github.com/pypa/pipenv/issues/1929

Change-Id: I6af1a5fdbe8d37f75ab8b09b050449ad432191ad
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[docs] Use https links 49/62749/1
Alexandru Avadanii [Thu, 13 Sep 2018 00:04:51 +0000 (02:04 +0200)]
[docs] Use https links

Change-Id: Ieca3791520ed8c67943c34fe3ca94337f0511792
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[deploy] Collect logs only if cluster is deployed 37/62737/1
Alexandru Avadanii [Fri, 21 Sep 2018 14:50:13 +0000 (16:50 +0200)]
[deploy] Collect logs only if cluster is deployed

Change-Id: Iaa60008e234a506b05e7b5249c85fd1d6fa63d56
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "[state] virtual_init: Limit to mas01 on baremetal"
Alexandru Avadanii [Fri, 21 Sep 2018 14:00:28 +0000 (14:00 +0000)]
Merge "[state] virtual_init: Limit to mas01 on baremetal"

5 years agoMerge "[infra] Bind mas01 mcpcontrol DHCP to MAAS_IP"
Alexandru Avadanii [Fri, 21 Sep 2018 13:33:15 +0000 (13:33 +0000)]
Merge "[infra] Bind mas01 mcpcontrol DHCP to MAAS_IP"

5 years agoMerge "[odl] Turn off OF statistics polling"
Alexandru Avadanii [Fri, 21 Sep 2018 12:00:32 +0000 (12:00 +0000)]
Merge "[odl] Turn off OF statistics polling"

5 years agoMerge "Rotate keystone fernet keys on shared filesystem"
Alexandru Avadanii [Fri, 21 Sep 2018 11:59:40 +0000 (11:59 +0000)]
Merge "Rotate keystone fernet keys on shared filesystem"

5 years ago[odl] Turn off OF statistics polling 01/62701/1
Michael Polenchuk [Fri, 21 Sep 2018 10:48:06 +0000 (14:48 +0400)]
[odl] Turn off OF statistics polling

OpenDaylight polls OF statistics (usually superfluous) by default
which could affect performance in large scale deployments.
Also mask service only if package is installed.

Change-Id: I2f7a1da85dd5e04502f08be146bcc2ba946a631e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoEnable IPv6 back for proxy/nginx node 87/62687/1
Michael Polenchuk [Fri, 21 Sep 2018 07:26:22 +0000 (11:26 +0400)]
Enable IPv6 back for proxy/nginx node

Change-Id: I2af8a06f5637238c4512b5a117d899fec7cb2e50
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoRotate keystone fernet keys on shared filesystem 83/62683/1
Michael Polenchuk [Fri, 21 Sep 2018 06:14:58 +0000 (10:14 +0400)]
Rotate keystone fernet keys on shared filesystem

Change-Id: I38def56c2f276eca61f12558a03aa2693cc032f3
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years ago[maas] Override broken default main_archive URL 73/62673/1
Alexandru Avadanii [Thu, 20 Sep 2018 23:13:16 +0000 (01:13 +0200)]
[maas] Override broken default main_archive URL

Upstream reclass.system introduced a regression for us in [1].

[1] https://github.com/Mirantis/reclass-system-salt-model/commit/99490e7d

Change-Id: I5cedcbb5c528a8bf59b4f917b422ed433d2ceea3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[state] virtual_init: Limit to mas01 on baremetal 57/62657/4
Alexandru Avadanii [Thu, 20 Sep 2018 17:05:14 +0000 (19:05 +0200)]
[state] virtual_init: Limit to mas01 on baremetal

`virtual_init` state file tries to ping all FN VMs, but that won't
work on hybrid PODs since all FN VMs but mas01 require MaaS DHCP to
be already configured (i.e. FN VMs in question will be reset after
mas01 is fully configured).
Limit virtual node queries in `virtual_init` to mas01 VM, as the rest
of FN VMs will be handled via `baremetal_init` state.

While at it, move _param:apt_mk_version def to common reclass to
avoid an undef reference in NOHA hybrid deployments; set MCP_VCP to
0 for non-HA scenarios.

JIRA: FUEL-385

Change-Id: I582bca6864e9bfed23baf26f9b66e6e95e986c58
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[infra] Bind mas01 mcpcontrol DHCP to MAAS_IP 49/62649/1
Alexandru Avadanii [Thu, 20 Sep 2018 13:57:08 +0000 (15:57 +0200)]
[infra] Bind mas01 mcpcontrol DHCP to MAAS_IP

Bring back MAAS_IP global env var and use it for mas01 VM IP addr
in mcpcontrol network to prevent salt minion signature change.

Partially-reverts: b666bc50

Change-Id: I5c7668393fe66287bd3ecdc75dd3195d5a89a8f3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>