-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Steps to reproduce
- Install and configure a webtop module on a node.
- Perform a clone or move action to another node.
Expected behavior
All environment variables set by the create-module/10env script should be preserved in the new (cloned/moved) webtop module instance.
Actual behavior
Only a subset of environment variables is transferred to the new module instance. The following variables were moved:
- EJABBERD_MODULE_UUID
- MAIL_DOMAIN
- MAIL_MODULE
- MAIL_MODULE_UUID
- PECBRIDGE_ADMIN_MAIL
- PHONEBOOK_INSTANCE
- USER_DOMAIN_PORT
- WEBTOP_HOSTNAME
Other environment variables set by the script are missing in the new environment file.
This issue is likely because the clone-module action does not copy environment variables already set by create-module/10env.
see code of clone-action
Components
- ns8-webtop version: 1.5.3
See also
-
Source of environment variables: https://github.com/NethServer/ns8-webtop/blob/8b48eb014e1b4a8fb1012b87544b17ca581a478d/imageroot/actions/create-module/10env
-
Code of clone-action https://github.com/NethServer/ns8-core/blob/main/core/imageroot/usr/local/agent/actions/clone-module/10recvstate
Metadata
Metadata
Assignees
Labels
Type
Projects
Status