nodemanager.git
16 years agofooo
Faiyaz Ahmed [Thu, 27 Sep 2007 21:21:08 +0000 (21:21 +0000)]
fooo

16 years agofoo
Faiyaz Ahmed [Thu, 27 Sep 2007 21:18:17 +0000 (21:18 +0000)]
foo

16 years agotuff
Faiyaz Ahmed [Thu, 27 Sep 2007 21:17:35 +0000 (21:17 +0000)]
tuff

16 years agofoo
Faiyaz Ahmed [Thu, 27 Sep 2007 19:47:10 +0000 (19:47 +0000)]
foo

16 years agoSomething relevant
Faiyaz Ahmed [Thu, 27 Sep 2007 18:20:35 +0000 (18:20 +0000)]
Something relevant

16 years agoRemoved ID
Faiyaz Ahmed [Thu, 27 Sep 2007 18:19:51 +0000 (18:19 +0000)]
Removed ID

16 years agoAdded ID field.
Faiyaz Ahmed [Fri, 21 Sep 2007 19:22:33 +0000 (19:22 +0000)]
Added ID field.

16 years agoRemove the gzip log.
Faiyaz Ahmed [Wed, 19 Sep 2007 18:12:16 +0000 (18:12 +0000)]
Remove the gzip log.

16 years agoAdd try/except around GetSlivers.
Faiyaz Ahmed [Wed, 19 Sep 2007 17:47:06 +0000 (17:47 +0000)]
Add try/except around GetSlivers.

16 years agoMove call to update i2 ip address into GetSlivers. Move try catch out of main into...
Faiyaz Ahmed [Tue, 4 Sep 2007 20:52:53 +0000 (20:52 +0000)]
Move call to update i2 ip address into GetSlivers.  Move try catch out of main into GetSlivers().

16 years agoAllow slivers to make api calls on themselves.
Faiyaz Ahmed [Tue, 4 Sep 2007 20:47:25 +0000 (20:47 +0000)]
Allow slivers to make api calls on themselves.

16 years agoSlices should be able to make operations on themselves.
Faiyaz Ahmed [Tue, 28 Aug 2007 16:55:33 +0000 (16:55 +0000)]
Slices should be able to make operations on themselves.

16 years agoRemove boot key update. BM does same thing during boot.
Faiyaz Ahmed [Fri, 24 Aug 2007 20:05:41 +0000 (20:05 +0000)]
Remove boot key update.  BM does same thing during boot.

16 years agoLog information about threads dying
David E. Eisenstat [Thu, 16 Aug 2007 16:18:45 +0000 (16:18 +0000)]
Log information about threads dying

16 years agoHEAD should be 1 ahead from the branch
Faiyaz Ahmed [Tue, 14 Aug 2007 16:25:27 +0000 (16:25 +0000)]
HEAD should be 1 ahead from the branch

16 years agonm.log != nm
Faiyaz Ahmed [Tue, 31 Jul 2007 18:35:32 +0000 (18:35 +0000)]
nm.log != nm

16 years agoAssign 0.0.0.0 by default
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 14:30:36 +0000 (14:30 +0000)]
Assign 0.0.0.0 by default

16 years agoAdd support for assigning IP addresses
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 18:02:36 +0000 (18:02 +0000)]
Add support for assigning IP addresses

16 years agocleaner type support
Daniel Hokka Zakrisson [Tue, 24 Jul 2007 15:59:04 +0000 (15:59 +0000)]
cleaner type support

16 years agoBump revision
Faiyaz Ahmed [Mon, 23 Jul 2007 20:42:11 +0000 (20:42 +0000)]
Bump revision

16 years agoRemoved whitelist support in favor of PLC API whitelists.
Faiyaz Ahmed [Mon, 23 Jul 2007 19:28:07 +0000 (19:28 +0000)]
Removed whitelist support in favor of PLC API whitelists.

16 years agoGzip old nm log
Faiyaz Ahmed [Mon, 23 Jul 2007 18:21:36 +0000 (18:21 +0000)]
Gzip old nm log

16 years agoBump minor number.
Faiyaz Ahmed [Fri, 20 Jul 2007 20:24:05 +0000 (20:24 +0000)]
Bump minor number.

16 years agoAdd CVS ID.
Faiyaz Ahmed [Fri, 20 Jul 2007 19:35:29 +0000 (19:35 +0000)]
Add CVS ID.

16 years agoRemoved bad method check in api dispatch.
Faiyaz Ahmed [Wed, 18 Jul 2007 20:08:54 +0000 (20:08 +0000)]
Removed bad method check in api dispatch.

16 years agoRemove debug line.
Faiyaz Ahmed [Mon, 16 Jul 2007 20:53:37 +0000 (20:53 +0000)]
Remove debug line.

16 years agoDelegation fix. Slivers weren't being created once ticket was delivered.
Faiyaz Ahmed [Mon, 16 Jul 2007 20:52:20 +0000 (20:52 +0000)]
Delegation fix.  Slivers weren't being created once ticket was delivered.

16 years agoadd support for capabilities
Daniel Hokka Zakrisson [Mon, 16 Jul 2007 17:53:22 +0000 (17:53 +0000)]
add support for capabilities

16 years agoBump build.
Faiyaz Ahmed [Tue, 26 Jun 2007 18:59:46 +0000 (18:59 +0000)]
Bump build.

16 years agoHTBS exist but aren't in dat file are no longer toggled on and off. Just update...
Faiyaz Ahmed [Tue, 26 Jun 2007 18:59:05 +0000 (18:59 +0000)]
HTBS exist but aren't in dat file are no longer toggled on and off.  Just update dat's byte counts.

16 years agoUpdate version
Faiyaz Ahmed [Tue, 26 Jun 2007 18:05:10 +0000 (18:05 +0000)]
Update version

16 years agoBump build number
Faiyaz Ahmed [Tue, 26 Jun 2007 18:04:40 +0000 (18:04 +0000)]
Bump build number

16 years agoUpdate comment to reflect change.
Faiyaz Ahmed [Tue, 26 Jun 2007 18:01:18 +0000 (18:01 +0000)]
Update comment to reflect change.

16 years agoStart tracking HTBS that are already running (presumeably after a software upgrade).
Faiyaz Ahmed [Tue, 26 Jun 2007 18:00:46 +0000 (18:00 +0000)]
Start tracking HTBS that are already running (presumeably after a software upgrade).

16 years agoUpdate host key in main loop.
David E. Eisenstat [Mon, 25 Jun 2007 16:19:19 +0000 (16:19 +0000)]
Update host key in main loop.

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 13:44:50 +0000 (13:44 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 13:11:39 +0000 (13:11 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 13:02:37 +0000 (13:02 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:57:04 +0000 (12:57 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:53:41 +0000 (12:53 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:46:14 +0000 (12:46 +0000)]
*** empty log message ***

16 years agoCall start after initscript change. set_disklimit() workaround.
David E. Eisenstat [Sat, 23 Jun 2007 12:35:24 +0000 (12:35 +0000)]
Call start after initscript change.  set_disklimit() workaround.

16 years ago*** empty log message ***
David E. Eisenstat [Sat, 23 Jun 2007 12:22:24 +0000 (12:22 +0000)]
*** empty log message ***

16 years agoBug in startup logic that led slices new at bootup to be started twice.
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.

16 years agobumped release for a forced rollout and util-vserver dependency
Stephen Soltesz [Fri, 22 Jun 2007 17:11:11 +0000 (17:11 +0000)]
bumped release for a forced rollout and util-vserver dependency

16 years agoCVS doesn't know the difference between spaces and tabs. tabs are bad...or so ive...
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.

16 years ago* BWmon is now event driven and handles reboots. Also got rid of ALL legacy code.
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.

16 years agoAdded xml rpc ReCreate Method.
Faiyaz Ahmed [Thu, 17 May 2007 21:11:54 +0000 (21:11 +0000)]
Added xml rpc ReCreate Method.

16 years ago- Clean out the vserver specific fields from the DEFAULT_ALLOCATION
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.

16 years ago- clean up how vserver specific slice attributes are added to sm.py
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.

17 years agoFIX: get rid of vserver restart mechanism, as it doesn't appear to work under all...
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

17 years agoautomatically restart a slice when its resource limits have been changed
Marc Fiuczynski [Thu, 10 May 2007 22:34:51 +0000 (22:34 +0000)]
automatically restart a slice when its resource limits have been changed

17 years agodo 'restart' without the -s option
Marc Fiuczynski [Thu, 10 May 2007 15:53:34 +0000 (15:53 +0000)]
do 'restart' without the -s option

17 years agoRecording whether a node is whitelisted or not.
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.

17 years agoAdded support for white listing slices.
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.

17 years agoBumping release number.
Marc Fiuczynski [Thu, 10 May 2007 15:01:03 +0000 (15:01 +0000)]
Bumping release number.

17 years agoBump build.
Faiyaz Ahmed [Thu, 3 May 2007 03:53:35 +0000 (03:53 +0000)]
Bump build.

17 years agoIncrease buffer space for XML-RPC request.
David E. Eisenstat [Wed, 2 May 2007 23:34:48 +0000 (23:34 +0000)]
Increase buffer space for XML-RPC request.

17 years agoBump build.
Faiyaz Ahmed [Thu, 26 Apr 2007 19:11:40 +0000 (19:11 +0000)]
Bump build.

17 years agoFix so xids that no one knows about are deleted.
Faiyaz Ahmed [Thu, 26 Apr 2007 19:07:19 +0000 (19:07 +0000)]
Fix so xids that no one knows about are deleted.

17 years agoResilience against exceptions thrown from bwmon.py.
David E. Eisenstat [Thu, 26 Apr 2007 19:04:26 +0000 (19:04 +0000)]
Resilience against exceptions thrown from bwmon.py.

17 years agoBump build.
Faiyaz Ahmed [Wed, 25 Apr 2007 22:23:20 +0000 (22:23 +0000)]
Bump build.

17 years agoOld slices weren't having their totals cary over when NM was reset or reinstalled...
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.

17 years agoSyntax error.
Faiyaz Ahmed [Tue, 24 Apr 2007 23:33:01 +0000 (23:33 +0000)]
Syntax error.

17 years agoBump build number
Faiyaz Ahmed [Tue, 24 Apr 2007 23:09:45 +0000 (23:09 +0000)]
Bump build number

17 years agoCreate new slices if not running.
Faiyaz Ahmed [Tue, 24 Apr 2007 23:06:54 +0000 (23:06 +0000)]
Create new slices if not running.

17 years ago* random range from 0 to 5 minutes + period when calling home.
Faiyaz Ahmed [Mon, 23 Apr 2007 19:45:07 +0000 (19:45 +0000)]
* random range from 0 to 5 minutes + period when calling home.

17 years agoUses rspec to calculate bwlimits. Respects sirius loans. Also uses min defaults...
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.

17 years agoFork more cleanly in PlanetLabConf.
David E. Eisenstat [Tue, 17 Apr 2007 19:03:46 +0000 (19:03 +0000)]
Fork more cleanly in PlanetLabConf.

17 years agoIncrease time to call get slivers from 10 minutes to 15.
Faiyaz Ahmed [Sat, 14 Apr 2007 14:33:10 +0000 (14:33 +0000)]
Increase time to call get slivers from 10 minutes to 15.

17 years agoBump version.
Faiyaz Ahmed [Sat, 14 Apr 2007 14:21:10 +0000 (14:21 +0000)]
Bump version.

17 years ago*** empty log message ***
Faiyaz Ahmed [Fri, 13 Apr 2007 19:25:21 +0000 (19:25 +0000)]
*** empty log message ***

17 years agobwmon removed. no longer a call back.
Faiyaz Ahmed [Fri, 13 Apr 2007 18:30:25 +0000 (18:30 +0000)]
bwmon removed.  no longer a call back.

17 years agoBad delegate logic. Fixed.
Faiyaz Ahmed [Fri, 13 Apr 2007 18:29:17 +0000 (18:29 +0000)]
Bad delegate logic.  Fixed.
Also removed redundant code.

17 years ago* bwmon now uses rspecs instead of direct plcapi call to getslivers data. Insert...
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

17 years agoSupport for the plc_initscript_id attribute.
David E. Eisenstat [Thu, 5 Apr 2007 19:04:30 +0000 (19:04 +0000)]
Support for the plc_initscript_id attribute.

17 years ago'enabled' slice attribute can go negative to mean disabled, and positive to mean...
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.

17 years ago* Syntax error.
Faiyaz Ahmed [Tue, 6 Mar 2007 20:46:54 +0000 (20:46 +0000)]
* Syntax error.

17 years agoRestart nm on upgrade
Faiyaz Ahmed [Tue, 6 Mar 2007 16:11:09 +0000 (16:11 +0000)]
Restart nm on upgrade

17 years agoBump rev.
Faiyaz Ahmed [Thu, 1 Mar 2007 20:26:55 +0000 (20:26 +0000)]
Bump rev.

17 years agoWrite slice name to /etc/slicename.
David E. Eisenstat [Thu, 1 Mar 2007 19:27:55 +0000 (19:27 +0000)]
Write slice name to /etc/slicename.

17 years agoI HATE RPMS!!!!
Faiyaz Ahmed [Wed, 28 Feb 2007 06:19:44 +0000 (06:19 +0000)]
I HATE RPMS!!!!

17 years agoBump revision
Faiyaz Ahmed [Wed, 28 Feb 2007 05:26:10 +0000 (05:26 +0000)]
Bump revision

17 years ago* Node caps weren't being set in time and max rates were being set to -1. FIXED.
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.

17 years agoBump release
Faiyaz Ahmed [Tue, 27 Feb 2007 23:14:10 +0000 (23:14 +0000)]
Bump release

17 years ago* Added fix for > 25% min bandwidth shares. The idea is if someone wants a min rate...
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.

17 years agoGive utah_elab_delegate control of utah_*.
David E. Eisenstat [Tue, 27 Feb 2007 18:11:21 +0000 (18:11 +0000)]
Give utah_elab_delegate control of utah_*.

17 years agoMove start delay into worker thread so that we don't needlessly leave hundreds of...
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.

17 years agoSkip over delegate accounts until instantiated (and xid is available).
Faiyaz Ahmed [Mon, 26 Feb 2007 17:52:08 +0000 (17:52 +0000)]
Skip over delegate accounts until instantiated (and xid is available).

17 years agoPermission check special case for Emulab.
David E. Eisenstat [Fri, 23 Feb 2007 22:04:08 +0000 (22:04 +0000)]
Permission check special case for Emulab.

17 years agoInstalls iptables for internet2.
Faiyaz Ahmed [Fri, 23 Feb 2007 21:21:50 +0000 (21:21 +0000)]
Installs iptables for internet2.

17 years agoMake delegates work again and add an Emulab account.
David E. Eisenstat [Fri, 23 Feb 2007 18:15:33 +0000 (18:15 +0000)]
Make delegates work again and add an Emulab account.

17 years agoNo such variable self.name. Changed it to network['hostname'].
Faiyaz Ahmed [Thu, 22 Feb 2007 18:11:44 +0000 (18:11 +0000)]
No such variable self.name.  Changed it to network['hostname'].

17 years agoLine 21: mac does not need to be converted to lower() before checking if val exists...
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.

17 years ago* Changed variable names for clarity...and fixed a glaring syntax error.
Faiyaz Ahmed [Wed, 14 Feb 2007 19:49:03 +0000 (19:49 +0000)]
* Changed variable names for clarity...and fixed a glaring syntax error.

17 years ago* Bump release number.
Faiyaz Ahmed [Wed, 14 Feb 2007 19:30:41 +0000 (19:30 +0000)]
* Bump release number.

17 years agoSlice attributes are strings. Cast to int before calculating limits.
Faiyaz Ahmed [Wed, 14 Feb 2007 03:51:35 +0000 (03:51 +0000)]
Slice attributes are strings.   Cast to int before calculating limits.

17 years agoSets up slice bw limits and HTBs. Incorporates pl_mom/bwmon.
Faiyaz Ahmed [Mon, 12 Feb 2007 23:05:58 +0000 (23:05 +0000)]
Sets up slice bw limits and HTBs.  Incorporates pl_mom/bwmon.

17 years agoInclude bwmon
Faiyaz Ahmed [Mon, 12 Feb 2007 23:00:31 +0000 (23:00 +0000)]
Include bwmon

17 years ago* Sets up root slice / default slice HTBs.
Faiyaz Ahmed [Thu, 8 Feb 2007 22:39:49 +0000 (22:39 +0000)]
*  Sets up root slice / default slice HTBs.