Project

General

Profile

Actions

Feature #57070

closed

implement a timeout mechanism on system.get_mounts()

Added by Guillaume Abrioux over 3 years ago. Updated 8 months ago.

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

0%

Source:
Backport:
quincy,pacific
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-14151-g53b0023859f
Released In:
v18.2.0~1610
Upkeep Timestamp:
2025-07-13T06:11:58+00:00

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 3 years ago

  • Pull request ID set to 47514
Actions #2

Updated by Guillaume Abrioux over 3 years ago

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

Updated by Upkeep Bot over 3 years ago

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

Updated by Guillaume Abrioux over 3 years ago

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

Updated by Adam King over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #7

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 53b0023859facef0da0ff5628fd6cdd590eaea03
  • Fixed In set to v17.0.0-14151-g53b0023859f
  • Released In set to v18.2.0~1610
  • Upkeep Timestamp set to 2025-07-13T06:11:58+00:00
Actions

Also available in: Atom PDF