diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-05-10 18:09:26 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-05-22 16:46:28 +0000 |
commit | cf421ba6f593ad1d7c926db618657f8bf66d01a7 (patch) | |
tree | 301d7de4e5caec317f7fc2257defd45fda6f848d /patches/opnfv-fuel/0003-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch | |
parent | c70aa3538ef9b1da9b360ae3ba7112d8289ab876 (diff) |
[salt] Retire Armband Saltstack repos
Provided we take care of the minor consequences of relying strictly
on upstream Saltstack amd64 repos on arm64 (since we don't use RAET,
this means merely installing `python-futures` as a dependency of
`python-tornado` on all minions), we can finally drop our Salstack
arm64 repository.
This implies installing python-futures on:
- FN and VCP VMs (handled via lib.sh pre-patching);
- baremetal nodes (handled via MaaS Curtin template for arm64 now);
While at it, also handle other minor patch cleanup operations:
* drop `system.linux.system.repo.mcp.armband`, already covered by:
- lib.sh pre-patching for FN and VCP VM images;
- maas.region.repositories for baremetal nodes;
* switch glusterfs PPA repo arch from 'amd64,arm64' to None;
* drop obsolete patch handling `mcelog` on AArch64;
[1] https://github.com/salt-formulas/salt-formula-maas/pull/26
JIRA: ARMBAND-382
Change-Id: I34f3bd70ebf10395e8d4e70498ff3a144b4d9c3b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d680c5fb86c3fd4b25e7b7f766064a6ef4bf9a3b)
Diffstat (limited to 'patches/opnfv-fuel/0003-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch')
-rw-r--r-- | patches/opnfv-fuel/0003-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/patches/opnfv-fuel/0003-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch b/patches/opnfv-fuel/0003-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch new file mode 100644 index 00000000..c2f2c36f --- /dev/null +++ b/patches/opnfv-fuel/0003-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch @@ -0,0 +1,48 @@ +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +: Copyright (c) 2018 Enea AB and others. +: +: All rights reserved. This program and the accompanying materials +: are made available under the terms of the Apache License, Version 2.0 +: which accompanies this distribution, and is available at +: http://www.apache.org/licenses/LICENSE-2.0 +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +From: Alexandru Avadanii <Alexandru.Avadanii@enea.com> +Date: Thu, 27 Jul 2017 23:42:29 +0200 +Subject: [PATCH] mcp: salt-formulas: opendaylight: AArch64 leveldb + +ODL requires native leveldbjni support on architectures like AArch64. +Armband provides a Debian package that provides exactly that, +specially tailored to be applied on top of upstream Opendaylight +Debian package. + +Install <armband-odl-leveldb-fix> as part of the existing Opendaylight +salt-formula (and not as part of Armband's separate salt-formula, like +previous fixups). + +Some dependencies are not self-contained in this formula yet, and +should be handled before upstreaming this patch: +- Armband DEB repository (mcp-repos) is added by "openstack" state; +- only Debian systems are supported (no equivalent RPM provided); +- only systemd is supported (unlikely to change); + +JIRA: https://jira.opnfv.org/browse/ARMBAND-283 + +Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> +--- + mcp/salt-formulas/opendaylight/server.sls | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/mcp/salt-formulas/opendaylight/server.sls b/mcp/salt-formulas/opendaylight/server.sls +index 51a4d9f9..61877d12 100644 +--- a/mcp/salt-formulas/opendaylight/server.sls ++++ b/mcp/salt-formulas/opendaylight/server.sls +@@ -99,4 +99,9 @@ service.mask: + - service: opendaylight + {%- endif %} + ++opendaylight_aarch64_leveldbjni: ++ pkg.installed: ++ {% if grains['cpuarch'] == 'aarch64'%} ++ - name: armband-odl-leveldb-fix ++ {% endif %} + {%- endif %} |