From 548ec2cc1d81eacfd83925e079a351470ddb6add Mon Sep 17 00:00:00 2001 From: Bin Qian Date: Tue, 30 Jul 2024 19:13:27 +0000 Subject: [PATCH] Disable usm-initialize.service in presets Preset usm-initialize service must be initially disabled. The new service is introduced in [1]. [1]: https://review.opendev.org/c/starlingx/update/+/925421 Test Plan: PASS: verify the usm-initialize service is set to disabled after host installation Depends-on: https://review.opendev.org/c/starlingx/update/+/925421 Story: 2010676 Task: 50710 Change-Id: I927c23d4ab2c056f3ea969d7ecf515a8c8ede88f Signed-off-by: Bin Qian --- base/systemd-presets/source/stx/systemd/traits/aio.preset | 3 +++ .../source/stx/systemd/traits/controller.preset | 3 +++ .../source/stx/systemd/traits/lowlatency.preset | 3 +++ base/systemd-presets/source/stx/systemd/traits/storage.preset | 3 +++ .../source/stx/systemd/traits/worker-lowlatency.preset | 3 +++ base/systemd-presets/source/stx/systemd/traits/worker.preset | 3 +++ 6 files changed, 18 insertions(+) diff --git a/base/systemd-presets/source/stx/systemd/traits/aio.preset b/base/systemd-presets/source/stx/systemd/traits/aio.preset index 900525a36..52c97b685 100644 --- a/base/systemd-presets/source/stx/systemd/traits/aio.preset +++ b/base/systemd-presets/source/stx/systemd/traits/aio.preset @@ -140,3 +140,6 @@ enable ipsec-server.service # worker-utils.spec enable affine-platform.sh.service enable affine-tasks.service + +# usm initialize service +disable usm-initialize.service diff --git a/base/systemd-presets/source/stx/systemd/traits/controller.preset b/base/systemd-presets/source/stx/systemd/traits/controller.preset index 588dc6c89..5f2a55552 100644 --- a/base/systemd-presets/source/stx/systemd/traits/controller.preset +++ b/base/systemd-presets/source/stx/systemd/traits/controller.preset @@ -149,3 +149,6 @@ disable worker-config-gate.service disable storageconfig.service disable workerconfig.service disable kvm_timer_advance_setup.service + +# usm initialize service +disable usm-initialize.service diff --git a/base/systemd-presets/source/stx/systemd/traits/lowlatency.preset b/base/systemd-presets/source/stx/systemd/traits/lowlatency.preset index 900525a36..52c97b685 100644 --- a/base/systemd-presets/source/stx/systemd/traits/lowlatency.preset +++ b/base/systemd-presets/source/stx/systemd/traits/lowlatency.preset @@ -140,3 +140,6 @@ enable ipsec-server.service # worker-utils.spec enable affine-platform.sh.service enable affine-tasks.service + +# usm initialize service +disable usm-initialize.service diff --git a/base/systemd-presets/source/stx/systemd/traits/storage.preset b/base/systemd-presets/source/stx/systemd/traits/storage.preset index aaf4d642f..8008844e7 100644 --- a/base/systemd-presets/source/stx/systemd/traits/storage.preset +++ b/base/systemd-presets/source/stx/systemd/traits/storage.preset @@ -160,3 +160,6 @@ enable storageconfig.service enable kvm_timer_advance_setup.service disable worker-config-gate.service disable workerconfig.service + +# usm initialize service +disable usm-initialize.service diff --git a/base/systemd-presets/source/stx/systemd/traits/worker-lowlatency.preset b/base/systemd-presets/source/stx/systemd/traits/worker-lowlatency.preset index 50942af22..08f2b3667 100644 --- a/base/systemd-presets/source/stx/systemd/traits/worker-lowlatency.preset +++ b/base/systemd-presets/source/stx/systemd/traits/worker-lowlatency.preset @@ -159,3 +159,6 @@ disable storageconfig.service enable kvm_timer_advance_setup.service enable worker-config-gate.service enable workerconfig.service + +# usm initialize service +disable usm-initialize.service diff --git a/base/systemd-presets/source/stx/systemd/traits/worker.preset b/base/systemd-presets/source/stx/systemd/traits/worker.preset index 50942af22..08f2b3667 100644 --- a/base/systemd-presets/source/stx/systemd/traits/worker.preset +++ b/base/systemd-presets/source/stx/systemd/traits/worker.preset @@ -159,3 +159,6 @@ disable storageconfig.service enable kvm_timer_advance_setup.service enable worker-config-gate.service enable workerconfig.service + +# usm initialize service +disable usm-initialize.service