diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-25 16:48:41 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-26 11:53:27 +0000 |
commit | 5d0aa7d6a8cb2ee73a3937fcef7fe66264c69b17 (patch) | |
tree | 3d12023c65dca3d6b378525de36ed374711da35b /mcp/reclass/classes/cluster/mcp-common-noha | |
parent | 8da1f1286f9a91f3dc3533f5c634f55dc09452f7 (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>
(cherry picked from commit f160b9ef9351be59b8ead17f35275ca368091fe0)
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-noha')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2 | 9 |
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 26a4bac73..ba6636da7 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 @@ -126,6 +126,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: |