Actions
Bug #7103
closedconfig: variable substitution happen only once
% Done:
90%
Source:
Community (dev)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In ceph.conf if
mon_host = localhost keyring = $mon_host/$cluster.keyring,$mon_host/$cluster.mon.keyring
it will be expanded to
keyring = localhost/ceph.keyring,$mon_host/ceph.mon.keyring
instead of the expected
keyring = localhost/ceph.keyring,localhost/ceph.mon.keyring
Updated by Loïc Dachary over 10 years ago
- Subject changed from variable substitution happen only once to config: variable substitution happen only once
- Status changed from New to 12
The test demonstrating the problem fails with:
[ RUN ] DaemonConfig.SubstitutionMultiple test/daemon_config.cc:136: Failure Value of: tmp Actual: "localhost/ceph.keyring,$mon_host/ceph.mon.keyring" Expected: string("localhost/ceph.keyring,localhost/ceph.mon.keyring") Which is: "localhost/ceph.keyring,localhost/ceph.mon.keyring" [ FAILED ] DaemonConfig.SubstitutionMultiple (0 ms)
Updated by Loïc Dachary over 10 years ago
- Status changed from In Progress to Fix Under Review
- % Done changed from 0 to 90
Updated by Sage Weil over 10 years ago
- Status changed from Fix Under Review to Resolved
Actions