aarch64: Pin qemu-efi from Armband repos 72/69472/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 30 Dec 2019 10:27:42 +0000 (11:27 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 30 Dec 2019 10:39:34 +0000 (11:39 +0100)
Upstream (UCA) qemu-efi (AAVMF) package is incompatible
with most cloud images, e.g. Cirros used by Functest,
resulting in kernel boot issues and/or missing serial console
output.

Work around this by pinning the qemu-efi Debian package from
the old Armband repositories. This should fix singlevm1 functest
testcase.

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

index bdc23ff..a55485e 100644 (file)
@@ -203,10 +203,17 @@ parameters:
         armband_3:  # Should be in sync with the repo config generated via curtin/MaaS
           source: "deb http://linux.enea.com/mcp-repos/${_param:armband_repo_version}/xenial ${_param:armband_repo_version}-armband main"
           key: ${_param:armband_key}
-          pin:
-            - pin: 'release a=${_param:armband_repo_version}-armband'
+          pinning:
+            15:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
               priority: 15
               package: '*'
+            1200:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
+              priority: 1200
+              package: 'qemu-efi'
 {%- endif %}
       kernel:
         sysctl:
index 8fe37f9..61f222c 100644 (file)
@@ -86,10 +86,17 @@ parameters:
         armband_3:  # Should be in sync with the repo config generated via curtin/MaaS
           source: "deb http://linux.enea.com/mcp-repos/${_param:armband_repo_version}/xenial ${_param:armband_repo_version}-armband main"
           key: ${_param:armband_key}
-          pin:
-            - pin: 'release a=${_param:armband_repo_version}-armband'
+          pinning:
+            15:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
               priority: 15
               package: '*'
+            1200:
+              enabled: true
+              pin: 'release a=${_param:armband_repo_version}-armband'
+              priority: 1200
+              package: 'qemu-efi'
 {%- endif %}
     network:
       host: