Actions
Bug #43187
openShould increase the default CEPH_VOLUME_SYSTEMD_TRIES to 2000 to match CEPH_VOLUME_TIMEOUT(10000 seconds)
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Currently, we set CEPH_VOLUME_TIMEOUT to 10000 seoncds like below
---
Environment=CEPH_VOLUME_TIMEOUT=10000
ExecStart=/bin/sh c 'timeout $CEPH_VOLUME_TIMEOUT /usr/sbin/ceph-volume-systemd %i'
--
This make sense, under some special situation, the disk might not be ready for a long time, eg. waiting for vault to unseal if the disk was encrypted by vault.
But ceph-volume-systemd might give up too soon, By default it will only try about 30 (CEPH_VOLUME_SYSTEMD_TRIES) * 5 (CEPH_VOLUME_SYSTEMD_INTERVAL) seconds. and this may also confuse the ceph user as they may expect ceph-volume to keep trying for about 10000 seconds.
Actions