[ha] AArch64: Add missing GPG key for armband repo 25/60525/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 2 Aug 2018 14:12:27 +0000 (16:12 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 2 Aug 2018 15:22:40 +0000 (17:22 +0200)
In a regular baremetal HA scenario, all cluster nodes are provisioned
via MaaS, which also adds the Enea GPG key to the APT keyring.
However, for a hybrid deployment, virtual nodes are not provisioned
by MaaS, so the GPG key should be added to reclass pillar data
explicitly for Salt to be able to import it.

JIRA: FUEL-338

Change-Id: I333b7c373bdbc631c0f54ac549f97ab889dec77c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2

index 9be8b45..b575d59 100644 (file)
@@ -263,6 +263,8 @@ parameters:
 {%- 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_id: 798AB1D1
+          key_server: keys.gnupg.net
           pin:
             - pin: 'release a=${_param:openstack_version}-armband'
               priority: 1201