Thierry Parmentelat [Sun, 12 Jan 2014 23:53:17 +0000 (00:53 +0100)]
stricter checks on core modules that would fail to load
Thierry Parmentelat [Sun, 12 Jan 2014 23:34:42 +0000 (00:34 +0100)]
log line when terminating
Thierry Parmentelat [Sun, 12 Jan 2014 23:34:15 +0000 (00:34 +0100)]
fatal error if no sliver_xxx module can be imported (i.e. neither lxc nor vs) - for devel
Thierry Parmentelat [Sun, 12 Jan 2014 23:08:16 +0000 (00:08 +0100)]
syntax errors
Thierry Parmentelat [Sun, 12 Jan 2014 22:44:59 +0000 (23:44 +0100)]
more heuristics for locating cgroups
Scott Baker [Wed, 8 Jan 2014 07:12:03 +0000 (23:12 -0800)]
fix codemux restarting every 15 minutes
Thierry Parmentelat [Wed, 11 Dec 2013 09:34:45 +0000 (10:34 +0100)]
Setting tag nodemanager-5.2-9
fixes in hostmap, and in interfaces
new vsys_sysctl
privatebridge now comes with nodemanager-lib
Scott Baker [Wed, 13 Nov 2013 02:12:41 +0000 (18:12 -0800)]
move plugin to prevent conflict in __init__.py
Scott Baker [Wed, 13 Nov 2013 02:12:15 +0000 (18:12 -0800)]
better logging of network restart
Scott Baker [Wed, 13 Nov 2013 01:57:51 +0000 (17:57 -0800)]
only filter hostmap for 10.x.x.x addresses
Scott Baker [Wed, 13 Nov 2013 01:51:44 +0000 (17:51 -0800)]
filter out addresses not in current cluster
Scott Baker [Wed, 16 Oct 2013 06:39:23 +0000 (23:39 -0700)]
automatically touch slices with lxcsu if vsys_sysctl attribute changes
Thierry Parmentelat [Fri, 20 Sep 2013 09:46:13 +0000 (11:46 +0200)]
Setting tag nodemanager-5.2-8
omf plugin does not block any longer when running trigger script
log goes into sliver's /var/log instead
Thierry Parmentelat [Thu, 12 Sep 2013 14:25:40 +0000 (16:25 +0200)]
the path for redirecting omf_resctl's trigger script output was wrong
Thierry Parmentelat [Thu, 12 Sep 2013 11:43:10 +0000 (13:43 +0200)]
omf plugin: triggers trigger script, but does not communicate with it - so, no hanging
script stdout and stderr redirected in /var/log/<script>.log in sliver space
Thierry Parmentelat [Wed, 11 Sep 2013 09:42:36 +0000 (11:42 +0200)]
log_trace is a new logging function, useful for debugging mostly
Thierry Parmentelat [Wed, 11 Sep 2013 09:41:52 +0000 (11:41 +0200)]
remove the Initscript.configure message
Thierry Parmentelat [Wed, 28 Aug 2013 14:36:48 +0000 (16:36 +0200)]
Setting tag nodemanager-5.2-7
new install-scripts target in Makefile
conf_files and fuse-pl initscripts chmod'ed +x
omf_resctl config template tweaked to use _slicename_%_hostname_
Sapan Bhatia [Tue, 13 Aug 2013 01:48:00 +0000 (21:48 -0400)]
Make it possible to install helper scripts via make
Christoph Dwertmann [Thu, 25 Jul 2013 07:55:02 +0000 (17:55 +1000)]
Uses % instead of @ as slice/host separator for the OMF UID
Thierry Parmentelat [Sat, 13 Jul 2013 22:27:03 +0000 (00:27 +0200)]
Setting tag nodemanager-5.2-6
make sure to create /etc/planetlab/virt so others can read that
expose get_node_virt() and command_in_slice()
refined omf_resctl plugin (fetches trigger, and calls it on expire change)
user's .profile now has right owner
other tweaks in lxc slivers
Thierry Parmentelat [Thu, 11 Jul 2013 08:22:25 +0000 (10:22 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Thu, 11 Jul 2013 08:22:05 +0000 (10:22 +0200)]
have omf_resctl run after sliverauth
Christoph Dwertmann [Thu, 11 Jul 2013 05:03:18 +0000 (15:03 +1000)]
Change runtime variables in the OMF6 RC config file comment section
Thierry Parmentelat [Wed, 10 Jul 2013 09:11:19 +0000 (11:11 +0200)]
add a mention of expires in the config file so the trigger script gets called on renewal
Thierry Parmentelat [Wed, 10 Jul 2013 09:10:41 +0000 (11:10 +0200)]
fix command_in_slice - was working in lxc but not vs
Thierry Parmentelat [Tue, 9 Jul 2013 11:18:29 +0000 (13:18 +0200)]
create /etc/planetlab/virt on startup if not already there
Thierry Parmentelat [Mon, 8 Jul 2013 19:47:11 +0000 (21:47 +0200)]
fetch trigger script and invoke with sudo -i
Thierry Parmentelat [Mon, 8 Jul 2013 19:37:37 +0000 (21:37 +0200)]
more robust get_node_virt
Thierry Parmentelat [Mon, 8 Jul 2013 09:35:09 +0000 (11:35 +0200)]
command_in_slice moved to tools.py
Thierry Parmentelat [Mon, 8 Jul 2013 09:33:55 +0000 (11:33 +0200)]
use same margins as in the rest of the file
Thierry Parmentelat [Sat, 6 Jul 2013 13:35:50 +0000 (15:35 +0200)]
give (chown) slice's .profile to slice
Thierry Parmentelat [Wed, 3 Jul 2013 06:10:41 +0000 (08:10 +0200)]
Setting tag nodemanager-5.2-5
lxc slice creation: slice user was created with unknown gid - fixed
lxc slice creation: .profile for root and user - fixed
Thierry Parmentelat [Tue, 2 Jul 2013 11:17:10 +0000 (13:17 +0200)]
make sure the uid entry in a slice has a gid that solves
take care of root's and slice_uid's .profile *after* the account gets created
Thierry Parmentelat [Tue, 2 Jul 2013 11:13:36 +0000 (13:13 +0200)]
improve comments on make sync before pasting that into lxc-userspace
Thierry Parmentelat [Sat, 29 Jun 2013 05:28:06 +0000 (07:28 +0200)]
Setting tag nodemanager-5.2-4
fix umounting of ssh directory when deleting omf-friendly slivers
support for writing cgroups in subsystems other than cpuset
add xid to template match
finer-grained split between -lib -vs and -lxc
first roughly complete omf_resctl for omfv6
minor fix for when getslivers does not have minexemptrate
Thierry Parmentelat [Fri, 28 Jun 2013 14:56:23 +0000 (16:56 +0200)]
change trigger script name
Thierry Parmentelat [Fri, 28 Jun 2013 10:56:31 +0000 (12:56 +0200)]
use name as agreed with nicta
Thierry Parmentelat [Fri, 28 Jun 2013 10:55:25 +0000 (12:55 +0200)]
omf resctl closer to what is expected, actually calls stuff from within the slice
Thierry Parmentelat [Fri, 28 Jun 2013 06:11:24 +0000 (08:11 +0200)]
cosmetic
Thierry Parmentelat [Wed, 26 Jun 2013 14:47:11 +0000 (16:47 +0200)]
really keep __init__ out of the list of plugins
Thierry Parmentelat [Wed, 26 Jun 2013 14:46:54 +0000 (16:46 +0200)]
various fixes
Thierry Parmentelat [Wed, 26 Jun 2013 07:16:49 +0000 (09:16 +0200)]
fix packaging of omf_resctl
Thierry Parmentelat [Tue, 25 Jun 2013 18:00:03 +0000 (20:00 +0200)]
fixes
Thierry Parmentelat [Tue, 25 Jun 2013 14:16:42 +0000 (16:16 +0200)]
first draft of OMF plugin for v6
Thierry Parmentelat [Tue, 25 Jun 2013 08:48:03 +0000 (10:48 +0200)]
oops, bugfix
Thierry Parmentelat [Mon, 24 Jun 2013 11:12:58 +0000 (13:12 +0200)]
bugfix
Thierry Parmentelat [Mon, 24 Jun 2013 11:01:13 +0000 (13:01 +0200)]
missing import
Thierry Parmentelat [Thu, 20 Jun 2013 10:27:29 +0000 (12:27 +0200)]
protect against missing tags in start
smbaker [Tue, 18 Jun 2013 22:07:59 +0000 (15:07 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/nodemanager
smbaker [Tue, 18 Jun 2013 22:07:36 +0000 (15:07 -0700)]
avoid failing during configure when sliver isn't created yet
smbaker [Tue, 18 Jun 2013 18:38:45 +0000 (11:38 -0700)]
fix memlock_hard and other tags not being written to cgroups
smbaker [Tue, 18 Jun 2013 18:37:41 +0000 (11:37 -0700)]
support for writing cgroups in subsystems other than cpuset
Andy Bavier [Tue, 18 Jun 2013 18:24:04 +0000 (14:24 -0400)]
Add xid to template match
Thierry Parmentelat [Fri, 14 Jun 2013 11:42:40 +0000 (13:42 +0200)]
for omf-friendly slices, make sure to umount ssh dir before trying to trash VM (in the vs version, and omf slice that was getting deleted ended up with a dangling /vservers/slicename/home)
add mounting ssh directory for omf slices on lxc nodes
Thierry Parmentelat [Fri, 14 Jun 2013 11:40:10 +0000 (13:40 +0200)]
privatebridge belongs in lxc only
Thierry Parmentelat [Wed, 12 Jun 2013 07:27:04 +0000 (09:27 +0200)]
protect against minexemptrate being sometimes missing from getslivers apparently (from nm's log)
Thierry Parmentelat [Wed, 12 Jun 2013 07:26:09 +0000 (09:26 +0200)]
finer-grained split between packages - the drl plugin is vs-specific at this point
Thierry Parmentelat [Wed, 12 Jun 2013 07:25:19 +0000 (09:25 +0200)]
update README
Thierry Parmentelat [Tue, 11 Jun 2013 14:16:11 +0000 (16:16 +0200)]
cosmetic
Andy Bavier [Fri, 24 May 2013 19:17:00 +0000 (19:17 +0000)]
Setting tag nodemanager-5.2-3
Fix path, machine arch in slivers
Andy Bavier [Fri, 24 May 2013 18:50:50 +0000 (14:50 -0400)]
Add setting machine architecture for container
Thierry Parmentelat [Fri, 17 May 2013 09:58:41 +0000 (11:58 +0200)]
add /bin and /sbin in path if not present in slivers - in root/.profile like for LD_PRELOAD
Stephen Soltesz [Tue, 30 Apr 2013 18:40:48 +0000 (14:40 -0400)]
Setting tag nodemanager-5.2-2
smbaker [Tue, 30 Apr 2013 16:44:32 +0000 (09:44 -0700)]
guard against no setns.so in get_sliver_ifconfig, check for existence of princeton_syndicate in syndicate plugin, fix syndicate sliver not exiting when no syndicate sliver IP
Thierry Parmentelat [Thu, 7 Mar 2013 08:09:32 +0000 (09:09 +0100)]
Setting tag nodemanager-5.2-1
no-op bump to 5.2 to be in line with the rest of the system
Thierry Parmentelat [Thu, 7 Mar 2013 07:20:03 +0000 (08:20 +0100)]
bump to 5.2
Thierry Parmentelat [Thu, 21 Feb 2013 13:15:36 +0000 (14:15 +0100)]
Setting tag nodemanager-2.1-22
improvements to privatebridge
Thierry Parmentelat [Wed, 13 Feb 2013 07:55:47 +0000 (08:55 +0100)]
define OvsException
smbaker [Mon, 21 Jan 2013 23:53:58 +0000 (15:53 -0800)]
delete unused bridges
smbaker [Sat, 19 Jan 2013 19:27:44 +0000 (11:27 -0800)]
Setting tag nodemanager-2.1-21
change hostnames related to private IPs to use pvt.hostname instead of slice_name.hostname
smbaker [Sat, 19 Jan 2013 19:23:56 +0000 (11:23 -0800)]
change name of private IPs from slice_name.hostname to pvt.hostname
smbaker [Tue, 15 Jan 2013 01:09:05 +0000 (17:09 -0800)]
Setting tag nodemanager-2.1-20
fix wrong gre tunnel deleted when topology changes
smbaker [Tue, 15 Jan 2013 01:08:01 +0000 (17:08 -0800)]
fix wrong gre tunnel deleted when topology changes
smbaker [Mon, 14 Jan 2013 23:19:05 +0000 (15:19 -0800)]
Setting tag nodemanager-2.1-19
Update /etc/hosts in slivers from sliver_hostmap tag.
smbaker [Mon, 14 Jan 2013 23:18:14 +0000 (15:18 -0800)]
fix comment
smbaker [Mon, 14 Jan 2013 21:02:48 +0000 (13:02 -0800)]
prevent extra newlines when hosts changes
smbaker [Mon, 14 Jan 2013 20:59:14 +0000 (12:59 -0800)]
generate /etc/hosts for private networks
smbaker [Mon, 7 Jan 2013 23:17:08 +0000 (15:17 -0800)]
Setting tag nodemanager-2.1-18
Support passing a list of interfaces in slice interface tag to configure multiple interfaces,
initial check-in of privatebridge plugin.
smbaker [Mon, 7 Jan 2013 23:11:47 +0000 (15:11 -0800)]
support passing a list of dicts as the slice interface tag to configure multiple interfaces
smbaker [Mon, 7 Jan 2013 23:10:10 +0000 (15:10 -0800)]
support passing a list of dicts as the slice interface tag to configure multiple interfaces
smbaker [Mon, 7 Jan 2013 19:52:39 +0000 (11:52 -0800)]
eliminate unnecessary debugging message
smbaker [Thu, 3 Jan 2013 08:00:13 +0000 (00:00 -0800)]
privatebridge plugin, initial check-in
smbaker [Sat, 22 Dec 2012 17:44:13 +0000 (09:44 -0800)]
fix misspelled variable name
smbaker [Fri, 14 Dec 2012 19:34:21 +0000 (11:34 -0800)]
Setting tag nodemanager-2.1-17
set ownership of slice homedir, att slice user to etc/sudoers inside of slice
smbaker [Fri, 14 Dec 2012 19:32:56 +0000 (11:32 -0800)]
some exception handling around the etc/passwd and etc/sudoers just to be safe
smbaker [Fri, 14 Dec 2012 19:25:32 +0000 (11:25 -0800)]
remove unnecessary chown
smbaker [Fri, 14 Dec 2012 06:34:09 +0000 (22:34 -0800)]
fix perms of slice homedir, add slice user to /etc/sudoers inside of slice
smbaker [Wed, 12 Dec 2012 22:55:36 +0000 (14:55 -0800)]
Setting tag nodemanager-2.1-16
fix slices not deleted properly when they use vsys
smbaker [Tue, 11 Dec 2012 01:51:31 +0000 (17:51 -0800)]
fix slices that use vsys not deleted correctly
smbaker [Tue, 11 Dec 2012 01:29:19 +0000 (17:29 -0800)]
Setting tag nodemanager-2.1-15
fix error in syndicate plugin, add error message to nodemanager for attributeerror during load/start
smbaker [Tue, 11 Dec 2012 01:20:58 +0000 (17:20 -0800)]
fix incorrect method name
smbaker [Tue, 11 Dec 2012 01:17:22 +0000 (17:17 -0800)]
fix perms
smbaker [Tue, 11 Dec 2012 01:16:20 +0000 (17:16 -0800)]
error message when module lacks the start method
smbaker [Tue, 11 Dec 2012 00:45:17 +0000 (16:45 -0800)]
Setting tag nodemanager-2.1-14
Add syndicate plugin, create /etc/hostname and home directory in LXC guests
smbaker [Wed, 5 Dec 2012 05:57:20 +0000 (21:57 -0800)]
remove extra chcontext
smbaker [Tue, 4 Dec 2012 02:57:19 +0000 (18:57 -0800)]
get syndicate sliver ip by using ifconfig in sliver context
smbaker [Mon, 3 Dec 2012 06:31:35 +0000 (22:31 -0800)]
syndicate plugin WIP, added in requests to syndicate in background
smbaker [Mon, 3 Dec 2012 05:23:33 +0000 (21:23 -0800)]
initial checkin of syndicate plugin
smbaker [Sat, 1 Dec 2012 09:20:32 +0000 (01:20 -0800)]
etc/slicename and home directory creation