From 74c7e8fd991b0695c484907d9037e154ace9b834 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 1 Jun 2022 11:04:22 +0200 Subject: [PATCH] Revert "Merge pull request #39 from stackhpc/fix_smt_on_fedora_coreos" This reverts commit 6c14dba8d7889d01cc12e9a501f57116355ed1cd, reversing changes made to 257356cb8b1757819959218a655f8b734df69a5c. --- doc/source/user/index.rst | 8 ++++---- .../k8s_fedora_coreos_v1/templates/fcct-config.yaml | 9 +-------- .../k8s_fedora_coreos_v1/templates/user_data.json | 10 +--------- .../notes/fedora-coreos-34-cb0d281d819e2523.yaml | 4 ---- 4 files changed, 6 insertions(+), 25 deletions(-) delete mode 100644 releasenotes/notes/fedora-coreos-34-cb0d281d819e2523.yaml diff --git a/doc/source/user/index.rst b/doc/source/user/index.rst index eeef06f54b..9e748aa528 100644 --- a/doc/source/user/index.rst +++ b/doc/source/user/index.rst @@ -105,13 +105,13 @@ They are loosely grouped as: mandatory, infrastructure, COE specific. as appropriate for the cluster driver. For the currently supported images, the os_distro names are: - ========== ========================== + ========== ===================== COE os_distro - ========== ========================== - Kubernetes fedora-coreos (minimum 34) + ========== ===================== + Kubernetes fedora-coreos Swarm fedora-atomic Mesos ubuntu - ========== ========================== + ========== ===================== This is a mandatory parameter and there is no default value. Note that the os_distro attribute is case sensitive. diff --git a/magnum/drivers/k8s_fedora_coreos_v1/templates/fcct-config.yaml b/magnum/drivers/k8s_fedora_coreos_v1/templates/fcct-config.yaml index 193c839858..47896f675a 100644 --- a/magnum/drivers/k8s_fedora_coreos_v1/templates/fcct-config.yaml +++ b/magnum/drivers/k8s_fedora_coreos_v1/templates/fcct-config.yaml @@ -12,12 +12,7 @@ # [0] https://github.com/coreos/fcct # [1] https://github.com/coreos/fedora-coreos-docs/blob/master/modules/ROOT/pages/producing-ign.adoc variant: fcos -version: 1.4.0 -kernel_arguments: - should_exist: - - mitigations=off - should_not_exist: - - mitigations=auto,nosmt +version: 1.0.0 passwd: users: - name: core @@ -48,7 +43,6 @@ storage: user: name: root contents: - compression: null inline: | # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: @@ -116,7 +110,6 @@ storage: group: name: root contents: - compression: null inline: | #!/bin/bash diff --git a/magnum/drivers/k8s_fedora_coreos_v1/templates/user_data.json b/magnum/drivers/k8s_fedora_coreos_v1/templates/user_data.json index 65a396e8ce..acd54ff6c5 100644 --- a/magnum/drivers/k8s_fedora_coreos_v1/templates/user_data.json +++ b/magnum/drivers/k8s_fedora_coreos_v1/templates/user_data.json @@ -1,14 +1,6 @@ { "ignition": { - "version": "3.3.0" - }, - "kernelArguments": { - "shouldExist": [ - "mitigations=off" - ], - "shouldNotExist": [ - "mitigations=auto,nosmt" - ] + "version": "3.0.0" }, "passwd": { "users": [ diff --git a/releasenotes/notes/fedora-coreos-34-cb0d281d819e2523.yaml b/releasenotes/notes/fedora-coreos-34-cb0d281d819e2523.yaml deleted file mode 100644 index 647bf050ea..0000000000 --- a/releasenotes/notes/fedora-coreos-34-cb0d281d819e2523.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -upgrade: - - | - Minimum version of Fedora CoreOS required now is 34.