Created
January 7, 2014 19:00
-
-
Save slyness/8304699 to your computer and use it in GitHub Desktop.
Base container generated by vagabond inside a ubuntu 12.10 vm running in virtualbox hosted on OSX.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| greenlantern :: Planet/ninefold/ninefold-test ‹master*› » sudo lxc-start -n ubuntu_1204 | |
| init: Unable to mount /dev/pts filesystem: Permission denied | |
| <3>init: Failed to create pty - disabling logging for job | |
| <4>init: Temporary process spawn error: No such file or directory | |
| <3>init: Failed to create pty - disabling logging for job | |
| <4>init: Temporary process spawn error: No such file or directory | |
| <3>init: Failed to create pty - disabling logging for job | |
| <4>init: Temporary process spawn error: No such file or directory | |
| . | |
| . | |
| .more and more of this | |
| . | |
| . | |
| <4>init: setvtrgb main process (305) terminated with status 1 | |
| <4>init: tty4 main process (301) terminated with status 1 | |
| <4>init: tty4 main process ended, respawning | |
| <4>init: tty2 main process (302) terminated with status 1 | |
| <4>init: tty2 main process ended, respawning | |
| <4>init: tty3 main process (303) terminated with status 1 | |
| <4>init: tty3 main process ended, respawning | |
| <4>init: tty1 main process (304) terminated with status 1 | |
| <4>init: tty1 main process ended, respawning | |
| <4>init: setvtrgb main process (310) terminated with status 1 | |
| Config for Container: | |
| lxc.utsname = ubuntu_1204 | |
| lxc.network.type = veth | |
| lxc.network.link = lxcbr0 | |
| lxc.network.hwaddr = 00:16:3e:0e:b2:99 | |
| lxc.network.flags = up | |
| lxc.mount = /var/lib/lxc/ubuntu_1204/fstab | |
| lxc.rootfs = /var/lib/lxc/ubuntu_1204/rootfs | |
| lxc.cgroup.devices.deny = a | |
| lxc.cgroup.devices.allow = c *:* m | |
| lxc.cgroup.devices.allow = b *:* m | |
| lxc.cgroup.devices.allow = c 1:3 rwm | |
| lxc.cgroup.devices.allow = c 1:5 rwm | |
| lxc.cgroup.devices.allow = c 5:1 rwm | |
| lxc.cgroup.devices.allow = c 5:0 rwm | |
| lxc.cgroup.devices.allow = c 1:9 rwm | |
| lxc.cgroup.devices.allow = c 1:8 rwm | |
| lxc.cgroup.devices.allow = c 136:* rwm | |
| lxc.cgroup.devices.allow = c 5:2 rwm | |
| lxc.cgroup.devices.allow = c 254:0 rwm | |
| lxc.cgroup.devices.allow = c 10:229 rwm | |
| lxc.cgroup.devices.allow = c 10:200 rwm | |
| lxc.cgroup.devices.allow = c 1:7 rwm | |
| lxc.cgroup.devices.allow = c 10:228 rwm | |
| lxc.cgroup.devices.allow = c 10:232 rwm |
Author
Author
Same sort of issue on another host just using the latest lxc cookbook: building clones works and starting clones works just fine.. bootstraps them with chef and everything.. however the end result produces this when trying to connect to them.
lucille% sudo lxc-console -n worker1
lxc-console: console denied by 'worker1'
however, since I bootstrapped the node and it has some configuration in place.. if I manually lxc-start -n container in this environment I can log onto the system and get a shell... this is starting the container without detaching..
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
End result for trying to connect to containers after they're provisioned:
bev ssh apt_mirror
Vagabond: SSH connect to: apt_mirror
PTY allocation request failed on channel 0
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.5.0-44-generic x86_64)
stdin: is not a tty