Add an integration test in non-dev mod
- make chmod-cs-store dependent on developer mode
- switch off developer mode
- use git repo for diracx config
Separated in other issues
/cc @mlinhoff @natthan.pigoux it also seem a bit more stable, but there is a failure that happens sometimes
essentially this is needed for preprod.
I propose to keep two tests, one in dev mode (to match better local dev) and one without - also prod test like BDMS.
Closes #138 (closed)
two issues noticed during bootstrap:
component monitoring DB is detected while running:
INSTALLED_DB=$(kubectl exec statefulset/{{ include "wms.master-full-name" $ }} -- bash -c 'mysql --host "$DB_HOSTNAME" -u"$DB_USER" -p"$DB_PASSWORD" -e "SHOW DATABASES" | grep "InstalledComponentsDB"' || echo "False")
but DBName not available in CS.
possible solution: detect InstalledComponentsDB in CS not in mariadb?
when wms-dirac-component-monitoring starts, it does not allow DB install, due to :
│ wms-dirac-component-monitoring 2026-03-30T19:23:17,280566Z Framework/ComponentMonitoring [138941703833152] WARN: Cannot find hostname for DN /CN=dirac-master-cs: Path /Registry/Hosts doe │
│ wms-dirac-component-monitoring 2026-03-30T19:23:17,280693Z Framework/ComponentMonitoring/Authorization [138941703833152] WARN: Host is invalid
related to 1. ? restarting wms-dirac-component-monitoring helps
At different points during deployment this happens during dirac-install-db:
2026-03-30T21:29:23.855772753Z wms-dfeb69a-bootstrap-dirac-1-5zrlr Issue getting socket: <DIRAC.Core.DISET.private.Transports.M2SSLTransport.SSLTransport object at 0x7e2d90be5050> : ('dips', 'wms-dfeb69a-dirac-master-cs', 9135, 'Configuration/Server') : DNS lookup f
ailed gaierror(-2, 'Name or service not known')
possibly service goes down due to blocking write or load?
added another test for readiness, it detects the condition