fuel.git
6 years agoDiscover computes after they are registered 65/58365/1
Michael Polenchuk [Fri, 8 Jun 2018 11:25:31 +0000 (15:25 +0400)]
Discover computes after they are registered

The "nova hypervisor-list" won't work (i.e. will result in an empty list)
until discover_hosts is launched with compute nodes on board.

Change-Id: I942c69645731b59a5cb9e5cf39a89b84def96b12
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[ha] Update OpenStack version to Queens 25/58325/3
Michael Polenchuk [Thu, 7 Jun 2018 13:19:27 +0000 (17:19 +0400)]
[ha] Update OpenStack version to Queens

* make cluster names version-agnostic
* switch to mirror.mirantis.com
* system reclass update

Change-Id: I96394b3c9d8d38321289af8e3a4e8bbc5dd7a408
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[noha] Update OpenStack version to Queens 99/58199/3
Michael Polenchuk [Mon, 4 Jun 2018 13:55:52 +0000 (17:55 +0400)]
[noha] Update OpenStack version to Queens

* make cluster names version-agnostic
* pre-install oslo-templates formula
* salt version update to 2017.7
* system reclass update

Change-Id: I903895f6bcd98a1062e66e3f14d23ec04dc1b869
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[patch] Rebase APT keyserver proxy support patch 19/58319/2
Alexandru Avadanii [Thu, 7 Jun 2018 11:59:59 +0000 (13:59 +0200)]
[patch] Rebase APT keyserver proxy support patch

Sync our patch with upstream PR [1].

[1] https://github.com/salt-formulas/salt-formula-linux/pull/138

Change-Id: If3a51d3aef51accee0901c59e1342b42dbe4be4b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoClean out merged upstream patch 37/58237/1
Michael Polenchuk [Tue, 5 Jun 2018 12:54:02 +0000 (16:54 +0400)]
Clean out merged upstream patch

Change-Id: I0c8f87bad0fbe55684bd43547674ed91a31f39f8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[submodule] Bump Pharos for ericsson-pod1 updates 01/58201/1
Alexandru Avadanii [Mon, 4 Jun 2018 14:02:21 +0000 (16:02 +0200)]
[submodule] Bump Pharos for ericsson-pod1 updates

This bump also brings in:
- arm-pod{8,9} config;
- UNH lab config;
- NTP config in IDFs for existing PODs;
- basic vPDF support;

Change-Id: Ifc16616bc8a13de2bdf048971448d4853e93880e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[patch] Drop upstream reclass formula patches 83/58183/1
Alexandru Avadanii [Mon, 4 Jun 2018 12:11:08 +0000 (14:11 +0200)]
[patch] Drop upstream reclass formula patches

Change-Id: Iad2a27d059b43ed14fb70bdee01b3db29613615b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[patch] maas: rebase artifact download 65/58165/1
Alexandru Avadanii [Sun, 3 Jun 2018 16:31:03 +0000 (18:31 +0200)]
[patch] maas: rebase artifact download

Upstream refactored maas/regions.sls to introduce kitchen tests in
[1], rebase our patches on top of it.

[1] https://github.com/salt-formulas/salt-formula-maas/commit/8a0d52e

Change-Id: I491fb2e05679ebc226a27141e685d429e0ff8bcc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[noha] Disable proxy certificate generation 11/58111/1
Alexandru Avadanii [Thu, 31 May 2018 12:16:59 +0000 (14:16 +0200)]
[noha] Disable proxy certificate generation

noha scenarios try to generate the proxy SSL cert using the Salt
Master CA authority. However, this requires a `salt-minion` restart
between the CA configuration and the cert generation (see [1]).
Since we don't use this cert anyway, let's just disable it for cfg01.

JIRA: FUEL-377

[1] https://github.com/salt-formulas/salt-formula-salt/issues/67

Change-Id: I8e88200e0d5614f0034c0c77e6ba675dc7ef0c11
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agomcp: salt-formulas: opendaylight: AArch64 leveldb 29/58029/2
Alexandru Avadanii [Thu, 27 Jul 2017 21:42:29 +0000 (23:42 +0200)]
mcp: salt-formulas: opendaylight: AArch64 leveldb

ODL requires native leveldbjni support on architectures like AArch64,
provided as a Debian package in ODL Team Nitrogen PPA.

Only systemd is supported (unlikely to change).

JIRA: ARMBAND-387

Change-Id: Ie7f2955c6574ab4584ed0c207b42ed7ab7261561
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[maas] Download only used subarches images 49/57849/3
Alexandru Avadanii [Thu, 24 May 2018 18:23:41 +0000 (20:23 +0200)]
[maas] Download only used subarches images

- reduce download size/time for MaaS images by downloading only the
  subarch images we use;
- fix stop condition in MaaS artifact download script;
- stop importing images before updating the boot resources to prevent
  race conditions;

Change-Id: I3b15fae3463bc6c54be2cc06e0cb31edcbd307cb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[Horizon] Drop the obsolete Horizon workaround"
Alexandru Avadanii [Thu, 24 May 2018 16:37:56 +0000 (16:37 +0000)]
Merge "[Horizon] Drop the obsolete Horizon workaround"

6 years agoMerge "AArch64: Switch back to hwe-16.04 kernel"
Alexandru Avadanii [Thu, 24 May 2018 16:18:20 +0000 (16:18 +0000)]
Merge "AArch64: Switch back to hwe-16.04 kernel"

6 years agoMerge "[maas] Adopt maas.machines.storage"
Alexandru Avadanii [Thu, 24 May 2018 16:16:39 +0000 (16:16 +0000)]
Merge "[maas] Adopt maas.machines.storage"

6 years agomaas: boot-resources: Dynamic arch list from PDF 87/57287/4
Alexandru Avadanii [Thu, 10 Aug 2017 22:07:29 +0000 (00:07 +0200)]
maas: boot-resources: Dynamic arch list from PDF

Instead of leaving MaaS default to 'amd64', explicitly set the list
of architectures to support based on PDF data.

Change-Id: I852a3ce156db3df0c090f10c0b45c26058dbb6c6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[maas] Adopt maas.machines.storage 23/57023/12
ting wu [Thu, 3 May 2018 10:28:06 +0000 (12:28 +0200)]
[maas] Adopt maas.machines.storage

Replace MAAS CLI set_disk_layout with the
new maas.machines.storage state

JIRA: FUEL-364

Change-Id: I4d8cd9f473c5386ee7b32ad378ca1e02989233ca
Signed-off-by: ting wu <ting.wu@enea.com>
6 years agoAArch64: Switch back to hwe-16.04 kernel 77/57777/2
Alexandru Avadanii [Wed, 23 May 2018 18:49:38 +0000 (20:49 +0200)]
AArch64: Switch back to hwe-16.04 kernel

Align kernel versions across architectures (where possible).

Change-Id: I66a822611eb5e46f90b62f5d36df571ae75dcba3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[docs] Update documentation for Fraser-6.1"
Alexandru Avadanii [Wed, 23 May 2018 16:04:03 +0000 (16:04 +0000)]
Merge "[docs] Update documentation for Fraser-6.1"

6 years ago[docs] Update documentation for Fraser-6.1 69/57669/4
Charalampos Kominos [Tue, 22 May 2018 10:01:33 +0000 (12:01 +0200)]
[docs] Update documentation for Fraser-6.1

Change-Id: Ic5e71c0ce2bcfd9d01f07fff017aac8019793527
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
6 years ago[Horizon] Drop the obsolete Horizon workaround 39/57739/1
ting wu [Wed, 23 May 2018 09:07:44 +0000 (11:07 +0200)]
[Horizon] Drop the obsolete Horizon workaround

Since we switch the Horizon package from
Ubuntu/UCA repo to MCP repos,  we can drop the
obsolete Horizon workaround.

JIRA: FUEL-374

Change-Id: I0b77a4f2158a972a5eb400919f2929c7bd8360cf
Signed-off-by: ting wu <ting.wu@enea.com>
6 years agoRevert "[patch] Backport proposed generate_dhparams fix" 35/57735/1
Michael Polenchuk [Wed, 23 May 2018 09:03:27 +0000 (09:03 +0000)]
Revert "[patch] Backport proposed generate_dhparams fix"

This reverts commit c7dff6e1ae6444f60d3fe20b1f495609c7980051.
The patch has been merged into upstream.

Change-Id: Idf768b9b94b3498994601d50feeeef008430ba27
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years ago[patch] Backport proposed generate_dhparams fix 01/57701/1
Alexandru Avadanii [Tue, 22 May 2018 18:01:40 +0000 (20:01 +0200)]
[patch] Backport proposed generate_dhparams fix

Upstream PR [1] should fix recently introduced issues with nginx
state for SSL-enabled sites.

[1] https://github.com/salt-formulas/salt-formula-nginx/pull/40

Change-Id: I52b5e4f51539e535249e0850f0b34c2801f4d74a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[maas] AArch64: Preseed Armband repositories"
Alexandru Avadanii [Tue, 22 May 2018 16:12:21 +0000 (16:12 +0000)]
Merge "[maas] AArch64: Preseed Armband repositories"

6 years ago[maas] AArch64: Preseed Armband repositories 53/57553/2
Alexandru Avadanii [Mon, 7 Aug 2017 17:45:01 +0000 (19:45 +0200)]
[maas] AArch64: Preseed Armband repositories

Preseed Armband common repo-comp for Pike, so we get
the updated kernel & other packages from the start.
Requires upstream PR [1].

While at it, also handle related PR merged upstream [2] by
explicitly setting maas.region.subnets name via j2 instead of reclass
param expansion in name (allows us to drop the remaining chunk of the
fabric-from-CIDR patch we used to carry).

Note: opnfv_infra_maas_pxe_network_addres can now be dropped from
pod_config j2 template in Pharos Fuel installer adapter.

[1] https://github.com/salt-formulas/salt-formula-maas/pull/26
[2] https://github.com/salt-formulas/salt-formula-maas/pull/22

Change-Id: I356adb73b80f0f2d85db4ab060e804cb9a053862
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[docs] Update guest OS support matrix 83/57683/2
Charalampos Kominos [Tue, 22 May 2018 13:36:42 +0000 (15:36 +0200)]
[docs] Update guest OS support matrix

Re-testing the supported operating systems for the guests
revealed that Fedora is now working without problems or user input
on aarch64.

Change-Id: I87dcac2d3297b7a43dd252d4aecfdea4254e519b
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
6 years ago[ha] Bring in gnocchi/panko services 73/57573/2
Michael Polenchuk [Fri, 18 May 2018 11:09:08 +0000 (15:09 +0400)]
[ha] Bring in gnocchi/panko services

JIRA: FUEL-372
Change-Id: I9083898f0179649d855750d48f3f9bc79caba50c
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
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>