We have two OOD instances (prod and dev), each using a corresponding cluster (prod and dev), and sharing user home directories. (Each user accesses the same home directory from any cluster, both in and out of OOD.) With OOD 1.7, it was possible to run a given app (e.g. Matlab) in one of the OOD instances, and then run the same app in the other OOD instance. (Members of the dev team do this while creating/updating apps.) With OOD 1.8 (v1.8.18), this no longer works – after running in dev, when try to Launch the app in prod, we get this error:
I think this is related to the file in the user’s home directory ondemand/data/sys/dashboard/batch_connect/sys/APP-NAME/context.json
– manually deleting this file before attempting to Launch the app resolves the problem. I notice that this file contains the cluster name (in addition to remembering the user’s most recent selections for the app), and it appears that the cluster name here takes precedence over the cluster name defined in the app itself.
I understand that for some setups, cluster can be a user-selectable option, which explains why it would be in this file. It seems that some additional logic to check whether the cluster from this file is available, and if not then get the cluster from the app in the normal way, could resolve the issue we are having. Do you have any suggestions? Is there any way to resolve this with our configuration?