Project

General

Profile

action #104344

Inconsistent systemd default target in OSD infrastructure

Added by okurz 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Low
Assignee:
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

History

#1 Updated by okurz 5 months 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

#2 Updated by okurz 4 months ago

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

Also available in: Atom PDF