--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 ________________________________________________________________________________ [19/May/2023 19:04:23] Check Num Users pre : N/A ________________________________________________________________________________ [19/May/2023 19:04:23] - INFO: Timeout for this Task has changed to 1d (86400 seconds) [19/May/2023 19:04:23] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [19/May/2023 19:04:23] Check Num Users step1 : Get expected number of users from config (conf.yaml) ________________________________________________________________________________ ________________________________________________________________________________ [19/May/2023 19:04:23] Check Num Users step2 : Get real number of users ________________________________________________________________________________ [19/May/2023 19:04:23] - INFO: Getting number of ou=people,ou=identities entries through DS (ldapsearch utility) [run_command]: kubectl --namespace=xlou exec ds-idrepo-0 -c ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword "wSVD7Mb7TtQFxTZ6m1yv7fo6EUbI1O80" --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: 10000001 --- stderr --- ________________________________________________________________________________ [19/May/2023 19:04:25] Check Num Users step3 : Evaluate if the identities count is correct ________________________________________________________________________________ [19/May/2023 19:04:25] - INFO: Real count of identities in ID repo/userstore is 10000001, which is expected. ________________________________________________________________________________ [19/May/2023 19:04:25] Check Num Users post : N/A ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped