summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-25 16:48:41 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-25 16:48:41 +0200
commitf160b9ef9351be59b8ead17f35275ca368091fe0 (patch)
treee3deb0d2ee05e7dc242038c1126702a24aa44475 /mcp/reclass/classes
parentc0de0902fdb9c15033ae830b31bfcade8eb1c3ec (diff)
[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>
Diffstat (limited to 'mcp/reclass/classes')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2
index c4542d32c..54df34cc6 100644
--- a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2
@@ -89,6 +89,15 @@ parameters:
- pin: 'release o=Canonical'
priority: 1200
package: 'openvswitch* python-openvswitch ovn* dpdk* libdpdk*'
+{%- if 'aarch64' in nm.cluster.arch %}
+ armband_3: # Should be in sync with the repo config generated via curtin/MaaS
+ source: "deb http://linux.enea.com/mcp-repos/${_param:openstack_version}/${_param:linux_system_codename} ${_param:openstack_version}-armband main"
+ key: ${_param:armband_key}
+ pin:
+ - pin: 'release a=${_param:openstack_version}-armband'
+ priority: 1201
+ package: '*'
+{%- endif %}
network:
host:
ctl: