Skip to content

Increase bdii debug level to WARNING

Andrii Salnikov requested to merge andrii/arc:bdii_debug_level into master

In the past month I had several time bumps into issues with information publishing to LDAP.

If some mandatory (according to schema) attribute is missing - the object is not published to LDAP silently. You have to be experienced with ARC to check LDAP, notice something suspicious and increase BDII debug level to see what is wrong exactly.

Increasing BDII debug level to WARNING (that holds such errors) will help to raise such issues to bdii-update.log and allow admins to see what goes wrong.

Just compare the output:

bdii_debug_level=ERROR (with and without issues)

[2018-08-31 22:38:17] [InfosysHelper] [INFO] [371] Start waiting for notification from A-REX's infoprovider
[2018-08-31 22:39:09] [InfosysHelper] [INFO] [371] Notification received from A-REX's infoprovider
[2018-08-31 22:39:09] [InfosysHelper] [VERBOSE] [371] Using ldif generator script: /var/run/arc/infosys//ldif-provider.sh
[2018-08-31 22:39:20] [InfosysHelper] [VERBOSE] [717] New fifo created: /var/run/arc/infosys//ldif-provider.fifo

bdii_debug_level=WARNING (without issues)

[2018-09-01 01:35:51] [InfosysHelper] [INFO] [15220] Start waiting for notification from A-REX's infoprovider
[2018-09-01 01:36:44] [InfosysHelper] [INFO] [15220] Notification received from A-REX's infoprovider
[2018-09-01 01:36:44] [InfosysHelper] [VERBOSE] [15220] Using ldif generator script: /var/run/arc/infosys//ldif-provider.sh
[2018-09-01 01:36:54] [InfosysHelper] [VERBOSE] [15531] New fifo created: /var/run/arc/infosys//ldif-provider.fifo

bdii_debug_level=WARNING (with issues)

[2018-09-01 01:35:35] [InfosysHelper] [INFO] [12124] Start waiting for notification from A-REX's infoprovider
[2018-09-01 01:36:29] [InfosysHelper] [INFO] [12124] Notification received from A-REX's infoprovider
[2018-09-01 01:36:29] [InfosysHelper] [VERBOSE] [12124] Using ldif generator script: /var/run/arc/infosys//ldif-provider.sh
2018-09-01 01:36:29,234: [WARNING] ldap_add: Invalid syntax (21)
2018-09-01 01:36:29,235: [WARNING] additional info: glue2computingsharefreeslotswithduration: value #0 invalid per syntax
2018-09-01 01:36:29,235: [WARNING] ldap_add: Invalid syntax (21)
2018-09-01 01:36:29,235: [WARNING] additional info: glue2computingsharefreeslotswithduration: value #0 invalid per syntax
2018-09-01 01:36:29,235: [WARNING] ldap_add: Invalid syntax (21)
2018-09-01 01:36:29,241: [WARNING] additional info: glue2endpointhealthstateinfo: value #0 invalid per syntax
2018-09-01 01:36:29,241: [WARNING] ldap_add: No such object (32)
2018-09-01 01:36:29,241: [WARNING] matched DN: GLUE2ServiceID=urn:ogf:ComputingService:arc6.grid.org.ua:arex,GLUE2GroupID=services,o=glue
2018-09-01 01:36:29,242: [WARNING] ldap_add: No such object (32)
2018-09-01 01:36:29,242: [WARNING] matched DN: GLUE2ServiceID=urn:ogf:ComputingService:arc6.grid.org.ua:arex,GLUE2GroupID=services,o=glue
2018-09-01 01:36:29,242: [WARNING] ldap_add: No such object (32)
2018-09-01 01:36:29,242: [WARNING] matched DN: GLUE2ServiceID=urn:ogf:ComputingService:arc6.grid.org.ua:arex,GLUE2GroupID=services,o=glue
[2018-09-01 01:36:39] [InfosysHelper] [VERBOSE] [12392] New fifo created: /var/run/arc/infosys//ldif-provider.fifo
Edited by Maiken

Merge request reports