Project

General

Profile

Actions

Bug #49088

closed

cannot set --id/--name (and others) arguments via environment variable CEPH_ARGS

Added by Patrick Donnelly over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This appears to be because ceph_argparse_early_args is not called from parse_env:

https://github.com/ceph/ceph/blob/caa58fce7a3c6a16d86ec2bf075a204e1e2b836c/src/common/config.cc#L591

So it's not possible to set --id or other common arguments via $CEPH_ARGS.

For context, the reason I want this is for libcephsqlite [1] which has no way to set the --id except through this environment variable.

[1] https://github.com/ceph/ceph/pull/39191

Actions

Also available in: Atom PDF