Faiyaz Ahmed [Wed, 21 Nov 2007 15:36:42 +0000 (15:36 +0000)]
tabs != 5 spaces
Faiyaz Ahmed [Wed, 21 Nov 2007 14:41:17 +0000 (14:41 +0000)]
Added ReCreate. Also added try catch to api eval of rpc method.
Faiyaz Ahmed [Wed, 14 Nov 2007 03:08:20 +0000 (03:08 +0000)]
In case the API isn't installed, skip docbook stuffs.
Thierry Parmentelat [Mon, 12 Nov 2007 13:42:09 +0000 (13:42 +0000)]
add target tags
Thierry Parmentelat [Mon, 12 Nov 2007 13:40:48 +0000 (13:40 +0000)]
While building bootstrapfs on fc6, I'm getting this
^M Installing: NodeManager ##################### [114/119]Stopping Node Manager: [FAILED]^M
can not change context: migrate kernel feature missing and 'compat' API disabled: Function not implemented
Starting Node Manager: Traceback (most recent call last):
File "/usr/share/NodeManager/nm.py", line 13, in ?
import logger
File "/usr/share/NodeManager/logger.py", line 32
if name:
^
IndentationError: unindent does not match any outer indentation level
[FAILED]^M
Faiyaz Ahmed [Wed, 7 Nov 2007 22:09:32 +0000 (22:09 +0000)]
log slice name where applicable before traceback.
Faiyaz Ahmed [Wed, 7 Nov 2007 21:59:03 +0000 (21:59 +0000)]
If no name is specified, just print the traceback.
Faiyaz Ahmed [Wed, 7 Nov 2007 21:44:33 +0000 (21:44 +0000)]
Add more info to tracebacks. Echos slice name before traceback.
Faiyaz Ahmed [Wed, 7 Nov 2007 04:31:55 +0000 (04:31 +0000)]
Added debugging code. Will log slice name when threads die.
Faiyaz Ahmed [Tue, 6 Nov 2007 19:53:47 +0000 (19:53 +0000)]
CLean up deaddb.
Faiyaz Ahmed [Thu, 1 Nov 2007 18:56:53 +0000 (18:56 +0000)]
Forgot case where NM is reinstalled and dat is deleted. Re-init slices, update limits, then add to dat.
Faiyaz Ahmed [Wed, 31 Oct 2007 20:48:37 +0000 (20:48 +0000)]
Support for persistent byte limits for dynamic slices. [ticket:19 Ticket]
Stephen Soltesz [Tue, 30 Oct 2007 18:17:39 +0000 (18:17 +0000)]
Added an example of opening ssh within python using popen()
Stephen Soltesz [Tue, 30 Oct 2007 18:10:48 +0000 (18:10 +0000)]
NMAPI.xml now includes a section including and example using the nm-controller
and the xml-rpc forwarding over the SSH stub account.
The make file uses awk the strip out the unnecessary parts of the html for
upload into Drupal. out.html is ready for upload. Would be nice if we could
figure out a 'curl' incantation that would do the post automatically.
Stephen Soltesz [Tue, 30 Oct 2007 18:09:21 +0000 (18:09 +0000)]
a typeo prevented the docs from compiling
Faiyaz Ahmed [Thu, 25 Oct 2007 21:18:41 +0000 (21:18 +0000)]
To support persistent byte totals in case of dynamic slices. Slice data is kept through duration of recording period in case slice is to reappear.
Stephen Soltesz [Thu, 25 Oct 2007 18:05:17 +0000 (18:05 +0000)]
A few tweaks.
Stephen Soltesz [Thu, 25 Oct 2007 17:49:11 +0000 (17:49 +0000)]
Split api_calls.py and api.py to make the documentation of the XMLRPC calls
easier.
TODO: need to add ReCreate() back to the api. According to David, it was
lost.
TODO: test that these changes do not break the running operation of NM.
Stephen Soltesz [Thu, 25 Oct 2007 16:49:32 +0000 (16:49 +0000)]
Take the new doc out of the branch and into trunk
Faiyaz Ahmed [Wed, 17 Oct 2007 20:10:20 +0000 (20:10 +0000)]
To kill nm procs that are defunct and won't die normall and also to kill nm procs that are in vservers but won't exit.
Faiyaz Ahmed [Wed, 17 Oct 2007 18:22:01 +0000 (18:22 +0000)]
remove build directory
Faiyaz Ahmed [Wed, 17 Oct 2007 17:30:39 +0000 (17:30 +0000)]
Patched with nm-disk-lock.patch provided by dhozac. Closes (or attempts to) [ticket:7 chcontext bug]. Uses file based locks in place of thread mutexes.
Faiyaz Ahmed [Wed, 3 Oct 2007 21:03:38 +0000 (21:03 +0000)]
ANother test email.
Faiyaz Ahmed [Wed, 3 Oct 2007 20:56:07 +0000 (20:56 +0000)]
foobar
Faiyaz Ahmed [Wed, 3 Oct 2007 20:44:01 +0000 (20:44 +0000)]
Added a comment.
Faiyaz Ahmed [Thu, 27 Sep 2007 21:21:08 +0000 (21:21 +0000)]
fooo
Faiyaz Ahmed [Thu, 27 Sep 2007 21:18:17 +0000 (21:18 +0000)]
foo
Faiyaz Ahmed [Thu, 27 Sep 2007 21:17:35 +0000 (21:17 +0000)]
tuff
Faiyaz Ahmed [Thu, 27 Sep 2007 19:47:10 +0000 (19:47 +0000)]
foo
Faiyaz Ahmed [Thu, 27 Sep 2007 18:20:35 +0000 (18:20 +0000)]
Something relevant
Faiyaz Ahmed [Thu, 27 Sep 2007 18:19:51 +0000 (18:19 +0000)]
Removed ID
Faiyaz Ahmed [Fri, 21 Sep 2007 19:22:33 +0000 (19:22 +0000)]
Added ID field.
Faiyaz Ahmed [Wed, 19 Sep 2007 18:12:16 +0000 (18:12 +0000)]
Remove the gzip log.
Faiyaz Ahmed [Wed, 19 Sep 2007 17:47:06 +0000 (17:47 +0000)]
Add try/except around GetSlivers.
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().
Faiyaz Ahmed [Tue, 4 Sep 2007 20:47:25 +0000 (20:47 +0000)]
Allow slivers to make api calls on themselves.
Faiyaz Ahmed [Tue, 28 Aug 2007 16:55:33 +0000 (16:55 +0000)]
Slices should be able to make operations on themselves.
Faiyaz Ahmed [Fri, 24 Aug 2007 20:05:41 +0000 (20:05 +0000)]
Remove boot key update. BM does same thing during boot.
David E. Eisenstat [Thu, 16 Aug 2007 16:18:45 +0000 (16:18 +0000)]
Log information about threads dying
Faiyaz Ahmed [Tue, 14 Aug 2007 16:25:27 +0000 (16:25 +0000)]
HEAD should be 1 ahead from the branch
Faiyaz Ahmed [Tue, 31 Jul 2007 18:35:32 +0000 (18:35 +0000)]
nm.log != nm
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 14:30:36 +0000 (14:30 +0000)]
Assign 0.0.0.0 by default
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 18:02:36 +0000 (18:02 +0000)]
Add support for assigning IP addresses
Daniel Hokka Zakrisson [Tue, 24 Jul 2007 15:59:04 +0000 (15:59 +0000)]
cleaner type support
Faiyaz Ahmed [Mon, 23 Jul 2007 20:42:11 +0000 (20:42 +0000)]
Bump revision
Faiyaz Ahmed [Mon, 23 Jul 2007 19:28:07 +0000 (19:28 +0000)]
Removed whitelist support in favor of PLC API whitelists.
Faiyaz Ahmed [Mon, 23 Jul 2007 18:21:36 +0000 (18:21 +0000)]
Gzip old nm log
Faiyaz Ahmed [Fri, 20 Jul 2007 20:24:05 +0000 (20:24 +0000)]
Bump minor number.
Faiyaz Ahmed [Fri, 20 Jul 2007 19:35:29 +0000 (19:35 +0000)]
Add CVS ID.
Faiyaz Ahmed [Wed, 18 Jul 2007 20:08:54 +0000 (20:08 +0000)]
Removed bad method check in api dispatch.
Faiyaz Ahmed [Mon, 16 Jul 2007 20:53:37 +0000 (20:53 +0000)]
Remove debug line.
Faiyaz Ahmed [Mon, 16 Jul 2007 20:52:20 +0000 (20:52 +0000)]
Delegation fix. Slivers weren't being created once ticket was delivered.
Daniel Hokka Zakrisson [Mon, 16 Jul 2007 17:53:22 +0000 (17:53 +0000)]
add support for capabilities
Faiyaz Ahmed [Tue, 26 Jun 2007 18:59:46 +0000 (18:59 +0000)]
Bump build.
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.
Faiyaz Ahmed [Tue, 26 Jun 2007 18:05:10 +0000 (18:05 +0000)]
Update version
Faiyaz Ahmed [Tue, 26 Jun 2007 18:04:40 +0000 (18:04 +0000)]
Bump build number
Faiyaz Ahmed [Tue, 26 Jun 2007 18:01:18 +0000 (18:01 +0000)]
Update comment to reflect change.
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).
David E. Eisenstat [Mon, 25 Jun 2007 16:19:19 +0000 (16:19 +0000)]
Update host key in main loop.
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