In RHS3.0, brick-log-level does not affect the log level until glusterfsd retrieves the volume information/metadata.
Issue
- In RHS3.0, brick-log-level does not affect the log level until glusterfsd retrieves the volume information/metadata.
For example, brick-log-level is set as WARNING. You might get
[2014-12-03 03:12:22.541449] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2014-12-03 03:12:23.260013] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2014-12-03 03:12:23.262280] I [graph.c:269:gf_add_cmdline_options] 0-testvol-server: adding option 'listen-port' for volume 'testvol-server' with value '49152'
[2014-12-03 03:12:23.262300] I [graph.c:269:gf_add_cmdline_options] 0-testvol-posix: adding option 'glusterd-uuid' for volume 'testvol-posix' with value 'b976e2f5-ad28-4556-aea9-7398290fdff2'
[2014-12-03 03:12:39.312870] W [glusterfsd.c:1182:cleanup_and_exit] (--> 0-: received signum (15), shutting down
[2014-12-03 03:12:50.219050] I [MSGID: 100030] [glusterfsd.c:1998:main] 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.6.0.28 (args: /usr/sbin/glusterfsd -s rhs3-node1 --volfile-id testvol.rhs3-node1.brick-bricksr
v1 -p /var/lib/glusterd/vols/testvol/run/rhs3-node1-brick-bricksrv1.pid -S /var/run/cf16889c59bff5e0fb74b2c347151534.socket --brick-name /brick/bricksrv1 -l /var/log/glusterfs/bricks/brick-bricksrv1.log --xlator-option *-posix.glusterd-u
uid=b976e2f5-ad28-4556-aea9-7398290fdff2 --brick-port 49152 --xlator-option testvol-server.listen-port=49152)
[2014-12-03 03:12:50.225884] I [graph.c:269:gf_add_cmdline_options] 0-testvol-server: adding option 'listen-port' for volume 'testvol-server' with value '49152'
[2014-12-03 03:12:50.225908] I [graph.c:269:gf_add_cmdline_options] 0-testvol-posix: adding option 'glusterd-uuid' for volume 'testvol-posix' with value 'b976e2f5-ad28-4556-aea9-7398290fdff2'
[2014-12-03 03:12:50.226473] I [rpcsvc.c:2131:rpcsvc_set_outstanding_rpc_limit] 0-rpc-service: Configured rpc.outstanding-rpc-limit with value 64
[2014-12-03 03:12:50.226517] W [options.c:898:xl_opt_validate] 0-testvol-server: option 'listen-port' is deprecated, preferred is 'transport.socket.listen-port', continuing with correction
[2014-12-03 03:12:50.227207] W [graph.c:344:_log_if_unknown_option] 0-testvol-server: option 'rpc-auth.auth-glusterfs' is not recognized
[2014-12-03 03:12:50.227235] W [graph.c:344:_log_if_unknown_option] 0-testvol-server: option 'rpc-auth.auth-unix' is not recognized
[2014-12-03 03:12:50.227249] W [graph.c:344:_log_if_unknown_option] 0-testvol-server: option 'rpc-auth.auth-null' is not recognized
[2014-12-03 03:12:50.227276] W [graph.c:344:_log_if_unknown_option] 0-testvol-quota: option 'timeout' is not recognized
Final graph:
+------------------------------------------------------------------------------+
... <snip> ...
+------------------------------------------------------------------------------+
As INFO level, you might get
[2014-12-03 03:06:33.703617] W [glusterfsd.c:1182:cleanup_and_exit] (--> 0-: received signum (15), shutting down
[2014-12-03 03:06:49.868847] I [MSGID: 100030] [glusterfsd.c:1998:main] 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.6.0.28 (args: /usr/sbin/glusterfsd -s rhs3-node1 --volfile-id testvol.rhs3-node1.brick-bricksrv1 -p /var/lib/glusterd/vols/testvol/run/rhs3-node1-brick-bricksrv1.pid -S /var/run/cf16889c59bff5e0fb74b2c347151534.socket --brick-name /brick/bricksrv1 -l /var/log/glusterfs/bricks/brick-bricksrv1.log --xlator-option *-posix.glusterd-uuid=b976e2f5-ad28-4556-aea9-7398290fdff2 --brick-port 49152 --xlator-option testvol-server.listen-port=49152)
[2014-12-03 03:06:49.875777] I [graph.c:269:gf_add_cmdline_options] 0-testvol-server: adding option 'listen-port' for volume 'testvol-server' with value '49152'
[2014-12-03 03:06:49.875801] I [graph.c:269:gf_add_cmdline_options] 0-testvol-posix: adding option 'glusterd-uuid' for volume 'testvol-posix' with value 'b976e2f5-ad28-4556-aea9-7398290fdff2'
[2014-12-03 03:06:49.876793] I [rpcsvc.c:2131:rpcsvc_set_outstanding_rpc_limit] 0-rpc-service: Configured rpc.outstanding-rpc-limit with value 64
[2014-12-03 03:06:49.876842] W [options.c:898:xl_opt_validate] 0-testvol-server: option 'listen-port' is deprecated, preferred is 'transport.socket.listen-port', continuing with correction
[2014-12-03 03:06:49.877623] W [graph.c:344:_log_if_unknown_option] 0-testvol-server: option 'rpc-auth.auth-glusterfs' is not recognized
[2014-12-03 03:06:49.877650] W [graph.c:344:_log_if_unknown_option] 0-testvol-server: option 'rpc-auth.auth-unix' is not recognized
[2014-12-03 03:06:49.877664] W [graph.c:344:_log_if_unknown_option] 0-testvol-server: option 'rpc-auth.auth-null' is not recognized
[2014-12-03 03:06:49.877690] W [graph.c:344:_log_if_unknown_option] 0-testvol-quota: option 'timeout' is not recognized
Final graph:
+------------------------------------------------------------------------------+
... <snip> ...
+------------------------------------------------------------------------------+
[2014-12-03 03:06:52.754690] I [server-handshake.c:578:server_setvolume] 0-testvol-server: accepted client from rhs3-node1-8847-2014/12/03-03:06:52:646116-testvol-client-0-0-0 (version: 3.6.0.28)
[2014-12-03 03:06:52.783896] I [server-handshake.c:578:server_setvolume] 0-testvol-server: accepted client from rhs3-node1-8839-2014/12/03-03:06:51:641180-testvol-client-0-0-0 (version: 3.6.0.28)
[2014-12-03 03:06:55.305575] I [server-handshake.c:578:server_setvolume] 0-testvol-server: accepted client from rhs3-node2-7993-2014/12/03-03:06:54:771014-testvol-client-0-0-0 (version: 3.6.0.28)
[2014-12-03 03:06:55.335038] I [server-handshake.c:578:server_setvolume] 0-testvol-server: accepted client from rhs3-node2-7986-2014/12/03-03:06:53:764696-testvol-client-0-0-0 (version: 3.6.0.28)
[2014-12-03 03:08:55.341361] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2014-12-03 03:08:56.066964] I [glusterfsd-mgmt.c:56:mgmt_cbk_spec] 0-mgmt: Volume file changed
[2014-12-03 03:08:56.069534] I [graph.c:269:gf_add_cmdline_options] 0-testvol-server: adding option 'listen-port' for volume 'testvol-server' with value '49152'
[2014-12-03 03:08:56.069551] I [graph.c:269:gf_add_cmdline_options] 0-testvol-posix: adding option 'glusterd-uuid' for volume 'testvol-posix' with value 'b976e2f5-ad28-4556-aea9-7398290fdff2'
[2014-12-03 03:08:56.069828] I [glusterfsd-mgmt.c:1504:mgmt_getspec_cbk] 0-glusterfs: No change in volfile, continuing
After 'Final graph:' information retrieved, the log level looks enabled.
Environment
- Red Hat Storage Server 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
