theforeman / forklift

Helpful deployment scripts for Foreman and Katello
https://theforeman.github.io/forklift
GNU General Public License v3.0
183 stars 199 forks source link

Foreman proxy dev server doesn't work with foreman start #1013

Closed johnpmitsch closed 4 years ago

johnpmitsch commented 5 years ago

When you spin up a centos7-proxy-devel box, it doesn't work with foreman start.

We check the server.pid file which is not created with foreman start, so the playbook fails because "no server is running"

johnpmitsch commented 5 years ago

This could have something to do with multiple puma processes that foreman start kicks off, perhaps since its using multiple PIDs the server.pid isn't created?

johnpmitsch commented 5 years ago

As a workaround, you can touch the tmp/pids/server.pid file on the katello box