David E. Eisenstat [Sat, 23 Jun 2007 13:44:50 +0000 (13:44 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 13:11:39 +0000 (13:11 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 13:02:37 +0000 (13:02 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:57:04 +0000 (12:57 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:53:41 +0000 (12:53 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:46:14 +0000 (12:46 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:35:24 +0000 (12:35 +0000)]
Call start after initscript change. set_disklimit() workaround.
David E. Eisenstat [Sat, 23 Jun 2007 12:22:24 +0000 (12:22 +0000)]
*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 11:49:58 +0000 (11:49 +0000)]
Bug in startup logic that led slices new at bootup to be started twice.
Stephen Soltesz [Fri, 22 Jun 2007 17:11:11 +0000 (17:11 +0000)]
bumped release for a forced rollout and util-vserver dependency
Faiyaz Ahmed [Sat, 16 Jun 2007 14:30:17 +0000 (14:30 +0000)]
CVS doesn't know the difference between spaces and tabs. tabs are bad...or so ive been told.
Faiyaz Ahmed [Fri, 15 Jun 2007 20:29:26 +0000 (20:29 +0000)]
* BWmon is now event driven and handles reboots. Also got rid of ALL legacy code.
* everything else is to support delegation.
Faiyaz Ahmed [Thu, 17 May 2007 21:11:54 +0000 (21:11 +0000)]
Added xml rpc ReCreate Method.
Marc Fiuczynski [Tue, 15 May 2007 16:26:04 +0000 (16:26 +0000)]
- Clean out the vserver specific fields from the DEFAULT_ALLOCATION
table. These now get added in dynamically from the start()
function.
Marc Fiuczynski [Tue, 15 May 2007 16:24:35 +0000 (16:24 +0000)]
- clean up how vserver specific slice attributes are added to sm.py
DEFAULT_ALLOCATION table.
- clean up how we check for the certain slice attributes in the
set_resources() method.
Marc Fiuczynski [Thu, 10 May 2007 22:50:29 +0000 (22:50 +0000)]
FIX: get rid of vserver restart mechanism, as it doesn't appear to work under all circumstances
Marc Fiuczynski [Thu, 10 May 2007 22:34:51 +0000 (22:34 +0000)]
automatically restart a slice when its resource limits have been changed
Marc Fiuczynski [Thu, 10 May 2007 15:53:34 +0000 (15:53 +0000)]
do 'restart' without the -s option
Marc Fiuczynski [Thu, 10 May 2007 15:04:01 +0000 (15:04 +0000)]
Recording whether a node is whitelisted or not.
Added calls to vserver.py to set various config options related to
vserver specific resources.
Marc Fiuczynski [Thu, 10 May 2007 15:02:49 +0000 (15:02 +0000)]
Added support for white listing slices.
Added in a number of vserver specific resources in the "default allocation" table,
such that when they are set as slice attributes they will make their way down to
sliver_vs.py.
Marc Fiuczynski [Thu, 10 May 2007 15:01:03 +0000 (15:01 +0000)]
Bumping release number.
Faiyaz Ahmed [Thu, 3 May 2007 03:53:35 +0000 (03:53 +0000)]
Bump build.
David E. Eisenstat [Wed, 2 May 2007 23:34:48 +0000 (23:34 +0000)]
Increase buffer space for XML-RPC request.
Faiyaz Ahmed [Thu, 26 Apr 2007 19:11:40 +0000 (19:11 +0000)]
Bump build.
Faiyaz Ahmed [Thu, 26 Apr 2007 19:07:19 +0000 (19:07 +0000)]
Fix so xids that no one knows about are deleted.
David E. Eisenstat [Thu, 26 Apr 2007 19:04:26 +0000 (19:04 +0000)]
Resilience against exceptions thrown from bwmon.py.
Faiyaz Ahmed [Wed, 25 Apr 2007 22:23:20 +0000 (22:23 +0000)]
Bump build.
Faiyaz Ahmed [Wed, 25 Apr 2007 22:19:59 +0000 (22:19 +0000)]
Old slices weren't having their totals cary over when NM was reset or reinstalled. New slices would start out with 0 bytes in their byte counts, then when update was called 10 minutes later, their running byte count would would already be over their max, then the slice would get capped. New slices that are already running (presumably from a previous instance of NM), should have their byte counts carried over on init.
Faiyaz Ahmed [Tue, 24 Apr 2007 23:33:01 +0000 (23:33 +0000)]
Syntax error.
Faiyaz Ahmed [Tue, 24 Apr 2007 23:09:45 +0000 (23:09 +0000)]
Bump build number
Faiyaz Ahmed [Tue, 24 Apr 2007 23:06:54 +0000 (23:06 +0000)]
Create new slices if not running.
Faiyaz Ahmed [Mon, 23 Apr 2007 19:45:07 +0000 (19:45 +0000)]
* random range from 0 to 5 minutes + period when calling home.
Faiyaz Ahmed [Mon, 23 Apr 2007 19:36:26 +0000 (19:36 +0000)]
Uses rspec to calculate bwlimits. Respects sirius loans. Also uses min defaults from DEFAULT_ALLOC, but sanity checks them against own defaults. DEFAULT_ALLOC wins.
David E. Eisenstat [Tue, 17 Apr 2007 19:03:46 +0000 (19:03 +0000)]
Fork more cleanly in PlanetLabConf.
Faiyaz Ahmed [Sat, 14 Apr 2007 14:33:10 +0000 (14:33 +0000)]
Increase time to call get slivers from 10 minutes to 15.
Faiyaz Ahmed [Sat, 14 Apr 2007 14:21:10 +0000 (14:21 +0000)]
Bump version.
Faiyaz Ahmed [Fri, 13 Apr 2007 19:25:21 +0000 (19:25 +0000)]
*** empty log message ***
Faiyaz Ahmed [Fri, 13 Apr 2007 18:30:25 +0000 (18:30 +0000)]
bwmon removed. no longer a call back.
Faiyaz Ahmed [Fri, 13 Apr 2007 18:29:17 +0000 (18:29 +0000)]
Bad delegate logic. Fixed.
Also removed redundant code.
Faiyaz Ahmed [Fri, 13 Apr 2007 17:01:40 +0000 (17:01 +0000)]
* bwmon now uses rspecs instead of direct plcapi call to getslivers data. Insert right after sync() in database
David E. Eisenstat [Thu, 5 Apr 2007 19:04:30 +0000 (19:04 +0000)]
Support for the plc_initscript_id attribute.
Faiyaz Ahmed [Mon, 2 Apr 2007 20:02:57 +0000 (20:02 +0000)]
'enabled' slice attribute can go negative to mean disabled, and positive to mean enabled.
Faiyaz Ahmed [Tue, 6 Mar 2007 20:46:54 +0000 (20:46 +0000)]
* Syntax error.
Faiyaz Ahmed [Tue, 6 Mar 2007 16:11:09 +0000 (16:11 +0000)]
Restart nm on upgrade
Faiyaz Ahmed [Thu, 1 Mar 2007 20:26:55 +0000 (20:26 +0000)]
Bump rev.
David E. Eisenstat [Thu, 1 Mar 2007 19:27:55 +0000 (19:27 +0000)]
Write slice name to /etc/slicename.
Faiyaz Ahmed [Wed, 28 Feb 2007 06:19:44 +0000 (06:19 +0000)]
I HATE RPMS!!!!
Faiyaz Ahmed [Wed, 28 Feb 2007 05:26:10 +0000 (05:26 +0000)]
Bump revision
Faiyaz Ahmed [Wed, 28 Feb 2007 05:17:37 +0000 (05:17 +0000)]
* Node caps weren't being set in time and max rates were being set to -1. FIXED.
Faiyaz Ahmed [Tue, 27 Feb 2007 23:14:10 +0000 (23:14 +0000)]
Bump release
Faiyaz Ahmed [Tue, 27 Feb 2007 23:03:58 +0000 (23:03 +0000)]
* Added fix for > 25% min bandwidth shares. The idea is if someone wants a min rate greater than 25% of the node cap, the slice only gets 25% of the node cap.
David E. Eisenstat [Tue, 27 Feb 2007 18:11:21 +0000 (18:11 +0000)]
Give utah_elab_delegate control of utah_*.
David E. Eisenstat [Tue, 27 Feb 2007 13:33:42 +0000 (13:33 +0000)]
Move start delay into worker thread so that we don't needlessly leave hundreds of processes sleeping.
Faiyaz Ahmed [Mon, 26 Feb 2007 17:52:08 +0000 (17:52 +0000)]
Skip over delegate accounts until instantiated (and xid is available).
David E. Eisenstat [Fri, 23 Feb 2007 22:04:08 +0000 (22:04 +0000)]
Permission check special case for Emulab.
Faiyaz Ahmed [Fri, 23 Feb 2007 21:21:50 +0000 (21:21 +0000)]
Installs iptables for internet2.
David E. Eisenstat [Fri, 23 Feb 2007 18:15:33 +0000 (18:15 +0000)]
Make delegates work again and add an Emulab account.
Faiyaz Ahmed [Thu, 22 Feb 2007 18:11:44 +0000 (18:11 +0000)]
No such variable self.name. Changed it to network['hostname'].
Faiyaz Ahmed [Wed, 21 Feb 2007 20:17:21 +0000 (20:17 +0000)]
Line 21: mac does not need to be converted to lower() before checking if val exists in dict.
Faiyaz Ahmed [Wed, 14 Feb 2007 19:49:03 +0000 (19:49 +0000)]
* Changed variable names for clarity...and fixed a glaring syntax error.
Faiyaz Ahmed [Wed, 14 Feb 2007 19:30:41 +0000 (19:30 +0000)]
* Bump release number.
Faiyaz Ahmed [Wed, 14 Feb 2007 03:51:35 +0000 (03:51 +0000)]
Slice attributes are strings. Cast to int before calculating limits.
Faiyaz Ahmed [Mon, 12 Feb 2007 23:05:58 +0000 (23:05 +0000)]
Sets up slice bw limits and HTBs. Incorporates pl_mom/bwmon.
Faiyaz Ahmed [Mon, 12 Feb 2007 23:00:31 +0000 (23:00 +0000)]
Include bwmon
Faiyaz Ahmed [Thu, 8 Feb 2007 22:39:49 +0000 (22:39 +0000)]
* Sets up root slice / default slice HTBs.
Faiyaz Ahmed [Thu, 8 Feb 2007 20:34:22 +0000 (20:34 +0000)]
* Limits are in KBytes.
Faiyaz Ahmed [Thu, 8 Feb 2007 05:19:06 +0000 (05:19 +0000)]
Needs to be tested before certifying good.
Faiyaz Ahmed [Wed, 7 Feb 2007 18:12:02 +0000 (18:12 +0000)]
on going conversion
Mark Huang [Wed, 7 Feb 2007 04:23:22 +0000 (04:23 +0000)]
close nonstandard fds before forking external processes
Mark Huang [Wed, 7 Feb 2007 04:21:52 +0000 (04:21 +0000)]
try and recreate bad vservers
Mark Huang [Tue, 6 Feb 2007 22:28:18 +0000 (22:28 +0000)]
- net_*_rate are in kbps because of XML-RPC maxint limitations
- get primary bwlimit from GetSlivers() call, fix up default allocation
appropriately
Mark Huang [Tue, 6 Feb 2007 22:27:12 +0000 (22:27 +0000)]
net_*_rate are in kbps because of XML-RPC maxint
limitations, convert to bps which is what bwlimit.py expects.
Mark Huang [Mon, 5 Feb 2007 22:50:05 +0000 (22:50 +0000)]
- pass rspec['vref'] instead of internal rspec['type'] to vuseradd -t
David E. Eisenstat [Mon, 5 Feb 2007 16:39:29 +0000 (16:39 +0000)]
Automatically adjust stack sizes downward to avoid exhausting virtual
memory.
David E. Eisenstat [Sat, 3 Feb 2007 21:56:53 +0000 (21:56 +0000)]
Added a semaphore to keep multiple init_disk_info()s from knocking over the machine.
David E. Eisenstat [Sat, 3 Feb 2007 20:39:54 +0000 (20:39 +0000)]
Added NodeManager API calls for inspecting the slicename -> XID mapping and slice keys.
Faiyaz Ahmed [Sat, 3 Feb 2007 03:42:43 +0000 (03:42 +0000)]
Incorporating old pl_mom into NM.
*not ready yet.
Mark Huang [Fri, 2 Feb 2007 19:58:51 +0000 (19:58 +0000)]
settle on names for net_ slice attributes
Mark Huang [Thu, 1 Feb 2007 21:59:44 +0000 (21:59 +0000)]
- set methodresponse to True in ticket signing example code
Mark Huang [Thu, 1 Feb 2007 21:56:15 +0000 (21:56 +0000)]
- add missing -f option
Mark Huang [Thu, 1 Feb 2007 21:55:59 +0000 (21:55 +0000)]
- tickets do not have 'node_id' in them
Mark Huang [Thu, 1 Feb 2007 21:55:19 +0000 (21:55 +0000)]
- raise an xmlrpclib.Fault on any exception while parsing/delivering ticket
David E. Eisenstat [Wed, 24 Jan 2007 16:22:59 +0000 (16:22 +0000)]
nm_enabled is true for positive values instead of nonzero values
Mark Huang [Fri, 12 Jan 2007 06:36:38 +0000 (06:36 +0000)]
fix --noscripts action
Mark Huang [Fri, 12 Jan 2007 00:07:56 +0000 (00:07 +0000)]
- gracefully skip non-existent conf files
Mark Huang [Fri, 12 Jan 2007 00:07:37 +0000 (00:07 +0000)]
- fail with non-zero exit code on e.g. 404 errors
Mark Huang [Thu, 11 Jan 2007 23:46:22 +0000 (23:46 +0000)]
- add --noscripts option to skip running pre-, post-, and error commands
Mark Huang [Thu, 11 Jan 2007 22:20:50 +0000 (22:20 +0000)]
- fix typo
Mark Huang [Thu, 11 Jan 2007 22:01:17 +0000 (22:01 +0000)]
- specify AuthMethod
Mark Huang [Thu, 11 Jan 2007 06:17:33 +0000 (06:17 +0000)]
- fix typo
Mark Huang [Thu, 11 Jan 2007 06:17:32 +0000 (06:17 +0000)]
- GetSlivers() now returns a single struct
Mark Huang [Tue, 28 Nov 2006 21:36:06 +0000 (21:36 +0000)]
- add net and proper to manifest
Mark Huang [Tue, 28 Nov 2006 21:35:58 +0000 (21:35 +0000)]
- generate proper configuration file from slice attribute proper_op
Mark Huang [Tue, 28 Nov 2006 21:35:39 +0000 (21:35 +0000)]
- ignore /etc/proper/propd.conf (we deal with this separately in proper.py)
Mark Huang [Tue, 28 Nov 2006 21:35:11 +0000 (21:35 +0000)]
- add proper module
Mark Huang [Tue, 28 Nov 2006 19:45:01 +0000 (19:45 +0000)]
- moved bwlimit stuff here
Mark Huang [Tue, 28 Nov 2006 19:44:50 +0000 (19:44 +0000)]
- be less verbose
- use new callback method
Mark Huang [Tue, 28 Nov 2006 19:44:27 +0000 (19:44 +0000)]
- move bwlimit stuff into net.py module
Mark Huang [Tue, 28 Nov 2006 19:44:10 +0000 (19:44 +0000)]
- dynamically load, start, and callback into modules
Mark Huang [Mon, 27 Nov 2006 22:42:48 +0000 (22:42 +0000)]
- build sioc module