Symptoms
Try to register NG server in OA. Task Deploying webserver X.X.X.X
fails with the following output:
Destination host 'your_hostname' (#1), IP 'IP_ADDRESS_OF_MN' : truepath /var/lib/pgsql/9.1/data/pg_hba.conf: No such file or directory (errno 2).
Indeed, there is no such file on MN, because OA DB is located on standalone host.
Cause
Program issue POA-88380: "NG node registration fails if OA DB is on another host".
Resolution
Please contact your Technical Account Manager or Pooled Technical Associates team (pta@odin.com) to trace the status of the issue. Please use the following workaround in order to fix the issue:
Create appropriate files and directory on MN:
[root@osscore ~]# mkdir -p /var/lib/pgsql/9.1/data/ [root@osscore ~]# touch /var/lib/pgsql/9.1/data/pg_hba.conf [root@osscore ~]# echo -e '#!/bin/sh\n exit 0' > /etc/init.d/postgresql-9.1 [root@osscore ~]# chmod +x /etc/init.d/postgresql-9.1
Run the task again. It should be completed successfully.
Other tasks in the same queue can fail with the following output:
IP address X.X.X.X is already configured for host XXX.
In this case go to PCP > Infrastructure > Hardware Nodes > unnecessary_node > Summary and click
Delete
button.