nodemanager.git
16 years agoAdded ReCreate. Also added try catch to api eval of rpc method. 1.5 1.5
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.

16 years agoprint slice name with traceback.
Faiyaz Ahmed [Wed, 7 Nov 2007 22:07:52 +0000 (22:07 +0000)]
print slice name with traceback.

16 years agolog slice name where applicable before traceback.
Faiyaz Ahmed [Wed, 7 Nov 2007 21:59:53 +0000 (21:59 +0000)]
log slice name where applicable before traceback.

16 years agoKill defunct nm procs in vservers when stopping.
Faiyaz Ahmed [Wed, 17 Oct 2007 20:21:19 +0000 (20:21 +0000)]
Kill defunct nm procs in vservers when stopping.

16 years agoremove build directory
Faiyaz Ahmed [Wed, 17 Oct 2007 18:21:29 +0000 (18:21 +0000)]
remove build directory

16 years agobump to 1.5.7
Faiyaz Ahmed [Wed, 17 Oct 2007 18:13:22 +0000 (18:13 +0000)]
bump to 1.5.7

16 years agoPatched with nm-disk-lock.patch provided by dhozac. Closes (or attempts to) [ticket...
Faiyaz Ahmed [Tue, 16 Oct 2007 20:14:57 +0000 (20:14 +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 mutexs.

16 years agoThis is a copy of the branch (which is still being worked on) pre migration. Branch...
Faiyaz Ahmed [Tue, 16 Oct 2007 20:10:27 +0000 (20:10 +0000)]
This is a copy of the branch (which is still being worked on) pre migration. Branch of the 1.5 series of the NM code.  Currently tagged to 1.5.6 (which is what the spec file reads) and corresponds to the latest rpm.

16 years agoBump Version
Faiyaz Ahmed [Thu, 20 Sep 2007 14:08:27 +0000 (14:08 +0000)]
Bump Version

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

16 years agoBump Version
Faiyaz Ahmed [Wed, 19 Sep 2007 17:52:04 +0000 (17:52 +0000)]
Bump Version

16 years agoBump build. 1.5-4.
Faiyaz Ahmed [Tue, 4 Sep 2007 20:54:44 +0000 (20:54 +0000)]
Bump build.  1.5-4.

16 years agoRemove call to Boot API to update ssh keys.
Faiyaz Ahmed [Tue, 4 Sep 2007 20:50:30 +0000 (20:50 +0000)]
Remove call to Boot API to update ssh keys.

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 agoMerge from head.
Faiyaz Ahmed [Fri, 24 Aug 2007 20:09:58 +0000 (20:09 +0000)]
Merge from head.

16 years agoLog when NM excepts and bombs out. merge from head.
Faiyaz Ahmed [Thu, 23 Aug 2007 19:51:22 +0000 (19:51 +0000)]
Log when NM excepts and bombs out.  merge from head.

16 years agoRemoved white list. Bumped version 1.5.3
Faiyaz Ahmed [Thu, 2 Aug 2007 20:28:21 +0000 (20:28 +0000)]
Removed white list.  Bumped version 1.5.3

16 years agoRestart instead of start/stop
Faiyaz Ahmed [Tue, 31 Jul 2007 18:58:51 +0000 (18:58 +0000)]
Restart instead of start/stop

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

16 years agoservice stop/start instead of restart in postinstall
Faiyaz Ahmed [Tue, 31 Jul 2007 18:21:46 +0000 (18:21 +0000)]
service stop/start instead of restart in postinstall

16 years agoclean up log during post install.
Faiyaz Ahmed [Mon, 23 Jul 2007 20:47:18 +0000 (20:47 +0000)]
clean up log during post install.

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

16 years agoMerge from HEAD
Faiyaz Ahmed [Fri, 20 Jul 2007 19:49:05 +0000 (19:49 +0000)]
Merge from HEAD

16 years agoMerge from head
Faiyaz Ahmed [Fri, 20 Jul 2007 19:44:11 +0000 (19:44 +0000)]
Merge from head

16 years agomerge from head.
Faiyaz Ahmed [Tue, 26 Jun 2007 19:00:03 +0000 (19:00 +0000)]
merge from head.

16 years agoBump revision and build numbers.
Faiyaz Ahmed [Tue, 26 Jun 2007 18:05:27 +0000 (18:05 +0000)]
Bump revision and build numbers.

16 years agoMerge from head.
Faiyaz Ahmed [Tue, 26 Jun 2007 18:03:55 +0000 (18:03 +0000)]
Merge from head.

16 years agoMerge from head
Faiyaz Ahmed [Mon, 25 Jun 2007 17:47:10 +0000 (17:47 +0000)]
Merge from  head

16 years agoMerge from head.
Faiyaz Ahmed [Thu, 3 May 2007 03:54:07 +0000 (03:54 +0000)]
Merge from head.

16 years agoMerge from head. Resolves #20611.
Faiyaz Ahmed [Thu, 3 May 2007 03:51:18 +0000 (03:51 +0000)]
Merge from head.  Resolves #20611.

16 years agoMerg head.
Faiyaz Ahmed [Thu, 26 Apr 2007 19:12:02 +0000 (19:12 +0000)]
Merg head.

16 years agoMerge from head.
Faiyaz Ahmed [Thu, 26 Apr 2007 19:09:05 +0000 (19:09 +0000)]
Merge from head.

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

16 years agoMerge from Head.
Faiyaz Ahmed [Wed, 25 Apr 2007 22:20:58 +0000 (22:20 +0000)]
Merge from Head.

16 years agoMerge from head
Faiyaz Ahmed [Tue, 24 Apr 2007 23:33:33 +0000 (23:33 +0000)]
Merge from head

16 years agoFix for when newslices wasnt being populated. Slices were running without htbs
Faiyaz Ahmed [Tue, 24 Apr 2007 23:11:20 +0000 (23:11 +0000)]
Fix for when newslices wasnt being populated.  Slices were running without htbs

17 years agoForgot to import random
Faiyaz Ahmed [Mon, 23 Apr 2007 20:32:22 +0000 (20:32 +0000)]
Forgot to import random

17 years agoPad build number with 0
Faiyaz Ahmed [Mon, 23 Apr 2007 20:13:20 +0000 (20:13 +0000)]
Pad build number with 0

17 years agoMerge from head.
Faiyaz Ahmed [Mon, 23 Apr 2007 19:47:50 +0000 (19:47 +0000)]
Merge from head.

Includes fix for initscripts
also includes bw loans

17 years ago* merge from head: restart nm on upgrade.
Faiyaz Ahmed [Tue, 6 Mar 2007 16:13:32 +0000 (16:13 +0000)]
* merge from head:  restart nm on upgrade.

17 years ago* merge from head. David's fix for "Write slice name to /etc/slicename." bump rev.
Faiyaz Ahmed [Thu, 1 Mar 2007 20:29:00 +0000 (20:29 +0000)]
* merge from head.  David's fix for "Write slice name to /etc/slicename." bump rev.

17 years ago HATE RPMS
Faiyaz Ahmed [Wed, 28 Feb 2007 06:21:14 +0000 (06:21 +0000)]
 HATE RPMS

17 years ago* Fix negative bw messages.
Faiyaz Ahmed [Wed, 28 Feb 2007 05:26:54 +0000 (05:26 +0000)]
* Fix negative bw messages.

17 years agomerge changes from HEAD
Faiyaz Ahmed [Tue, 27 Feb 2007 23:30:05 +0000 (23:30 +0000)]
merge changes from HEAD

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

17 years ago* Merge with head. Incorporates fix for NM fork bombing, and bw min limits.
Faiyaz Ahmed [Tue, 27 Feb 2007 23:13:09 +0000 (23:13 +0000)]
* Merge with head.  Incorporates fix for NM fork bombing, and bw min limits.

17 years agoBump release. Merge from HEAD.
Faiyaz Ahmed [Mon, 26 Feb 2007 18:04:40 +0000 (18:04 +0000)]
Bump release.  Merge from HEAD.

17 years agomerge changes from head
Mark Huang [Wed, 7 Feb 2007 23:27:53 +0000 (23:27 +0000)]
merge changes from head

17 years agomerge changes from head
Mark Huang [Wed, 7 Feb 2007 04:25:31 +0000 (04:25 +0000)]
merge changes from head

17 years agomerge changes from HEAD
Mark Huang [Tue, 6 Feb 2007 22:29:34 +0000 (22:29 +0000)]
merge changes from HEAD

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Mon, 5 Feb 2007 22:50:06 +0000 (22:50 +0000)]
This commit was manufactured by cvs2svn to create branch
'planetlab-4_0-branch'.

17 years ago- pass rspec['vref'] instead of internal rspec['type'] to vuseradd -t
Mark Huang [Mon, 5 Feb 2007 22:50:05 +0000 (22:50 +0000)]
- pass rspec['vref'] instead of internal rspec['type'] to vuseradd -t

17 years agoAutomatically adjust stack sizes downward to avoid exhausting virtual
David E. Eisenstat [Mon, 5 Feb 2007 16:39:29 +0000 (16:39 +0000)]
Automatically adjust stack sizes downward to avoid exhausting virtual
memory.

17 years agoAdded a semaphore to keep multiple init_disk_info()s from knocking over the machine.
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.

17 years agoAdded NodeManager API calls for inspecting the slicename -> XID mapping and slice...
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.

17 years agoIncorporating old pl_mom into NM.
Faiyaz Ahmed [Sat, 3 Feb 2007 03:42:43 +0000 (03:42 +0000)]
Incorporating old pl_mom into NM.

*not ready yet.

17 years agosettle on names for net_ slice attributes
Mark Huang [Fri, 2 Feb 2007 19:58:51 +0000 (19:58 +0000)]
settle on names for net_ slice attributes

17 years ago- set methodresponse to True in ticket signing example code
Mark Huang [Thu, 1 Feb 2007 21:59:44 +0000 (21:59 +0000)]
- set methodresponse to True in ticket signing example code

17 years ago- add missing -f option
Mark Huang [Thu, 1 Feb 2007 21:56:15 +0000 (21:56 +0000)]
- add missing -f option

17 years ago- tickets do not have 'node_id' in them
Mark Huang [Thu, 1 Feb 2007 21:55:59 +0000 (21:55 +0000)]
- tickets do not have 'node_id' in them

17 years ago- raise an xmlrpclib.Fault on any exception while parsing/delivering ticket
Mark Huang [Thu, 1 Feb 2007 21:55:19 +0000 (21:55 +0000)]
- raise an xmlrpclib.Fault on any exception while parsing/delivering ticket

17 years agonm_enabled is true for positive values instead of nonzero values
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

17 years agofix --noscripts action
Mark Huang [Fri, 12 Jan 2007 06:36:38 +0000 (06:36 +0000)]
fix --noscripts action

17 years ago- gracefully skip non-existent conf files
Mark Huang [Fri, 12 Jan 2007 00:07:56 +0000 (00:07 +0000)]
- gracefully skip non-existent conf files

17 years ago- fail with non-zero exit code on e.g. 404 errors
Mark Huang [Fri, 12 Jan 2007 00:07:37 +0000 (00:07 +0000)]
- fail with non-zero exit code on e.g. 404 errors

17 years ago- add --noscripts option to skip running pre-, post-, and error commands
Mark Huang [Thu, 11 Jan 2007 23:46:22 +0000 (23:46 +0000)]
- add --noscripts option to skip running pre-, post-, and error commands

17 years ago- fix typo
Mark Huang [Thu, 11 Jan 2007 22:20:50 +0000 (22:20 +0000)]
- fix typo

17 years ago- specify AuthMethod
Mark Huang [Thu, 11 Jan 2007 22:01:17 +0000 (22:01 +0000)]
- specify AuthMethod

17 years ago- fix typo
Mark Huang [Thu, 11 Jan 2007 06:17:33 +0000 (06:17 +0000)]
- fix typo

17 years ago- GetSlivers() now returns a single struct
Mark Huang [Thu, 11 Jan 2007 06:17:32 +0000 (06:17 +0000)]
- GetSlivers() now returns a single struct

17 years ago- add net and proper to manifest
Mark Huang [Tue, 28 Nov 2006 21:36:06 +0000 (21:36 +0000)]
- add net and proper to manifest

17 years ago- generate proper configuration file from slice attribute proper_op
Mark Huang [Tue, 28 Nov 2006 21:35:58 +0000 (21:35 +0000)]
- generate proper configuration file from slice attribute proper_op

17 years ago- ignore /etc/proper/propd.conf (we deal with this separately in proper.py)
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)

17 years ago- add proper module
Mark Huang [Tue, 28 Nov 2006 21:35:11 +0000 (21:35 +0000)]
- add proper module

17 years ago- moved bwlimit stuff here
Mark Huang [Tue, 28 Nov 2006 19:45:01 +0000 (19:45 +0000)]
- moved bwlimit stuff here

17 years ago- be less verbose
Mark Huang [Tue, 28 Nov 2006 19:44:50 +0000 (19:44 +0000)]
- be less verbose
- use new callback method

17 years ago- move bwlimit stuff into net.py module
Mark Huang [Tue, 28 Nov 2006 19:44:27 +0000 (19:44 +0000)]
- move bwlimit stuff into net.py module

17 years ago- dynamically load, start, and callback into modules
Mark Huang [Tue, 28 Nov 2006 19:44:10 +0000 (19:44 +0000)]
- dynamically load, start, and callback into modules

17 years ago- build sioc module
Mark Huang [Mon, 27 Nov 2006 22:42:48 +0000 (22:42 +0000)]
- build sioc module

17 years ago- initialize bwlimit appropriately
Mark Huang [Mon, 27 Nov 2006 22:42:38 +0000 (22:42 +0000)]
- initialize bwlimit appropriately

17 years ago- specify --install-platlib to install sioc.so extension
Mark Huang [Mon, 27 Nov 2006 22:39:34 +0000 (22:39 +0000)]
- specify --install-platlib to install sioc.so extension

17 years ago- extension to gather information about local network interfaces
Mark Huang [Mon, 27 Nov 2006 22:39:09 +0000 (22:39 +0000)]
- extension to gather information about local network interfaces

17 years agoadd /etc/init.d/conf_files to update conf files once at startup
Mark Huang [Sat, 18 Nov 2006 18:43:18 +0000 (18:43 +0000)]
add /etc/init.d/conf_files to update conf files once at startup

17 years agoset global main variable
Mark Huang [Sat, 18 Nov 2006 18:32:50 +0000 (18:32 +0000)]
set global main variable

17 years agoimport os
Mark Huang [Sat, 18 Nov 2006 18:32:41 +0000 (18:32 +0000)]
import os

17 years agopass config to modules and support configurable polling interval
Mark Huang [Sat, 18 Nov 2006 18:17:25 +0000 (18:17 +0000)]
pass config to modules and support configurable polling interval

17 years agosupport passing config to modules
Mark Huang [Sat, 18 Nov 2006 18:16:54 +0000 (18:16 +0000)]
support passing config to modules

17 years agopass cacert to plcapi init
Mark Huang [Sat, 18 Nov 2006 18:16:40 +0000 (18:16 +0000)]
pass cacert to plcapi init

17 years agosupport one-shot run
Mark Huang [Sat, 18 Nov 2006 18:16:21 +0000 (18:16 +0000)]
support one-shot run

17 years agopass cacert and timeout to safexmlrpc init
Mark Huang [Sat, 18 Nov 2006 18:15:55 +0000 (18:15 +0000)]
pass cacert and timeout to safexmlrpc init

17 years agolook for PLC_API_CA_SSL_CRT (myplc), default to /usr/boot/cacert.pem (node)
Mark Huang [Sat, 18 Nov 2006 18:15:37 +0000 (18:15 +0000)]
look for PLC_API_CA_SSL_CRT (myplc), default to /usr/boot/cacert.pem (node)

17 years agosupport cacert specification and curl timeout
Mark Huang [Sat, 18 Nov 2006 18:14:55 +0000 (18:14 +0000)]
support cacert specification and curl timeout

17 years ago- revert incorrect mangling of 'type' slice attribute
Mark Huang [Thu, 16 Nov 2006 17:09:21 +0000 (17:09 +0000)]
- revert incorrect mangling of 'type' slice attribute

17 years agouse "vserver" as the default value for the slice attribute "type"
Mark Huang [Thu, 16 Nov 2006 16:18:24 +0000 (16:18 +0000)]
use "vserver" as the default value for the slice attribute "type"

17 years ago- don't care what 'type' attribute here
Mark Huang [Thu, 16 Nov 2006 16:16:48 +0000 (16:16 +0000)]
- don't care what 'type' attribute here

17 years ago- create leading directories of conf files
Mark Huang [Wed, 15 Nov 2006 22:50:27 +0000 (22:50 +0000)]
- create leading directories of conf files
- fix typo

17 years ago- pass vserver reference type
Mark Huang [Wed, 15 Nov 2006 22:50:12 +0000 (22:50 +0000)]
- pass vserver reference type

17 years ago- forgot nm.py
Mark Huang [Wed, 15 Nov 2006 20:02:49 +0000 (20:02 +0000)]
- forgot nm.py

17 years ago- enable /etc/init.d/nm
Mark Huang [Wed, 15 Nov 2006 19:27:36 +0000 (19:27 +0000)]
- enable /etc/init.d/nm

17 years ago- RPM spec file for new NodeManager package
Mark Huang [Mon, 13 Nov 2006 20:17:46 +0000 (20:17 +0000)]
- RPM spec file for new NodeManager package