# Randomly my development apps no longer can find our "cluster"

**URL:** <https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039>\
**Category:** Get Help\
**Tags:** question\
**Created:** [July 27, 2020, 10:21pm UTC](https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039 "2020-07-27T22:21:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles8ronson](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/charles8ronson/32/446_2.png) [@charles8ronson](https://discourse.openondemand.org/u/charles8ronson)\
**Post date:** [July 27, 2020, 10:21pm UTC](https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039/1 "2020-07-27T22:21:45Z")

</div>

So… we have been working on some updates in our dev environment to make certain queues available globally and some hidden. Before actually making changes we took backups of our cluster.yml. However, randomly it seems that OOD doesn’t see our cluster anymore. All of the apps say “This app requires a cluster that does not exist.” and there I have confirmed, other than the name of the cluster/cluster file, the setup is the EXACT SAME as our production. Any help with this?

Ref:  
/etc/ood/config/clusters.d/elonia.yml  
#Contents  
v2:  
metadata:  
title: “elonia”  
login:  
host: “dev-hostname.domain”  
job:  
adapter: “pbspro”  
host: “dev-hostname.domain”  
exec: “/apps/pbspro/current”  
bin\_overrides:  
qsub: “/apps/pbspro/current/bin/qsub”  
batch\_connect:  
basic:  
script\_wrapper: |  
module purge  
%s  
set\_host: “host=$(hostname -A | awk ‘{print $1}’)”  
vnc:  
script\_wrapper: |  
module purge  
export PATH="/opt/TurboVNC/bin:PATH" export WEBSOCKIFY\_CMD="/usr/bin/websockify" %s set\_host: "host=(hostname -A | awk ‘{print $1}’)"

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 27, 2020, 10:29pm UTC](https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039/2 "2020-07-27T22:29:56Z")

</div>

> [@charles8ronson](#):
>
> other than the name of the cluster/cluster file

The name of the cluster file _is_ the corresponding cluster we’re searching for. So in your example cluster configuration, you apps should be looking for the `cluster: "elonia"`, only because of the filename `elonia.yml`.

---

<div class="post-metadata">

**Author:** ![charles8ronson](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/charles8ronson/32/446_2.png) [@charles8ronson](https://discourse.openondemand.org/u/charles8ronson)\
**Post date:** [July 27, 2020, 10:39pm UTC](https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039/3 "2020-07-27T22:39:01Z")

</div>

Right. Which is the name of the file and what the apps are looking for. But its like it isn’t seeing them at all. Are there specific permissions that need to be set up there?

Thanks,

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 27, 2020, 10:44pm UTC](https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039/4 "2020-07-27T22:44:29Z")

</div>

Oh i see. Just readable by a given unprivileged user. I guess if you can `cat /etc/ood/config/clusters.d/elonia.yml` as a regular user, then you should be OK (note it needs to be able to traverse into that directory as well).

If you can cat this file, then I’d look at the yml indentation problems. You can check your `/var/log/ondemand-nginx/$USER/error.log` for anything that may indicate an issue.

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:43pm UTC](https://discourse.openondemand.org/t/randomly-my-development-apps-no-longer-can-find-our-cluster/1039/5 "2022-05-26T15:43:13Z")

</div>

Closed on May 26, 2022, 3:43pm UTC


