Comment 2 for bug 1926498

Revision history for this message
Drew Freiberger (afreiberger) wrote :

When implementing this change with config-flags, the implementation of config-flags seems to have failed to create a new section per the config-flags definition:

juju config ceph-radosgw config-flags='{"client.radosgw.gateway": {"rgw_relaxed_s3_bucket_names": "true"}}'

The /etc/ceph/config file has the following three extra lines from this config change:

# The following are user-provided options provided via the config-flags charm option.
# User-provided [client.radosgw.gateway] section config
rgw_relaxed_s3_bucket_names = true

Expected result would be these two lines (plus any juju comments):
[client.radosgw.gateway]
rgw_relaxed_s3_bucket_names = true

Note the lack of DEFINING the [client.radosgw.gateway] section of the file.

root@juju-733f2f-4-lxd-12:/etc/ceph# grep '\[' ceph.conf
[global]
[client.rgw.juju-733f2f-4-lxd-12]
# User-provided [client.radosgw.gateway] section config