Question
Michael Jobe · Jan 26

SAM Add New Cluster Failed.

I installed a community version of Intersystems IRIS in a Large AWS EC2 instance to do some testing.  I installed SAM and when I try to "Add a new cluster" I receive the following:  "ERROR #5005: Cannot open file '/config/prometheus/isc_tmp_yml_file.yml'"

Screen shot included here: https://share.getcloudapp.com/RBu4K5yv

Product version: IRIS 2020.1
00
2 0 4 134
Log in or sign up to continue

is this the right place to post this?  I'm looking for assistance and want to make sure I am posting in the right place.  Thanks.

Hi @Michael Jobe 

Yes, you can post here or open a WRC ticket.

The error usually denotes a privilege issue. I see that the file name is not the default we ship the product with. That is isc_prometheus.yml. Also the file should have privileges set to 764 or rwxrw-r---

Another important thing would be to use the start.sh script that checks for the correct privileges on directories and files.

Let us know how you get on.

Thanks

The start.sh script was used to start the services, the stop.sh to stop them

The SAM solution was installed 4x on 4 EC instances, each one received the same error and clusters could not be created.

There is an isc_prometheus.yml file in the directory which by the default installation did not have 764 permissions.  I set the permissions to 764 and restarted the services and the same error is received.  Documentation is a bit light but I followed the instructions.  Has this worked for others as documented?

I will pull down the latest version of SAM when available and retest this, I'll take steps to document each step.  It's entirely possible I'm making a mistake in my deployments that is causing consistent failures, if so I imagine that would be helpful to know.