Project

General

Profile

Actions

action #104344

closed

Inconsistent systemd default target in OSD infrastructure

Added by okurz over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
2021-12-26
Due date:
% Done:

0%

Estimated time:

Description

Observation

Apparently the default systemd target differs on our hosts. To be consistent we should use the same on all

Acceptance criteria

  • AC1: Same systemd default target is used on all OSD workers

Suggestions

  • Use sudo salt --no-color --state-output=changes -C \* cmd.run 'systemctl get-default' to see the configured default-target
  • Ensure that the same is used on all workers, e.g. sudo salt --no-color --state-output=changes -C 'G@roles:worker' cmd.run 'systemctl set-default multi-user.target'
  • Optional: Cleanup of unnecessary patterns and/or packages, e.g. gdm
Actions #1

Updated by okurz over 2 years ago

  • Due date set to 2022-01-28
  • Status changed from In Progress to Feedback
  • Priority changed from Normal to Low

I called sudo salt --no-color --state-output=changes -C 'G@roles:worker' cmd.run 'systemctl set-default multi-user.target' and could ensure that all machines use now multi-user.target. On grenache-1 I removed gdm, libgdm1, typelib-1_0-Gdm-1_0 and dependencies

Actions #2

Updated by okurz over 2 years ago

  • Due date deleted (2022-01-28)
  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF