diff options
| author | mithrandi@311efa1b2b5c4999c2edae7da06fb825899e8a82 <mithrandi@web> | 2016-10-01 19:50:48 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2016-10-01 19:50:48 +0000 |
| commit | 96b551f2ffc72be23c0510e52a0b6896a5fd9bd0 (patch) | |
| tree | 3fc4ee8e8f5a9c30ad3d2709e4db82ea44f2fe8c /doc | |
| parent | b9f87f0c08d94c5d43224a2c6bbacb332ebfc1b6 (diff) | |
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/Systemd_nspawn_container_failure.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/Systemd_nspawn_container_failure.mdwn b/doc/forum/Systemd_nspawn_container_failure.mdwn new file mode 100644 index 00000000..546f59ae --- /dev/null +++ b/doc/forum/Systemd_nspawn_container_failure.mdwn @@ -0,0 +1,12 @@ +I'm trying to spin up a new host to replace an old one, and I'm getting these weird failures on some `Systemd.nspawned` properties: + +``` +mount: mount point /var/lib/container/nginx-primary/proc does not exist +** warning: user error (chroot ["/var/lib/container/nginx-primary","/usr/local/propellor/chroot/_var_lib_container_nginx-primary.shim/propellor","--continue","ChrootChain \"onyx.fusionapp.com\" \"/var/lib/container/nginx-primary\" True True"] exited 127) +onyx.fusionapp.com nspawned nginx-primary ... failed +chroot: failed to run command â/usr/local/propellor/chroot/_var_lib_container_nginx-primary.shim/propellorâ: No such file or directory +onyx.fusionapp.com nspawned apache-svn ... failed +onyx.fusionapp.com nspawned mail-relay ... failed +``` + +There's some weird race condition since sometimes the message about `.../proc does not exist` shows up, and sometimes I get "failed" with no other error output. On further investigation, it turns out that `debootstrap` is not installed on the remote system. Inserting an `Apt.installed ["debootstrap"]` before the `nspawned` properties seems to have fixed it; but looking at the code, I don't fully understand why it isn't being installed by `Debootstrap.built`. |
