nodemanager.git
11 years agoSetting tag nodemanager-2.0-38 2.0 nodemanager-2.0-38
Thierry Parmentelat [Tue, 26 Jun 2012 10:58:17 +0000 (12:58 +0200)]
Setting tag nodemanager-2.0-38
split packaging, nodemanager-vs (obsoletes NodeManager) and nodemanager-lib

11 years agofirst stab at splitting into 2 packages nodemanager-lib and nodemanager-vs
Thierry Parmentelat [Mon, 25 Jun 2012 12:51:55 +0000 (14:51 +0200)]
first stab at splitting into 2 packages nodemanager-lib and nodemanager-vs
we have nodemanager-vs Obsolete'ing NodeManager for hopefully smooth transition

11 years agoSetting tag nodemanager-2.0-37 nodemanager-2.0-37
Thierry Parmentelat [Thu, 21 Jun 2012 08:04:07 +0000 (10:04 +0200)]
Setting tag nodemanager-2.0-37
refactoring: isolate initscript functionality
aimed at making initscript implementation with lxc straightforward
show stack trace when module loading fails
accounts.py renamed into account.py for consistency

11 years agoadd initscript to packaging
Thierry Parmentelat [Wed, 20 Jun 2012 09:53:59 +0000 (11:53 +0200)]
add initscript to packaging

11 years agobailing out on core plugin loading prevents specialaccounts to open the door..
Thierry Parmentelat [Wed, 20 Jun 2012 08:50:59 +0000 (10:50 +0200)]
bailing out on core plugin loading prevents specialaccounts to open the door..

11 years agofailing to load core modules, especially slivermanager, is very serious;
Thierry Parmentelat [Wed, 20 Jun 2012 08:12:40 +0000 (10:12 +0200)]
failing to load core modules, especially slivermanager, is very serious;
in this case display exception and exit

11 years agocosmetic, reservation_policy=None does not deserve a message
Thierry Parmentelat [Wed, 20 Jun 2012 08:11:47 +0000 (10:11 +0200)]
cosmetic, reservation_policy=None does not deserve a message

11 years agooops, apparently this breaks it all
Thierry Parmentelat [Wed, 20 Jun 2012 06:04:55 +0000 (08:04 +0200)]
oops, apparently this breaks it all

11 years agoisolate initscript-related stuff in initscript.py and minor cleanups
Thierry Parmentelat [Tue, 19 Jun 2012 20:55:07 +0000 (22:55 +0200)]
isolate initscript-related stuff in initscript.py and minor cleanups

11 years agoremove svn keywords
Thierry Parmentelat [Thu, 14 Jun 2012 21:13:58 +0000 (00:13 +0300)]
remove svn keywords

11 years agofix make sync with new key conventions from tests/system - key_admin vs key1
Thierry Parmentelat [Thu, 14 Jun 2012 21:03:18 +0000 (00:03 +0300)]
fix make sync with new key conventions from tests/system - key_admin vs key1

11 years agorename accounts into account for consistency
Thierry Parmentelat [Thu, 14 Jun 2012 20:58:04 +0000 (23:58 +0300)]
rename accounts into account for consistency

11 years agomove expose_ssh_dir from sliver_vs to accounts
Thierry Parmentelat [Thu, 14 Jun 2012 20:54:53 +0000 (23:54 +0300)]
move expose_ssh_dir from sliver_vs to accounts

11 years agoSetting tag nodemanager-2.0-36 nodemanager-2.0-36
Thierry Parmentelat [Sun, 3 Jun 2012 13:49:25 +0000 (15:49 +0200)]
Setting tag nodemanager-2.0-36
/var/log/nodemanager shows duration of mainloop

11 years agodisplay working time at the end of each loop
Thierry Parmentelat [Tue, 22 May 2012 13:07:46 +0000 (15:07 +0200)]
display working time at the end of each loop

12 years agoSetting tag nodemanager-2.0-35 nodemanager-2.0-35
Thierry Parmentelat [Fri, 13 Apr 2012 14:35:56 +0000 (16:35 +0200)]
Setting tag nodemanager-2.0-35
remove Requires to deprecated vserver-* rpms, use sliceimage-* instead

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Fri, 13 Apr 2012 11:29:13 +0000 (13:29 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

12 years agorevert master branch to 2.0, lxc_devel is 2.1,
Thierry Parmentelat [Fri, 13 Apr 2012 11:21:42 +0000 (13:21 +0200)]
revert master branch to 2.0, lxc_devel is 2.1,
might remain separate for a wihle

12 years agofix comments about requires in specfile
Thierry Parmentelat [Fri, 13 Apr 2012 09:46:29 +0000 (11:46 +0200)]
fix comments about requires in specfile

12 years agobump release number
Thierry Parmentelat [Fri, 30 Mar 2012 07:12:43 +0000 (09:12 +0200)]
bump release number

12 years agouse sliceimage rpm
Thierry Parmentelat [Wed, 28 Mar 2012 17:34:26 +0000 (19:34 +0200)]
use sliceimage rpm

12 years agoSetting tag nodemanager-2.0-34 nodemanager-2.0-34
Thierry Parmentelat [Fri, 9 Dec 2011 07:47:15 +0000 (08:47 +0100)]
Setting tag nodemanager-2.0-34
Added memory scheduling to core scheduler
Core scheduler will now attempt to schedule cores on the same CPU to a slice, if a slice uses multiple cores

12 years agofix bug in name lookup of memory reservation
smbaker [Thu, 10 Nov 2011 02:12:03 +0000 (18:12 -0800)]
fix bug in name lookup of memory reservation

12 years agomemory scheduling, and cpu scheduling preference for siblings
smbaker [Wed, 9 Nov 2011 07:16:46 +0000 (23:16 -0800)]
memory scheduling, and cpu scheduling preference for siblings

12 years agoSetting tag nodemanager-2.0-33 nodemanager-2.0-1 nodemanager-2.0-33 nodemanager-2.1-0
Thierry Parmentelat [Thu, 7 Jul 2011 09:22:04 +0000 (11:22 +0200)]
Setting tag nodemanager-2.0-33
tweaked log policy for the core scheduler
curlwrapper has an optional verbose mode

12 years agodo not log messages about slices that receive default coresched reservations
smbaker [Fri, 1 Jul 2011 23:52:32 +0000 (16:52 -0700)]
do not log messages about slices that receive default coresched reservations

12 years agocurlwrapper has a verbose mode that can be turned on manually
Thierry Parmentelat [Wed, 29 Jun 2011 13:46:26 +0000 (15:46 +0200)]
curlwrapper has a verbose mode that can be turned on manually

12 years agosvn keywords and cosmetic
Thierry Parmentelat [Tue, 28 Jun 2011 20:15:18 +0000 (22:15 +0200)]
svn keywords and cosmetic

12 years agoSetting tag nodemanager-2.0-32 nodemanager-2.0-32
Baris Metin [Mon, 6 Jun 2011 18:48:29 +0000 (14:48 -0400)]
Setting tag nodemanager-2.0-32
fixes for hmac and omf_control tags
optional besteffort flag to core scheduler
logrotate entry for /var/log/nodemanager.daemon
a template for bash initscripts

12 years agofix passing optional -i to vuseradd
Thierry Parmentelat [Mon, 23 May 2011 13:50:00 +0000 (15:50 +0200)]
fix passing optional -i to vuseradd

12 years agoAdd isolated_loopback slice tag support.
Stephen Soltesz [Thu, 12 May 2011 21:46:01 +0000 (17:46 -0400)]
Add isolated_loopback slice tag support.

12 years agoapparently this is just a bug. we can set both hmac and omf_control tags
Baris Metin [Mon, 9 May 2011 21:50:09 +0000 (17:50 -0400)]
apparently this is just a bug. we can set both hmac and omf_control tags

12 years agocan not set sliver tags for system slices
Baris Metin [Mon, 9 May 2011 21:45:09 +0000 (17:45 -0400)]
can not set sliver tags for system slices

13 years agoMerge commit 'origin/master'
root [Tue, 5 Apr 2011 23:52:33 +0000 (01:52 +0200)]
Merge commit 'origin/master'

13 years agoadd optional besteffort flag to core scheduler
smbaker [Tue, 5 Apr 2011 23:50:10 +0000 (16:50 -0700)]
add optional besteffort flag to core scheduler

13 years agoMerge commit 'origin/master'
root [Fri, 1 Apr 2011 20:58:20 +0000 (22:58 +0200)]
Merge commit 'origin/master'

13 years agoAdd a logrotate entry for /var/log/nodemanager.daemon, which can get
Stephen Soltesz [Fri, 1 Apr 2011 20:54:55 +0000 (16:54 -0400)]
Add a logrotate entry for /var/log/nodemanager.daemon, which can get
out-of-hand on some nodes filling up the root partition.

13 years agoa yum_install function
Thierry Parmentelat [Wed, 23 Mar 2011 14:19:28 +0000 (15:19 +0100)]
a yum_install function

13 years agomoved where it belongs
Thierry Parmentelat [Wed, 23 Mar 2011 08:29:46 +0000 (09:29 +0100)]
moved where it belongs

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Wed, 23 Mar 2011 08:21:40 +0000 (09:21 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

13 years agoa template for bash initscripts
Thierry Parmentelat [Wed, 23 Mar 2011 08:21:32 +0000 (09:21 +0100)]
a template for bash initscripts

13 years agoSetting tag nodemanager-2.0-31 nodemanager-2.0-31
Thierry Parmentelat [Tue, 22 Mar 2011 12:27:40 +0000 (13:27 +0100)]
Setting tag nodemanager-2.0-31
rename initscript_body into initscript_code
fix generic vinit for broken bash syntax &>>

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Mon, 21 Mar 2011 22:07:14 +0000 (23:07 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

13 years agofix syntax error
S.Çağlar Onur [Mon, 21 Mar 2011 22:01:22 +0000 (18:01 -0400)]
fix syntax error

13 years agorename initscript_body into initscript_code
Thierry Parmentelat [Mon, 21 Mar 2011 21:53:15 +0000 (22:53 +0100)]
rename initscript_body into initscript_code

13 years agofix for fedora 8 that has broken bash &>>
Thierry Parmentelat [Mon, 21 Mar 2011 14:56:28 +0000 (15:56 +0100)]
fix for fedora 8 that has broken bash &>>

13 years agoSetting tag nodemanager-2.0-30 nodemanager-2.0-30
Thierry Parmentelat [Sun, 20 Mar 2011 23:51:28 +0000 (00:51 +0100)]
Setting tag nodemanager-2.0-30
new initscript_body slice tag, with stop and restart
generic vinit script live updated
new coresched module
protect against non-existing vsys scripts
use Config. instead of globals

13 years agoGenerate an error, not exception when an unknown tag is used
Sapan Bhatia [Fri, 18 Mar 2011 19:21:21 +0000 (15:21 -0400)]
Generate an error, not exception when an unknown tag is used

13 years agoexpect slice initscript to implement stop and restart
Thierry Parmentelat [Fri, 18 Mar 2011 09:21:34 +0000 (10:21 +0100)]
expect slice initscript to implement stop and restart
generic initscript to call slice initscript with stop/restart
rerun now invokes generic script
update generic initscript into slices at each cycle too

13 years agorestart nm upon make sync
Thierry Parmentelat [Fri, 18 Mar 2011 09:19:27 +0000 (10:19 +0100)]
restart nm upon make sync

13 years agoif 'initscript_body' is defined on a slice, its contents is used (as the text)
Thierry Parmentelat [Wed, 16 Mar 2011 16:53:00 +0000 (17:53 +0100)]
if 'initscript_body' is defined on a slice, its contents is used (as the text)
in this case 'initscript' is not considered at all

13 years agorerun initscript with 'restart' argument if the initscript is changed after the slive...
smbaker [Sun, 13 Mar 2011 03:46:14 +0000 (19:46 -0800)]
rerun initscript with 'restart' argument if the initscript is changed after the sliver has been created

13 years agosupport for scheduling cores to slices
smbaker [Wed, 9 Mar 2011 00:27:42 +0000 (16:27 -0800)]
support for scheduling cores to slices

13 years agoPick up changes in plc_config
Andy Bavier [Mon, 28 Feb 2011 22:26:28 +0000 (17:26 -0500)]
Pick up changes in plc_config

PL-23
Get bwmon to pick up changes in /etc/planetlab/plc_config without restarting NodeManager.

13 years agoSetting tag nodemanager-2.0-29 nodemanager-2.0-29
Thierry Parmentelat [Sun, 20 Feb 2011 10:45:21 +0000 (11:45 +0100)]
Setting tag nodemanager-2.0-29
more robust reservation plugin

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Sun, 20 Feb 2011 10:43:41 +0000 (11:43 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

13 years agomore robust reservation module
Thierry Parmentelat [Fri, 18 Feb 2011 14:44:29 +0000 (15:44 +0100)]
more robust reservation module

13 years agotweak warning message
Thierry Parmentelat [Fri, 18 Feb 2011 12:45:36 +0000 (13:45 +0100)]
tweak warning message

13 years agoSetting tag nodemanager-2.0-28 nodemanager-2.0-28
Thierry Parmentelat [Thu, 17 Feb 2011 21:01:21 +0000 (22:01 +0100)]
Setting tag nodemanager-2.0-28
bind-mount slice's .ssh into sliver for omf-friendly slices - no need to use dotsshmount (vsys) anymore
reservation plugin more robust

13 years agoexpose .ssh in homedir only for omf-friendly slices
Thierry Parmentelat [Thu, 17 Feb 2011 15:15:38 +0000 (16:15 +0100)]
expose .ssh in homedir only for omf-friendly slices

13 years agosvn kwds
Thierry Parmentelat [Thu, 17 Feb 2011 15:14:44 +0000 (16:14 +0100)]
svn kwds

13 years agofirst working version of .ssh getting exposed to slices
Thierry Parmentelat [Thu, 17 Feb 2011 14:34:34 +0000 (15:34 +0100)]
first working version of .ssh getting exposed to slices
done for all slices at this point, next step will handle omf-friendly
slices only

13 years agoreview reservation module
Thierry Parmentelat [Wed, 16 Feb 2011 20:02:21 +0000 (21:02 +0100)]
review reservation module

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Wed, 16 Feb 2011 19:58:22 +0000 (20:58 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

13 years agobind mount sliver's .ssh dir into the slice
Thierry Parmentelat [Wed, 16 Feb 2011 19:58:12 +0000 (20:58 +0100)]
bind mount sliver's .ssh dir into the slice

13 years agosvn-keywords
Thierry Parmentelat [Wed, 16 Feb 2011 17:36:09 +0000 (18:36 +0100)]
svn-keywords

13 years agoimport sfa.util.config.Config as SSfaConfig to avoid interference with nodemanagers...
Tony Mack [Tue, 8 Feb 2011 22:07:19 +0000 (17:07 -0500)]
import sfa.util.config.Config as SSfaConfig to avoid interference with nodemanagers config class

13 years agoSetting tag nodemanager-2.0-27 nodemanager-2.0-27
Thierry Parmentelat [Tue, 1 Feb 2011 19:33:18 +0000 (20:33 +0100)]
Setting tag nodemanager-2.0-27
pass device to bwlimit

13 years agoFixes for devices other than eth0
Andy Bavier [Thu, 27 Jan 2011 16:47:24 +0000 (11:47 -0500)]
Fixes for devices other than eth0

BW limits were not working on nodes that don't use eth0 as the default interface.  Fixed by adding the default network device as an argument to the appropriate bwlimit calls.

13 years agoSetting tag nodemanager-2.0-26 nodemanager-2.0-26
S.Çağlar Onur [Wed, 26 Jan 2011 00:51:29 +0000 (19:51 -0500)]
Setting tag nodemanager-2.0-26
start to use /etc/vservers/<guest>/sysctl/<id>/{setting,value} files as new kernels don't support old syntax

13 years agoremove dead setup argument
S.Çağlar Onur [Thu, 20 Jan 2011 23:20:18 +0000 (18:20 -0500)]
remove dead setup argument

13 years agostart to use /etc/vservers/<guest>/sysctl/<id>/{setting,value} files as new kernels...
S.Çağlar Onur [Thu, 20 Jan 2011 22:00:50 +0000 (17:00 -0500)]
start to use /etc/vservers/<guest>/sysctl/<id>/{setting,value} files as new kernels don't support old syntax

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Wed, 5 Jan 2011 16:54:57 +0000 (17:54 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

13 years agofix URL in specfile - rm svn-keywords
Thierry Parmentelat [Wed, 5 Jan 2011 16:54:53 +0000 (17:54 +0100)]
fix URL in specfile - rm svn-keywords

13 years agoSetting tag nodemanager-2.0-25 nodemanager-2.0-25
S.Çağlar Onur [Tue, 4 Jan 2011 21:14:53 +0000 (16:14 -0500)]
Setting tag nodemanager-2.0-25
Catch all exceptions for sfa plugin

13 years agocatch all
S.Çağlar Onur [Tue, 4 Jan 2011 21:11:28 +0000 (16:11 -0500)]
catch all

13 years agoSetting tag nodemanager-2.0-24 nodemanager-2.0-24
S.Çağlar Onur [Thu, 23 Dec 2010 01:29:11 +0000 (20:29 -0500)]
Setting tag nodemanager-2.0-24
Handle exception AttributeError: ComponentAPI instance has no attribute 'get_registry'

13 years agohandle AttributeError: ComponentAPI instance has no attribute 'get_registry'
S.Çağlar Onur [Thu, 23 Dec 2010 01:27:39 +0000 (20:27 -0500)]
handle AttributeError: ComponentAPI instance has no attribute 'get_registry'

13 years agoSetting tag nodemanager-2.0-23 nodemanager-2.0-23
S.Çağlar Onur [Mon, 29 Nov 2010 21:05:12 +0000 (16:05 -0500)]
Setting tag nodemanager-2.0-23
Use networks key if interfaces is missing to solve the incompatibility between new NM and old API

13 years agoremove useless comments
S.Çağlar Onur [Mon, 29 Nov 2010 21:00:18 +0000 (16:00 -0500)]
remove useless comments

13 years agouse networks key if interfaces is missing. Band-aid for short period of time as old...
S.Çağlar Onur [Mon, 29 Nov 2010 20:59:02 +0000 (15:59 -0500)]
use networks key if interfaces is missing. Band-aid for short period of time as old API returns networks key

13 years agoSetting tag nodemanager-2.0-22 nodemanager-2.0-22
S.Çağlar Onur [Mon, 29 Nov 2010 17:36:06 +0000 (12:36 -0500)]
Setting tag nodemanager-2.0-22
plugins/sliverauth.py improvements

13 years agomanage hmac slice tag only if slice has enable_hmac tag set
Barış Metin [Fri, 19 Nov 2010 14:38:20 +0000 (15:38 +0100)]
manage hmac slice tag only if slice has enable_hmac tag set

13 years agoset ssh tag only if omf_control is tag is set
Barış Metin [Thu, 18 Nov 2010 11:03:46 +0000 (12:03 +0100)]
set ssh tag only if omf_control is tag is set

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/nodemanager
S.Çağlar Onur [Mon, 11 Oct 2010 21:03:11 +0000 (17:03 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/nodemanager

13 years agohandle AttributeError instead of disabling sfa plugin
S.Çağlar Onur [Mon, 11 Oct 2010 21:02:55 +0000 (17:02 -0400)]
handle AttributeError instead of disabling sfa plugin

13 years agoSetting tag nodemanager-2.0-21 nodemanager-2.0-21
S.Çağlar Onur [Mon, 11 Oct 2010 20:39:34 +0000 (16:39 -0400)]
Setting tag nodemanager-2.0-21
Disable sfagids plugin

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/nodemanager
S.Çağlar Onur [Mon, 11 Oct 2010 20:38:22 +0000 (16:38 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/nodemanager

13 years agodisable sfagids plugins otherwise NM dies with following error
S.Çağlar Onur [Mon, 11 Oct 2010 20:38:16 +0000 (16:38 -0400)]
disable sfagids plugins otherwise NM dies with following error
AttributeError: ComponentAPI instance has no attribute 'get_node_key'

13 years agoSetting tag nodemanager-2.0-20 nodemanager-2.0-20
S.Çağlar Onur [Mon, 11 Oct 2010 20:29:24 +0000 (16:29 -0400)]
Setting tag nodemanager-2.0-20
Re-tag nodemanager to include conflicted commits

13 years agofix merge between onelab and princeton repositories
Barış Metin [Mon, 11 Oct 2010 14:06:05 +0000 (16:06 +0200)]
fix merge between onelab and princeton repositories

13 years agoSetting tag nodemanager-2.0-19 nodemanager-2.0-19
Thierry Parmentelat [Thu, 23 Sep 2010 10:54:28 +0000 (12:54 +0200)]
Setting tag nodemanager-2.0-19
hotfix - make the UpdateSliceTag for ssh_key really incremental (was storming the API)
sfagids plugin deleted
band-aid patch for lack of GetSliceFamily removed

13 years agomanually fix taglevel
Thierry Parmentelat [Thu, 23 Sep 2010 10:50:28 +0000 (12:50 +0200)]
manually fix taglevel

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Thu, 23 Sep 2010 10:45:38 +0000 (12:45 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

13 years agohotfix: the ssh_key for slivers was not properly compared, and was
Thierry Parmentelat [Thu, 23 Sep 2010 10:44:40 +0000 (12:44 +0200)]
hotfix: the ssh_key for slivers was not properly compared, and was
causing a storm of UpdateSliceTags

13 years agoif pkey isnt installed request it from the registry
Tony Mack [Tue, 7 Sep 2010 22:21:57 +0000 (18:21 -0400)]
if pkey isnt installed request it from the registry

13 years agofix NameError in get_keypair
Tony Mack [Tue, 7 Sep 2010 21:49:42 +0000 (17:49 -0400)]
fix NameError in get_keypair

13 years agouse registry.get_gids() for now. Switch to registry.GetGids() when PLC upgrades...
Tony Mack [Wed, 25 Aug 2010 20:38:58 +0000 (16:38 -0400)]
use registry.get_gids() for now. Switch to registry.GetGids() when  PLC upgrades to sfa-0.9-15

13 years agovarious bugfixes
Tony Mack [Wed, 25 Aug 2010 20:31:20 +0000 (16:31 -0400)]
various bugfixes

13 years agoshould import ComponentAPI instead of SfaAPI
Tony Mack [Wed, 25 Aug 2010 19:12:48 +0000 (15:12 -0400)]
should import ComponentAPI instead of SfaAPI