nodemanager.git
10 years agoSetting tag nodemanager-5.2-8 nodemanager-5.2-8
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

10 years agothe path for redirecting omf_resctl's trigger script output was wrong
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

10 years agoomf plugin: triggers trigger script, but does not communicate with it - so, no hanging
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

10 years agolog_trace is a new logging function, useful for debugging mostly
Thierry Parmentelat [Wed, 11 Sep 2013 09:42:36 +0000 (11:42 +0200)]
log_trace is a new logging function, useful for debugging mostly

10 years agoremove the Initscript.configure message
Thierry Parmentelat [Wed, 11 Sep 2013 09:41:52 +0000 (11:41 +0200)]
remove the Initscript.configure message

10 years agoSetting tag nodemanager-5.2-7 nodemanager-5.2-7
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_

10 years agoMake it possible to install helper scripts via make
Sapan Bhatia [Tue, 13 Aug 2013 01:48:00 +0000 (21:48 -0400)]
Make it possible to install helper scripts via make

10 years agoUses % instead of @ as slice/host separator for the OMF UID
Christoph Dwertmann [Thu, 25 Jul 2013 07:55:02 +0000 (17:55 +1000)]
Uses % instead of @ as slice/host separator for the OMF UID

10 years agoSetting tag nodemanager-5.2-6 nodemanager-5.2-6
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

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Thu, 11 Jul 2013 08:22:25 +0000 (10:22 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

10 years agohave omf_resctl run after sliverauth
Thierry Parmentelat [Thu, 11 Jul 2013 08:22:05 +0000 (10:22 +0200)]
have omf_resctl run after sliverauth

10 years agoChange runtime variables in the OMF6 RC config file comment section
Christoph Dwertmann [Thu, 11 Jul 2013 05:03:18 +0000 (15:03 +1000)]
Change runtime variables in the OMF6 RC config file comment section

10 years agoadd a mention of expires in the config file so the trigger script gets called on...
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

10 years agofix command_in_slice - was working in lxc but not vs
Thierry Parmentelat [Wed, 10 Jul 2013 09:10:41 +0000 (11:10 +0200)]
fix command_in_slice - was working in lxc but not vs

10 years agocreate /etc/planetlab/virt on startup if not already there
Thierry Parmentelat [Tue, 9 Jul 2013 11:18:29 +0000 (13:18 +0200)]
create /etc/planetlab/virt on startup if not already there

10 years agofetch trigger script and invoke with sudo -i
Thierry Parmentelat [Mon, 8 Jul 2013 19:47:11 +0000 (21:47 +0200)]
fetch trigger script and invoke with sudo -i

10 years agomore robust get_node_virt
Thierry Parmentelat [Mon, 8 Jul 2013 19:37:37 +0000 (21:37 +0200)]
more robust get_node_virt

10 years agocommand_in_slice moved to tools.py
Thierry Parmentelat [Mon, 8 Jul 2013 09:35:09 +0000 (11:35 +0200)]
command_in_slice moved to tools.py

10 years agouse same margins as in the rest of the file
Thierry Parmentelat [Mon, 8 Jul 2013 09:33:55 +0000 (11:33 +0200)]
use same margins as in the rest of the file

10 years agogive (chown) slice's .profile to slice
Thierry Parmentelat [Sat, 6 Jul 2013 13:35:50 +0000 (15:35 +0200)]
give (chown) slice's .profile to slice

10 years agoSetting tag nodemanager-5.2-5 nodemanager-5.2-5
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

10 years agomake sure the uid entry in a slice has a gid that solves
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

10 years agoimprove comments on make sync before pasting that into lxc-userspace
Thierry Parmentelat [Tue, 2 Jul 2013 11:13:36 +0000 (13:13 +0200)]
improve comments on make sync before pasting that into lxc-userspace

10 years agoSetting tag nodemanager-5.2-4 nodemanager-5.2-4
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

10 years agochange trigger script name
Thierry Parmentelat [Fri, 28 Jun 2013 14:56:23 +0000 (16:56 +0200)]
change trigger script name

10 years agouse name as agreed with nicta
Thierry Parmentelat [Fri, 28 Jun 2013 10:56:31 +0000 (12:56 +0200)]
use name as agreed with nicta

10 years agoomf resctl closer to what is expected, actually calls stuff from within the slice
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

10 years agocosmetic
Thierry Parmentelat [Fri, 28 Jun 2013 06:11:24 +0000 (08:11 +0200)]
cosmetic

10 years agoreally keep __init__ out of the list of plugins
Thierry Parmentelat [Wed, 26 Jun 2013 14:47:11 +0000 (16:47 +0200)]
really keep __init__ out of the list of plugins

10 years agovarious fixes
Thierry Parmentelat [Wed, 26 Jun 2013 14:46:54 +0000 (16:46 +0200)]
various fixes

10 years agofix packaging of omf_resctl
Thierry Parmentelat [Wed, 26 Jun 2013 07:16:49 +0000 (09:16 +0200)]
fix packaging of omf_resctl

10 years agofixes
Thierry Parmentelat [Tue, 25 Jun 2013 18:00:03 +0000 (20:00 +0200)]
fixes

10 years agofirst draft of OMF plugin for v6
Thierry Parmentelat [Tue, 25 Jun 2013 14:16:42 +0000 (16:16 +0200)]
first draft of OMF plugin for v6

10 years agooops, bugfix
Thierry Parmentelat [Tue, 25 Jun 2013 08:48:03 +0000 (10:48 +0200)]
oops, bugfix

10 years agobugfix
Thierry Parmentelat [Mon, 24 Jun 2013 11:12:58 +0000 (13:12 +0200)]
bugfix

10 years agomissing import
Thierry Parmentelat [Mon, 24 Jun 2013 11:01:13 +0000 (13:01 +0200)]
missing import

10 years agoprotect against missing tags in start
Thierry Parmentelat [Thu, 20 Jun 2013 10:27:29 +0000 (12:27 +0200)]
protect against missing tags in start

10 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/nodemanager
smbaker [Tue, 18 Jun 2013 22:07:59 +0000 (15:07 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/nodemanager

10 years agoavoid failing during configure when sliver isn't created yet
smbaker [Tue, 18 Jun 2013 22:07:36 +0000 (15:07 -0700)]
avoid failing during configure when sliver isn't created yet

10 years agofix memlock_hard and other tags not being written to cgroups
smbaker [Tue, 18 Jun 2013 18:38:45 +0000 (11:38 -0700)]
fix memlock_hard and other tags not being written to cgroups

10 years agosupport for writing cgroups in subsystems other than cpuset
smbaker [Tue, 18 Jun 2013 18:37:41 +0000 (11:37 -0700)]
support for writing cgroups in subsystems other than cpuset

10 years agoAdd xid to template match
Andy Bavier [Tue, 18 Jun 2013 18:24:04 +0000 (14:24 -0400)]
Add xid to template match

10 years agofor omf-friendly slices, make sure to umount ssh dir before trying to trash VM (in...
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

10 years agoprivatebridge belongs in lxc only
Thierry Parmentelat [Fri, 14 Jun 2013 11:40:10 +0000 (13:40 +0200)]
privatebridge belongs in lxc only

10 years agoprotect against minexemptrate being sometimes missing from getslivers apparently...
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)

10 years agofiner-grained split between packages - the drl plugin is vs-specific at this point
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

10 years agoupdate README
Thierry Parmentelat [Wed, 12 Jun 2013 07:25:19 +0000 (09:25 +0200)]
update README

10 years agocosmetic
Thierry Parmentelat [Tue, 11 Jun 2013 14:16:11 +0000 (16:16 +0200)]
cosmetic

10 years agoSetting tag nodemanager-5.2-3 nodemanager-5.2-3
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

10 years agoAdd setting machine architecture for container
Andy Bavier [Fri, 24 May 2013 18:50:50 +0000 (14:50 -0400)]
Add setting machine architecture for container

10 years agoadd /bin and /sbin in path if not present in slivers - in root/.profile like for...
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

10 years agoSetting tag nodemanager-5.2-2 nodemanager-5.2-2
Stephen Soltesz [Tue, 30 Apr 2013 18:40:48 +0000 (14:40 -0400)]
Setting tag nodemanager-5.2-2

10 years agoguard against no setns.so in get_sliver_ifconfig, check for existence of princeton_sy...
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

11 years agoSetting tag nodemanager-5.2-1 nodemanager-5.2-1
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

11 years agobump to 5.2
Thierry Parmentelat [Thu, 7 Mar 2013 07:20:03 +0000 (08:20 +0100)]
bump to 5.2

11 years agoSetting tag nodemanager-2.1-22 nodemanager-2.1-22 nodemanager-5.2-0
Thierry Parmentelat [Thu, 21 Feb 2013 13:15:36 +0000 (14:15 +0100)]
Setting tag nodemanager-2.1-22
improvements to privatebridge

11 years agodefine OvsException
Thierry Parmentelat [Wed, 13 Feb 2013 07:55:47 +0000 (08:55 +0100)]
define OvsException

11 years agodelete unused bridges
smbaker [Mon, 21 Jan 2013 23:53:58 +0000 (15:53 -0800)]
delete unused bridges

11 years agoSetting tag nodemanager-2.1-21 nodemanager-2.1-21
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

11 years agochange name of private IPs from slice_name.hostname to pvt.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

11 years agoSetting tag nodemanager-2.1-20 nodemanager-2.1-20
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

11 years agofix 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

11 years agoSetting tag nodemanager-2.1-19 nodemanager-2.1-19
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.

11 years agofix comment
smbaker [Mon, 14 Jan 2013 23:18:14 +0000 (15:18 -0800)]
fix comment

11 years agoprevent extra newlines when hosts changes
smbaker [Mon, 14 Jan 2013 21:02:48 +0000 (13:02 -0800)]
prevent extra newlines when hosts changes

11 years agogenerate /etc/hosts for private networks
smbaker [Mon, 14 Jan 2013 20:59:14 +0000 (12:59 -0800)]
generate /etc/hosts for private networks

11 years agoSetting tag nodemanager-2.1-18 nodemanager-2.1-18
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.

11 years agosupport passing a list of dicts as the slice interface tag to configure multiple...
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

11 years agosupport passing a list of dicts as the slice interface tag to configure multiple...
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

11 years agoeliminate unnecessary debugging message
smbaker [Mon, 7 Jan 2013 19:52:39 +0000 (11:52 -0800)]
eliminate unnecessary debugging message

11 years agoprivatebridge plugin, initial check-in
smbaker [Thu, 3 Jan 2013 08:00:13 +0000 (00:00 -0800)]
privatebridge plugin, initial check-in

11 years agofix misspelled variable name
smbaker [Sat, 22 Dec 2012 17:44:13 +0000 (09:44 -0800)]
fix misspelled variable name

11 years agoSetting tag nodemanager-2.1-17 nodemanager-2.1-17
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

11 years agosome exception handling around the etc/passwd and etc/sudoers just to be safe
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

11 years agoremove unnecessary chown
smbaker [Fri, 14 Dec 2012 19:25:32 +0000 (11:25 -0800)]
remove unnecessary chown

11 years agofix perms of slice homedir, add slice user to /etc/sudoers inside of slice
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

11 years agoSetting tag nodemanager-2.1-16 nodemanager-2.1-16
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

11 years agofix slices that use vsys not deleted correctly
smbaker [Tue, 11 Dec 2012 01:51:31 +0000 (17:51 -0800)]
fix slices that use vsys not deleted correctly

11 years agoSetting tag nodemanager-2.1-15 nodemanager-2.1-15
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

11 years agofix incorrect method name
smbaker [Tue, 11 Dec 2012 01:20:58 +0000 (17:20 -0800)]
fix incorrect method name

11 years agofix perms
smbaker [Tue, 11 Dec 2012 01:17:22 +0000 (17:17 -0800)]
fix perms

11 years agoerror message when module lacks the start method
smbaker [Tue, 11 Dec 2012 01:16:20 +0000 (17:16 -0800)]
error message when module lacks the start method

11 years agoSetting tag nodemanager-2.1-14 nodemanager-2.1-14
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

11 years agoremove extra chcontext
smbaker [Wed, 5 Dec 2012 05:57:20 +0000 (21:57 -0800)]
remove extra chcontext

11 years agoget syndicate sliver ip by using ifconfig in sliver context
smbaker [Tue, 4 Dec 2012 02:57:19 +0000 (18:57 -0800)]
get syndicate sliver ip by using ifconfig in sliver context

11 years agosyndicate plugin WIP, added in requests to syndicate in background
smbaker [Mon, 3 Dec 2012 06:31:35 +0000 (22:31 -0800)]
syndicate plugin WIP, added in requests to syndicate in background

11 years agoinitial checkin of syndicate plugin
smbaker [Mon, 3 Dec 2012 05:23:33 +0000 (21:23 -0800)]
initial checkin of syndicate plugin

11 years agoetc/slicename and home directory creation
smbaker [Sat, 1 Dec 2012 09:20:32 +0000 (01:20 -0800)]
etc/slicename and home directory creation

11 years agoSetting tag nodemanager-2.1-13 nodemanager-2.1-13
Andy Bavier [Tue, 13 Nov 2012 21:20:33 +0000 (21:20 +0000)]
Setting tag nodemanager-2.1-13
Bridge virtual interfaces to VLANs

11 years agoAdd support for connecting virtual interfaces to VLANs via Open vSwitch.
Andy Bavier [Tue, 13 Nov 2012 21:16:14 +0000 (16:16 -0500)]
Add support for connecting virtual interfaces to VLANs via Open vSwitch.

11 years agoRemoved dependency.
Andy Bavier [Mon, 5 Nov 2012 21:29:59 +0000 (16:29 -0500)]
Removed dependency.

11 years agoSetting tag nodemanager-2.1-12 nodemanager-2.1-12
Andy Bavier [Wed, 24 Oct 2012 20:44:21 +0000 (20:44 +0000)]
Setting tag nodemanager-2.1-12
Add support for L2 bridged interfaces with public IPs inside a slice

11 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/nodemanager
Andy Bavier [Wed, 24 Oct 2012 20:38:58 +0000 (15:38 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/nodemanager

11 years agoFix up tag levels after merge
Andy Bavier [Wed, 24 Oct 2012 20:38:22 +0000 (15:38 -0500)]
Fix up tag levels after merge

11 years agoSetting tag nodemanager-2.1-11 nodemanager-2.1-11
smbaker [Thu, 18 Oct 2012 19:28:32 +0000 (12:28 -0700)]
Setting tag nodemanager-2.1-11
Support for freezing BestEffort slices for Vicci

11 years agosupport for cpu_freezable attribute
smbaker [Thu, 18 Oct 2012 04:59:59 +0000 (21:59 -0700)]
support for cpu_freezable attribute

11 years agoBump tag level openvswitch
Andy Bavier [Mon, 1 Oct 2012 19:46:26 +0000 (15:46 -0400)]
Bump tag level

11 years agoAdd openvswitch dependency
Andy Bavier [Wed, 26 Sep 2012 20:56:47 +0000 (16:56 -0400)]
Add openvswitch dependency

11 years agoAdd openvswitch to tag level
Andy Bavier [Fri, 21 Sep 2012 19:54:27 +0000 (15:54 -0400)]
Add openvswitch to tag level

11 years agoPlugin for configuring network interfaces inside a container.
Andy Bavier [Tue, 18 Sep 2012 19:29:54 +0000 (15:29 -0400)]
Plugin for configuring network interfaces inside a container.