Update saltstack repo archive URL, centos base img 58/70358/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 3 Jun 2020 10:02:50 +0000 (12:02 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 18 Jun 2020 10:34:52 +0000 (12:34 +0200)
- centos: Update qcow2 URL for aarch64 image after upstream refactored
  its repository structure;
- saltstack: Update repo URLs after upstream archived Saltstack 2017.7
  release artifacts due to recently discovered CVEs (which do not affect
  us since we run Salt Master in a Docker container without exposing its
  ports to the public network);

Change-Id: I022ba0739386734eec931c35bad51805a61b964d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/config/scenario/defaults.yaml.j2
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2

index 48fb954..48082a1 100644 (file)
@@ -27,10 +27,10 @@ x86_64:
     common:
       repo:
         keys:
     common:
       repo:
         keys:
-          - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
+          - https://archive.repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
-          - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
+          - saltstack 500 deb [arch=amd64] http://archive.repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
       pkg:
         install:
   {%- if '-iec-' not in conf.MCP_DEPLOY_SCENARIO and conf.MCP_KERNEL_VER %}
       pkg:
         install:
   {%- if '-iec-' not in conf.MCP_DEPLOY_SCENARIO and conf.MCP_KERNEL_VER %}
@@ -51,10 +51,10 @@ x86_64:
     common:
       repo:
         keys:
     common:
       repo:
         keys:
-          - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
+          - https://archive.repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
-          - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
+          - saltstack 500 deb [arch=amd64] http://archive.repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
       pkg:
         install:
           - linux-generic-hwe-16.04
       pkg:
         install:
           - linux-generic-hwe-16.04
@@ -69,10 +69,10 @@ x86_64:
     common:
       repo:
         keys:
     common:
       repo:
         keys:
-          - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
+          - https://archive.repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
         repos:
           # <repo name> <repo prio> rpm <repo url>
         repos:
           # <repo name> <repo prio> rpm <repo url>
-          - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
+          - saltstack 0 rpm https://archive.repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
       pkg:
         install:
           - salt-minion
       pkg:
         install:
           - salt-minion
@@ -94,10 +94,10 @@ aarch64:
     common:
       repo:
         keys:
     common:
       repo:
         keys:
-          - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
+          - https://archive.repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
-          - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
+          - saltstack 500 deb [arch=amd64] http://archive.repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7 bionic main
       pkg:
         install:
   {%- if '-iec-' not in conf.MCP_DEPLOY_SCENARIO and conf.MCP_KERNEL_VER %}
       pkg:
         install:
   {%- if '-iec-' not in conf.MCP_DEPLOY_SCENARIO and conf.MCP_KERNEL_VER %}
@@ -119,10 +119,10 @@ aarch64:
       repo:
         keys:
           - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
       repo:
         keys:
           - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
-          - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
+          - https://archive.repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
         repos:
           # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
-          - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
+          - saltstack 500 deb [arch=amd64] http://archive.repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
           - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
       pkg:
         install:
           - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
       pkg:
         install:
@@ -137,15 +137,15 @@ aarch64:
         install:
           - cloud-init
   centos7:
         install:
           - cloud-init
   centos7:
-    base_image: https://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
+    base_image: https://cloud.centos.org/altarch/7/images/CentOS-7-aarch64-GenericCloud.qcow2.xz
     common:
       repo:
         keys:
     common:
       repo:
         keys:
-          - https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
+          - https://archive.repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7/SALTSTACK-GPG-KEY.pub
         repos:
           # <repo name> <repo prio> rpm <repo url>
           - openstack-rocky 0 rpm http://mirror.centos.org/altarch/$releasever/cloud/aarch64/openstack-rocky
         repos:
           # <repo name> <repo prio> rpm <repo url>
           - openstack-rocky 0 rpm http://mirror.centos.org/altarch/$releasever/cloud/aarch64/openstack-rocky
-          - saltstack 0 rpm https://repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
+          - saltstack 0 rpm https://archive.repo.saltstack.com/yum/redhat/$releasever/x86_64/2017.7
       pkg:
         install:
           - salt-minion
       pkg:
         install:
           - salt-minion
index f3b1f79..092feba 100644 (file)
@@ -113,7 +113,7 @@ parameters:
         default_min_hwe_kernel: ${_param:hwe_kernel}
         kernel_opts: 'spectre_v2=off nopti kpti=off nospec_store_bypass_disable noibrs noibpb'
     cluster:
         default_min_hwe_kernel: ${_param:hwe_kernel}
         kernel_opts: 'spectre_v2=off nopti kpti=off nospec_store_bypass_disable noibrs noibpb'
     cluster:
-      saltstack_repo_bionic: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/ bionic main"
+      saltstack_repo_bionic: "deb [arch=amd64] http://archive.repo.saltstack.com/apt/ubuntu/18.04/amd64/2017.7/ bionic main"
       region:
         host: ${_param:single_address}
         port: 5240
       region:
         host: ${_param:single_address}
         port: 5240