Re: [Lxc-users] Regarding connecting containers to vlan
Thanks Fajar. Atlast I got the vlan thingy working I added 2 vlans to eth0 (eth0.211 and eth0.103) and connected them to bridge br0 and used br0 as a link to container(veth) To reach the host I used another interface eth1(probably assigning ip to bridge br0 would have solved that problem) i should give openvswitch a try. Thanks for the link On Wed, Oct 31, 2012 at 9:39 AM, Fajar A. Nugraha l...@fajar.net wrote: On Wed, Oct 31, 2012 at 12:39 AM, brian mullan bmullan.m...@gmail.com wrote: Kalyana Fajar I know this answer isn't about VLAN specifically but it might interest you. I'd stumbled upon it a few weeks ago and the title was Connecting containers on several hosts with Open vSwitch http://s3hh.wordpress.com/2012/05/28/connecting-containers-on-several-hosts-with-open-vswitch/ There was also a newer post regarding Open vSwitch and LXC: http://s3hh.wordpress.com/ Last time I tested, openvswicth is more powerful, but kinda complicated for new users who are used to linux bridge. Anyway, back to Kalyana's requirement, you can either: - bridge the trunk (eth0) to the container, and create vlan on the interface in container side (i.e. create eth0.100 in the container) - bridge the vlan interface (eth0.100) to the container, and use the interface on container side (eth0) directly as regular interface -- Fajar -- Kalyanasundaram http://blogs.eskratch.com/ -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] [lxc-devel] [GIT] lxc branch, master, updated. 7f99e339363d9f005c9386f60a1d8c0953c85053
Thanks to everyone for fixing this. I am about to release the 0.8.0 version. I will wait a couple of days before adding a tag and release it in case there are some fixes to add. Please test. Thanks ! -- Daniel On 10/31/2012 04:45 PM, Daniel Lezcano wrote: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project lxc. The branch, master has been updated via 7f99e339363d9f005c9386f60a1d8c0953c85053 (commit) via 773fb9cad76f43540fddb78c7ffef7237a51a06d (commit) via 8215fe8e4186ebe8cb79fe4b773f5bcffcdc723b (commit) via 192df6e2eb8ebb1a337c7ba025c57852d38e0d26 (commit) via c215bff6dfc298bdd6150e11b8c0f76c9d013a0a (commit) via 0b53175846e704fc4dd4cf8b4590a86db63e50e6 (commit) via a1bd64823cd5e5afc53ba24940a51151e34b8103 (commit) via bf7d76cf3ae180820c0a29e0bfbaa97c20ce6a3d (commit) via d4eb4ab1290def213396611f5946ef3b7f0d83ef (commit) via 5ae26abb52046b6f21afa06bcbac221c3cf8f1c0 (commit) via 06a1e1db99844b95e21c3b67964974f9032720ea (commit) via 3b9bad3d638ea442bfe6ba7e677cd5c6d39c0916 (commit) via c12e775237976bc0c1cf8afdc7aa766de46d3d40 (commit) via c6ed4d048deea85ed3bec67c7a04fb6c97009321 (commit) via 3f16e26c7063f5004cafe4cfd6d084b7e4d08d1f (commit) via 91a5df88ad29bcbc485baa51eacf0b851c6f4834 (commit) via 1bd051a6b0a34cb2b2e80584b9fb4643abf1a827 (commit) via 5d38621d0bb9b398393806b875d612a05e76c06e (commit) via 8aba484aeaccda2881300ff80e9d7dfaaa842b40 (commit) via 5d01f6167c2354637e777650558be6d7d69e2579 (commit) via 6bc424b5c7c8130ffdb6390eae53b32370a755f8 (commit) via d595c68add4ef33cf273c455238b018729de00a5 (commit) via b9cb4325d74fb01dc4e71adc211e7e7052471778 (commit) via b4578c5b380130a41a69b5b49c970157acaf1dbb (commit) via b97b78abdac34fabcbbf64ba49ec8c78939124b4 (commit) via 87af3ecd48587775970c0ca731d50183bd24017e (commit) via 435d40f7e3dc5b99a5fcbc459f79ba6b04238502 (commit) via 6bf8daf9a2aa0d226bfd5b60c4b1580d17105320 (commit) via 70542ef9a1d09ce87c7d40ac5ea1706860edec74 (commit) via 55116c42e767ce795f796fc51cd2ef7d76cf18af (commit) via b942e67226af9e690bd63ac440b99aedb6becbb3 (commit) via fbef4590b7b7186890a7d0cb8be0af2780a2df5f (commit) via d0a36f2c8b2f41399ae709280cd8b4a2f3bb0165 (commit) via cb26f1a5eee13afe1a561ebf57245cb8629797b9 (commit) via 337e14712e2bf568db73dd57c709b3364e26d798 (commit) via 9ac3ffb51777ee48ffbd42ff3625f63dfe948837 (commit) via 10f73bfa4aece7707f48379b82e5858d1909d98f (commit) via e7f40d8aaba2c17b8ccb323b5df20a423ef5d0a0 (commit) via f02ce27d4b1a9d01b88d0ffaf626e5bafa671bf0 (commit) via 33f3de4eaaa4e2084ea6e3695e29da5b736f1095 (commit) via e470cba076535e4e9732173e0e314e473165478c (commit) via 542939c31bb73bab55f2fd71243b98f5559597d1 (commit) via b4df0a1eda252bb7efbd4d7453e9e8a57143c528 (commit) via 06f5c6328b73aad7b138096295357d803db26efa (commit) via f1ccde27c038e7fb7e538913505248b36ddd9e65 (commit) via 4a311c1241805dac5893918854fd40f77b2b6f49 (commit) via 4d5fb23ad827eda17b64676f527c3f168cd56ebd (commit) via 8b892c55b077d1716eb130e76f9c9725ecb0f73a (commit) from 60a742e0afd34e02299f64536df35116d68d888d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 7f99e339363d9f005c9386f60a1d8c0953c85053 Merge: 60a742e 773fb9c Author: Daniel Lezcano daniel.lezc...@free.fr Date: Wed Oct 31 16:39:50 2012 +0100 Merge branch 'upstream-bugfix' of https://github.com/lxc/lxc * 'upstream-bugfix' of https://github.com/lxc/lxc: (47 commits) replace HOOK define with proper code. Remove lxc-start-ephemeral from configure.ac revert devtmpfs in ubuntu templates lxc-ubuntu{-cloud}: Fix missing fi in new devtmpfs code fix make rpm display warning when yum missing in fedora template templates: mount devtmpfs in ubuntu containers handle clone of btrfs snapshots if the rootfs is a btrfs subvolume, delete it instead of rm -rf lxc-debian: replace isc-dhcp-server by isc-dhcp-client lxc-ls: Scan cgroup mount points from fstype and not device Allow short -h and -n options to lxc-ps lxc-ubuntu: fix printing of default user lxc-debian: specify isc-dhcp-server in package list try to better handle out of date container caches. link /dev/kmsg to /dev/console in the container lxc-clone: fix the '--name' parameter lxc-ls: Use
Re: [Lxc-users] [lxc-devel] [GIT] lxc branch, master, updated. 7f99e339363d9f005c9386f60a1d8c0953c85053
Wow... Pulling for testing. I see some stuff related to devtmpfs that relates to the systemd / Fedora 17 issues Serge and I have been working on for the last couple of weeks. I'm going to test these out. It's been an intense couple of weeks getting THAT to work. Even without some of the addition tweeks that have been discussed, this is a big step forward. I'm looking forward to 0.80. Regards, Mike On Wed, 2012-10-31 at 17:22 +0100, Daniel Lezcano wrote: Thanks to everyone for fixing this. I am about to release the 0.8.0 version. I will wait a couple of days before adding a tag and release it in case there are some fixes to add. Please test. Thanks ! -- Daniel On 10/31/2012 04:45 PM, Daniel Lezcano wrote: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project lxc. The branch, master has been updated via 7f99e339363d9f005c9386f60a1d8c0953c85053 (commit) via 773fb9cad76f43540fddb78c7ffef7237a51a06d (commit) via 8215fe8e4186ebe8cb79fe4b773f5bcffcdc723b (commit) via 192df6e2eb8ebb1a337c7ba025c57852d38e0d26 (commit) via c215bff6dfc298bdd6150e11b8c0f76c9d013a0a (commit) via 0b53175846e704fc4dd4cf8b4590a86db63e50e6 (commit) via a1bd64823cd5e5afc53ba24940a51151e34b8103 (commit) via bf7d76cf3ae180820c0a29e0bfbaa97c20ce6a3d (commit) via d4eb4ab1290def213396611f5946ef3b7f0d83ef (commit) via 5ae26abb52046b6f21afa06bcbac221c3cf8f1c0 (commit) via 06a1e1db99844b95e21c3b67964974f9032720ea (commit) via 3b9bad3d638ea442bfe6ba7e677cd5c6d39c0916 (commit) via c12e775237976bc0c1cf8afdc7aa766de46d3d40 (commit) via c6ed4d048deea85ed3bec67c7a04fb6c97009321 (commit) via 3f16e26c7063f5004cafe4cfd6d084b7e4d08d1f (commit) via 91a5df88ad29bcbc485baa51eacf0b851c6f4834 (commit) via 1bd051a6b0a34cb2b2e80584b9fb4643abf1a827 (commit) via 5d38621d0bb9b398393806b875d612a05e76c06e (commit) via 8aba484aeaccda2881300ff80e9d7dfaaa842b40 (commit) via 5d01f6167c2354637e777650558be6d7d69e2579 (commit) via 6bc424b5c7c8130ffdb6390eae53b32370a755f8 (commit) via d595c68add4ef33cf273c455238b018729de00a5 (commit) via b9cb4325d74fb01dc4e71adc211e7e7052471778 (commit) via b4578c5b380130a41a69b5b49c970157acaf1dbb (commit) via b97b78abdac34fabcbbf64ba49ec8c78939124b4 (commit) via 87af3ecd48587775970c0ca731d50183bd24017e (commit) via 435d40f7e3dc5b99a5fcbc459f79ba6b04238502 (commit) via 6bf8daf9a2aa0d226bfd5b60c4b1580d17105320 (commit) via 70542ef9a1d09ce87c7d40ac5ea1706860edec74 (commit) via 55116c42e767ce795f796fc51cd2ef7d76cf18af (commit) via b942e67226af9e690bd63ac440b99aedb6becbb3 (commit) via fbef4590b7b7186890a7d0cb8be0af2780a2df5f (commit) via d0a36f2c8b2f41399ae709280cd8b4a2f3bb0165 (commit) via cb26f1a5eee13afe1a561ebf57245cb8629797b9 (commit) via 337e14712e2bf568db73dd57c709b3364e26d798 (commit) via 9ac3ffb51777ee48ffbd42ff3625f63dfe948837 (commit) via 10f73bfa4aece7707f48379b82e5858d1909d98f (commit) via e7f40d8aaba2c17b8ccb323b5df20a423ef5d0a0 (commit) via f02ce27d4b1a9d01b88d0ffaf626e5bafa671bf0 (commit) via 33f3de4eaaa4e2084ea6e3695e29da5b736f1095 (commit) via e470cba076535e4e9732173e0e314e473165478c (commit) via 542939c31bb73bab55f2fd71243b98f5559597d1 (commit) via b4df0a1eda252bb7efbd4d7453e9e8a57143c528 (commit) via 06f5c6328b73aad7b138096295357d803db26efa (commit) via f1ccde27c038e7fb7e538913505248b36ddd9e65 (commit) via 4a311c1241805dac5893918854fd40f77b2b6f49 (commit) via 4d5fb23ad827eda17b64676f527c3f168cd56ebd (commit) via 8b892c55b077d1716eb130e76f9c9725ecb0f73a (commit) from 60a742e0afd34e02299f64536df35116d68d888d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 7f99e339363d9f005c9386f60a1d8c0953c85053 Merge: 60a742e 773fb9c Author: Daniel Lezcano daniel.lezc...@free.fr Date: Wed Oct 31 16:39:50 2012 +0100 Merge branch 'upstream-bugfix' of https://github.com/lxc/lxc * 'upstream-bugfix' of https://github.com/lxc/lxc: (47 commits) replace HOOK define with proper code. Remove lxc-start-ephemeral from configure.ac revert devtmpfs in ubuntu templates lxc-ubuntu{-cloud}: Fix missing fi in new devtmpfs code fix make rpm display warning when yum missing in fedora template templates: mount devtmpfs in ubuntu containers handle clone
Re: [Lxc-users] [lxc-devel] [systemd-devel] Unable to run systemd in an LXC / cgroup container.
Can you tell me the exact git tree and branch you are using? The results you're getting don't make sense to me... Hoping I can find a simple answer. -serge -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] [lxc-devel] [systemd-devel] Unable to run systemd in an LXC / cgroup container.
On Wed, 2012-10-31 at 18:15 +0100, Serge Hallyn wrote: Can you tell me the exact git tree and branch you are using? I'm using head. I'm not specifying a tree. The results you're getting don't make sense to me... Hoping I can find a simple answer. Me too. -serge Regards, Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF| possible worlds. A pessimist is sure of it! signature.asc Description: This is a digitally signed message part -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] [lxc-devel] [systemd-devel] Unable to run systemd in an LXC / cgroup container.
On Wed, 2012-10-31 at 18:30 +0100, Serge Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): On Wed, 2012-10-31 at 18:15 +0100, Serge Hallyn wrote: Can you tell me the exact git tree and branch you are using? I'm using head. I'm not specifying a tree. ? I'm not sure what you mean - are you using git://github.com/lxc/lxc, or the tree on lxc.sf.net? IOW, I'm not using a branch in the tree. I'm using the main trunk. Created my tree with - git clone git://github.com/lxc/lxc So the former, not the later. The results you're getting don't make sense to me... Hoping I can find a simple answer. Me too. -serge Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF| possible worlds. A pessimist is sure of it! signature.asc Description: This is a digitally signed message part -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] [lxc-devel] [systemd-devel] Unable to run systemd in an LXC / cgroup container.
Quoting Michael H. Warfield (m...@wittsend.com): On Mon, 2012-10-29 at 10:18 +0100, Serge Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): ... Yeah, I don't think I need to play a game like this anymore. I'd have to go back through some old old E-Mails to see why I did that before. I seem to recall we were playing with all sorts of bind mount options for some PRIVATE thing or another. It may not be necessary at all any longer. IAC, it's minor to switch it back. I seem to recall switching back and forth using bind mounts several times back when that got done that way. I may play with the pre-mount hook just for giggles and see how that might work as well. Any idea why I was experiencing the problem with the mount hook when trying to populate /dev? I know it wouldn't have The only idea I have is that perhaps your root is MS_SHARED by default? Can you post the script you were using and the container config? Another point on the curve... The documentation says that pre-mount takes place before the mount occurs and mount takes place after the mount occurs. Only problem is that pre-mount is not being recognized. I have serge@serge-ThinkPad-X130e:~$ cat /var/lib/lxc/premount #!/bin/bash echo 'hi there' /tmp/hw serge@serge-ThinkPad-X130e:~$ head -2 /var/lib/lxc/q4/config lxc.hook.pre-mount = /var/lib/lxc/premount lxc.network.type=veth serge@serge-ThinkPad-X130e:~$ sudo lxc-start -n q4 -d serge@serge-ThinkPad-X130e:~$ cat /tmp/hw hi there (This is using lxc 0.8.0~rc1-4ubuntu39 in ubuntu quantal) -serge -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Regarding connecting containers to vlan
On Wed, Oct 31, 2012 at 9:24 PM, Kalyana sundaram kalyan...@gmail.comwrote: My bad, I bridged eth0.211 and eth0.103 with br0. Could I know the problems it would cause? At the very least, you effectively merge vlan 211 and 103. No point in using vlans any more. Worst case scenario, depending on your exact config, the switch might detect a loop and block some ports. -- Fajar -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users