Closed stephdl closed 3 months ago
Steps to reproduce
Expected behavior
I expect no failure on the restoration
Actual behavior
The restorations fails because we miss some environment variable in the replica environment
Feb 06 13:46:51 rl36 agent@openldap4[42445]: Traceback (most recent call last): Feb 06 13:46:51 rl36 agent@openldap4[42445]: File "/home/openldap4/.config/actions/restore-module/10resume_environment", line 31, in <module> Feb 06 13:46:51 rl36 agent@openldap4[42445]: agent.set_env(evar, original_environment[evar]) Feb 06 13:46:51 rl36 agent@openldap4[42445]: ~~~~~~~~~~~~~~~~~~~~^^^^^^ Feb 06 13:46:51 rl36 agent@openldap4[42445]: KeyError: 'LDAP_SVCUSER' Feb 06 13:46:52 rl36 agent@openldap4[42445]: task/module/openldap4/a94f76bb-9e3e-4f30-9857-7c964359ebb5: action "restore-module" status is "aborted" (1) at step 10resume_environment
Components
ns8-openldap 2.2.1
duplicate of https://github.com/NethServer/dev/issues/6885
Steps to reproduce
Expected behavior
I expect no failure on the restoration
Actual behavior
The restorations fails because we miss some environment variable in the replica environment
Components
ns8-openldap 2.2.1