Project

General

Profile

Actions

Feature #2283

open

The ceph command should time out

Added by Bernard Grymonpon about 12 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

When using ceph to query certain parts of the cluster, there should be an option to time out after a certain set number of seconds.

Use case: In Chef cookbooks, I can't use ceph to query the health of the monitor cluster by using "ceph mon stat", as it will hang forever in case the monitor is offline.

A different exit code might be handy to (to distinguish a timeout from a failed command (wrong parameters, wrong authentication...)

Actions

Also available in: Atom PDF