nodemanager.git
16 years agoThis commit was manufactured by cvs2svn to create tag planetlab-4_1-rc1
Planet-Lab Support [Mon, 23 Jul 2007 20:47:19 +0000 (20:47 +0000)]
This commit was manufactured by cvs2svn to create tag
'planetlab-4_1-rc1'.

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

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

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

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

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

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

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

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

17 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

17 years ago- poll PLC every 10 minutes
Mark Huang [Mon, 13 Nov 2006 20:17:20 +0000 (20:17 +0000)]
- poll PLC every 10 minutes

17 years agopackage details
Mark Huang [Mon, 13 Nov 2006 20:04:44 +0000 (20:04 +0000)]
package details

17 years ago- write pid to /var/run/nm.pid
Mark Huang [Mon, 13 Nov 2006 20:03:43 +0000 (20:03 +0000)]
- write pid to /var/run/nm.pid

17 years ago- log to /var/log/nm
Mark Huang [Mon, 13 Nov 2006 19:56:57 +0000 (19:56 +0000)]
- log to /var/log/nm

17 years ago- move forward_api_calls to /usr/bin
Mark Huang [Mon, 13 Nov 2006 19:56:50 +0000 (19:56 +0000)]
- move forward_api_calls to /usr/bin

17 years ago- pass reference type to sliver_vs.create()
Mark Huang [Mon, 13 Nov 2006 19:34:31 +0000 (19:34 +0000)]
- pass reference type to sliver_vs.create()

17 years ago- document the default rspec
Mark Huang [Mon, 13 Nov 2006 19:06:22 +0000 (19:06 +0000)]
- document the default rspec
- get sliver type and vref from attributes

17 years ago- if /vservers/sliver does not exist (but /etc/passwd entry does),
Mark Huang [Mon, 13 Nov 2006 19:05:42 +0000 (19:05 +0000)]
- if /vservers/sliver does not exist (but /etc/passwd entry does),
  create it
- call vuseradd with -t option if vref is specified

17 years agoDisallow multiple conf_files instances and have conf_files use curl with certificates.
David E. Eisenstat [Fri, 10 Nov 2006 21:08:41 +0000 (21:08 +0000)]
Disallow multiple conf_files instances and have conf_files use curl with certificates.

17 years agoCertificate-checking xmlrpc interface + use /usr/boot/pubring.gpg as the default...
David E. Eisenstat [Fri, 10 Nov 2006 19:07:29 +0000 (19:07 +0000)]
Certificate-checking xmlrpc interface + use /usr/boot/pubring.gpg as the default keyring when invoking gpg.

17 years ago- fix canonicalize() call
Mark Huang [Thu, 9 Nov 2006 20:24:28 +0000 (20:24 +0000)]
- fix canonicalize() call

17 years agoTICKETS!!!
David E. Eisenstat [Wed, 1 Nov 2006 22:39:53 +0000 (22:39 +0000)]
TICKETS!!!

17 years agoAdded a very simple gnupg interface.
David E. Eisenstat [Wed, 1 Nov 2006 21:56:29 +0000 (21:56 +0000)]
Added a very simple gnupg interface.

17 years ago- Test script for obtaining a node session key
Mark Huang [Tue, 31 Oct 2006 23:19:28 +0000 (23:19 +0000)]
- Test script for obtaining a node session key

17 years ago- add example
Mark Huang [Tue, 31 Oct 2006 23:16:16 +0000 (23:16 +0000)]
- add example

17 years agoconfiguration file "parser"
Mark Huang [Tue, 31 Oct 2006 23:15:12 +0000 (23:15 +0000)]
configuration file "parser"

17 years ago- warn if pid file generation fails
Mark Huang [Tue, 31 Oct 2006 23:14:41 +0000 (23:14 +0000)]
- warn if pid file generation fails
- warn if callback registration fails
- initialize XML-RPC interface, call GetSlivers() for real

17 years ago- write log messages to stderr if log file is inaccessible
Mark Huang [Tue, 31 Oct 2006 23:09:58 +0000 (23:09 +0000)]
- write log messages to stderr if log file is inaccessible

17 years ago- utility class for accessing PLCAPI
Mark Huang [Tue, 31 Oct 2006 23:09:30 +0000 (23:09 +0000)]
- utility class for accessing PLCAPI