After the installation we can see that cobbler doesn't work:
[root@nailgun ~]# supervisorctl status dhcrelay_monitor BACKOFF Exited too quickly (process log may have details) docker-astute RUNNING pid 8716, uptime 0:01:23 docker-cobbler RUNNING pid 8556, uptime 0:01:24 docker-mcollective RUNNING pid 8784, uptime 0:01:23 docker-nailgun RUNNING pid 8754, uptime 0:01:23 docker-nginx RUNNING pid 8847, uptime 0:01:23 docker-ostf RUNNING pid 8813, uptime 0:01:23 docker-postgres RUNNING pid 8557, uptime 0:01:24 docker-rabbitmq RUNNING pid 8601, uptime 0:01:23 docker-rsync RUNNING pid 8639, uptime 0:01:23 docker-rsyslog RUNNING pid 8877, uptime 0:01:23
___________________________
[root@nailgun ~]# dockerctl check checking container postgres checking with command "PGPASSWORD=nailgun shell_container postgres psql -h 127.0.0.1 -U nailgun nailgun -c '\copyright' 2>&1 1>/dev/null" postgres is ready. checking container rabbitmq checking with command "curl -f -L -i -u naily:naily http://127.0.0.1:15672/api/nodes 1>/dev/null 2>&1" checking with command "curl -f -L -u mcollective:marionette -s http://127.0.0.1:15672/api/exchanges | grep -qw 'mcollective_broadcast'" checking with command "curl -f -L -u mcollective:marionette -s http://127.0.0.1:15672/api/exchanges | grep -qw 'mcollective_directed'" rabbitmq is ready. checking container rsync checking with command "shell_container rsync netstat -ntl | grep -q 873" rsync is ready. checking container astute checking with command "shell_container astute ps aux | grep -q 'astuted'" checking with command "curl -f -L -u naily:naily -s http://127.0.0.1:15672/api/exchanges | grep -qw 'nailgun'" checking with command "curl -f -L -u naily:naily -s http://127.0.0.1:15672/api/exchanges | grep -qw 'naily_service'" astute is ready. checking container rsyslog checking with command "shell_container rsyslog netstat -nl | grep -q 514" rsyslog is ready. checking container nailgun checking with command "[ $(curl --connect-timeout 1 -s -w %{http_code} http://127.0.0.1:8000/api/version -o /dev/null) = "200" ]" nailgun is ready. checking container ostf checking with command "[ $(curl --connect-timeout 1 -s -w %{http_code} http://127.0.0.1:8000/ostf/not_found -o /dev/null) = "404" ]" ostf is ready. checking container nginx checking with command "shell_container nginx ps aux | grep -q nginx" nginx is ready. checking container cobbler checking with command "shell_container cobbler ps aux | grep -q 'cobblerd -F'" lxc-attach: failed to get the init pid try number 1 return code is 1 lxc-attach: failed to get the init pid try number 2 return code is 1 lxc-attach: failed to get the init pid try number 3 return code is 1
After the installation we can see that cobbler doesn't work:
[root@nailgun ~]# supervisorctl status
dhcrelay_monitor BACKOFF Exited too quickly (process log may have details)
docker-astute RUNNING pid 8716, uptime 0:01:23
docker-cobbler RUNNING pid 8556, uptime 0:01:24
docker-mcollective RUNNING pid 8784, uptime 0:01:23
docker-nailgun RUNNING pid 8754, uptime 0:01:23
docker-nginx RUNNING pid 8847, uptime 0:01:23
docker-ostf RUNNING pid 8813, uptime 0:01:23
docker-postgres RUNNING pid 8557, uptime 0:01:24
docker-rabbitmq RUNNING pid 8601, uptime 0:01:23
docker-rsync RUNNING pid 8639, uptime 0:01:23
docker-rsyslog RUNNING pid 8877, uptime 0:01:23
_______ _______ _______ ______
[root@nailgun ~]# dockerctl check 127.0.0. 1:15672/ api/nodes 1>/dev/null 2>&1" marionette -s http:// 127.0.0. 1:15672/ api/exchanges | grep -qw 'mcollective_ broadcast' " marionette -s http:// 127.0.0. 1:15672/ api/exchanges | grep -qw 'mcollective_ directed' " 127.0.0. 1:15672/ api/exchanges | grep -qw 'nailgun'" 127.0.0. 1:15672/ api/exchanges | grep -qw 'naily_service'" 127.0.0. 1:8000/ api/version -o /dev/null) = "200" ]" 127.0.0. 1:8000/ ostf/not_ found -o /dev/null) = "404" ]"
checking container postgres
checking with command "PGPASSWORD=nailgun shell_container postgres psql -h 127.0.0.1 -U nailgun nailgun -c '\copyright' 2>&1 1>/dev/null"
postgres is ready.
checking container rabbitmq
checking with command "curl -f -L -i -u naily:naily http://
checking with command "curl -f -L -u mcollective:
checking with command "curl -f -L -u mcollective:
rabbitmq is ready.
checking container rsync
checking with command "shell_container rsync netstat -ntl | grep -q 873"
rsync is ready.
checking container astute
checking with command "shell_container astute ps aux | grep -q 'astuted'"
checking with command "curl -f -L -u naily:naily -s http://
checking with command "curl -f -L -u naily:naily -s http://
astute is ready.
checking container rsyslog
checking with command "shell_container rsyslog netstat -nl | grep -q 514"
rsyslog is ready.
checking container nailgun
checking with command "[ $(curl --connect-timeout 1 -s -w %{http_code} http://
nailgun is ready.
checking container ostf
checking with command "[ $(curl --connect-timeout 1 -s -w %{http_code} http://
ostf is ready.
checking container nginx
checking with command "shell_container nginx ps aux | grep -q nginx"
nginx is ready.
checking container cobbler
checking with command "shell_container cobbler ps aux | grep -q 'cobblerd -F'"
lxc-attach: failed to get the init pid
try number 1
return code is 1
lxc-attach: failed to get the init pid
try number 2
return code is 1
lxc-attach: failed to get the init pid
try number 3
return code is 1