Bug #7103
closed
config: variable substitution happen only once
Added by Loïc Dachary over 10 years ago.
Updated over 10 years ago.
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
- 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)
- Status changed from 12 to In Progress
- Description updated (diff)
- Status changed from In Progress to Fix Under Review
- % Done changed from 0 to 90
- Status changed from Fix Under Review to Resolved
Also available in: Atom
PDF