nodemanager.git
11 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.

11 years agoGenerate <interface> element in libvirt XML template.
Andy Bavier [Wed, 12 Sep 2012 14:56:17 +0000 (10:56 -0400)]
Generate <interface> element in libvirt XML template.

11 years agoSetting tag nodemanager-2.1-10 nodemanager-2.1-10
Andy Bavier [Wed, 5 Sep 2012 20:52:56 +0000 (20:52 +0000)]
Setting tag nodemanager-2.1-10
Change to use new vsh (wrapper for lxcsu)

11 years agoFix path for vsh
Andy Bavier [Wed, 5 Sep 2012 19:55:00 +0000 (15:55 -0400)]
Fix path for vsh

11 years agoSwitch back to vsh, now provided by lxc tools
Sapan Bhatia [Wed, 5 Sep 2012 13:27:37 +0000 (09:27 -0400)]
Switch back to vsh, now provided by lxc tools

11 years agoSetting tag nodemanager-2.1-9 nodemanager-2.1-9
Thierry Parmentelat [Fri, 31 Aug 2012 17:31:56 +0000 (19:31 +0200)]
Setting tag nodemanager-2.1-9
add missing import
2.1-8 is less broken than 2.1-7 for omf-friendly slices, in that the slivers would get created, but the OMF-feature probably won't work as .ssh won't get exposed to the sliver

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Fri, 31 Aug 2012 16:06:36 +0000 (18:06 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

11 years agomissing import
Thierry Parmentelat [Fri, 31 Aug 2012 16:06:27 +0000 (18:06 +0200)]
missing import

nodes running this code will fail to expose authorized_keys to their
OMF-friendly slices

11 years agoSetting tag nodemanager-2.1-8 nodemanager-2.1-8
Thierry Parmentelat [Thu, 30 Aug 2012 10:24:27 +0000 (12:24 +0200)]
Setting tag nodemanager-2.1-8
tag 2.1-7 was broken for OMF-friendly slices
expose_ssh_dir was erroneously defined on the Worker class

11 years agoexpose_ssh_dir relocated from Worker to the Account class where it belongs
Thierry Parmentelat [Thu, 30 Aug 2012 09:50:35 +0000 (11:50 +0200)]
expose_ssh_dir relocated from Worker to the Account class where it belongs

11 years agoSetting tag nodemanager-2.1-7 nodemanager-2.1-7
Thierry Parmentelat [Thu, 19 Jul 2012 21:31:23 +0000 (23:31 +0200)]
Setting tag nodemanager-2.1-7
bwlimitlxc now ships with plnode-utils

11 years agoremoved last mentions of bwlimitlxc in specfile
Thierry Parmentelat [Wed, 18 Jul 2012 11:17:52 +0000 (13:17 +0200)]
removed last mentions of bwlimitlxc in specfile

11 years agoremove bwlimitlxc, and use plnode-utils instead
Thierry Parmentelat [Wed, 18 Jul 2012 10:59:56 +0000 (12:59 +0200)]
remove bwlimitlxc, and use plnode-utils instead

11 years agoSetting tag nodemanager-2.1-6 nodemanager-2.1-6
Thierry Parmentelat [Mon, 9 Jul 2012 09:18:53 +0000 (11:18 +0200)]
Setting tag nodemanager-2.1-6
set LD_PRELOAD for linux-containers nodes

11 years agoexport LD_PRELOAD
Thierry Parmentelat [Thu, 28 Jun 2012 22:25:54 +0000 (00:25 +0200)]
export LD_PRELOAD

11 years agoadd missing requires:
Thierry Parmentelat [Thu, 28 Jun 2012 12:33:27 +0000 (14:33 +0200)]
add missing requires:

11 years agoadd requires/dependency to python-inotify
Thierry Parmentelat [Thu, 28 Jun 2012 08:42:47 +0000 (10:42 +0200)]
add requires/dependency to python-inotify

11 years agoSetting tag nodemanager-2.1-5 nodemanager-2.1-5
Thierry Parmentelat [Thu, 28 Jun 2012 07:59:57 +0000 (09:59 +0200)]
Setting tag nodemanager-2.1-5
first complete version for vs and lxc - functional but not thoroughly tested though

11 years agomerge the vs and lxc nodemanagers
Thierry Parmentelat [Wed, 27 Jun 2012 09:48:03 +0000 (11:48 +0200)]
merge the vs and lxc nodemanagers

11 years agokeep both coreshed_vs and coresched_lxc - cgroups in the lxc package
Thierry Parmentelat [Wed, 27 Jun 2012 09:09:29 +0000 (11:09 +0200)]
keep both coreshed_vs and coresched_lxc - cgroups in the lxc package
coresched being not a plugin, we had to mess with database, hopefully
this is temporary

11 years agoSetting tag nodemanager-2.1-4 nodemanager-2.1-4
Thierry Parmentelat [Tue, 26 Jun 2012 11:14:17 +0000 (13:14 +0200)]
Setting tag nodemanager-2.1-4
split packaging in 3 (lib, lxc, vs)
this tag will only work with lxc though

11 years agoincorporate changelog from 2.0
Thierry Parmentelat [Tue, 26 Jun 2012 11:10:22 +0000 (13:10 +0200)]
incorporate changelog from 2.0

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 agocleanup svn keywords
Thierry Parmentelat [Tue, 26 Jun 2012 10:25:22 +0000 (12:25 +0200)]
cleanup svn keywords

11 years agomerged split packaging (-lib and -vs) from master, add a 3rd one for lxc
Thierry Parmentelat [Tue, 26 Jun 2012 07:36:41 +0000 (09:36 +0200)]
merged split packaging (-lib and -vs) from master, add a 3rd one for lxc

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.1-3 nodemanager-2.1-3
Thierry Parmentelat [Mon, 25 Jun 2012 10:22:08 +0000 (12:22 +0200)]
Setting tag nodemanager-2.1-3
renamed bwlimit as bwlimitlxc to avoid conflicts with util-vserver-pl
purpose being to be able to run this branch on vserver nodes as well

11 years agotemporary rename bwlimit as bwlimitlxc for a dry run of the
Thierry Parmentelat [Mon, 25 Jun 2012 08:02:08 +0000 (10:02 +0200)]
temporary rename bwlimit as bwlimitlxc for a dry run of the
nodemanager@lxc_devel branch on a vserver node

11 years agoSetting tag nodemanager-2.1-2 nodemanager-2.1-2
Thierry Parmentelat [Thu, 21 Jun 2012 08:13:42 +0000 (10:13 +0200)]
Setting tag nodemanager-2.1-2
merged nodemanager-2.0-37 in 2.1/lxc_devel and add initscript support to lxc
passes tests with lxc but won't build against vs due to conflict
as bwlimit.py also ships with util-vserver-pl

11 years agoMerge branch 'master' into lxc_devel - changelog from 2.0-37
Thierry Parmentelat [Thu, 21 Jun 2012 08:07:20 +0000 (10:07 +0200)]
Merge branch 'master' into lxc_devel - changelog from 2.0-37

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 agopour initscript in the mix for lxc slivers
Thierry Parmentelat [Wed, 20 Jun 2012 14:33:25 +0000 (16:33 +0200)]
pour initscript in the mix for lxc slivers

11 years agoMerge branch 'master' into lxc_devel
Thierry Parmentelat [Wed, 20 Jun 2012 09:57:55 +0000 (11:57 +0200)]
Merge branch 'master' into lxc_devel

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 agoreview timeouts
Thierry Parmentelat [Wed, 20 Jun 2012 07:09:45 +0000 (09:09 +0200)]
review timeouts

11 years agobugfix
Thierry Parmentelat [Wed, 20 Jun 2012 06:40:57 +0000 (08:40 +0200)]
bugfix

11 years agoMerge branch 'master' into lxc_devel
Thierry Parmentelat [Wed, 20 Jun 2012 06:34:12 +0000 (08:34 +0200)]
Merge branch 'master' into lxc_devel

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 agofix syntax error
Thierry Parmentelat [Tue, 19 Jun 2012 21:24:41 +0000 (23:24 +0200)]
fix syntax error

11 years agoreview imports in sliver_{libvirt,lxc}
Thierry Parmentelat [Tue, 19 Jun 2012 21:20:37 +0000 (23:20 +0200)]
review imports in sliver_{libvirt,lxc}

11 years agomerged master into lxc_devel
Thierry Parmentelat [Tue, 19 Jun 2012 21:05:56 +0000 (23:05 +0200)]
merged master into lxc_devel

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 agoImprove robustness of LXC and libvirt plugins.
Marco Yuen [Tue, 19 Jun 2012 16:20:34 +0000 (12:20 -0400)]
Improve robustness of LXC and libvirt plugins.

They will handle more edge cases. Especially during container creation
time.

11 years agowon't try to create the slices group if already defined
Thierry Parmentelat [Tue, 19 Jun 2012 15:49:07 +0000 (17:49 +0200)]
won't try to create the slices group if already defined
removed older convention for the xml template, only lxc_template.xml now
removed abbrev in import

11 years agoa bit more robust
Thierry Parmentelat [Tue, 19 Jun 2012 15:42:44 +0000 (17:42 +0200)]
a bit more robust

11 years agobe more explicit when a slice IP can't be found
Thierry Parmentelat [Tue, 19 Jun 2012 15:19:21 +0000 (17:19 +0200)]
be more explicit when a slice IP can't be found

11 years agodefine prompt for root user in slice
Thierry Parmentelat [Tue, 19 Jun 2012 15:19:05 +0000 (17:19 +0200)]
define prompt for root user in slice

11 years agoadded verbosity to sshsh, and fix make sync so it shows up at the
Thierry Parmentelat [Tue, 19 Jun 2012 12:23:29 +0000 (14:23 +0200)]
added verbosity to sshsh, and fix make sync so it shows up at the
right place

11 years agofix previous merge
Thierry Parmentelat [Sun, 17 Jun 2012 07:53:48 +0000 (09:53 +0200)]
fix previous merge

11 years agomerging changelogs had ruined chronological order that rpm insists upon
Thierry Parmentelat [Sat, 16 Jun 2012 10:45:42 +0000 (12:45 +0200)]
merging changelogs had ruined chronological order that rpm insists upon