Error deactivating a Cluster Node in preparation for re-image upgrade

book

Article ID: 225899

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Error saving configuration 'Error during node configuration 'Error writing properties file '/opt/SecureSpan/Gateway/node/default/etc/conf/node.properties'.''

Would you like to re-configure? [Yes]: 

Cause

The node.properties is not owned by the proper user it should not be ssgconfig:ssgconfig it should be layer7:gateway

# cd /opt/SecureSpan/Gateway/node/default/etc/conf/
# ls -la

drwxr-s--- 2 layer7    gateway   4096 Oct 11 15:59 .
drwxr-x--- 3 layer7    gateway   4096 Jun 27  2020 ..
-rwxrwxr-x 1 ssgconfig ssgconfig  837 Jun 28 18:16 node.properties
-rw-rw-r-- 1 ssgconfig ssgconfig   42 Jun 28 10:47 omp.dat
-rw-r----- 1 layer7    gateway     53 Jun 27  2020 ssglog.properties
-rw-r----- 1 layer7    gateway    985 Jun 27  2020 system.properties
-rw-r----- 1 layer7    gateway   1189 Jun 27  2020 telemetry.properties
-rw-r----- 1 layer7    gateway   1674 Jun 27  2020 trusted_signers

Environment

Release : 10.1

Component : API GATEWAY

Resolution

Navigate to 

#/opt/SecureSpan/Gateway/node/default/etc/conf

Execute 

#chown layer7:gateway *