Project

General

Profile

Actions

action #162356

closed

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

Added by okurz 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Start date:
Due date:
% 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 (0 open2 closed)

Copied from openQA Infrastructure (public) - action #162353: Ensure consistent known root password on all OSD webUI+workers size:SResolvednicksinger2024-06-17

Actions
Copied to openQA Infrastructure (public) - action #162359: Change OSD root to more modern filesystem mount options size:SResolvedrobert.richardson2024-06-17

Actions
Actions

Also available in: Atom PDF