util-vserver-pl.git
11 years agoSetting tag util-vserver-pl-0.3-34 util-vserver-pl-0.3-34
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

11 years agoMerge branch '0.3' of ssh://git.planet-lab.org/git/util-vserver-pl into 0.3
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

11 years agoUndo last change, commit actual fix for segfault when setting IPv6 address.
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.

12 years agoSetting tag util-vserver-pl-0.3-33 util-vserver-pl-0.3-33
root [Sat, 28 Apr 2012 00:38:40 +0000 (00:38 +0000)]
Setting tag util-vserver-pl-0.3-33
Fix for IPv6

12 years agoFix segfault with assigning IPv6 address
Andrew Bavier [Fri, 27 Apr 2012 21:56:31 +0000 (17:56 -0400)]
Fix segfault with assigning IPv6 address

13 years agoSetting tag util-vserver-pl-0.3-32 util-vserver-pl-0.3-32
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

13 years agojust try to make older util-vserver-pl compile.
Barış Metin [Tue, 31 Aug 2010 16:39:11 +0000 (18:39 +0200)]
just try to make older util-vserver-pl compile.

13 years agoSetting tag util-vserver-pl-0.3-31 0.3
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

13 years agomerged from 0.4
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

13 years agoSetting tag util-vserver-pl-0.3-30
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

13 years agoadd vserver name as the last command argument
Barış Metin [Thu, 17 Jun 2010 14:38:17 +0000 (14:38 +0000)]
add vserver name as the last command argument

13 years agoSetting tag util-vserver-pl-0.3-29
Barış Metin [Thu, 13 May 2010 21:04:20 +0000 (21:04 +0000)]
Setting tag util-vserver-pl-0.3-29
chroot_call fix

13 years agofix kwargs
Barış Metin [Thu, 13 May 2010 21:00:37 +0000 (21:00 +0000)]
fix kwargs

13 years agoSetting tag util-vserver-pl-0.3-28
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

13 years agofix vserver start problems in 0.3 branch
Barış Metin [Wed, 12 May 2010 17:03:24 +0000 (17:03 +0000)]
fix vserver start problems in 0.3 branch

13 years agoBranch 0.4 for module util-vserver-pl created (as new trunk) from tag util-vserver...
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

14 years agoSetting tag util-vserver-pl-0.3-27 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.

14 years agoSetting 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.

14 years agoinclude the exception string in the self.log
Marc Fiuczynski [Wed, 24 Feb 2010 16:53:39 +0000 (16:53 +0000)]
include the exception string in the self.log

14 years agoSetting tag util-vserver-pl-0.3-26
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.

14 years agoSigh.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 16:28:00 +0000 (16:28 +0000)]
Sigh.

14 years agoSetting tag util-vserver-pl-0.3-25
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.

14 years agoDon't clean stuff up if it's already running.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 03:20:33 +0000 (03:20 +0000)]
Don't clean stuff up if it's already running.

14 years agoIf no limits are currently set, do nothing.
Daniel Hokka Zakrisson [Tue, 23 Feb 2010 22:36:14 +0000 (22:36 +0000)]
If no limits are currently set, do nothing.

14 years agoSetting tag util-vserver-pl-0.3-24
Marc Fiuczynski [Tue, 23 Feb 2010 05:30:19 +0000 (05:30 +0000)]
Setting tag util-vserver-pl-0.3-24
- openfd -> nofile

14 years agoopenfd -> nofile
Marc Fiuczynski [Tue, 23 Feb 2010 04:57:22 +0000 (04:57 +0000)]
openfd -> nofile

14 years agoSetting tag util-vserver-pl-0.3-23
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.

14 years agocall bwlimit.init() in postinstall to update classes...
Barış Metin [Tue, 16 Feb 2010 15:54:45 +0000 (15:54 +0000)]
call bwlimit.init() in postinstall to update classes...

14 years agoSetting tag util-vserver-pl-0.3-22
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

14 years agomove the 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

14 years agoSetting tag util-vserver-pl-0.3-21
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

14 years agofix comment
Thierry Parmentelat [Fri, 22 Jan 2010 11:33:27 +0000 (11:33 +0000)]
fix comment

14 years agoin slices: use /var/log/nm instead of /var/log/boot.log
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

14 years ago(no commit message)
Thierry Parmentelat [Thu, 21 Jan 2010 17:16:55 +0000 (17:16 +0000)]

14 years agolog more stuff
Thierry Parmentelat [Thu, 21 Jan 2010 15:14:02 +0000 (15:14 +0000)]
log more stuff

14 years agoSetting tag util-vserver-pl-0.3-20
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.

14 years agoLog error as well.
Daniel Hokka Zakrisson [Thu, 12 Nov 2009 21:18:31 +0000 (21:18 +0000)]
Log error as well.

14 years agoSetting tag util-vserver-pl-0.3-19
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.

14 years agoFix typo.
Daniel Hokka Zakrisson [Wed, 28 Oct 2009 01:33:54 +0000 (01:33 +0000)]
Fix typo.

14 years agoinfinity is greater than anything.
Daniel Hokka Zakrisson [Mon, 26 Oct 2009 05:40:02 +0000 (05:40 +0000)]
infinity is greater than anything.

14 years agoOnly handle the values that translate.
Daniel Hokka Zakrisson [Sat, 24 Oct 2009 21:59:43 +0000 (21:59 +0000)]
Only handle the values that translate.

14 years agoOptimize the 0.0.0.0 case, and get it working on 2.3 kernels.
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.

14 years agobwlimit.set() now accepts the device and don't assume that it's eth0
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)

14 years agoin bwlimit.set() do not use the global 'dev' but get and pass it to bwlimit.on()
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()

14 years agoSetting tag util-vserver-pl-0.3-17
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.

14 years agosetting runlevels was set to the wrong path. FIXED
Faiyaz Ahmed [Tue, 4 Aug 2009 16:12:33 +0000 (16:12 +0000)]
setting runlevels was set to the wrong path.  FIXED

14 years agoVar is never cleaned IN the context. Fixed. THis still does not fix RH initscripts.
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.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-16
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.

15 years agodirty...dirty..dirty hack to get rid of r2q.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:45:52 +0000 (20:45 +0000)]
dirty...dirty..dirty hack to get rid of r2q.

15 years agosupport turning off all queueing
Faiyaz Ahmed [Thu, 29 Jan 2009 20:34:06 +0000 (20:34 +0000)]
support turning off all queueing

15 years agoadded in a 'setup' boolean argument to indicate that set_resources is being called...
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

15 years agobump tag level and added changelog
Marc Fiuczynski [Thu, 30 Oct 2008 07:27:41 +0000 (07:27 +0000)]
bump tag level and added changelog

15 years agoclean up to produce less warnings
Marc Fiuczynski [Thu, 30 Oct 2008 06:22:33 +0000 (06:22 +0000)]
clean up to produce less warnings

15 years agosupport reading of negative numbers for rlimit values
Marc Fiuczynski [Thu, 30 Oct 2008 06:13:37 +0000 (06:13 +0000)]
support reading of negative numbers for rlimit values

15 years agoadded support for MEMLOCK rlimit
Marc Fiuczynski [Wed, 29 Oct 2008 22:56:49 +0000 (22:56 +0000)]
added support for MEMLOCK rlimit

15 years agoTypos...
Sapan Bhatia [Tue, 14 Oct 2008 17:11:05 +0000 (17:11 +0000)]
Typos...

15 years agoif ((mask & space_mask.mask) != mask)
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

15 years agoLook for the config file before the FS gets unshared.
Sapan Bhatia [Tue, 14 Oct 2008 16:42:17 +0000 (16:42 +0000)]
Look for the config file before the FS gets unshared.

15 years agobugfix for VINI
Sapan Bhatia [Fri, 10 Oct 2008 14:58:35 +0000 (14:58 +0000)]
bugfix for VINI

15 years agocontd...
Sapan Bhatia [Mon, 6 Oct 2008 23:19:20 +0000 (23:19 +0000)]
contd...

15 years agocontd...
Sapan Bhatia [Mon, 6 Oct 2008 23:16:12 +0000 (23:16 +0000)]
contd...

15 years agocontd...
Sapan Bhatia [Mon, 6 Oct 2008 23:13:51 +0000 (23:13 +0000)]
contd...

15 years agocontd...
Sapan Bhatia [Mon, 6 Oct 2008 23:12:44 +0000 (23:12 +0000)]
contd...

15 years agocontd...
Sapan Bhatia [Mon, 6 Oct 2008 22:57:52 +0000 (22:57 +0000)]
contd...

15 years agouse util-vserver's style of config, not sapan's funky style.
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.

15 years agoheaders for sys_unshare
Sapan Bhatia [Mon, 6 Oct 2008 22:52:42 +0000 (22:52 +0000)]
headers for sys_unshare

15 years agoCall enter_namespace before ctx_migrate.
Sapan Bhatia [Mon, 6 Oct 2008 22:42:33 +0000 (22:42 +0000)]
Call enter_namespace before ctx_migrate.

15 years agoset_namespace has alraedy been called onthe default spaces.
Sapan Bhatia [Mon, 6 Oct 2008 22:26:43 +0000 (22:26 +0000)]
set_namespace has alraedy been called onthe default spaces.

15 years agocall vc_set_namespace after sys_unshare, to poke the new nsproxy into the relevant...
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.

15 years agoUnshare netns for VINI.
Sapan Bhatia [Mon, 6 Oct 2008 21:38:59 +0000 (21:38 +0000)]
Unshare netns for VINI.

15 years agoUnshare netns for VINI.
Sapan Bhatia [Mon, 6 Oct 2008 21:38:12 +0000 (21:38 +0000)]
Unshare netns for VINI.

15 years agooops
Thierry Parmentelat [Sun, 28 Sep 2008 09:36:46 +0000 (09:36 +0000)]
oops

15 years agofull build on centos
Thierry Parmentelat [Sun, 28 Sep 2008 09:13:26 +0000 (09:13 +0000)]
full build on centos

15 years agothis is needed as well
Thierry Parmentelat [Tue, 23 Sep 2008 20:58:10 +0000 (20:58 +0000)]
this is needed as well

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-14
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

15 years agolet's keep it simple - our tag tools do not know how to handle this
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

15 years agotmp hack for assessing centos - package vip6-autod only on fedora as centos has a...
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

15 years agoSupport both libnl 1.0-pre6 and 1.1.
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.

15 years agotemporary - do not package vip6-autod for libnl dep - PLEASE DO NOT TAG
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

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-13
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.

15 years agoRemove check for changes in max/min rates before running set().
Faiyaz Ahmed [Thu, 11 Sep 2008 19:18:34 +0000 (19:18 +0000)]
Remove check for changes in max/min rates before running set().

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-12
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.

15 years agoUse libnl 1.1 API.
Daniel Hokka Zakrisson [Fri, 29 Aug 2008 02:45:44 +0000 (02:45 +0000)]
Use libnl 1.1 API.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-11
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

15 years ago/etc/vservers/<name>/personality
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

15 years agoMore convenient output of show.
Faiyaz Ahmed [Wed, 20 Aug 2008 20:50:26 +0000 (20:50 +0000)]
More convenient output of show.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-10
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.

15 years agoFUSE patch from Jeremy Stribling.
Daniel Hokka Zakrisson [Wed, 13 Aug 2008 15:38:57 +0000 (15:38 +0000)]
FUSE patch from Jeremy Stribling.

15 years agohard == rlim_max
Daniel Hokka Zakrisson [Tue, 12 Aug 2008 16:51:43 +0000 (16:51 +0000)]
hard == rlim_max

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-9
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.

15 years agoPush bwmin to 1KBps. Also check running values against arguments before calling tc.
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.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-8
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).

15 years agoRemove iptables rule modification. Assume rule exists (downloaded from conf_files...
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.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-7
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.

15 years agoMANGLE and mangle are not the same.
Faiyaz Ahmed [Tue, 22 Jul 2008 16:59:36 +0000 (16:59 +0000)]
MANGLE and mangle are not the same.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-6
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.

15 years agoFix typo.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:35:59 +0000 (16:35 +0000)]
Fix typo.

15 years agoOptimization in case the context is already running.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 15:58:54 +0000 (15:58 +0000)]
Optimization in case the context is already running.

15 years agoTagging module util-vserver-pl - util-vserver-pl-0.3-5
Daniel Hokka Zakrisson [Thu, 26 Jun 2008 16:48:16 +0000 (16:48 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-5
Ignore ESRCH for setname.
Always create the home directory, regardless of configuration settings.

15 years agoIgnore ESRCH.
Daniel Hokka Zakrisson [Thu, 26 Jun 2008 16:40:00 +0000 (16:40 +0000)]
Ignore ESRCH.