aarch64: Add kpti=off similar to x86_64 nopti 04/69604/4
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 29 Jan 2020 14:40:12 +0000 (15:40 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 29 Jan 2020 16:39:52 +0000 (17:39 +0100)
commitd1f1e51f0357266ecddaf63f619c7944c71f5858
treebae611e50191a9592fd7bd204aef0c6c29687fea
parent03b837ba6d5ffe38d7641af02518f5b09ce8784f
aarch64: Add kpti=off similar to x86_64 nopti

arm64 kernels use a different kernel option (kpti=off vs nopti) to
disable PTI, so sync the two platform configurations.

Conveniently, this also bypasses kernel 4.15 issues described in [1],
so apply the kernel option customisation via MaaS too, to allow aarch64
deployments to bootstrap using 4.15 kernel (with the downside of these
args being duplicated by Salt later in HA scenarios).

PTI is now disabled for baremetal nodes (via MaaS, no matter the
scenario) and/or for kvm/cmp hosts (in HA scenarios only).

While at it, install missing thin provisioning tools in aarch64
bootstrap image for MaaS deploy stage to succeed.

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1857074

Change-Id: Ibd1f57f24abc690b0f13b6298f25d7e8a1af1567
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/patches/salt-formula-maas/0006-curtin-Add-Bionic-support.patch
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/compute.yml.j2
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/gateway.yml
mcp/reclass/classes/cluster/mcp-iec-noha/infra/kvm.yml.j2