Atc process in web server is not running after deploying concourse because of issue of access to postgresql.
Is there any wrong configuration in my environment ?
Bosh director info
$ bosh -e bosh_gcp env
Using environment '192.168.101.8' as client 'admin'
Name bosh_gcp
UUID 40d45801-2ec3-4abf-a0ae-2d5dfd691f3a
Version 268.0.1 (00000000)
CPI google_cpi
Features compiled_package_cache: disabled
config_server: disabled
dns: disabled
snapshots: disabled
User admin
Succeeded
$ bosh -e bosh_gcp ds
Using environment '192.168.101.8' as client 'admin'
Name Release(s) Stemcell(s) Team(s)
concourse concourse/4.2.1 bosh-google-kvm-ubuntu-xenial-go_agent/97.22 -
garden-runc/1.16.3
postgres/30
1 deployments
Succeeded
$ bosh -e bosh_gcp -d concourse instances
Using environment '192.168.101.8' as client 'admin'
Task 90. Done
Deployment 'concourse'
Instance Process State AZ IPs
db/1d237a0d-5969-4983-9719-3638a2eb1cc7 running z1 192.168.20.3
web/bbc5bf9f-6321-4133-a81c-0e0a0c64ac90 failing z1 192.168.20.2
xxx.xxx.xxx.xxx
worker/aee2cfb4-dbca-4d71-a454-89d58dc75139 running z1 192.168.20.4
3 instances
Succeeded
Check web server
$ bosh -e bosh_gcp -d concourse ssh web/bbc5bf9f-6321-4133-a81c-0e0a0c64ac90
$ sudo su -
# monit status
The Monit daemon 5.2.5 uptime: 3m
Process 'atc'
status not monitored
monitoring status not monitored
data collected Tue Oct 9 15:44:13 2018
Process 'tsa'
status running
monitoring status monitored
pid 6102
parent pid 1
uptime 3m
children 0
memory kilobytes 13412
memory kilobytes total 13412
memory percent 0.1%
memory percent total 0.1%
cpu percent 0.0%
cpu percent total 0.0%
data collected Tue Oct 9 15:44:13 2018
System 'system_vm-52ae735f-6d95-4155-75ad-b7f8004f2a73.c.tito-emc-work.internal'
status running
monitoring status monitored
load average [0.04] [0.04] [0.00]
cpu 0.4%us 0.4%sy 0.0%wa
memory usage 170336 kB [2.2%]
swap usage 0 kB [0.0%]
data collected Tue Oct 9 15:44:13 2018
I couldn't start atc process manually.
# monit start atc
# monit status
The Monit daemon 5.2.5 uptime: 4m
Process 'atc'
status not monitored - start pending
monitoring status not monitored
data collected Tue Oct 9 15:44:53 2018
Process 'tsa'
status running
monitoring status monitored
pid 6102
parent pid 1
uptime 3m
children 0
memory kilobytes 13412
memory kilobytes total 13412
memory percent 0.1%
memory percent total 0.1%
cpu percent 0.0%
cpu percent total 0.0%
data collected Tue Oct 9 15:44:53 2018
System 'system_vm-52ae735f-6d95-4155-75ad-b7f8004f2a73.c.tito-emc-work.internal'
status running
monitoring status monitored
load average [0.02] [0.03] [0.00]
cpu 0.4%us 0.4%sy 0.0%wa
memory usage 171120 kB [2.2%]
swap usage 0 kB [0.0%]
data collected Tue Oct 9 15:44:53 2018
# monit status
The Monit daemon 5.2.5 uptime: 4m
Process 'atc'
status Execution failed - start pending
monitoring status monitored
data collected Tue Oct 9 15:45:33 2018
Process 'tsa'
status running
monitoring status monitored
pid 6102
parent pid 1
uptime 4m
children 0
memory kilobytes 13412
memory kilobytes total 13412
memory percent 0.1%
memory percent total 0.1%
cpu percent 0.0%
cpu percent total 0.0%
data collected Tue Oct 9 15:45:33 2018
System 'system_vm-52ae735f-6d95-4155-75ad-b7f8004f2a73.c.tito-emc-work.internal'
status running
monitoring status monitored
load average [0.02] [0.03] [0.00]
cpu 100.0%us 0.0%sy 0.0%wa
memory usage 171240 kB [2.2%]
swap usage 0 kB [0.0%]
data collected Tue Oct 9 15:45:33 2018
I check atc's log, and it seems that atc can't access to postgresql correctly
# cat /var/vcap/sys/log/atc/atc.stderr.log
default team auth not configured: No auth methods have been configured.
default team auth not configured: No auth methods have been configured.
default team auth not configured: No auth methods have been configured.
default team auth not configured: No auth methods have been configured.
default team auth not configured: No auth methods have been configured.
default team auth not configured: No auth methods have been configured.
Atc process in web server is not running after deploying concourse because of issue of access to postgresql. Is there any wrong configuration in my environment ?
Bosh director info
Concourse manifest
Concourse deploy
Web's process status is failing
Check web server
I couldn't start atc process manually.
I check atc's log, and it seems that atc can't access to postgresql correctly