Project

General

Profile

Actions

Feature #57070

closed

implement a timeout mechanism on system.get_mounts()

Added by Guillaume Abrioux over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

context:

cephadm calls `ceph-volume inventory --filter-for-batch` regularly which itself calls `system.get_mounts()`
If for any reason, a network mount present on the machine is broken/down, `ceph-volume inventory` command will hang forever when `system.get_mounts()`.
Implementing a timeout on that function would avoid falling in the situation where ceph-volume processes are stuck in D state.


Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #57088: pacific: implement a timeout mechanism on system.get_mounts()ResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #57089: quincy: implement a timeout mechanism on system.get_mounts()ResolvedGuillaume AbriouxActions
Actions #1

Updated by Guillaume Abrioux over 1 year ago

  • Pull request ID set to 47514
Actions #2

Updated by Guillaume Abrioux over 1 year ago

  • Status changed from In Progress to Pending Backport
Actions #3

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57088: pacific: implement a timeout mechanism on system.get_mounts() added
Actions #4

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #5

Updated by Guillaume Abrioux over 1 year ago

  • Copied to Backport #57089: quincy: implement a timeout mechanism on system.get_mounts() added
Actions #6

Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF