Project

General

Profile

Actions

action #162356

open

Treat OSD non-root mounts as non-critical for boot size:M

Added by okurz 13 days ago. Updated 10 days ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2024-06-17
Due date:
2024-07-01 (Due in 1 day)
% Done:

0%

Estimated time:
Tags:

Description

Motivation

#162332-7 OSD was encountered as unbootable, possibly due to filesystem problems in the big volumes like vdb,vdc,vdd,vde . We should treat those mount points as non-critical for boot but make critical services like openQA depend on them so that openQA would only start up with a consistent set of mount points. If possible still trigger the automatic filesystem checks but make them non-critical for making the system reachable over network

Acceptance criteria

  • AC1: OSD is reachable over SSH after reboot regardless of problems with vd[a-e]
  • AC2: openQA services are prevented from starting if not all relevant mount points are available

Suggestions

  • DONE Add "nofail" to all non-root partitions in /etc/fstab
  • DONE Add RequiresMountsFor for all relevant high-level services, e.g. openQA, to prevent openQA starting and writing incomplete data
  • Ensure that a system like that can boot with all partitions in good state
  • Ensure that a system like that can boot at least reachable over ssh with at least one partition in non-good or absent state, e.g. simulate on OSD directly with qemu-system-x86_64 -m 8192 -snapshot -hda /dev/vda -nographic -serial mon:stdio -smp 4

Related issues 2 (2 open0 closed)

Copied from openQA Infrastructure - action #162353: Ensure consistent known root password on all OSD webUI+workersNew2024-06-17

Actions
Copied to openQA Infrastructure - action #162359: Change OSD root to more modern filesystem mount optionsNew2024-06-17

Actions
Actions

Also available in: Atom PDF