fuel.git
5 years agoFix race condition with nova privsep utime 47/67147/1 stable/gambia
Michael Polenchuk [Tue, 26 Feb 2019 10:52:06 +0000 (14:52 +0400)]
Fix race condition with nova privsep utime

Bug: https://bugs.launchpad.net/nova/+bug/1809123
Change-Id: I14622c21826aeeddac6ea7bf7f9d116cd3e68cfb
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit ac56d7b14f46b05f497b3dca4b6a4b0bfedd83e2)

5 years ago[lib] Add fatal validation of old kernel on Ubuntu 17/67117/1
Alexandru Avadanii [Fri, 22 Feb 2019 15:31:24 +0000 (16:31 +0100)]
[lib] Add fatal validation of old kernel on Ubuntu

As reported in [1], kernel 4.4 seems to break nested virtualization,
add a fatal check against it.

[1] https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1797332

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

5 years ago[cfg01] Reduce mine_interval to 15 min 16/67116/1
Alexandru Avadanii [Mon, 18 Feb 2019 22:08:30 +0000 (23:08 +0100)]
[cfg01] Reduce mine_interval to 15 min

Some PODs are fast enough to get past installing, syncing and using
MaaS to provision the OS on the baremetal nodes before the 1h mine
refresh.

Since mine.update operation is fast enough to go unnoticed and we
only collect IP addresses, grains and pem entries, schedule it every
15 minutes.

Due to reclass class inheritance, we can't easily override this via
pillar data, so handle it via entrypoint.sh.

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

5 years ago[cfg01] Schedule x509.get_pem_entries mine update 36/67036/1
Alexandru Avadanii [Fri, 15 Feb 2019 00:23:20 +0000 (01:23 +0100)]
[cfg01] Schedule x509.get_pem_entries mine update

Previously, Salt Master CA mine was only sent once, during
salt.minion.ca state execution at cfg01 bringup / bootstrap.

This causes possible issues with:
- Salt Master container restart (mine data is lost);
- UNH Lab deployment (uknown rootcause, might be related to XFS and
  overlay2 being used with Docker on CentOS);

To bypass this issue, make x509.get_pem_entries module send mine data
at the default mine interval (60 minutes).

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

5 years agoMerge "[submodule] Bump Pharos for arm-pod10 cmp change" into stable/gambia
Alexandru Avadanii [Wed, 6 Feb 2019 15:50:39 +0000 (15:50 +0000)]
Merge "[submodule] Bump Pharos for arm-pod10 cmp change" into stable/gambia

5 years ago[fdio] Fix VPP package pinning 57/66857/1
Alexandru Avadanii [Mon, 4 Feb 2019 15:08:06 +0000 (16:08 +0100)]
[fdio] Fix VPP package pinning

Previously, Ubuntu ignored the VPP pinning with:

N: Ignoring file 'fdio.ubuntu' in directory '/etc/apt/preferences.d/'
as it has an invalid filename extension

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

5 years ago[submodule] Bump Pharos for arm-pod10 cmp change 55/66855/1
Alexandru Avadanii [Mon, 4 Feb 2019 14:08:20 +0000 (15:08 +0100)]
[submodule] Bump Pharos for arm-pod10 cmp change

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

5 years ago[fdio] Pin VPP packages to 18.07-release 81/66781/2
Alexandru Avadanii [Tue, 29 Jan 2019 15:15:50 +0000 (16:15 +0100)]
[fdio] Pin VPP packages to 18.07-release

VPP 18.10 has a weird bug triggered by certain packets, e.g. from
inside a guest VM on a compute node, these behave differently:
$ udhcpc -x hostname:1234567890123456789012  # works
$ udhcpc -x hostname:12345678901234567890123 # confuses VPP on gtw01

To avoid this bug, pin VPP to the previous release, which does not
exhibit the issue.

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

5 years ago[ovs] Start ovs services before networking 73/66773/1
Alexandru Avadanii [Fri, 25 Jan 2019 20:28:27 +0000 (21:28 +0100)]
[ovs] Start ovs services before networking

Fix broken systemd service unit dependecies:
- OVS should start before networking service;
- OVS ports & bridges should not be automatically ifup-ed by
  networking service to avoid races, so drop 'auto' for both
  (OVS ports are automatically handled when part of an OVS bridge);
- explicitly ifup OVS bridges as part of networking service, but
  after all Linux interfaces have been handled;
- use 'allow-ovs br-prv' to let OVS handle br-prv and avoid another
  race condition;

While at it, fix some other related issues:
- make OVS service start after DPDK service (if present);
- bump OVS-DPDK compute VMs RAM since since switching from MTU 1500
  to jumbo frames for virtual PODs a while ago failed to do so [1];
- avoid creating conflicting reclass linux.network.interfaces entries
  for OVS ports by using their name (drop 'ovs_port_' prefix):
  * for untagged networks they will override existing common defs;
  * for tagged networks, they will create separate entries;
- DPDK scenarios: make gtw01 br-prv members OVS ports to avoid race
  conditions after node reboot by letting OVS handle them;

[1] https://developers.redhat.com/blog/2018/03/16/\
    ovs-dpdk-hugepage-memory/

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

5 years agoUpdate openvswitch to 2.10 15/66615/5 opnfv-7.2.0
Michael Polenchuk [Wed, 23 Jan 2019 11:36:57 +0000 (15:36 +0400)]
Update openvswitch to 2.10

Change-Id: I0121b3190869528e5f2e9985f9e9299ac6c6724e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years ago[fdio] Increase VIF plug-in timeout 79/66679/1
Alexandru Avadanii [Sun, 27 Jan 2019 19:15:02 +0000 (20:15 +0100)]
[fdio] Increase VIF plug-in timeout

Baremetal clusters might benefit from having a little more time
to plug in the VIFs.

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

5 years agoMerge "[fdio] Make VIF timeout non-fatal" into stable/gambia
Alexandru Avadanii [Thu, 24 Jan 2019 19:50:23 +0000 (19:50 +0000)]
Merge "[fdio] Make VIF timeout non-fatal" into stable/gambia

5 years ago[fdio] Make VIF timeout non-fatal 13/66613/1
Alexandru Avadanii [Thu, 24 Jan 2019 00:25:17 +0000 (01:25 +0100)]
[fdio] Make VIF timeout non-fatal

The first VMs spawned still exhibit the race condition described in
the ticket, so apply the same workaround proposed during the Fraser
release cycle in FDS.

JIRA: FDS-156

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

5 years ago[docs] Update Gambia 7.2 release date 11/66611/1
Alexandru Avadanii [Wed, 23 Jan 2019 17:34:21 +0000 (18:34 +0100)]
[docs] Update Gambia 7.2 release date

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

5 years ago[uefi_cleanup] Use grain targeting 49/66549/1
Alexandru Avadanii [Sat, 19 Jan 2019 20:10:49 +0000 (21:10 +0100)]
[uefi_cleanup] Use grain targeting

Alternating HA and no-HA scenario deployments on baremetal requires
non-hostname targeting for UEFI cleanup (e.g. ctl01/gtw01/kvm01).

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

5 years ago[submodule] Bump Pharos for arm-pod10 cmp NIC sync 61/66461/1
Alexandru Avadanii [Thu, 17 Jan 2019 14:38:06 +0000 (15:38 +0100)]
[submodule] Bump Pharos for arm-pod10 cmp NIC sync

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

5 years ago[submodule] Bump Pharos for arm-pod10 NIC reorder 37/66437/1
Alexandru Avadanii [Wed, 16 Jan 2019 12:38:27 +0000 (13:38 +0100)]
[submodule] Bump Pharos for arm-pod10 NIC reorder

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

5 years agoMake shutdown only on physical nodes 31/66431/1
Michael Polenchuk [Wed, 16 Jan 2019 10:03:48 +0000 (14:03 +0400)]
Make shutdown only on physical nodes

Change-Id: If167e7a6bdcdccd6b6df43bd5cac54250abec61a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 352e7bb783b5cb70a41acff26d4a7635ba9aeaec)

5 years agoMerge "[docs] Update documentation for Gambia 7.2" into stable/gambia
Alexandru Avadanii [Tue, 15 Jan 2019 13:52:37 +0000 (13:52 +0000)]
Merge "[docs] Update documentation for Gambia 7.2" into stable/gambia

5 years agoMerge "[noha] Fix gtw private NIC name in j2 templates" into stable/gambia
Alexandru Avadanii [Tue, 15 Jan 2019 13:52:26 +0000 (13:52 +0000)]
Merge "[noha] Fix gtw private NIC name in j2 templates" into stable/gambia

5 years ago[baremetal] Shutdown nodes from previous deploy 03/66403/1
Alexandru Avadanii [Sun, 13 Jan 2019 17:49:07 +0000 (18:49 +0100)]
[baremetal] Shutdown nodes from previous deploy

When noha scenarios are scheduled on the same CI POD currently
running a previously deployed HA scenario, one baremetal node
might remain unused (kvm03), connect to the new Salt master and
interfere with the deployment.

To prevent that, shutdown all baremetal nodes at the begining of the
deployment.

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

5 years ago[centos] Update altarch kernel URL 63/66363/1
Alexandru Avadanii [Mon, 31 Dec 2018 19:43:51 +0000 (20:43 +0100)]
[centos] Update altarch kernel URL

CentOS recently moved its kernel source RPM from the altarch subdir
to the same directory x86_64 kernel sources used to reside, so update
our script accordinly.

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

5 years ago[noha] Fix gtw private NIC name in j2 templates 61/66361/1
Alexandru Avadanii [Fri, 11 Jan 2019 18:38:41 +0000 (19:38 +0100)]
[noha] Fix gtw private NIC name in j2 templates

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

5 years ago[patch] Avoid ifup run if noifupdown is turned on 57/66357/1
Michael Polenchuk [Tue, 25 Dec 2018 10:28:47 +0000 (14:28 +0400)]
[patch] Avoid ifup run if noifupdown is turned on

Handle noifupdown option for all cmd.run states
with explicit ifup call as well.

Change-Id: Ie855a0810bcfe4a856cf9d29bd0755643d71ff4d
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit fb1be0fa7097ae68eca9fe5aaa8820afa6bdd151)

5 years ago[docs] Update documentation for Gambia 7.2 47/66347/1
Cristina Pauna [Thu, 10 Jan 2019 12:32:45 +0000 (14:32 +0200)]
[docs] Update documentation for Gambia 7.2

Change-Id: I180f668b297ad97dd95bd9201005410fe7a62b4c
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit e1acfcab9563a6bed784d11d7c782cb5b854fb21)

5 years ago[noha] Bring in FDIO (VPP+DPDK) scenario 63/66063/8
Alexandru Avadanii [Thu, 8 Nov 2018 18:06:46 +0000 (19:06 +0100)]
[noha] Bring in FDIO (VPP+DPDK) scenario

- cmp, gtw: bump RAM allocation to accomodate hugepages/VPP;
  for now we overcommit, gtw01 resources can probably be lowered;
- submodule: add salt-formula-neutron so we can locally patch it;
- repo:
  * FD.IO repos for VPP packages;
  * networking-vpp PPA for python-networking-vpp Neutron driver;
- use vpp-router for L3, disable neutron-l3-agent;
- baremetal_init: apply repo config before network (otherwise UCA
  repo is missing when trying to install DPDK on baremetal nodes);
- arm64: iommu.passthrough=1 is required on ThunderX for VPP on
  newer kernels;

Design quirks:
- vpp service runs as 'neutron' user, which does not exist at the
  time VPP is installed and initially started, hence the need to
  restart it before starting the vpp-agent service;
- gtw01 node has DPDK, yet to configure it via IDF we use the
  compute-specific OVS-targeted parameters like
  `compute_ovs_dpdk_socket_mem`, which is a bit misleading;
- vpp-agent requires ml2_conf.ini on ALL compute AND network nodes
  to parse per-node physnet-to-real interface names;
- vpp process is bound to core '1' (not parameterized via IDF);

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

5 years ago[MaaS] Implement aarch64 tags for kernel_opts 29/66129/2
Alexandru Avadanii [Sat, 29 Dec 2018 22:54:32 +0000 (23:54 +0100)]
[MaaS] Implement aarch64 tags for kernel_opts

On AArch64, 1G hugepages need to be enabled via kernel cmdline
before mounting hugetlbfs [1].
Leverage MaaS tags to apply custom kernel args to AArch64 nodes.

[1] https://wiki.debian.org/Hugepages

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

5 years ago[docker] deploy.sh: Use tag for stable branch 45/65845/1 opnfv-7.1.0
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>
(cherry picked from commit 4ad7cf5046bbfb90d11f6c172475d75fad257149)

5 years ago[docs] Updates for Gambia 7.1.0 release 31/65831/1
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>
(cherry picked from commit c6a4fcf01b5bcb0533d552d761f7462190df44b7)

5 years agoMerge "[ha] barbican, nova targeting: use server:role" into stable/gambia
Cristina Pauna [Fri, 14 Dec 2018 09:25:09 +0000 (09:25 +0000)]
Merge "[ha] barbican, nova targeting: use server:role" into stable/gambia

5 years ago[VCP] Reboot all VCP VMs after network config 95/65795/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>
(cherry picked from commit 59cc3ee4457005bdea78b2a407243d4fcb32f177)

5 years agoMake MTU cluster-level configurable via IDF 61/65761/1
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>
(cherry picked from commit e2c175f3114fb1857ab8ab4bb7e8ff2f8daf18bd)

5 years ago[docs] Update scenario matrix: os-odl-bgpvpn-noha 57/65757/1
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>
(cherry picked from commit 3633ccf6b4fa39e3cef23bf4690073786e133044)

5 years ago[odl/dpdk] Disable up/down for public interface 23/65723/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>
(cherry picked from commit 38c2905e88a113ab8fbe10bb9e30a02294e66143)

5 years ago[bgpvpn] Use Linux bridge for odl01 public network 05/65705/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>
(cherry picked from commit b8a85f1c6213e3abaf295e7662c4b0df4570039b)

5 years ago[ha] barbican, nova targeting: use server:role 03/65703/1
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>
(cherry picked from commit a4d64c6ff23dd2957b34ebc303c16ee640d709e6)

5 years ago[cfg01] reclass: Apply broken default patch first 75/65675/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>
(cherry picked from commit 137d0635cc47ae2e0b86c97ee13e93bf2bf94f51)

5 years agoMerge "[ha] fix barbican server install error" into stable/gambia
Alexandru Avadanii [Sat, 8 Dec 2018 16:14:22 +0000 (16:14 +0000)]
Merge "[ha] fix barbican server install error" into stable/gambia

5 years ago[cfg01] Patch reclass settings.py broken default 61/65661/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>
(cherry picked from commit 2de5348a8b267a1742154dd6d5c4f5bd3a2983ab)

5 years ago[ha] fix barbican server install error 41/65641/1
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>
(cherry picked from commit 73b02742d463fc2932ef66baee7123fc773c1b0c)

5 years agoRevert "Revert "Conform configs to updated Redis v5.0 package"" 33/65633/2
Michael Polenchuk [Fri, 7 Dec 2018 07:32:09 +0000 (07:32 +0000)]
Revert "Revert "Conform configs to updated Redis v5.0 package""

This reverts commit 86c0ba63236b96fbf38370280d85a23290b19680.
The package of Redis v5.0 has been returned back to repository.

Change-Id: I674238ef36528a9a16a914811b675349acf0bf07
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agosubmodule: Bump pharos to latest 69/65569/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>
(cherry picked from commit 2b58963221b1378d7be31a99296d4762282dff07)

5 years ago[docker] compose: Switch ip_range to ipv4_address 35/65535/1
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>
(cherry picked from commit 904183e275ca6b2aa6cad11a330fc060d5379b3e)

5 years ago[state] maas: Retry first state apply on mas01 27/65527/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>
(cherry picked from commit 20dcc03e2acd0d143723c3c319f73c19d894718c)

5 years ago[patch] docker: Explicitly install python-futures 25/65525/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>
(cherry picked from commit cee4e0ca227509ea8386934a15f748b8077f4e18)

5 years ago[docker] build: Allow cache invalidation 01/65501/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>
(cherry picked from commit f03a33bc58135acc7e4420efaaf34c26a32d6142)

5 years agoMerge "[cfg01] Honor idf.net_config.mgmt.ip-range" into stable/gambia
Alexandru Avadanii [Wed, 28 Nov 2018 17:51:57 +0000 (17:51 +0000)]
Merge "[cfg01] Honor idf.net_config.mgmt.ip-range" into stable/gambia

5 years agoMerge "[vcp] kvm: Re-apply sysctl settings after libvirt" into stable/gambia
Alexandru Avadanii [Wed, 28 Nov 2018 14:11:46 +0000 (14:11 +0000)]
Merge "[vcp] kvm: Re-apply sysctl settings after libvirt" into stable/gambia

5 years agoMerge "submodule: Bump salt-formula-maas" into stable/gambia
Alexandru Avadanii [Tue, 27 Nov 2018 14:23:13 +0000 (14:23 +0000)]
Merge "submodule: Bump salt-formula-maas" into stable/gambia

5 years ago[cfg01] Honor idf.net_config.mgmt.ip-range 69/65369/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>
(cherry picked from commit 9521ac10cb9cd22e6e1ab7c04d8882318ce8ba35)

5 years agoMerge "[patch] Set ignore_overwritten_missing_references" into stable/gambia
Alexandru Avadanii [Fri, 23 Nov 2018 15:09:10 +0000 (15:09 +0000)]
Merge "[patch] Set ignore_overwritten_missing_references" into stable/gambia

5 years agosubmodule: Bump salt-formula-maas 13/65313/1
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>
(cherry picked from commit 4c3c9c9a321d724e137f61e23509b6734ac836b7)

5 years agoMerge "[baremetal] cmp: Support per-node PXE/admin iface" into stable/gambia
Alexandru Avadanii [Wed, 21 Nov 2018 15:14:42 +0000 (15:14 +0000)]
Merge "[baremetal] cmp: Support per-node PXE/admin iface" into stable/gambia

5 years ago[vcp] kvm: Re-apply sysctl settings after libvirt 09/65309/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>
(cherry picked from commit dc2e7381046ef617d1bf1af2261e9e84627bb8c4)

5 years ago[patch] Set ignore_overwritten_missing_references 07/65307/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>
(cherry picked from commit 57f11cf2d7ae13c7ccf42b12b5e54a5953a3c8ec)

5 years ago[baremetal] cmp: Support per-node PXE/admin iface 21/65221/1
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>
(cherry picked from commit de76e69ed608c8b631349c4733defc2f749858f7)

5 years ago[ha] kvm: Disable ip_forward 75/65175/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>
(cherry picked from commit 83e62e848c607dfa6fa7be52a34ede8a4572500e)

5 years agoRevert "Conform configs to updated Redis v5.0 package" 67/65067/1
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>
(cherry picked from commit 107c270af5d07302f73fd07f68c167acde2180f9)

5 years agoConform configs to updated Redis v5.0 package 71/64871/1 opnfv-7.0.0
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 89/64789/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>
(cherry picked from commit 819c64f2b3d78b3c857b0dc390cad70a7d573266)

5 years agoMerge "[docs] Add PXE/admin DHCP warning" into stable/gambia
Alexandru Avadanii [Wed, 7 Nov 2018 16:28:18 +0000 (16:28 +0000)]
Merge "[docs] Add PXE/admin DHCP warning" into stable/gambia

5 years ago[docs] Add odl-ovs-noha scenario docs 85/64685/1
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>
(cherry picked from commit 06d3098783a1fe679cb81fffc982b2335a273ef0)

5 years ago[docs] Add PXE/admin DHCP warning 83/64683/1
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>
(cherry picked from commit f517ccab0e2aa761ecbb5f6d2359255e338b0070)

5 years agoMerge "submodule: Bump Pharos for arm PODs updates" into stable/gambia
Alexandru Avadanii [Wed, 7 Nov 2018 15:30:38 +0000 (15:30 +0000)]
Merge "submodule: Bump Pharos for arm PODs updates" into stable/gambia

5 years agoUpdate release date 65/64665/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>
(cherry picked from commit 612916f3129737ec7ac51964df0c281b474d46e0)

5 years agoMerge "Set Docs Version to Gambia" into stable/gambia
Alexandru Avadanii [Wed, 7 Nov 2018 13:55:24 +0000 (13:55 +0000)]
Merge "Set Docs Version to Gambia" into stable/gambia

5 years agosubmodule: Bump Pharos for arm PODs updates 25/64625/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>
(cherry picked from commit bcb2e095f9c5d83f22701882d5411dab40a06399)

5 years agoMerge "[docs] Refresh for Gambia release" into stable/gambia
Alexandru Avadanii [Tue, 6 Nov 2018 19:51:43 +0000 (19:51 +0000)]
Merge "[docs] Refresh for Gambia release" into stable/gambia

5 years ago[opendaylight] Update SQLAlchemy library 89/64589/1
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>
(cherry picked from commit aa0ccb8daea30e290cf5824e639ddd153f2da3fe)

5 years ago[docs] Refresh for Gambia release 71/64571/1
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>
(cherry picked from commit 170d2d1c195d001d6ca786364aaf3c10e714ae36)

5 years agoSpecify barbican endpoint for glance service 85/64485/1
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 agoSet Docs Version to Gambia 47/64447/1
Trevor Bramwell [Fri, 2 Nov 2018 18:05:58 +0000 (11:05 -0700)]
Set Docs Version to Gambia

The default version and release to OPNFV documentation is 'latest'.
Even though these docs come from the stable branch, setting this to
'Gambia' makes it clearer when reading the docs which version you're
looking at.

Change-Id: Ie1ef418de7e6dedb624f770cb7e4a5a820f2c1ce
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
5 years agoMerge "Add odl bgpvpn noha scenario to fuel" into stable/gambia
Alexandru Avadanii [Wed, 31 Oct 2018 16:02:45 +0000 (16:02 +0000)]
Merge "Add odl bgpvpn noha scenario to fuel" into stable/gambia

5 years agoMerge "[submodule] Bump pharos git repo for pod changes" into stable/gambia
Alexandru Avadanii [Wed, 31 Oct 2018 16:02:15 +0000 (16:02 +0000)]
Merge "[submodule] Bump pharos git repo for pod changes" into stable/gambia

5 years ago[submodule] Bump pharos git repo for pod changes 07/64207/2
Guillermo Herrero [Fri, 19 Oct 2018 08:37:53 +0000 (10:37 +0200)]
[submodule] Bump pharos git repo for pod changes

stable/gambia specific changes:
- align reclass parameter naming after [1];
- include ODL public IP definition from [2], preparing for ODL BGPVPN
  scenario integration;

[1] https://gerrit.opnfv.org/gerrit/#/c/63023/
[2] https://gerrit.opnfv.org/gerrit/#/c/63273/

Change-Id: I698d97f3dbf8cdbe7002c5e4b02ac1a51dacdbfb
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit ec817180eece7be6e161e4633e08f41ea94cb903)

5 years ago[ha] Add barbican to nginx on proxy nodes 05/64305/1
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>
(cherry picked from commit 01bbce8b3fbfb01a6a1412d0864d49b6f1cb01c1)

5 years agoAdd odl bgpvpn noha scenario to fuel 05/64205/1
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>
(cherry picked from commit 7f41e5fde88df7c312175a90c536550763d4c271)

5 years agoMerge "Enable IPv6 on compute nodes for noha and ha" into stable/gambia
Alexandru Avadanii [Mon, 29 Oct 2018 15:18:07 +0000 (15:18 +0000)]
Merge "Enable IPv6 on compute nodes for noha and ha" into stable/gambia

5 years agoEnable IPv6 on entire cluster by default 91/63991/1
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 agoEnable IPv6 on compute nodes for noha and ha 03/63603/1
Delia Popescu [Tue, 16 Oct 2018 11:45:21 +0000 (14:45 +0300)]
Enable IPv6 on compute nodes for noha and ha

Change-Id: I46c89e3005aefea8ccbeb4779efe513bf2be84e8
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
(cherry picked from commit d730e4b011a5770ef29655028638b490fe34a339)

5 years agoSet volume device name to sdc 47/63447/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>
(cherry picked from commit f7f3623807c6ff914b28e89b157e3c9e3578d507)

5 years ago[license] Cleanup duplicate LICENSE files 97/63097/1
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>
(cherry picked from commit 650b54aeead7eee047ed17eacb4bc401c936a0aa)

5 years agoMerge "[INFO] Add Cristina as committer" into stable/gambia
Cristina Pauna [Mon, 1 Oct 2018 13:15:59 +0000 (13:15 +0000)]
Merge "[INFO] Add Cristina as committer" into stable/gambia

5 years ago[cleanup] Remove obsolete prototypes 29/63029/1
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>
(cherry picked from commit b7383cda9b6ffdaf6dd8bb07dc74e1c8a7046dbd)

5 years ago[deploy] Use qemu:///system for virt-inst too 09/63009/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>
(cherry picked from commit c034acca79007040c9e1b3e7ad22b166f6ff4d7a)

5 years ago[INFO] Add Cristina as committer 93/62993/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>
(cherry picked from commit 42b2d2ac66fa27079a993baf3ea19748f2cfb273)

5 years ago[ha] Fix missing aodh_version param 87/62987/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>
(cherry picked from commit 6bb830d62451e608cca959e5cb00cd383c8cf01d)

5 years ago[reclass] Consolidate all passwords 85/62985/1
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>
(cherry picked from commit c0de0902fdb9c15033ae830b31bfcade8eb1c3ec)

5 years ago[ovn] Enable metadata agent 81/62981/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>
(cherry picked from commit 637e149c0af5ef96612846bf9f0b3482ce11fc5b)

5 years ago[reclass] Ensure pxe_admin_address is set for all 79/62979/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>
(cherry picked from commit a20ca2d8aaf550e1a1766768a2f4403a795d9e12)

5 years ago[lib.sh] Split into multiple files for readability 73/62973/1
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>
(cherry picked from commit e49ffac10dc059b9133586ae4991446f5a5915de)

5 years agoMerge "[AArch64] noha: Add armband repo prio" into stable/gambia
Alexandru Avadanii [Wed, 26 Sep 2018 11:58:42 +0000 (11:58 +0000)]
Merge "[AArch64] noha: Add armband repo prio" into stable/gambia

5 years agoMerge "[minion] Set tcp_keepalive for flaky networks" into stable/gambia
Alexandru Avadanii [Wed, 26 Sep 2018 11:57:35 +0000 (11:57 +0000)]
Merge "[minion] Set tcp_keepalive for flaky networks" into stable/gambia

5 years ago[AArch64] noha: Add armband repo prio 69/62969/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>
(cherry picked from commit f160b9ef9351be59b8ead17f35275ca368091fe0)

5 years ago[minion] Set tcp_keepalive for flaky networks 65/62965/1
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>
(cherry picked from commit 8e59fcfd2d9a0f8d2b7e3824d918accb23edcca6)

5 years ago[docs] Use https links 51/62951/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>
(cherry picked from commit 6519b2f846eb44eb8fc95612116682156edb96b5)

5 years agoMerge "[repos] Replace keyserver accesses with pillar GPG" into stable/gambia
Alexandru Avadanii [Tue, 25 Sep 2018 12:09:02 +0000 (12:09 +0000)]
Merge "[repos] Replace keyserver accesses with pillar GPG" into stable/gambia

5 years agoMerge "[build] Use python -m pip workaround" into stable/gambia
Alexandru Avadanii [Tue, 25 Sep 2018 12:08:28 +0000 (12:08 +0000)]
Merge "[build] Use python -m pip workaround" into stable/gambia

5 years ago[repos] Replace keyserver accesses with pillar GPG 59/62859/1
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>
(cherry picked from commit d7bf560e12151853c3121ba39ad9bf6bd47befcf)

5 years ago[odl] Create openflowplugin.cfg if not present 55/62855/1
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>
(cherry picked from commit 5693a22613d2ba0bd454490646c8a29b47a74329)