Actions
Bug #16813
open"radosgw --show-config" and "radosgw-admin --show-config" do not display current configuration accurately
Status:
New
Priority:
Low
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
These switches seem to show a mixture of the current configuration and the default configuration depending on the setting:
[root@pistorergw2-cc38-h01 ceph]# grep frontends /etc/ceph/ceph.conf rgw frontends = civetweb port=8080 num_threads=50 [root@pistorergw2-cc38-h01 ceph]# radosgw-admin --show-config | grep frontends rgw_frontends = fastcgi, civetweb port=7480 [root@pistorergw2-cc38-h01 ceph]# radosgw --show-config | grep frontends rgw_frontends = fastcgi, civetweb port=7480 [root@pistorergw2-cc38-h01 ceph]# netstat -nat | egrep '0.0.0.0:7480|0.0.0.0:8080' tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
This command displays the current configuration accurately
[root@pistorergw2-cc38-h01 ceph]# ceph --admin-daemon /var/run/ceph/`ls -Art ceph-client.* | tail -n 1` config show | grep frontends "rgw_frontends": "civetweb port=8080 num_threads=50",
I'd like to recommend that the --show-config switch be removed from radosgw/radosgw-admin since they are redundant anyway.
Actions