Skip to content

Cloud Foundry Push dockerized image #91

@tcanavan

Description

@tcanavan

Pre issue-raising checklist

I have already (please mark the applicable with an x): x

  • Confirmed this is the right place to raise the issue - only issues related to the Dockerization of the Pact Broker should be raised here. Issues related to the Pact Broker application itself should be raised in the Pact Broker project.
  • Upgraded to the latest Pact Broker Docker image OR
  • Checked the CHANGELOG to see if the issue I am about to raise has been fixed
  • Read the Troubleshooting page

Software versions

  • pact-broker docker version: eg 2.3.1-1
  • OS: Cloud foundry
  • pact broker client details: eg. pact-ruby-standalone CLI v 1.23.0

Expected behaviour

Container starts

Actual behaviour

Tries to start but gets the following error

2019-05-16T12:07:45.63+0200 [API/1] OUT Updated app with guid 629d8fe3-8331-43bd-a364-ba3f16f97268 ({"state"=>"STARTED"})
   2019-05-16T12:07:45.79+0200 [CELL/0] OUT Cell c75793fe-4037-4b5c-8102-79cb0eed788b creating container for instance 19540041-8cd2-466f-5c39-7154
   2019-05-16T12:07:47.72+0200 [CELL/0] OUT Cell c75793fe-4037-4b5c-8102-79cb0eed788b successfully created container for instance 19540041-8cd2-466f-5c39-7154
   2019-05-16T12:07:47.90+0200 [CELL/0] OUT Starting health monitoring of container
   2019-05-16T12:07:48.19+0200 [APP/PROC/WEB/0] ERR *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
   2019-05-16T12:07:48.20+0200 [APP/PROC/WEB/0] ERR *** Running /etc/my_init.d/10_syslog-ng.init...
   2019-05-16T12:07:48.25+0200 [APP/PROC/WEB/0] OUT May 16 10:07:48 19540041-8cd2-466f-5c39-7154 syslog-ng[63]: syslog-ng starting up; version='3.13.2'
   2019-05-16T12:07:48.25+0200 [APP/PROC/WEB/0] ERR *** Running /etc/my_init.d/30_presetup_nginx.sh...
   2019-05-16T12:07:48.26+0200 [APP/PROC/WEB/0] ERR *** Booting runit daemon...
   2019-05-16T12:07:48.27+0200 [APP/PROC/WEB/0] ERR *** Runit started as PID 82
   2019-05-16T12:07:48.28+0200 [APP/PROC/WEB/0] OUT ok: run: /etc/service/nginx-log-forwarder: (pid 88) 0s
   2019-05-16T12:07:48.28+0200 [APP/PROC/WEB/0] OUT May 16 10:07:48 19540041-8cd2-466f-5c39-7154 cron[94]: (CRON) INFO (pidfile fd = 3)
   2019-05-16T12:07:48.28+0200 [APP/PROC/WEB/0] OUT May 16 10:07:48 19540041-8cd2-466f-5c39-7154 cron[94]: (CRON) INFO (Running @reboot jobs)
   2019-05-16T12:07:49.28+0200 [APP/PROC/WEB/0] OUT [ N 2019-05-16 10:07:48.3420 102/T1 age/Wat/WatchdogMain.cpp:1366 ]: Starting Passenger watchdog...
   2019-05-16T12:07:49.28+0200 [APP/PROC/WEB/0] OUT [ N 2019-05-16 10:07:48.3657 105/T1 age/Cor/CoreMain.cpp:1339 ]: Starting Passenger core...
   2019-05-16T12:07:49.28+0200 [APP/PROC/WEB/0] OUT [ N 2019-05-16 10:07:48.3659 105/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
   2019-05-16T12:07:49.28+0200 [APP/PROC/WEB/0] OUT [ N 2019-05-16 10:07:48.4175 105/T1 age/Cor/CoreMain.cpp:1014 ]: Passenger core online, PID 105
   2019-05-16T12:07:51.28+0200 [APP/PROC/WEB/0] OUT [ N 2019-05-16 10:07:50.5847 105/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
   2019-05-16T12:08:48.63+0200 [HEALTH/0] ERR Failed to make TCP connection to port 443: connection refused
   2019-05-16T12:08:48.63+0200 [CELL/0] ERR Timed out after 1m0s: health check never passed.
   2019-05-16T12:08:48.63+0200 [CELL/SSHD/0] OUT Exit status 0
   2019-05-16T12:08:49.05+0200 [APP/PROC/WEB/0] ERR *** Shutting down runit daemon (PID 82)...
   2019-05-16T12:08:49.05+0200 [APP/PROC/WEB/0] ERR *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
   2019-05-16T12:08:49.06+0200 [APP/PROC/WEB/0] OUT May 16 10:08:49 19540041-8cd2-466f-5c39-7154 syslog-ng[63]: syslog-ng shutting down; version='3.13.2'
   2019-05-16T12:08:50.07+0200 [APP/PROC/WEB/0] ERR *** Init system aborted.
   2019-05-16T12:08:50.07+0200 [APP/PROC/WEB/0] ERR *** Killing all processes...

Steps to reproduce

cf push smt-pact-broker --docker-image dius/pact-broker

Relevent log files

Please ensure you set logging to DEBUG and attach any relevant log files here (or link from a gist).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions