httpd (pid 1) already running when starting keystone or horizon container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Sam Yaple |
Bug Description
After hard restarting (powercycle due to network misconfigured - connectivity lost) the physical machine started and all except for 3 containers didn't start - see below. Heat was not working before that but Horizon and Keystone have same/similar error (behave same). These container keep restartarting despite the apache2 -DFOREGROUND being executed with exit code 0 as per my debbugging.
1. world dump
Docker version 1.8.2, build 0a8c2e3
root@silvixa003
57304b4517ea kollaglue/
75b01bd47706 kollaglue/
4c52c62f81a4 kollaglue/
docker logs horizon | tail -15
httpd (pid 1) already running
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
Running command: '/usr/sbin/apache2 -DFOREGROUND'
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
httpd (pid 1) already running
2. inside horizon container:
root@silvixa003
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 18176 3064 ? Ss+ 16:02 0:00 /bin/bash
root 16 0.0 0.0 18180 3332 ? Ss 16:02 0:00 /bin/bash
root 43 0.0 0.0 15572 2116 ? R+ 16:03 0:00 ps aux
root@silvixa003
total 4
-rw-r--r-- 1 root root 2 Mar 7 11:06 apache2.pid
srwx------ 1 www-data root 0 Mar 7 11:06 wsgi.1.0.1.sock
root@silvixa003
It looks like leftovers in /var/run/apache2 (a pid file) even when the apache2 is not actually running.
Changed in kolla: | |
importance: | Undecided → Critical |
milestone: | none → mitaka-rc2 |
assignee: | Waldemar Znoinski (wznoinsk) → Sam Yaple (s8m) |
status: | New → Confirmed |
removing /var/run/apache2/* inside horizon container fixes the problem