I am trying to upload the csl_app_spec.json file in the csl manager dashboard UI, but it gives me an error saying: Invalid temporary volumes path detected. I have given only valid temporary volumes in all the module spec files, but still I am geting the same error. I am currently using eis version 2.3.3 , and it seems there are only 3 valid temporary paths that are available. I have attached the SS of the error. Kindly help.
From the application.properties screenshot you shared, it seem there is a line space issue for the "whitelisted_mounts" configuration. After the "/tmp/.X11-" it jump to the next line. You should have all the mounted volume path separated by comma, no line spacing required. Pls refer to the sample in the screenshot I've shared below.
After fix the line spacing issue, pls restart the CSL manager container and redeploy using the original module spec files configuration with Temporary Volumes.
I have removed the temporary volumes from all the module spec files individually also and then deployed the csl_app_spec.json. At that time the above mentioned error was not there, but all the container's status were shown as pending and they were not running at all.
Can you share and elaborate further on the following?
1) What changes have been made to the module spec files and what are the setup changes since the previous working setup?
2) After removing the temporary volumes from module spec files, have you updated the module spec files into SMR by removing the old ones and replacing with new module spec files?
3) Can you share the following files for checking?
a) csl_app_spec file
b) All module spec files
c) application.properties file from /opt/csl/csl-manager/ directory in the CSL manager system
I have installed csl client in a new server setup and the version is 2.3.3. The error I am facing is on this system, while uploading the csl_app_spec.json file. After removing the temporary volumes from module spec files, I have updated the module spec files into SMR by removing the old ones and replacing with new module spec files using csladm and verified the same. After removing the invalid temporary volumes path, the mentioned error was not there, but the modules never run and are shown as pending after uploading csl_app_spec.json in csl manager dashboard. I have attached all the files as mentioned.
From the previous first question, can you help to point out which module spec file you have modified with Temporary volumes from the original default setup, and what modification did you made? It will be good to share with us on that, as the module spec files you have provided are just the same as the default. This might help us to check what modification being done earlier that can cause any issue.
I have attached the files that have been modified. I have removed the invalid temporary paths as only 3 paths are mentioned as valid in the error message displayed in csl manager UI :-/dev, /var/tmp, /tmp/.X11- is allowed in the cluster. But in visualizer if I keep /tmp/.X11-unix:/tmp/.X11-unix it again gives the error saying invalid path. But if I keep it as empty the modules donot run after uploading the csl_app_spec.json.
Removing the default Temporary volumes in the module spec files should not be necessary and it is not good idea too because some of the container will need to access those directory for data storage e.g ImageStore. During the CSL manager setup, all the Temporary volume will be added under "whitelisted_mounts" as you updated in the application.properties file. So, the question is, have you restarted CSL mgr container to make it take effect? Can you restart your CSL mgr container, and then use the original module spec files (with default Temporary Volumes) register in SMR to deploy the containers again using csl_app_spec file through the CSL mgr web UI?