[LU-1084] Console messages from sec stuff MUST GO Created: 09/Feb/12  Updated: 04/May/12  Resolved: 22/Feb/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.2.0, Lustre 2.1.2

Type: Bug Priority: Minor
Reporter: Christopher Morrone Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4718

 Description   

The copious amounts of CWARN console messages for completely normal expected events need to be removed from lustre/ptlrpc/sec.c and anything else associated.

For bonus points: Beat the original author with a wet noodle.



 Comments   
Comment by Peter Jones [ 09/Feb/12 ]

Minh

Could you please have a look at this one?

Peter

Comment by Andreas Dilger [ 09/Feb/12 ]

There was a patch landed to master for 2.2 in http://review.whamcloud.com/1876 which removed among other things the spurious SEC messages (at least one, I'm not sure which one you are referring to), and there is another patch which quiets a few messages http://review.whamcloud.com/2015 (mostly in test scripts, but a few console messages).

I'm happy to remove more of them if you can point them out specifically.

Comment by Christopher Morrone [ 09/Feb/12 ]

I did check master, but the only patch on master that made a significant change was one from you that did this:

-                CWARN("import %s->%s netid %x: select flavor %s\n",
-                      imp->imp_obd->obd_name,
-                      obd_uuid2str(&conn->c_remote_uuid),
-                      LNET_NIDNET(conn->c_self),
-                      sptlrpc_flavor2name(&sf, str, sizeof(str)));
+        } else if (SPTLRPC_FLVR_BASE(sf.sf_rpc) !=
+                   SPTLRPC_FLVR_BASE(SPTLRPC_FLVR_NULL)) {
+                LCONSOLE_INFO("import %s->%s netid %x: select flavor %s\n",
+                              imp->imp_obd->obd_name,
+                              obd_uuid2str(&conn->c_remote_uuid),
+                              LNET_NIDNET(conn->c_self),
+                              sptlrpc_flavor2name(&sf, str, sizeof(str)));

But I would like to take that message (and most of the other CWARN messages in that file) off of the console all together.

Comment by Christopher Morrone [ 10/Feb/12 ]

http://review.whamcloud.com/2135

Comment by Minh Diep [ 16/Feb/12 ]

monitoring the testing on this patch

Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » i686,client,el5,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_bulk.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,client,el5,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_null.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_bulk.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » i686,client,el5,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_config.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,server,el5,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_config.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » i686,server,el5,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_null.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » i686,server,el5,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_bulk.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » i686,client,el6,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_null.c
Comment by Build Master (Inactive) [ 17/Feb/12 ]

Integrated in lustre-master » x86_64,client,el6,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_null.c
Comment by Build Master (Inactive) [ 18/Feb/12 ]

Integrated in lustre-master » x86_64,server,el6,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec_null.c
Comment by Build Master (Inactive) [ 18/Feb/12 ]

Integrated in lustre-master » i686,server,el6,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_config.c
Comment by Build Master (Inactive) [ 18/Feb/12 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_config.c
Comment by Build Master (Inactive) [ 18/Feb/12 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_config.c
Comment by Build Master (Inactive) [ 18/Feb/12 ]

Integrated in lustre-master » i686,client,el6,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_config.c
  • lustre/ptlrpc/sec.c
Comment by Build Master (Inactive) [ 18/Feb/12 ]

Integrated in lustre-master » i686,server,el6,ofa #483
LU-1084 ptlrpc: Change CWARNs to CDEBUGs (Revision b6397a72d655eb24df53227a74a1f57de8f2313a)

Result = SUCCESS
Oleg Drokin : b6397a72d655eb24df53227a74a1f57de8f2313a
Files :

  • lustre/ptlrpc/sec.c
  • lustre/ptlrpc/sec_null.c
  • lustre/ptlrpc/sec_plain.c
  • lustre/ptlrpc/sec_gc.c
  • lustre/ptlrpc/sec_bulk.c
  • lustre/ptlrpc/sec_config.c
Comment by Minh Diep [ 22/Feb/12 ]

landed in master

Comment by Bob Glossman (Inactive) [ 01/May/12 ]

http://review.whamcloud.com/#change,2621
back port to b2_1

Generated at Sat Feb 10 01:13:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.