Thierry Parmentelat [Wed, 16 Feb 2011 19:58:12 +0000 (20:58 +0100)]
bind mount sliver's .ssh dir into the slice
Thierry Parmentelat [Wed, 16 Feb 2011 17:36:09 +0000 (18:36 +0100)]
svn-keywords
Thierry Parmentelat [Tue, 1 Feb 2011 19:33:18 +0000 (20:33 +0100)]
Setting tag nodemanager-2.0-27
pass device to bwlimit
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.
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
S.Çağlar Onur [Thu, 20 Jan 2011 23:20:18 +0000 (18:20 -0500)]
remove dead setup argument
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
Thierry Parmentelat [Wed, 5 Jan 2011 16:54:57 +0000 (17:54 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Wed, 5 Jan 2011 16:54:53 +0000 (17:54 +0100)]
fix URL in specfile - rm svn-keywords
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
S.Çağlar Onur [Tue, 4 Jan 2011 21:11:28 +0000 (16:11 -0500)]
catch all
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'
S.Çağlar Onur [Thu, 23 Dec 2010 01:27:39 +0000 (20:27 -0500)]
handle AttributeError: ComponentAPI instance has no attribute 'get_registry'
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
S.Çağlar Onur [Mon, 29 Nov 2010 21:00:18 +0000 (16:00 -0500)]
remove useless comments
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
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
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
Barış Metin [Thu, 18 Nov 2010 11:03:46 +0000 (12:03 +0100)]
set ssh tag only if omf_control is tag is set
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
S.Çağlar Onur [Mon, 11 Oct 2010 21:02:55 +0000 (17:02 -0400)]
handle AttributeError instead of disabling sfa plugin
S.Çağlar Onur [Mon, 11 Oct 2010 20:39:34 +0000 (16:39 -0400)]
Setting tag nodemanager-2.0-21
Disable sfagids plugin
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
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'
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
Barış Metin [Mon, 11 Oct 2010 14:06:05 +0000 (16:06 +0200)]
fix merge between onelab and princeton repositories
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
Thierry Parmentelat [Thu, 23 Sep 2010 10:50:28 +0000 (12:50 +0200)]
manually fix taglevel
Thierry Parmentelat [Thu, 23 Sep 2010 10:45:38 +0000 (12:45 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
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
Tony Mack [Tue, 7 Sep 2010 22:21:57 +0000 (18:21 -0400)]
if pkey isnt installed request it from the registry
Tony Mack [Tue, 7 Sep 2010 21:49:42 +0000 (17:49 -0400)]
fix NameError in get_keypair
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
Tony Mack [Wed, 25 Aug 2010 20:31:20 +0000 (16:31 -0400)]
various bugfixes
Tony Mack [Wed, 25 Aug 2010 19:12:48 +0000 (15:12 -0400)]
should import ComponentAPI instead of SfaAPI
S.Çağlar Onur [Mon, 23 Aug 2010 20:18:17 +0000 (16:18 -0400)]
Setting tag nodemanager-2.0-18
S.Çağlar Onur [Mon, 23 Aug 2010 20:15:30 +0000 (16:15 -0400)]
hardcode planetlab-f8-i386 as a vref until migration from 4.3 to 5.0 completes
Tony Mack [Thu, 12 Aug 2010 02:27:56 +0000 (22:27 -0400)]
initial checkin of NM plugin for installing SFA gids
Daniel Hokka Zakrisson [Mon, 26 Jul 2010 19:31:51 +0000 (15:31 -0400)]
cciss fix and cleaner way to reach the partition.
Daniel Hokka Zakrisson [Fri, 23 Jul 2010 14:29:32 +0000 (10:29 -0400)]
Fix for cciss.
Thierry Parmentelat [Fri, 16 Jul 2010 12:29:32 +0000 (14:29 +0200)]
Setting tag nodemanager-2.0-17
revert curlwrapper to former forking-curl version
fixes in the omf plugin for ssh key location and node hrn
set umask 0022 in tools.daemon
Thierry Parmentelat [Fri, 16 Jul 2010 12:27:45 +0000 (14:27 +0200)]
preserve comment that ends in the config file
Thierry Parmentelat [Fri, 16 Jul 2010 12:07:40 +0000 (14:07 +0200)]
revert to the forking-curl approach to curlwrapper
Thierry Parmentelat [Fri, 16 Jul 2010 10:59:58 +0000 (12:59 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Barış Metin [Fri, 16 Jul 2010 07:05:45 +0000 (09:05 +0200)]
Merge remote branch 'origin/master'
Barış Metin [Fri, 16 Jul 2010 07:05:30 +0000 (09:05 +0200)]
fix path for the sliver private key
Thierry Parmentelat [Thu, 15 Jul 2010 17:19:06 +0000 (19:19 +0200)]
lingering cosmetic
S.Çağlar Onur [Wed, 14 Jul 2010 17:15:39 +0000 (13:15 -0400)]
use system-wide umask value otherwise all directories under /dev/cgroup and /vservers become world writable
Thierry Parmentelat [Fri, 9 Jul 2010 15:17:44 +0000 (17:17 +0200)]
exclude git repo
Barış Metin [Thu, 8 Jul 2010 13:58:13 +0000 (15:58 +0200)]
Setting tag nodemanager-2.0-16
configure omf-resctl for keys
Barış Metin [Thu, 8 Jul 2010 11:01:50 +0000 (13:01 +0200)]
add sliver keys to resctl configuration
Barış Metin [Mon, 5 Jul 2010 17:15:34 +0000 (17:15 +0000)]
Setting tag NodeManager-2.0-15
fix key generation
Barış Metin [Mon, 5 Jul 2010 17:14:11 +0000 (17:14 +0000)]
fix key generation
Barış Metin [Mon, 5 Jul 2010 12:19:20 +0000 (12:19 +0000)]
Setting tag NodeManager-2.0-14
name changes and fix typos
Thierry Parmentelat [Fri, 2 Jul 2010 10:54:58 +0000 (10:54 +0000)]
uses lowercase module names - needs the fix in myplc-docs.spec
S.Çağlar Onur [Thu, 1 Jul 2010 20:47:13 +0000 (20:47 +0000)]
fix the typo
Thierry Parmentelat [Thu, 1 Jul 2010 14:48:31 +0000 (14:48 +0000)]
store sliver ssh keys in the root /home and rely on the mounting vsys script to expose it
S.Çağlar Onur [Mon, 28 Jun 2010 18:13:42 +0000 (18:13 +0000)]
Setting tag NodeManager-2.0-13
remove config and options parameters from start function
S.Çağlar Onur [Mon, 28 Jun 2010 17:34:58 +0000 (17:34 +0000)]
remove config and options parameters from start function as nobody uses them
Thierry Parmentelat [Sat, 26 Jun 2010 06:13:27 +0000 (06:13 +0000)]
Setting tag NodeManager-2.0-12
working version of reservable nodes
sliverauth generates an ssh keypair and export pub part as 'ssh_key' tag
dismantled the -s|--startup option (no convincing need for that)
simpler and more robust init.d/nm
initscript content management through replace_file_with_string
sliverauth uses replace_file_with_string
curlwrapper has a debug mode
Thierry Parmentelat [Fri, 25 Jun 2010 16:31:05 +0000 (16:31 +0000)]
note-added
Thierry Parmentelat [Fri, 25 Jun 2010 16:30:49 +0000 (16:30 +0000)]
first working code for reservations
Thierry Parmentelat [Fri, 25 Jun 2010 16:30:36 +0000 (16:30 +0000)]
first working code for reservations
Thierry Parmentelat [Fri, 25 Jun 2010 13:58:00 +0000 (13:58 +0000)]
take down the -s (startingup) option
Thierry Parmentelat [Fri, 25 Jun 2010 13:51:53 +0000 (13:51 +0000)]
cosmetic
Thierry Parmentelat [Fri, 25 Jun 2010 13:50:39 +0000 (13:50 +0000)]
placeholder
Thierry Parmentelat [Fri, 25 Jun 2010 13:02:44 +0000 (13:02 +0000)]
review ssh generation for deleted/re-created slivers
Thierry Parmentelat [Fri, 25 Jun 2010 13:02:09 +0000 (13:02 +0000)]
rename local config file
Thierry Parmentelat [Thu, 24 Jun 2010 15:09:58 +0000 (15:09 +0000)]
sliverauth generates a sliver ssh keypair and exposes it in the 'ssh_key' tag
sliverauth uses replace_file_with_string
replace_file_with_string uses sliverauth's atomic code
Thierry Parmentelat [Thu, 24 Jun 2010 14:59:00 +0000 (14:59 +0000)]
cosmetic
Thierry Parmentelat [Thu, 24 Jun 2010 13:20:27 +0000 (13:20 +0000)]
bugfix for initscript creation
Thierry Parmentelat [Thu, 24 Jun 2010 11:22:24 +0000 (11:22 +0000)]
bugfix in child processes management - review initscript install
Thierry Parmentelat [Thu, 24 Jun 2010 11:20:57 +0000 (11:20 +0000)]
uses pidfile for all steps - more robust
Thierry Parmentelat [Thu, 24 Jun 2010 11:19:40 +0000 (11:19 +0000)]
debug mode might be useful occasionnally
Thierry Parmentelat [Wed, 23 Jun 2010 08:30:07 +0000 (08:30 +0000)]
Setting tag NodeManager-2.0-11
pretty-printing/normalized python code - hopefully neutral
S.Çağlar Onur [Tue, 22 Jun 2010 21:26:44 +0000 (21:26 +0000)]
- Change .py files to use 4-space indents and no hard tab characters.
- Trim excess spaces and tabs from ends of lines, and remove empty lines at the end of files.
- Ensure the last line ends with a newline.
Thierry Parmentelat [Tue, 22 Jun 2010 18:53:40 +0000 (18:53 +0000)]
Setting tag NodeManager-2.0-10
(1) unconditionnally install and chkconfig-like a generic 'vinit' service
that triggers /etc/init.d/vinit.slice if present and executable
(2) install the slice-provided initscript (as per the initscript tag) as
/etc/init.d/vinit.slice
(3) as a result the initscript are now triggered by rc as part of the
standard vserver .. start, properly attached to the vserver,
and properly killed upon vserver .. stop
(4) this works best with util-vserver-pl 0.3-31 or 0.4-12
Thierry Parmentelat [Tue, 22 Jun 2010 13:39:04 +0000 (13:39 +0000)]
provide a generic stop method for the initscript
Thierry Parmentelat [Mon, 21 Jun 2010 14:54:01 +0000 (14:54 +0000)]
initscripts are now triggered through rc via a generic /etc/init.d/vinit
that script is always installed and chkconfig-enabled
it then checks for /etc/init.d/vinit.slice, from the initscript tag
this way this process group correctly gets wiped when the sliver is shutdown
this was confirmed to not be the case formerly
Thierry Parmentelat [Fri, 18 Jun 2010 15:48:54 +0000 (15:48 +0000)]
cosmetic
Thierry Parmentelat [Wed, 16 Jun 2010 08:17:40 +0000 (08:17 +0000)]
Setting tag NodeManager-2.0-9
fix for 64bits nodes: add newline to the personality files that instruct util-vserver to create 32bits slivers
basic/partial support from reservable nodes through the 'reservation plugin' (not fully working yet)
plugins can set 'persistent_data' to receive the latests know GetSlivers in case the connection is down
cleanup: moved runtime files in /var/lib/nodemanager, and logs as /var/log/nodemanager* (see specfile)
cleanup: some modules renamed (e.g. nm.py becomes nodemanager.py)
cleanup: nodemanger now is a class; however plugins are still dumb modules
cleanup: does not depend on obsolete Set
Thierry Parmentelat [Fri, 11 Jun 2010 16:33:05 +0000 (16:33 +0000)]
basics are OK; still needs to prevent the regular slivermanager from starting slivers in reservation mode
Thierry Parmentelat [Fri, 11 Jun 2010 16:32:20 +0000 (16:32 +0000)]
more data stored in verbose mode
Thierry Parmentelat [Fri, 11 Jun 2010 15:07:50 +0000 (15:07 +0000)]
cosmetic
Thierry Parmentelat [Fri, 11 Jun 2010 15:07:43 +0000 (15:07 +0000)]
checkpoint
Thierry Parmentelat [Thu, 10 Jun 2010 17:13:26 +0000 (17:13 +0000)]
cosmetic
Thierry Parmentelat [Wed, 9 Jun 2010 17:58:19 +0000 (17:58 +0000)]
moving towards reservable nodes
Thierry Parmentelat [Wed, 2 Jun 2010 16:22:39 +0000 (16:22 +0000)]
dummy/scaffolding plugin for reservations
modules that set 'persistent_data' are provided with the latest known getslivers data instead of {}
nodemanager now is a class
bwmon.data renamed more consistently into /var/lib/nodemanager/bwmon.pickle
cleaned up deprecated uses of Set
Thierry Parmentelat [Wed, 2 Jun 2010 10:54:18 +0000 (10:54 +0000)]
add trailing newline in sliver's personality config file
Thierry Parmentelat [Wed, 2 Jun 2010 10:01:22 +0000 (10:01 +0000)]
cosmetic: protect drl against void getslivers
Thierry Parmentelat [Tue, 1 Jun 2010 08:41:45 +0000 (08:41 +0000)]
more renamings
Thierry Parmentelat [Tue, 1 Jun 2010 07:46:28 +0000 (07:46 +0000)]
renamed files used at runtime (see post-install script in specfile)
curlwrapper now uses pycurl
needs testing
Barış Metin [Fri, 14 May 2010 18:11:37 +0000 (18:11 +0000)]
Setting tag NodeManager-2.0-8
tagging before RC
S.Çağlar Onur [Wed, 12 May 2010 17:14:06 +0000 (17:14 +0000)]
fix harmless slice_id does not end on newline warning
S.Çağlar Onur [Wed, 12 May 2010 14:47:28 +0000 (14:47 +0000)]
Setting tag NodeManager-2.0-7
Fix typos in plugins/drl.py and doc/NMAPI.xml.in
Added some precautions to the slice id-saving code
Added log message to code that records the slice id
S.Çağlar Onur [Wed, 12 May 2010 14:42:10 +0000 (14:42 +0000)]
fix log message
Thierry Parmentelat [Fri, 7 May 2010 09:15:19 +0000 (09:15 +0000)]
typo
S.Çağlar Onur [Wed, 5 May 2010 21:37:51 +0000 (21:37 +0000)]
s/install/update/g
Sapan Bhatia [Wed, 28 Apr 2010 15:09:36 +0000 (15:09 +0000)]
Tweaks
Sapan Bhatia [Tue, 27 Apr 2010 18:22:22 +0000 (18:22 +0000)]
Added log message to code that records the slice id.