soltesz@opentechinstitute.org [Mon, 8 Oct 2012 19:53:26 +0000 (15:53 -0400)]
update .spec to 0.3-38
soltesz@opentechinstitute.org [Mon, 8 Oct 2012 19:52:21 +0000 (15:52 -0400)]
pull new vsh from 0.4-28 to 0.3 branch on behalf of mlab.
Andy Bavier [Wed, 2 May 2012 19:06:36 +0000 (19:06 +0000)]
Setting tag util-vserver-pl-0.3-35
Fix for supporting multiple addresses (IPv4 and IPv6) per slice
Andy Bavier [Wed, 2 May 2012 18:47:04 +0000 (14:47 -0400)]
Fix for multiple interfaces per slice
M-Lab wants an IPv4 and IPv6 address assigned per slice. When more than one interface is added to a slice, the interface/X/ip argument gets filled out correctly but the slice will not start because the 'nodev' option is missing.
Andy Bavier [Tue, 1 May 2012 15:49:40 +0000 (15:49 +0000)]
Setting tag util-vserver-pl-0.3-34
util-vserver-pl-0.3-33 is still broken for IPv6; this one works
Andy Bavier [Tue, 1 May 2012 15:29:43 +0000 (11:29 -0400)]
Merge branch '0.3' of ssh://git.planet-lab.org/git/util-vserver-pl into 0.3
Andy Bavier [Tue, 1 May 2012 15:29:15 +0000 (11:29 -0400)]
Undo last change, commit actual fix for segfault when setting IPv6 address.
root [Sat, 28 Apr 2012 00:38:40 +0000 (00:38 +0000)]
Setting tag util-vserver-pl-0.3-33
Fix for IPv6
Andrew Bavier [Fri, 27 Apr 2012 21:56:31 +0000 (17:56 -0400)]
Fix segfault with assigning IPv6 address
Barış Metin [Tue, 31 Aug 2010 16:40:37 +0000 (18:40 +0200)]
Setting tag util-vserver-pl-0.3-32
try compiling with the newer util-vserver
Barış Metin [Tue, 31 Aug 2010 16:39:11 +0000 (18:39 +0200)]
just try to make older util-vserver-pl compile.
Thierry Parmentelat [Tue, 22 Jun 2010 14:06:30 +0000 (14:06 +0000)]
Setting tag util-vserver-pl-0.3-31
initscripts are ignored - handled by nodemanager and triggered by rc
Thierry Parmentelat [Tue, 22 Jun 2010 09:13:48 +0000 (09:13 +0000)]
merged from 0.4
the initscript is now invoked by rc, which in turn invokes the slice initscript
this requires NodeManager-2.0-10
Barış Metin [Thu, 17 Jun 2010 14:43:18 +0000 (14:43 +0000)]
Setting tag util-vserver-pl-0.3-30
sliver name as the last argument to initscript
Barış Metin [Thu, 17 Jun 2010 14:38:17 +0000 (14:38 +0000)]
add vserver name as the last command argument
Barış Metin [Thu, 13 May 2010 21:04:20 +0000 (21:04 +0000)]
Setting tag util-vserver-pl-0.3-29
chroot_call fix
Barış Metin [Thu, 13 May 2010 21:00:37 +0000 (21:00 +0000)]
fix kwargs
Barış Metin [Wed, 12 May 2010 17:05:11 +0000 (17:05 +0000)]
Setting tag util-vserver-pl-0.3-28
fix vserver start issues
Barış Metin [Wed, 12 May 2010 17:03:24 +0000 (17:03 +0000)]
fix vserver start problems in 0.3 branch
Barış Metin [Mon, 10 May 2010 19:02:53 +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:10:00 +0000 (17:10 +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 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.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:34:06 +0000 (20:34 +0000)]
support turning off all queueing
Marc Fiuczynski [Wed, 5 Nov 2008 22:07:34 +0000 (22:07 +0000)]
added in a 'setup' boolean argument to indicate that set_resources is being called while setting up a vserver
Marc Fiuczynski [Thu, 30 Oct 2008 07:27:41 +0000 (07:27 +0000)]
bump tag level and added changelog
Marc Fiuczynski [Thu, 30 Oct 2008 06:22:33 +0000 (06:22 +0000)]
clean up to produce less warnings
Marc Fiuczynski [Thu, 30 Oct 2008 06:13:37 +0000 (06:13 +0000)]
support reading of negative numbers for rlimit values
Marc Fiuczynski [Wed, 29 Oct 2008 22:56:49 +0000 (22:56 +0000)]
added support for MEMLOCK rlimit
Sapan Bhatia [Tue, 14 Oct 2008 17:11:05 +0000 (17:11 +0000)]
Typos...
Sapan Bhatia [Tue, 14 Oct 2008 17:04:13 +0000 (17:04 +0000)]
if ((mask & space_mask.mask) != mask)
return -EINVAL;
Looks like vc_set_space wants vc_space_mask to be present in the flags.
--
M src/planetlab.c
Sapan Bhatia [Tue, 14 Oct 2008 16:42:17 +0000 (16:42 +0000)]
Look for the config file before the FS gets unshared.
Sapan Bhatia [Fri, 10 Oct 2008 14:58:35 +0000 (14:58 +0000)]
bugfix for VINI
Sapan Bhatia [Mon, 6 Oct 2008 23:19:20 +0000 (23:19 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 23:16:12 +0000 (23:16 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 23:13:51 +0000 (23:13 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 23:12:44 +0000 (23:12 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 22:57:52 +0000 (22:57 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 22:56:07 +0000 (22:56 +0000)]
use util-vserver's style of config, not sapan's funky style.
Sapan Bhatia [Mon, 6 Oct 2008 22:52:42 +0000 (22:52 +0000)]
headers for sys_unshare
Sapan Bhatia [Mon, 6 Oct 2008 22:42:33 +0000 (22:42 +0000)]
Call enter_namespace before ctx_migrate.
Sapan Bhatia [Mon, 6 Oct 2008 22:26:43 +0000 (22:26 +0000)]
set_namespace has alraedy been called onthe default spaces.
Sapan Bhatia [Mon, 6 Oct 2008 22:22:53 +0000 (22:22 +0000)]
call vc_set_namespace after sys_unshare, to poke the new nsproxy into the relevant context in the kernel.
Sapan Bhatia [Mon, 6 Oct 2008 21:38:59 +0000 (21:38 +0000)]
Unshare netns for VINI.
Sapan Bhatia [Mon, 6 Oct 2008 21:38:12 +0000 (21:38 +0000)]
Unshare netns for VINI.
Thierry Parmentelat [Sun, 28 Sep 2008 09:36:46 +0000 (09:36 +0000)]
oops
Thierry Parmentelat [Sun, 28 Sep 2008 09:13:26 +0000 (09:13 +0000)]
full build on centos
Thierry Parmentelat [Tue, 23 Sep 2008 20:58:10 +0000 (20:58 +0000)]
this is needed as well
Thierry Parmentelat [Tue, 23 Sep 2008 19:15:28 +0000 (19:15 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-14
configure/make check the version of libnl and can cope with either 1.1 or 1.0-pre6
as centos does not have any of these, do build vip6-autod on fedora only
Thierry Parmentelat [Tue, 23 Sep 2008 19:09:24 +0000 (19:09 +0000)]
let's keep it simple - our tag tools do not know how to handle this
Thierry Parmentelat [Fri, 19 Sep 2008 15:42:17 +0000 (15:42 +0000)]
tmp hack for assessing centos - package vip6-autod only on fedora as centos has a too old libnl
Daniel Hokka Zakrisson [Fri, 19 Sep 2008 07:58:09 +0000 (07:58 +0000)]
Support both libnl 1.0-pre6 and 1.1.
Disable vip6-autod if the configure script didn't detect a usable libnl.
Remove util-vserver-pl.spec.in, sync the version with configure.ac.
Thierry Parmentelat [Thu, 18 Sep 2008 18:48:13 +0000 (18:48 +0000)]
temporary - do not package vip6-autod for libnl dep - PLEASE DO NOT TAG
Faiyaz Ahmed [Wed, 17 Sep 2008 17:55:32 +0000 (17:55 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-13
Remove current bw limit checks before issuing tc.
Faiyaz Ahmed [Thu, 11 Sep 2008 19:18:34 +0000 (19:18 +0000)]
Remove check for changes in max/min rates before running set().
Daniel Hokka Zakrisson [Fri, 29 Aug 2008 03:17:12 +0000 (03:17 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-12
libnl 1.1 fixups.
Daniel Hokka Zakrisson [Fri, 29 Aug 2008 02:45:44 +0000 (02:45 +0000)]
Use libnl 1.1 API.
Thierry Parmentelat [Thu, 28 Aug 2008 09:21:31 +0000 (09:21 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-11
reads /etc/vservers/<name>/personality and behaves accordingly
nicer formatting for byte rates
Thierry Parmentelat [Wed, 27 Aug 2008 14:30:13 +0000 (14:30 +0000)]
/etc/vservers/<name>/personality
this is a first draft; it is expected that vserver sartup now reads this file and
performs the appropriate personality setting
Goes with NodeManager-1.7-17
Faiyaz Ahmed [Wed, 20 Aug 2008 20:50:26 +0000 (20:50 +0000)]
More convenient output of show.
Daniel Hokka Zakrisson [Sat, 16 Aug 2008 23:15:04 +0000 (23:15 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-10
FUSE support.
Daniel Hokka Zakrisson [Wed, 13 Aug 2008 15:38:57 +0000 (15:38 +0000)]
FUSE patch from Jeremy Stribling.
Daniel Hokka Zakrisson [Tue, 12 Aug 2008 16:51:43 +0000 (16:51 +0000)]
hard == rlim_max
Faiyaz Ahmed [Fri, 1 Aug 2008 18:31:39 +0000 (18:31 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-9
Check running values before issuing set or on. If same, disregard to save on forks.
Faiyaz Ahmed [Fri, 1 Aug 2008 16:04:15 +0000 (16:04 +0000)]
Push bwmin to 1KBps. Also check running values against arguments before calling tc.
Faiyaz Ahmed [Fri, 25 Jul 2008 16:29:42 +0000 (16:29 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-8
exempt_init shouldn't modify iptables rules. Instead, only manipulate ipset. Assume iptables rules are setup properly (now downloaded from nodeconfig/PlanetLabConf for I2 and defaulted to iptables/planetlab-config for all other nodes).
Faiyaz Ahmed [Fri, 25 Jul 2008 16:06:43 +0000 (16:06 +0000)]
Remove iptables rule modification. Assume rule exists (downloaded from conf_files), and check for IPs in I2 hash. Add if absent.
Faiyaz Ahmed [Tue, 22 Jul 2008 17:02:03 +0000 (17:02 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-7
Init exempt flows into "mangle" table.
Faiyaz Ahmed [Tue, 22 Jul 2008 16:59:36 +0000 (16:59 +0000)]
MANGLE and mangle are not the same.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:40:56 +0000 (16:40 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-6
Optimized the case where it's already running.