fuel.git
6 years ago[ha] Align package repositories on all the nodes 79/57579/1
Michael Polenchuk [Fri, 18 May 2018 12:51:21 +0000 (16:51 +0400)]
[ha] Align package repositories on all the nodes

Change-Id: Idd09d28677b109b4c0c5a4c232dcfb7c4f24dbd7
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "[noha] Bring in gnocchi/panko services"
Alexandru Avadanii [Thu, 17 May 2018 18:36:37 +0000 (18:36 +0000)]
Merge "[noha] Bring in gnocchi/panko services"

6 years agoMerge "[docs] add info about block storage support"
Michael Polenchuk [Thu, 17 May 2018 09:22:29 +0000 (09:22 +0000)]
Merge "[docs] add info about block storage support"

6 years ago[noha] Bring in gnocchi/panko services 99/57399/3
Michael Polenchuk [Tue, 15 May 2018 14:28:59 +0000 (18:28 +0400)]
[noha] Bring in gnocchi/panko services

JIRA: FUEL-372
Change-Id: I4e322a4a2c84843e9350fe9b3b849cd0c5244a12
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[noha] Align package repositories on all the nodes 73/57473/2
Michael Polenchuk [Wed, 16 May 2018 13:41:05 +0000 (17:41 +0400)]
[noha] Align package repositories on all the nodes

* replace UCA repo with MCP one on the remaining nodes
* clean up haproxy out-of-use frontends:
  - Nova EC2 API
  - Glare API

Change-Id: If8e6de2d95387c92ae96ad6069ec788ab229e1ce
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "AArch64: Switch to upstream Saltstack repo"
Alexandru Avadanii [Tue, 15 May 2018 15:40:47 +0000 (15:40 +0000)]
Merge "AArch64: Switch to upstream Saltstack repo"

6 years agoAArch64: Switch to upstream Saltstack repo 79/57279/1
Alexandru Avadanii [Thu, 10 May 2018 15:05:09 +0000 (17:05 +0200)]
AArch64: Switch to upstream Saltstack repo

To work around the missing dependency of 'python-tornado' on
'python-features' provided by the binary-specific DEB package
in amd64 Saltstack repository, pre-install the req explicitly
on FN (jumpserver) and VCP VMs via lib.sh.

JIRA: ARMBAND-382

Change-Id: I2dbd08a58f6cf57c2c48c2d7fc8d19ad4872e800
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[docs] add info about block storage support 05/57105/9
Charalampos Kominos [Mon, 7 May 2018 08:41:57 +0000 (10:41 +0200)]
[docs] add info about block storage support

Adding volumes in openstack by default uses virtio_blk which limits
the amount of disks that can be attached. Here we inform about
this shortcoming and supply a workaround.

JIRA: ARMBAND-376

Change-Id: I711df5c19befca7a3abfdce9fe9b2b0bb38853ac
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
6 years ago[xdf] Fix parsing of non-range private vlan(s) 43/57243/1
Alexandru Avadanii [Wed, 9 May 2018 17:36:34 +0000 (19:36 +0200)]
[xdf] Fix parsing of non-range private vlan(s)

Private (tenant) vlan range support introduced a regression in parsing
PDF/IDF with a single vlan (no range) due to the value being
interpreted as an int instead of string.

Change-Id: Id5d67c4c516a9bb807ffa5e111ead5cbcee7e2ca
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Update PTL"
Gregory Elkinbard [Tue, 8 May 2018 15:24:58 +0000 (15:24 +0000)]
Merge "Update PTL"

6 years ago[virtual] Bring in OpenDaylight DPDK scenario 61/56861/3
Michael Polenchuk [Fri, 13 Apr 2018 08:50:14 +0000 (12:50 +0400)]
[virtual] Bring in OpenDaylight DPDK scenario

Change-Id: If77ac85fa86e0a1a18c0cc2abff77d876cdb9e93
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoUpdate PTL 67/57167/1
Cristina Pauna [Tue, 8 May 2018 11:25:58 +0000 (14:25 +0300)]
Update PTL

Election process
https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2018-May/021163.html

Change-Id: Id12673df1797afe0af16812bdf67b8ca8a931626
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 years agoMerge "Auto Generated INFO.yaml file"
Gregory Elkinbard [Mon, 7 May 2018 17:49:54 +0000 (17:49 +0000)]
Merge "Auto Generated INFO.yaml file"

6 years agoAuto Generated INFO.yaml file 61/51561/4
agardner [Fri, 2 Feb 2018 22:58:50 +0000 (17:58 -0500)]
Auto Generated INFO.yaml file

Fix project lead

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Meeting times are not currently filled out.
please ammend this patchset to complete

Going forward comitter promotions should be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

If project_lead: is missing (my script could not parse)
please amend with same from commiters section eg:

project_lead: &opnfv_dovetail_ptl
    name: 'Lead Name'
    email: 'lead email'
    id: 'lead lfid'
    company: 'lead company'

Cleaned up commiter list:
Jonas Bjurel – resigned
Guo, Ruijing – resigned
Stefan Berg – inactive last commit September 2016
Daniel Smith – inactive last commit June 2016
Szilard Cserey - inactive last commit Nov 2015
Michal Skalski: - inactive last commit August 2017
Nikolas Hermanns -inactive last commit  August 2016

Change-Id: I085ce063906f5596fdab0c9ece520ecb45c7e309
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years ago[odl] Remove unused connecter/port from proxy 59/56859/1
Michael Polenchuk [Sat, 28 Apr 2018 09:40:53 +0000 (13:40 +0400)]
[odl] Remove unused connecter/port from proxy

Change-Id: I7a880c0a011d6f5f4a7e2d8c8309871b1c290235
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[jump] Print CPU, RAM, disk info for debug 31/56531/4
Alexandru Avadanii [Wed, 25 Apr 2018 19:38:01 +0000 (21:38 +0200)]
[jump] Print CPU, RAM, disk info for debug

JIRA: FUEL-323

Change-Id: I74f92fbdf84762540401fe07a6eb424bdc7aa664
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[maas] Make boot-source-selection ops idempotent 85/56685/1
Alexandru Avadanii [Thu, 26 Apr 2018 17:25:21 +0000 (19:25 +0200)]
[maas] Make boot-source-selection ops idempotent

- add `unless` clause;
- instead of adding a new boot sources, update the existing one,
  assuming standard MaaS installation (always updates id '1');

Change-Id: I2db92a3b14d0588095c69545cbb6977ca109613e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Run galera state on slave nodes one by one"
Alexandru Avadanii [Thu, 26 Apr 2018 13:21:06 +0000 (13:21 +0000)]
Merge "Run galera state on slave nodes one by one"

6 years agoRun galera state on slave nodes one by one 57/56657/1
Michael Polenchuk [Thu, 26 Apr 2018 12:42:11 +0000 (16:42 +0400)]
Run galera state on slave nodes one by one

Apply galera state in consecutive order to avoid
a race condition with database initialization.

Change-Id: I877bad38777d8469c03cee3b7e96acc875a3a72a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[maas] Set boot source selections 55/56655/1
Michael Polenchuk [Thu, 26 Apr 2018 12:33:16 +0000 (16:33 +0400)]
[maas] Set boot source selections

Select xenial image explicitly to avoid getting latest bionic one.

Change-Id: Iee872b8dd2ce309231829a0ad8e5a3cf1a75f796
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[submodule] Bump Pharos for zte-pod1 IDF update 15/56515/1
Alexandru Avadanii [Wed, 25 Apr 2018 16:42:00 +0000 (18:42 +0200)]
[submodule] Bump Pharos for zte-pod1 IDF update

Change-Id: I4942a1c3e12db304db11fbc231ca26ff87e3b6bb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[docs] Updates for the first Fraser release 05/56405/4
Cristina Pauna [Tue, 24 Apr 2018 15:11:44 +0000 (18:11 +0300)]
[docs] Updates for the first Fraser release

Change-Id: I80dfb55c01af89bded1140cd27563d258e05dda4
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 years agoMerge "[doc] Add guest OS support matrix"
Alexandru Avadanii [Wed, 25 Apr 2018 14:27:36 +0000 (14:27 +0000)]
Merge "[doc] Add guest OS support matrix"

6 years ago[doc] Add guest OS support matrix 11/55811/12
Charalampos Kominos [Mon, 16 Apr 2018 10:04:43 +0000 (12:04 +0200)]
[doc] Add guest OS support matrix

Update fuel documentation regarding the guest operating systems
that we can boot in both in x86 and aarch64.

Change-Id: Iea96fae880755d0a9cc8fa519362ff564f79e391
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
6 years ago[states] Catch more transient 'no response' resp 19/56419/2
Alexandru Avadanii [Tue, 24 Apr 2018 17:57:24 +0000 (19:57 +0200)]
[states] Catch more transient 'no response' resp

Change-Id: Ie8e60a648fa28e59daa6e00f357df52b5821e833
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Mend OVN scenario"
Alexandru Avadanii [Tue, 24 Apr 2018 14:26:40 +0000 (14:26 +0000)]
Merge "Mend OVN scenario"

6 years agoUpdate qemu/libvirt on compute nodes 57/56357/1
Michael Polenchuk [Tue, 24 Apr 2018 12:01:24 +0000 (16:01 +0400)]
Update qemu/libvirt on compute nodes

Get qemu package with fix of TSC frequency mismatch between instance
and host which breaks up nova pause/unpause operation.

JIRA: FUEL-368
Change-Id: I2c954b2b0a8cddca30c861f565b63b642e0b0e9f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMend OVN scenario 75/56275/2
Michael Polenchuk [Mon, 23 Apr 2018 13:23:06 +0000 (17:23 +0400)]
Mend OVN scenario

* setup HWE kernel to get suitable conntrack module
* clean out outdated state with ovn ctl options
* point SB remote source to local mgmt network

Change-Id: I8986c227ce0a9a3b7ab3faf382760ec32e6e7c00
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[ha] Fix tenant NIC OS config for VLAN ranges 99/56199/1
Alexandru Avadanii [Sun, 22 Apr 2018 00:07:27 +0000 (02:07 +0200)]
[ha] Fix tenant NIC OS config for VLAN ranges

Previous commits added support for tenant VLAN range parametrization,
yet failed to accomodate the new VLAN range representation ('M:N') in
existing `linux.network.interfaces` reclass configuration.

This lead to the silent removal of <nic_private>.<vlan_private> from
interfaces file and for `br-mesh` to try to use <nic_private> instead
of <nic_private>.<vlan_private>, conflicting with `br-floating`.

Stick to using the first VLAN in the tenant range.

JIRA: FUEL-365

Change-Id: I88f7263159f1742dba3b6e36649c9344f2932c5f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoDisable cpu pinning & L3 HA features 59/56059/2
Michael Polenchuk [Thu, 19 Apr 2018 10:49:09 +0000 (14:49 +0400)]
Disable cpu pinning & L3 HA features

* CPU pinning: tests have no support for dedicated CPU policy, so
  enabled pinning causes general performance impact
  [https://docs.openstack.org/nova/pike/admin/cpu-topologies.html]
* L3 HA routers:
  - doesn't catch l3-agent failure, relies only on
    HA network state to spot failure
  - failover process only retains the state of network
    connections for instances with a floating IP address
  - incompatible with DVR mode

JIRA: FUEL-360
Change-Id: Ie0182bf953b9989729f89d705d9fee902d229e51
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[reclass] Parameterize tenant VLAN ranges 99/55999/3
Alexandru Avadanii [Wed, 18 Apr 2018 16:40:33 +0000 (18:40 +0200)]
[reclass] Parameterize tenant VLAN ranges

Instead of hardcoding the VLAN ranges in reclass, read them from IDF.
This is required when VLAN segmentation is used instead of VXLAN, as
lab switches should be configured appropiately (e.g. Armband PODs use
VLANs 2000+ instead of 1000-1030).

Change-Id: I009ccea9b328c40f055a745791eafe3393b96390
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[baremetal] cmp linux.system: catch 'no response' 87/55987/1
Alexandru Avadanii [Wed, 18 Apr 2018 14:30:17 +0000 (16:30 +0200)]
[baremetal] cmp linux.system: catch 'no response'

Catch & retry transient errors / timeouts while applying the
`linux.system` state on cmp nodes.

Change-Id: Id314b5a29673e0bcaa78611fc787491056830952
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[MaaS] destructive storage test fio on failure 45/55945/1
Alexandru Avadanii [Wed, 18 Apr 2018 03:59:09 +0000 (05:59 +0200)]
[MaaS] destructive storage test fio on failure

Perform fio storage destructive test operation (usually takes just a
few minutes) to completely destroy any previous storage metadata that
might cause issues with cleanup in cloud-init/curtin during deploy.

Only resort to fio when a node fails to deploy, which allows us to
reuse the `maas.machines.mark_broken_state` state.

JIRA: FUEL-365

Change-Id: Ief327e6b4fefa83a8a3c131acfdf9f5fd605689d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoBuild in opendaylight service mask 81/55681/1
Michael Polenchuk [Fri, 13 Apr 2018 08:54:17 +0000 (12:54 +0400)]
Build in opendaylight service mask

Oxygen has an issue with broken config/data cache caused
by service restart in the middle of initial boot.

Change-Id: Ia30c76b67566ab8a2fb9045d0e10ca788f1a06a6
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[submodule] Bump Pharos 47/55647/1
Cristina Pauna [Fri, 13 Apr 2018 08:23:35 +0000 (11:23 +0300)]
[submodule] Bump Pharos

Change-Id: Ib5f7a9d7874704b11b10cdc1eefaae19de2a629e
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 years agoClean up opendaylight configuration 19/55419/2
Michael Polenchuk [Wed, 11 Apr 2018 12:50:28 +0000 (16:50 +0400)]
Clean up opendaylight configuration

* remove client patch (has been merged to upstream)
* websocket now is disabled by default
* purge deprecated/unneeded features (odl-mdsal-apidocs, odl-dlux-all)

Change-Id: Id247a3c74e66730049bfeafc4a5164aad0d9b662
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoAdd ports to ovs bridge config 13/54813/2
Michael Polenchuk [Tue, 3 Apr 2018 15:24:12 +0000 (19:24 +0400)]
Add ports to ovs bridge config

To avoid race with interfaces initialization specify all
the ports that belong to a bridge in the config file.

Change-Id: Ie4f48e7a81d4659a0f43749cdd518dbeffe2e35f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "Update opendaylight version to oxygen"
Alexandru Avadanii [Fri, 6 Apr 2018 18:19:12 +0000 (18:19 +0000)]
Merge "Update opendaylight version to oxygen"

6 years agoMerge "[virtual] Set vnc address to local one"
Alexandru Avadanii [Fri, 6 Apr 2018 18:18:25 +0000 (18:18 +0000)]
Merge "[virtual] Set vnc address to local one"

6 years agoUpdate opendaylight version to oxygen 95/54995/2
Michael Polenchuk [Thu, 5 Apr 2018 13:55:25 +0000 (17:55 +0400)]
Update opendaylight version to oxygen

JIRA: FUEL-362
Change-Id: Ib2621bca72d1ba376af5d369edcf5fcf37e9788b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[virtual] Set vnc address to local one 55/55055/1
Michael Polenchuk [Fri, 6 Apr 2018 10:35:35 +0000 (14:35 +0400)]
[virtual] Set vnc address to local one

System reclass model assigns vnc address to control_address variable
which is used for controller node reference, so change it to local
address of the current compute node.

Change-Id: I0c6b8534a1dae516620d0d250944232379a526e0
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[UCA] Stop enforcing repository architecture 41/55041/1
Alexandru Avadanii [Fri, 6 Apr 2018 05:44:19 +0000 (07:44 +0200)]
[UCA] Stop enforcing repository architecture

Let APT automatically choose the UCA/Pike-staging PPA architecture
based on current system architecture instead of hardcoding it.

Change-Id: I4fe645847ac0fb70a852477feba9f788fcb8da81
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[submodule] Bump Pharos for Armband IDF changes 59/54959/1
Alexandru Avadanii [Thu, 5 Apr 2018 02:25:10 +0000 (04:25 +0200)]
[submodule] Bump Pharos for Armband IDF changes

Bring in arm-pod5 hugepage configuration et al.

Change-Id: If8a2f9cd84b400c5a8a58fe477f8ef7a12c42bf8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoRemove opendaylight service mask 23/54723/2
Michael Polenchuk [Mon, 2 Apr 2018 12:10:22 +0000 (16:10 +0400)]
Remove opendaylight service mask

Nitrogen SR2 brought in weird behaviour into netvirt feature
configuration causing malfunction tunnels between client nodes
(e.g. gateway, computes). In order to work properly service
of opendaylight requires an explicit restart or reload by means
of salt formula.

Change-Id: I277da5ad2787f1005647e500b64c7ffa6051443b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "[odl] Configure Odl memory requirements"
Alexandru Avadanii [Sat, 31 Mar 2018 04:41:25 +0000 (04:41 +0000)]
Merge "[odl] Configure Odl memory requirements"

6 years agoMerge "Add pike staging repository"
Alexandru Avadanii [Sat, 31 Mar 2018 04:40:51 +0000 (04:40 +0000)]
Merge "Add pike staging repository"

6 years ago[odl] Configure Odl memory requirements 55/54555/3
Charalampos Kominos [Wed, 28 Mar 2018 12:05:09 +0000 (14:05 +0200)]
[odl] Configure Odl memory requirements

Odl scripts present in /opt/opendaylight crash with
out-of-memory errors and we cannot use them so we add more memory
to the ODL virtual machine and to the JVM.

Change-Id: Ia29a324ca34b5d33e947ca6d177ce3567316dcb9
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
6 years agoRe-order opendaylight state 43/54643/1
Michael Polenchuk [Fri, 30 Mar 2018 09:37:36 +0000 (13:37 +0400)]
Re-order opendaylight state

* return back opendaylight state after neutron setup
* sleep for awhile to let neutron api reconnect to the ODL
  controller and agents to register on server

Change-Id: Ife0c7d3cc20574b0733e8e3064843c680379cc84
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[odl] Fire up ovs host config after other settings 05/54605/1
Michael Polenchuk [Thu, 29 Mar 2018 10:50:01 +0000 (14:50 +0400)]
[odl] Fire up ovs host config after other settings

Change-Id: I9a42e0373f551da9f5c968ae169e0eff1a58972e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoAdd pike staging repository 71/54471/6
Delia Popescu [Mon, 26 Mar 2018 11:16:33 +0000 (14:16 +0300)]
Add pike staging repository

Append PPA repository to the existing UCA
Existing UCA repository is still necessary for maas

Change-Id: If545b37d30291d3708430c52593b7fbd03bd22e4
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
6 years ago[odl] Setup manager target after ovs host config 47/54547/2
Michael Polenchuk [Wed, 28 Mar 2018 09:50:33 +0000 (13:50 +0400)]
[odl] Setup manager target after ovs host config

Change-Id: Ia517b7cf1723a5afaf43cb0709716f3a67a29e9f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "[doc] installation guide update: PDF section"
Alexandru Avadanii [Tue, 27 Mar 2018 15:39:59 +0000 (15:39 +0000)]
Merge "[doc] installation guide update: PDF section"

6 years ago[doc] installation guide update: PDF section 87/53787/6
ting wu [Wed, 14 Mar 2018 11:54:47 +0000 (12:54 +0100)]
[doc] installation guide update: PDF section

Update PDF section to:
1. describe "net_config" section in IDF.
2. describe compute parameterizaion required in IDF for
   both DPDK and non-DPDK scenario.

JIRA: ARMBAND-361

Change-Id: I63fbe79c5cc3a4ee5244e6a0efad57eb89aad7d2
Signed-off-by: ting wu <ting.wu@enea.com>
6 years agoApply opendaylight state after ovs host config 97/54397/1
Michael Polenchuk [Fri, 23 Mar 2018 12:47:46 +0000 (16:47 +0400)]
Apply opendaylight state after ovs host config

* employ GA kernel for baremetal computes as well
* setup/start opendaylight server after ovs host config

Change-Id: Ic772aed544b17be02e6ca9ccd175f2288b2128a8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[ovs/dpdk] Turn on non-blocking ovs calls 23/54323/1
Michael Polenchuk [Thu, 22 Mar 2018 14:03:06 +0000 (18:03 +0400)]
[ovs/dpdk] Turn on non-blocking ovs calls

Change-Id: I8206707cdb2ebc267b6f4971de35477e3dc73c5f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "lib.sh: Skip modprobing nbd, loop if inbuilt"
Alexandru Avadanii [Thu, 22 Mar 2018 12:02:16 +0000 (12:02 +0000)]
Merge "lib.sh: Skip modprobing nbd, loop if inbuilt"

6 years ago[patch] Drop keystoneclient project ID checking 41/54241/1
Alexandru Avadanii [Wed, 21 Mar 2018 05:15:49 +0000 (06:15 +0100)]
[patch] Drop keystoneclient project ID checking

Since we brought back NAT over MaaS PXE/admin, drop out-of-tree patch
that was only needed for full network isolation (no cross-talk
between public and admin).

Change-Id: I577b1116bbdcc19647b3c01fe6f2acb7bb9ce627
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[virtual/odl] Use default gw offered from dhcp 01/54201/1
Michael Polenchuk [Tue, 20 Mar 2018 13:41:35 +0000 (17:41 +0400)]
[virtual/odl] Use default gw offered from dhcp

Remove default route to external gateway on compute nodes
instead of placing wrapper script as a workaround.

Change-Id: I8e1d5d9920a7aa2ed2d1092ebce692176a3bf41a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agolib.sh: Skip modprobing nbd, loop if inbuilt 59/54059/5
Alexandru Avadanii [Sun, 18 Mar 2018 21:27:11 +0000 (22:27 +0100)]
lib.sh: Skip modprobing nbd, loop if inbuilt

While at it, skip waiting for Salt master when deleting UEFI stale
entries if it doesn't respond to ping.

Also, use https for fetching Armband GPG key to bypass yet another
hks issue behind proxies/firewalls that block hks port.

Change-Id: I400cbe3257094b62c96b302a3c81c5ffd1ba4755
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[ovs/dpdk] Set bridge datapath_type to netdev 83/53983/1
Michael Polenchuk [Fri, 16 Mar 2018 11:57:52 +0000 (15:57 +0400)]
[ovs/dpdk] Set bridge datapath_type to netdev

This prevents neutron ovs agent to re-create existing bridge which
might cause unpredictable/faulty state of network interfaces.

Change-Id: I289365e1dea7d178b5b72eb506f5c711f6d60199
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "salt.sh: Copy mcp.rsa to cfg01"
Alexandru Avadanii [Thu, 15 Mar 2018 00:00:04 +0000 (00:00 +0000)]
Merge "salt.sh: Copy mcp.rsa to cfg01"

6 years ago[virtual/odl] Simplify network scheme on computes 83/53783/1
Michael Polenchuk [Wed, 14 Mar 2018 11:45:23 +0000 (15:45 +0400)]
[virtual/odl] Simplify network scheme on computes

Change-Id: Ifb874aba38b2fa36fde05184bcdd74870257bec1
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agosalt.sh: Copy mcp.rsa to cfg01 25/53725/1
Alexandru Avadanii [Tue, 13 Mar 2018 20:31:53 +0000 (21:31 +0100)]
salt.sh: Copy mcp.rsa to cfg01

- let rsync transfer mcp.rsa* to cfg01;
- symlink mcp.rsa in /root;

Change-Id: I18cb70306faf9d166e1110e374a9fe16ac4449de
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[odl] Add SDN_CONTROLLER_IP to openrc 09/53709/1
Alexandru Avadanii [Tue, 13 Mar 2018 18:25:41 +0000 (19:25 +0100)]
[odl] Add SDN_CONTROLLER_IP to openrc

JIRA: FUEL-352

Change-Id: I73aa5d41e93f3ebd5c8e44577868e8d21e0106a9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[vcp] Catch 'no response' for salt state 05/53705/1
Alexandru Avadanii [Tue, 13 Mar 2018 17:09:26 +0000 (18:09 +0100)]
[vcp] Catch 'no response' for salt state

JIRA: FUEL-358

Change-Id: I8dc89676aa777068d1a13168bf7b7d7156903c03
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[virtual/odl] Turn off websocket for pseudo agent 79/53679/1
Michael Polenchuk [Tue, 13 Mar 2018 14:04:24 +0000 (18:04 +0400)]
[virtual/odl] Turn off websocket for pseudo agent

To prevent error in packet_handler callback: AttributeError:
'PseudoAgentDBBindingWebSocket' object has no attribute
'update_agents_db_row'.

Change-Id: I1a6a4b95ce3290ce108bdb91ae8eb5e85a13ef51
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "[virtual/odl] Apply missing neutron.compute state"
Alexandru Avadanii [Mon, 12 Mar 2018 19:42:34 +0000 (19:42 +0000)]
Merge "[virtual/odl] Apply missing neutron.compute state"

6 years agoMerge "Set volume_device_name variable"
Alexandru Avadanii [Mon, 12 Mar 2018 19:41:01 +0000 (19:41 +0000)]
Merge "Set volume_device_name variable"

6 years agoUpdate patch with ovs bridges as L3 ifaces 75/53575/1
Michael Polenchuk [Mon, 12 Mar 2018 14:50:07 +0000 (18:50 +0400)]
Update patch with ovs bridges as L3 ifaces

Apply this patch if protocol is set to static to be
intended for the ip address settings action only.

Change-Id: I758340ff22376c01edd2a9a3555fe0fd9db3f4a9
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoSet volume_device_name variable 63/53563/2
Michael Polenchuk [Mon, 12 Mar 2018 13:51:08 +0000 (17:51 +0400)]
Set volume_device_name variable

This evironment variable is required by test suite to refer
to an attached volume (vdb is reserved for config drive).

JIRA: FUEL-353
Change-Id: I4f7c96b2344575fcd9b785e3c74b27ef4c4d64f8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[virtual/odl] Apply missing neutron.compute state 33/53533/1
Michael Polenchuk [Mon, 12 Mar 2018 12:39:41 +0000 (16:39 +0400)]
[virtual/odl] Apply missing neutron.compute state

Change-Id: I078e11219fb8dea4505c46e7f75c295c5a72c59b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agolib.sh: Add missing `sudo` for `losetup` 81/53481/1
Alexandru Avadanii [Sun, 11 Mar 2018 22:46:21 +0000 (23:46 +0100)]
lib.sh: Add missing `sudo` for `losetup`

Change-Id: I1c5e3d7a0dbac14bf242730d6ac8d2b1d0817907
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[IDF] Move ip-range start higher for mgmt, public 67/53467/1
Alexandru Avadanii [Sun, 11 Mar 2018 16:28:42 +0000 (17:28 +0100)]
[IDF] Move ip-range start higher for mgmt, public

- move mgmt start to .10;
- move public start to .100;
- sync local idf-pod1;

JIRA: ARMBAND-365

Change-Id: I5d93c4f486daf280d8bdbe92f5aa7edd8d020db0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoFix missing root_helper_daemon for cmp, gtw 43/53343/1
Alexandru Avadanii [Thu, 8 Mar 2018 21:07:19 +0000 (22:07 +0100)]
Fix missing root_helper_daemon for cmp, gtw

While at it, drop patch now upstream.

JIRA: FUEL-348

Fixes: cf6cd9cd

Change-Id: Ieb4c93e9dc79a4e4dec140433574e042a1a6f2dc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoRevert "[baremetal] Retire mas01 NAT" 67/53267/1
Alexandru Avadanii [Wed, 7 Mar 2018 23:49:03 +0000 (00:49 +0100)]
Revert "[baremetal] Retire mas01 NAT"

Bring back public internet access to all cluster nodes via NAT
on mas01 node, required for NTP syncing.

NOTE: Both mcpcontrol and PXE/admin networks are currently
hard wired to using /24 netmask, so we leverage that in pxe_nat.sls.

JIRA: FUEL-348

This reverts commit 9a6e655e0b851ff6e449027c01ac1a66188b0064.

Change-Id: I7bab385f95f8c6d92cadc4e2149c2cd56e10c506
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[IDF] net_config: Add support for custom ip-range 61/53261/3
Alexandru Avadanii [Wed, 7 Mar 2018 21:00:29 +0000 (22:00 +0100)]
[IDF] net_config: Add support for custom ip-range

- submodule: bump Pharos to pick up installer adapter support, as well
  as IDF updates for Ericsson baremetal pod1;
- labs/local/virtual: Bump mgmt, public networks start addresses from
  .1 to .10, similar to ericsson-pod1;

While at it, drop patch now upstream and instead adopt the new param
'neutron:server:root_helper_daemon'.

JIRA: FUEL-351

Change-Id: I9bc244a7fd8698861a390ed2b6a27804be46c285
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[novcp] Add deploy argument `-N` (experimental)"
Alexandru Avadanii [Wed, 7 Mar 2018 16:36:30 +0000 (16:36 +0000)]
Merge "[novcp] Add deploy argument `-N` (experimental)"

6 years agoMerge "[vnode parsing] Move core logic to j2"
Alexandru Avadanii [Wed, 7 Mar 2018 16:36:11 +0000 (16:36 +0000)]
Merge "[vnode parsing] Move core logic to j2"

6 years agoMerge "Clean up aodh formula symlink"
Alexandru Avadanii [Wed, 7 Mar 2018 16:35:36 +0000 (16:35 +0000)]
Merge "Clean up aodh formula symlink"

6 years agoMerge "[docs] Openstack endpoints description"
Alexandru Avadanii [Wed, 7 Mar 2018 16:35:26 +0000 (16:35 +0000)]
Merge "[docs] Openstack endpoints description"

6 years agoClean up aodh formula symlink 31/53231/1
Michael Polenchuk [Wed, 7 Mar 2018 11:34:22 +0000 (15:34 +0400)]
Clean up aodh formula symlink

Change-Id: I1d84b5d4e3eb0de1c3ebf6fc5a538ee6714d53b2
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[docs] Openstack endpoints description 21/53121/3
Guillermo Herrero [Mon, 5 Mar 2018 19:54:22 +0000 (20:54 +0100)]
[docs] Openstack endpoints description

- Describe SSL certificate usage for public endpoints

- Fixed all code-blocks formatting on the file

JIRA:FUEL-328

Change-Id: Ifecab459ee0d633b4d8a254dcb01c92f76b66d4f
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years ago[novcp] Add deploy argument `-N` (experimental) 39/52339/25
Alexandru Avadanii [Mon, 19 Feb 2018 18:01:56 +0000 (19:01 +0100)]
[novcp] Add deploy argument `-N` (experimental)

Instead of duplicating scenarios for NOVCP, allow it to be specified
using a new deploy argument, `-N`.

Things are getting convoluted, so instead of creating dedicated
'*_pdf.yml.j2' files for each group of similar features, apply the
templating in-place and rename all affected files to ".yml.j2".

This breaks .gitignore assumption of hiding only "*_pdf.yml" files,
so extend (manually) the <mcp/reclass/classes/cluster/.gitignore>
with `git ls-files --exclude-standard -o` after an expansion.

- ha: move nfv.cpu_pinning to j2, conditioned by 'baremetal';
- ha: add cmp00* vnode definitions (hugepages need more RAM);
- labs/local: enable hugepage params for non-dpdk noha;
- salt.sh: add route_wrapper to all non-infra VMs;

This change extends novcp support to all HA scenarios.

Change-Id: I7a80415ac33367ab227ececb4ffb1bc026546d36
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[vnode parsing] Move core logic to j2 65/53065/5
Alexandru Avadanii [Sat, 3 Mar 2018 20:39:59 +0000 (21:39 +0100)]
[vnode parsing] Move core logic to j2

j2/python is easier to read and manipulate strings, although it does
need some special care about undefined dict keys.

With this in place, deploy.sh only contains the higher level logic for
the deployment process.

- merge arch-specific default configuration files into a singular
  file with arch name as main dict key of old config (also avoids
  creating duplicate 'virtual' YAML keys in $LOCAL_PDF);
- move template handling to separate <lib_template.sh>;
- decouple tight bash ordering of scenario expansion -> parse_yaml ->
  variable export (e.g. CLUSTER_DOMAIN) -> re-use in cluster j2s;
  however we can't parse *all* j2s in one go, as scenario j2s might
  expand to YAMLs needed while expanding cluster j2;
- split `do_templates` into separate functions for each stage, with
  no coupling between them other then call order;

Change-Id: I4b5e804094c00e5e918caf769fd85fa52181ad76
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[ha] Add route_wrapper to prx, kvm 93/53193/2
Alexandru Avadanii [Wed, 7 Mar 2018 01:50:47 +0000 (02:50 +0100)]
[ha] Add route_wrapper to prx, kvm

Similar to cmp, when route already exists, networking service fails
to start on 'nginx:server' slaves ('kvm' in novcp case).

JIRA: FUEL-349

Change-Id: I2dc83ea78528533e92c9b9125e78b6e4387bdfe2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[patch] Fixup ceilometer server publisher default 85/53185/1
Alexandru Avadanii [Tue, 6 Mar 2018 19:03:53 +0000 (20:03 +0100)]
[patch] Fixup ceilometer server publisher default

- backport proposed fixup for ceilometer;
- remove 'ignore: all' from .gitmodules to make it easier to bump the
  submodule;
- bump system submodule to upstream latest;
- drop patch merged upstream;

JIRA: FUEL-350

Change-Id: I68f232e0da5af368a1669a7379eedde5c4168b84
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[keepalived] Check proccess id of nginx on proxy"
Alexandru Avadanii [Tue, 6 Mar 2018 16:29:20 +0000 (16:29 +0000)]
Merge "[keepalived] Check proccess id of nginx on proxy"

6 years ago[keepalived] Check proccess id of nginx on proxy 63/53163/1
Michael Polenchuk [Tue, 6 Mar 2018 12:32:43 +0000 (16:32 +0400)]
[keepalived] Check proccess id of nginx on proxy

By default vrrp script seeks out haproxy process id, so change
check_pidof script arguments to "nginx" on proxy nodes.

Change-Id: I616bf90ba49fa8257d28d236dcf3b7c5598039f1
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMend opendaylight settings 61/53161/1
Michael Polenchuk [Tue, 6 Mar 2018 12:19:22 +0000 (16:19 +0400)]
Mend opendaylight settings

* class including order (default was used)
* disable root_helper_daemon (incompatible with UCA)
* turn off websocket for pseudo agent updates

Change-Id: I4d7971d393da184bdd55f65b4d3fd8d9e898543f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[ovn] Fix cluster name in dummy baremetal scenario 35/53135/1
Alexandru Avadanii [Tue, 6 Mar 2018 02:31:50 +0000 (03:31 +0100)]
[ovn] Fix cluster name in dummy baremetal scenario

JIRA: FUEL-329

Change-Id: I56c8e027dc797a86848b73af30adbf40de119f85
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[ha] Add ovn scenario placeholder 27/53127/1
Alexandru Avadanii [Tue, 6 Mar 2018 01:43:23 +0000 (02:43 +0100)]
[ha] Add ovn scenario placeholder

- dummy copy of os-nosdn-nofeature-ha masquerading as
  os-ovn-nofeature-ha scenario placeholder;

JIRA: FUEL-329

Change-Id: Ic5e6d65cf057289bb13ce2fa157b6ba53d7dab80
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[reclass] Add missing neutron keyword in class uri 19/53119/1
Alexandru Avadanii [Mon, 5 Mar 2018 19:12:05 +0000 (20:12 +0100)]
[reclass] Add missing neutron keyword in class uri

Change-Id: I71fdc7ccd84a0700333734b5144a4281b53cf25b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoAlign opendaylight settings with upstream 07/53107/2
Michael Polenchuk [Mon, 5 Mar 2018 16:47:05 +0000 (20:47 +0400)]
Align opendaylight settings with upstream

Change-Id: If7d51555bc13dbcaa63f93ab1993f3655e2ce643
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[jump req] Move pkg installation to lib.sh 63/53063/1
Alexandru Avadanii [Sun, 4 Mar 2018 02:50:01 +0000 (03:50 +0100)]
[jump req] Move pkg installation to lib.sh

Change-Id: I687b73b256aca78c9d41d4bcd49bfbde51278b51
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[deploy.sh] Factor out jump bridge parsing to j2 61/53061/1
Alexandru Avadanii [Sat, 3 Mar 2018 19:16:43 +0000 (20:16 +0100)]
[deploy.sh] Factor out jump bridge parsing to j2

Change-Id: Ie4d8e70866d533d195a6e80cdfecbdb00a3027ce
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[submodule] Bump Pharos for IDF updates 41/53041/1
Alexandru Avadanii [Sat, 3 Mar 2018 18:41:56 +0000 (19:41 +0100)]
[submodule] Bump Pharos for IDF updates

Change-Id: I9e71d9006bad53cc79805ed9255b53b6c5705725
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[j2 parsing] Adopt new generate_config features 17/53017/5
Alexandru Avadanii [Thu, 8 Feb 2018 19:35:44 +0000 (20:35 +0100)]
[j2 parsing] Adopt new generate_config features

- bump Pharos git submodule for j2 'do' extension + batch mode;
- adopt j2 'do' in our templates;
- use int filter for 'native' vlan check;
- lib.sh: adopt `-i` to remove `ln` hack for net_map.j2;
- lib.sh: adopt `-b` to speedup template parsing;

NOTE: Bumping Pharos will also bring in the latest changes in
pod_config.yml.j2, which include massive IP shifts and updates.

JIRA: FUEL-335

Change-Id: I7d3a997b3d8659d5f09f867870fb3a148c1ec6df
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Conform network scheme to tagged public interface"
Alexandru Avadanii [Fri, 2 Mar 2018 16:37:51 +0000 (16:37 +0000)]
Merge "Conform network scheme to tagged public interface"

6 years agoMerge "[ovs/dpdk] [noha] Do not add private nic to ifaces"
Alexandru Avadanii [Fri, 2 Mar 2018 16:37:22 +0000 (16:37 +0000)]
Merge "[ovs/dpdk] [noha] Do not add private nic to ifaces"

6 years agoConform network scheme to tagged public interface 57/52457/3
Michael Polenchuk [Thu, 22 Feb 2018 14:47:28 +0000 (18:47 +0400)]
Conform network scheme to tagged public interface

Change-Id: I503c8ad32900406e1fa375cec9a91b454889d8bf
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>