--Task-- name: Check Num Users enabled: True class_name: ValidationNumUsers source_name: controller source_namespace: >default< target_name: ds-idrepo target_namespace: >default< start: 0 stop: None timeout: not yet initialized for this Task as timeout was not explicitly defined, see updates bellow loop: False interval: None dependencies: [] wait_for: [] options: {} group_name: None Current dir: /mnt/disks/data/xslou/lodestar-fork/pyrock ________________________________________________________________________________ [28/May/2023 06:24:13] Check Num Users pre : N/A ________________________________________________________________________________ [28/May/2023 06:24:13] - INFO: Timeout for this Task has changed to 4h 40m (16800 seconds) [28/May/2023 06:24:13] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [28/May/2023 06:24:13] Check Num Users step1 : Get expected number of users from config (conf.yaml) ________________________________________________________________________________ ________________________________________________________________________________ [28/May/2023 06:24:13] Check Num Users step2 : Get real number of users ________________________________________________________________________________ [28/May/2023 06:24:13] - INFO: Getting number of ou=people,ou=identities entries through DS (ldapsearch utility) [run_command]: kubectl --namespace=xlou exec ds-idrepo-0 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword "wEcQVfDwdrG8TaZMLfSX2nfQQCYInCpr" --baseDn "ou=people,ou=identities" --searchScope base (&) numsubordinates [run_command]: OK (rc = 0 - expected to be in [0]) --- stdout --- dn: ou=people,ou=identities numsubordinates: 1000001 --- stderr --- ________________________________________________________________________________ [28/May/2023 06:24:16] Check Num Users step3 : Evaluate if the identities count is correct ________________________________________________________________________________ [28/May/2023 06:24:16] - INFO: Real count of identities in ID repo/userstore is 1000001, which is expected. ________________________________________________________________________________ [28/May/2023 06:24:16] Check Num Users post : N/A ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped