<div dir="ltr"><div><div><div><div>I'm having an issue during execution of "openstack-ansible setup-hosts.yml" where all containers fail to start with the error message below about /opt/container-setup.sh not existing.  The previous step which is supposed to deploy that file does not seem to produce any errors.  I went onto the compute host and checked the lxc filesystem and /opt is empty.<br><br></div><div><b>openstack-ansible output:</b><br></div><div><br>TASK [lxc_container_create : Drop container network file (interfaces)] *********<br><br>TASK [lxc_container_create : Drop container network file (routes)] *************<br><br>TASK [lxc_container_create : Drop container setup script] **********************<br><br>TASK [lxc_container_create : Run container setup script] ***********************<br>fatal: [infra1_nova_conductor_container-cc6baf0b -> 10.0.4.140]: FAILED! => {"changed": false, "cmd": ["lxc-attach", "--name", "infra1_nova_conductor_container-cc6baf0b", "--logfile", "/var/log/lxc/lxc-infra1_nova_conductor_container-cc6baf0b.log", "--logpriority", "DEBUG", "--", "/opt/container-setup.sh"], "delta": "0:00:00.025387", "end": "2016-11-29 08:52:40.230437", "failed": true, "failed_when_result": true, "rc": 255, "start": "2016-11-29 08:52:40.205050", "stderr": "lxc-attach: attach.c: lxc_attach_run_command: 1300 No such file or directory - failed to exec '/opt/container-setup.sh'", "stdout": "", "stdout_lines": [], "warnings": []}<br></div><br>I went to the infra1 host and checked the log file in /var/log/lxc/ but there's not much in there.<br></div><b>/var/log/lxc/lxc-infra1_nova_conductor_container-cc6baf0b.log output:</b><br>     lxc-attach 20161129085240.209 WARN     lxc_confile - confile.c:config_pivotdir:1879 - lxc.pivotdir is ignored.  It will soon become an error.<br>     lxc-attach 20161129085240.211 WARN     lxc_confile - confile.c:config_pivotdir:1879 - lxc.pivotdir is ignored.  It will soon become an error.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .reject_force_umount  # comment this to allow umount -f;  not recommended.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:567 - Adding native rule for reject_force_umount action 0.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:251 - Setting Seccomp rule to reject force umounts.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:570 - Adding compat rule for reject_force_umount action 0.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:251 - Setting Seccomp rule to reject force umounts.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .[all].<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .kexec_load errno 1.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:567 - Adding native rule for kexec_load action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:570 - Adding compat rule for kexec_load action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .open_by_handle_at errno 1.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:567 - Adding native rule for open_by_handle_at action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:570 - Adding compat rule for open_by_handle_at action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .init_module errno 1.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:567 - Adding native rule for init_module action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:570 - Adding compat rule for init_module action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .finit_module errno 1.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:567 - Adding native rule for finit_module action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:570 - Adding compat rule for finit_module action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:402 - processing: .delete_module errno 1.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:567 - Adding native rule for delete_module action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:570 - Adding compat rule for delete_module action 327681.<br>     lxc-attach 20161129085240.212 INFO     lxc_seccomp - seccomp.c:parse_config_v2:580 - Merging in the compat Seccomp ctx into the main one.<br>     lxc-attach 20161129135240.229 INFO     lxc_attach - attach.c:lsm_set_label_at:158 - Set LSM label to: changeprofile lxc-container-default-cgns.<br>     lxc-attach 20161129135240.229 ERROR    lxc_attach - attach.c:lxc_attach_run_command:1300 - No such file or directory - failed to exec '/opt/container-setup.sh'<br><br></div><div>Let me know if more information is needed.<br></div>Thanks,<br></div>J<br></div>