Stephen Soltesz [Sat, 9 Mar 2013 22:27:48 +0000 (17:27 -0500)]
Setting tag util-vserver-pl-0.4-29
Stephen Soltesz [Sat, 9 Mar 2013 22:16:27 +0000 (17:16 -0500)]
trim capability prefix to allow setting single bit
M-Lab has added a new ccapability to enable/disable web100 statistics
collection per vserver. vserverimpl.text2ccaps() recognizes strings such as
"raw_icmp", "vxc_raw_icmp", and "^28" to set a specific bit in the CCaps bit
field, but it does not recognize "vxc_^28". All bcap and ccap names defined
by util-vserver are recognized with or without the cap_ and vxc_ prefixes.
So, this patch will allow an administrator to enable arbitrary bit fields in
the CCaps or BCaps of a vserver without harming compatibility with existing
capabilities. The admin would add, for example vxc_^28 or cap_^28, to the
'capabililties' slice tag and the prefixes would be stripped before being
passed to text2*caps() as simply "^28".
Andy Bavier [Tue, 28 Aug 2012 20:05:09 +0000 (20:05 +0000)]
Setting tag util-vserver-pl-0.4-28
Bugfix for IPv6, ported from 0.3 branch
Andy Bavier [Tue, 28 Aug 2012 20:00:30 +0000 (16:00 -0400)]
Port fix for IPv6 segfault from 0.3 branch
Thierry Parmentelat [Thu, 19 Jul 2012 21:35:33 +0000 (23:35 +0200)]
Setting tag util-vserver-pl-0.4-27
bwlimit now ships with plnode-utils
Thierry Parmentelat [Wed, 18 Jul 2012 20:57:41 +0000 (22:57 +0200)]
fix remaining import of bwlimit
Thierry Parmentelat [Wed, 18 Jul 2012 12:31:30 +0000 (14:31 +0200)]
removed svn keywords
Thierry Parmentelat [Wed, 18 Jul 2012 12:29:54 +0000 (14:29 +0200)]
remove bwlimit from this module, now in plnode-utils
Thierry Parmentelat [Tue, 7 Jun 2011 08:48:04 +0000 (10:48 +0200)]
Setting tag util-vserver-pl-0.4-26
added support for loopback isolation
Stephen Soltesz [Thu, 12 May 2011 21:46:38 +0000 (17:46 -0400)]
Add isolated_loopback support in vservers at creation-time.
if the slice is not created with this option, it will not be reset @
runtime.
S.Çağlar Onur [Wed, 23 Mar 2011 14:46:50 +0000 (10:46 -0400)]
Setting tag util-vserver-pl-0.4-25
vuserdel doesn't handle new vserver features that we are using like mount namespaces and/or cgroups, so it silently fails most of the time. Remove old code and start to use vserver provided tools
S.Çağlar Onur [Wed, 23 Mar 2011 14:41:53 +0000 (10:41 -0400)]
vuserdel doesn't handle new vserver features that we are using like mount namespaces and/or cgroups, so it silently fails most of the time. Remove old code and start to use vserver provided tools
S.Çağlar Onur [Thu, 10 Mar 2011 20:21:55 +0000 (15:21 -0500)]
Setting tag util-vserver-pl-0.4-24
* associate SSH processes with the appropriate cgroup
* migrate only when neccessary
S.Çağlar Onur [Thu, 10 Mar 2011 20:19:46 +0000 (15:19 -0500)]
migrate only when neccessary
smbaker [Wed, 9 Mar 2011 00:34:23 +0000 (16:34 -0800)]
associate SSH processes with the appropriate cgroup
S.Çağlar Onur [Wed, 2 Mar 2011 21:14:02 +0000 (16:14 -0500)]
Setting tag util-vserver-pl-0.4-23
remove hardcoded nproc.hard limit as it shouldn't be hardcoded
S.Çağlar Onur [Wed, 2 Mar 2011 21:07:49 +0000 (16:07 -0500)]
remove hardcoded nproc.hard limit as it should be setted via GUI, also remove deprecated flags file
Thierry Parmentelat [Wed, 2 Feb 2011 08:31:46 +0000 (09:31 +0100)]
Setting tag util-vserver-pl-0.4-22
pass device to bwlimit
Andy Bavier [Thu, 27 Jan 2011 17:02:39 +0000 (12:02 -0500)]
Fixes for non-eth0 devices
Fix bw limits on nodes that don't use eth0 as the default network device.
Thierry Parmentelat [Wed, 1 Dec 2010 17:11:33 +0000 (18:11 +0100)]
Setting tag util-vserver-pl-0.4-21
force remove nonamespace
S.Çağlar Onur [Wed, 13 Oct 2010 15:20:10 +0000 (11:20 -0400)]
silence 'No such file or directory' warnings
S.Çağlar Onur [Tue, 12 Oct 2010 19:14:59 +0000 (15:14 -0400)]
Setting tag util-vserver-pl-0.4-20
Fix the segfault caused by existing TUN device
S.Çağlar Onur [Tue, 12 Oct 2010 19:09:08 +0000 (15:09 -0400)]
Check ifa->ifa_addr otherwise existing TUN device causes following segfault;
>>> import vserver
>>> q = vserver.VServer("princeton_caglar")
>>> q.set_ipaddresses_config("0.0.0.0")
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -
1220499776 (LWP 831)]
0xb72a8556 in get_mask (addr=0xbfa7761c) at python/vserverimpl.c:404
404 if (ifa->ifa_addr->sa_family == family &&
tun1095-0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
S.Çağlar Onur [Fri, 13 Aug 2010 16:25:51 +0000 (12:25 -0400)]
Setting tag util-vserver-pl-0.4-19
Fix syntax error
S.Çağlar Onur [Fri, 13 Aug 2010 16:21:26 +0000 (12:21 -0400)]
fix syntax error and add some comments
S.Çağlar Onur [Mon, 9 Aug 2010 20:40:06 +0000 (16:40 -0400)]
Setting tag util-vserver-pl-0.4-18
migrate old style interface files to new style
S.Çağlar Onur [Mon, 9 Aug 2010 19:55:51 +0000 (15:55 -0400)]
migrate old style interface files to new style
S.Çağlar Onur [Wed, 28 Jul 2010 21:07:31 +0000 (17:07 -0400)]
Setting tag util-vserver-pl-0.4-17
Some dead code removed from repository
S.Çağlar Onur [Wed, 28 Jul 2010 18:05:04 +0000 (14:05 -0400)]
remove planetlab.* and netns.c as they are no longer used by util-vserver-pl
S.Çağlar Onur [Wed, 21 Jul 2010 03:19:27 +0000 (23:19 -0400)]
remove non-used function
S.Çağlar Onur [Mon, 19 Jul 2010 15:09:55 +0000 (11:09 -0400)]
Setting tag util-vserver-pl-0.4-16
* use system-wide umask
* enable set_ipaddresses_config function
* set more default values
S.Çağlar Onur [Sun, 18 Jul 2010 22:29:24 +0000 (18:29 -0400)]
cosmetic change
S.Çağlar Onur [Fri, 16 Jul 2010 19:37:12 +0000 (15:37 -0400)]
set default values correctly
S.Çağlar Onur [Wed, 14 Jul 2010 21:33:17 +0000 (17:33 -0400)]
create emtpy nodev files to silent 'No device specified for' warnings
S.Çağlar Onur [Wed, 14 Jul 2010 21:05:30 +0000 (17:05 -0400)]
enable set_ipaddresses_config and adapt to new scheme
S.Çağlar Onur [Wed, 14 Jul 2010 17:16:24 +0000 (13:16 -0400)]
use system-wide umask value otherwise all directories under /dev/cgroup and /vservers become world writable
Thierry Parmentelat [Mon, 12 Jul 2010 22:00:23 +0000 (00:00 +0200)]
Setting tag util-vserver-pl-0.4-15
new constant VC_LIM_INFINITY
S.Çağlar Onur [Thu, 8 Jul 2010 19:22:34 +0000 (19:22 +0000)]
and use in module
S.Çağlar Onur [Thu, 8 Jul 2010 19:15:30 +0000 (19:15 +0000)]
export VC_LIM_INFINITY
S.Çağlar Onur [Tue, 6 Jul 2010 19:38:12 +0000 (19:38 +0000)]
Setting tag util-vserver-pl-0.4-14
fix setting cpu_share for slices
S.Çağlar Onur [Tue, 6 Jul 2010 19:37:04 +0000 (19:37 +0000)]
fix setting cpu_share for slices
S.Çağlar Onur [Thu, 24 Jun 2010 20:35:04 +0000 (20:35 +0000)]
Setting tag util-vserver-pl-0.4-13
start to use mount namespaces
S.Çağlar Onur [Thu, 24 Jun 2010 20:33:29 +0000 (20:33 +0000)]
start to use mount namespaces
Thierry Parmentelat [Tue, 22 Jun 2010 14:01:41 +0000 (14:01 +0000)]
Setting tag util-vserver-pl-0.4-12
initscripts are ignored - handled by nodemanager and triggered by rc
Thierry Parmentelat [Mon, 21 Jun 2010 14:52:27 +0000 (14:52 +0000)]
simpler yet, no need to trigger rc at all now that we use vserver .. start
Thierry Parmentelat [Mon, 21 Jun 2010 13:58:56 +0000 (13:58 +0000)]
does not need to trigger the initscript, nodemanager now handles that
Thierry Parmentelat [Fri, 18 Jun 2010 15:48:45 +0000 (15:48 +0000)]
redirect the output of the initscripts (rc & rc.vinit) + try to detach
Barış Metin [Thu, 17 Jun 2010 14:45:01 +0000 (14:45 +0000)]
Setting tag util-vserver-pl-0.4-11
sliver name as the last argument to initscript
Barış Metin [Thu, 17 Jun 2010 14:39:38 +0000 (14:39 +0000)]
add vserver name as the last command argument
S.Çağlar Onur [Tue, 1 Jun 2010 20:25:43 +0000 (20:25 +0000)]
Setting tag util-vserver-pl-0.4-10
remove tmpfs mounted /tmp
Thierry Parmentelat [Tue, 1 Jun 2010 07:42:57 +0000 (07:42 +0000)]
make python quiet on f12, import of sets is not needed anyway
S.Çağlar Onur [Fri, 28 May 2010 20:22:00 +0000 (20:22 +0000)]
remove 16M /tmp
S.Çağlar Onur [Fri, 14 May 2010 18:26:25 +0000 (18:26 +0000)]
Setting tag util-vserver-pl-0.4-9
change flags without restarting the vservers
S.Çağlar Onur [Fri, 14 May 2010 18:24:27 +0000 (18:24 +0000)]
change flags without restarting the vservers
S.Çağlar Onur [Thu, 13 May 2010 21:46:11 +0000 (21:46 +0000)]
Setting tag util-vserver-pl-0.4-8
Migrate old style vservers to new style
S.Çağlar Onur [Thu, 13 May 2010 21:44:45 +0000 (21:44 +0000)]
Migrate old style vservers to new style
Barış Metin [Thu, 13 May 2010 21:03:41 +0000 (21:03 +0000)]
Setting tag util-vserver-pl-0.4-7
chroot_call fix
Barış Metin [Thu, 13 May 2010 20:59:32 +0000 (20:59 +0000)]
fix kwargs
Barış Metin [Wed, 12 May 2010 17:06:09 +0000 (17:06 +0000)]
Setting tag util-vserver-pl-0.4-6
fix initscript issues
Barış Metin [Wed, 12 May 2010 16:59:35 +0000 (16:59 +0000)]
run INITSCRIPTS in vservers
S.Çağlar Onur [Mon, 10 May 2010 20:27:51 +0000 (20:27 +0000)]
Setting tag util-vserver-pl-0.4-5
S.Çağlar Onur [Mon, 10 May 2010 20:25:53 +0000 (20:25 +0000)]
remove debug code
Sapan Bhatia [Mon, 10 May 2010 20:23:45 +0000 (20:23 +0000)]
This patch puts users in their home directories when they log into a slice.
Barış Metin [Mon, 10 May 2010 19:28:56 +0000 (19:28 +0000)]
Setting tag util-vserver-pl-0.4-4
merged trellis branch to trunk
Barış Metin [Mon, 10 May 2010 19:27:10 +0000 (19:27 +0000)]
fix tag and let module-tag bump it
Barış Metin [Mon, 10 May 2010 19:24:34 +0000 (19:24 +0000)]
merge trellis branch to trunk.
2.6.22 kernels shall use 0.3 branch and 2.6.27 needs 0.4 (trunk).
Barış Metin [Mon, 10 May 2010 19:12:12 +0000 (19:12 +0000)]
manually changing tag in trunk, trellis branch is already 0.4-3
Barış Metin [Mon, 10 May 2010 19:02:57 +0000 (19:02 +0000)]
Branch 0.4 for module util-vserver-pl created (as new trunk) from tag util-vserver-pl-0.3-27
Marc Fiuczynski [Wed, 24 Feb 2010 17:09:58 +0000 (17:09 +0000)]
Setting tag util-vserver-pl-0.3-27
Need to print the exception string as part of the self.log, or else we
get a wrong number of argument error.
Marc Fiuczynski [Wed, 24 Feb 2010 16:53:39 +0000 (16:53 +0000)]
include the exception string in the self.log
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 16:30:25 +0000 (16:30 +0000)]
Setting tag util-vserver-pl-0.3-26
This is outputted for some reason.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 16:28:00 +0000 (16:28 +0000)]
Sigh.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 04:07:29 +0000 (04:07 +0000)]
Setting tag util-vserver-pl-0.3-25
Don't set bwlimits if they're disabled.
Don't cleanup /var of running slivers.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 03:20:33 +0000 (03:20 +0000)]
Don't clean stuff up if it's already running.
Daniel Hokka Zakrisson [Tue, 23 Feb 2010 22:36:14 +0000 (22:36 +0000)]
If no limits are currently set, do nothing.
Marc Fiuczynski [Tue, 23 Feb 2010 05:30:19 +0000 (05:30 +0000)]
Setting tag util-vserver-pl-0.3-24
- openfd -> nofile
Marc Fiuczynski [Tue, 23 Feb 2010 04:57:22 +0000 (04:57 +0000)]
openfd -> nofile
Barış Metin [Tue, 16 Feb 2010 15:59:09 +0000 (15:59 +0000)]
Setting tag util-vserver-pl-0.3-23
call bwlimit init in postinstall.
Barış Metin [Tue, 16 Feb 2010 15:54:45 +0000 (15:54 +0000)]
call bwlimit.init() in postinstall to update classes...
S.Çağlar Onur [Fri, 29 Jan 2010 18:18:12 +0000 (18:18 +0000)]
Setting tag util-vserver-pl-0.3-22
move the HTB tree one level down for DRL
S.Çağlar Onur [Thu, 28 Jan 2010 22:31:38 +0000 (22:31 +0000)]
move the tree one level down for DRL
Thierry Parmentelat [Mon, 25 Jan 2010 14:48:24 +0000 (14:48 +0000)]
Setting tag util-vserver-pl-0.3-21
logging policy only; use /var/log/nm instead of boot.log, and give more details with (un)setdlimit
Thierry Parmentelat [Fri, 22 Jan 2010 11:33:27 +0000 (11:33 +0000)]
fix comment
Thierry Parmentelat [Fri, 22 Jan 2010 11:29:57 +0000 (11:29 +0000)]
in slices: use /var/log/nm instead of /var/log/boot.log
Thierry Parmentelat [Thu, 21 Jan 2010 17:16:55 +0000 (17:16 +0000)]
Thierry Parmentelat [Thu, 21 Jan 2010 15:14:02 +0000 (15:14 +0000)]
log more stuff
Daniel Hokka Zakrisson [Thu, 19 Nov 2009 03:28:49 +0000 (03:28 +0000)]
Setting tag util-vserver-pl-0.3-20
Log the error as well.
Daniel Hokka Zakrisson [Thu, 12 Nov 2009 21:18:31 +0000 (21:18 +0000)]
Log error as well.
Daniel Hokka Zakrisson [Wed, 28 Oct 2009 01:44:34 +0000 (01:44 +0000)]
Setting tag util-vserver-pl-0.3-19
Set ulimits for NM too.
Daniel Hokka Zakrisson [Wed, 28 Oct 2009 01:33:54 +0000 (01:33 +0000)]
Fix typo.
Daniel Hokka Zakrisson [Mon, 26 Oct 2009 05:40:02 +0000 (05:40 +0000)]
infinity is greater than anything.
Daniel Hokka Zakrisson [Sat, 24 Oct 2009 21:59:43 +0000 (21:59 +0000)]
Only handle the values that translate.
Daniel Hokka Zakrisson [Sat, 24 Oct 2009 21:38:07 +0000 (21:38 +0000)]
Optimize the 0.0.0.0 case, and get it working on 2.3 kernels.
Barış Metin [Tue, 20 Oct 2009 12:53:58 +0000 (12:53 +0000)]
bwlimit.set() now accepts the device and don't assume that it's eth0
Setting tag util-vserver-pl-0.3-18
--This line, and those below, will be ignored--
Please write a changelog for this new tag in the section above
DIFF=========
Index: python/bwlimit.py
===================================================================
--- python/bwlimit.py (.../tags/util-vserver-pl-0.3-17) (révision 15382)
+++ python/bwlimit.py (.../trunk) (révision 15382)
@@ -573,8 +573,8 @@
(dev, exempt_minor | xid, exempt_minor | xid))
-def set(xid, share = None, minrate = None, maxrate = None, minexemptrate = None, maxexemptrate = None):
- on(xid = xid, share = share,
+def set(xid, share = None, minrate = None, maxrate = None, minexemptrate = None, maxexemptrate = None, dev = dev ):
+ on(xid = xid, dev = dev, share = share,
minrate = minrate, maxrate = maxrate,
minexemptrate = minexemptrate, maxexemptrate = maxexemptrate)
Barış Metin [Wed, 14 Oct 2009 08:46:32 +0000 (08:46 +0000)]
in bwlimit.set() do not use the global 'dev' but get and pass it to bwlimit.on()
Faiyaz Ahmed [Tue, 4 Aug 2009 16:16:03 +0000 (16:16 +0000)]
Setting tag util-vserver-pl-0.3-17
Fix runlevel clean up after reboot.
Fix runlevel setup to reflect proper runlevel.
Faiyaz Ahmed [Tue, 4 Aug 2009 16:12:33 +0000 (16:12 +0000)]
setting runlevels was set to the wrong path. FIXED
Faiyaz Ahmed [Tue, 28 Jul 2009 21:30:17 +0000 (21:30 +0000)]
Var is never cleaned IN the context. Fixed. THis still does not fix RH initscripts.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:50:34 +0000 (20:50 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-16
supports disabling htbs.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:45:52 +0000 (20:45 +0000)]
dirty...dirty..dirty hack to get rid of r2q.