nodemanager.git
10 years agoSetting tag nodemanager-5.2-11 nodemanager-5.2-11
Thierry Parmentelat [Tue, 25 Mar 2014 13:39:54 +0000 (14:39 +0100)]
Setting tag nodemanager-5.2-11
ship /etc/sysconfig/nodemanager
trash sshsh

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Mon, 24 Mar 2014 09:14:23 +0000 (10:14 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

10 years agoprovide an empty /etc/sysconfig/nodemanager that seems to be required
Thierry Parmentelat [Mon, 24 Mar 2014 09:14:09 +0000 (10:14 +0100)]
provide an empty /etc/sysconfig/nodemanager that seems to be required
this is tagged as a config file for rpm of course

10 years agosshsh is totally obsolete, since we use lxc-userspace
Thierry Parmentelat [Mon, 24 Mar 2014 09:13:26 +0000 (10:13 +0100)]
sshsh is totally obsolete, since we use lxc-userspace

10 years agoSetting tag nodemanager-5.2-10 nodemanager-5.2-10
Thierry Parmentelat [Fri, 21 Mar 2014 15:27:00 +0000 (16:27 +0100)]
Setting tag nodemanager-5.2-10
comes with systemd native unit files on >= f18
user-provided initscript gets started through systemd in slivers >= f18
smarter to locate cgroups for various versions of libvirt
nicer log format - and log program termination
tweaks in codemux plugin
bug fixes in libvirt driver, esp. for finding out if domain is running

10 years agofix broken .service file
Thierry Parmentelat [Sat, 22 Feb 2014 13:23:44 +0000 (14:23 +0100)]
fix broken .service file

10 years agofix remaining reference to debuginfo
Thierry Parmentelat [Thu, 20 Feb 2014 16:44:24 +0000 (17:44 +0100)]
fix remaining reference to debuginfo

10 years agofor f20 : use dom.state() rather than dom.info() to assess if domain is running or not
Thierry Parmentelat [Thu, 20 Feb 2014 15:05:41 +0000 (16:05 +0100)]
for f20 : use dom.state() rather than dom.info() to assess if domain is running or not
hopefully should give a more stable release for f20

10 years agono functional change, just log_exc to show hopefully more edible output
Thierry Parmentelat [Tue, 11 Feb 2014 16:33:09 +0000 (17:33 +0100)]
no functional change, just log_exc to show hopefully more edible output

10 years agoan attempt to have vinit.service depend on network-online instead
Thierry Parmentelat [Mon, 3 Feb 2014 13:46:07 +0000 (14:46 +0100)]
an attempt to have vinit.service depend on network-online instead

10 years agoMerge branch 'systemd'
Thierry Parmentelat [Mon, 3 Feb 2014 09:54:23 +0000 (10:54 +0100)]
Merge branch 'systemd'

10 years agoinstall for sytemd *or* init systemd
Thierry Parmentelat [Sat, 1 Feb 2014 13:37:46 +0000 (14:37 +0100)]
install for sytemd *or* init

10 years agofor f14 rootfs, as tweaking with systemd would fail due to missing dir
Thierry Parmentelat [Sat, 1 Feb 2014 11:07:42 +0000 (12:07 +0100)]
for f14 rootfs, as tweaking with systemd would fail due to missing dir

10 years agoit's going to work much better with this
Thierry Parmentelat [Fri, 31 Jan 2014 16:48:06 +0000 (17:48 +0100)]
it's going to work much better with this

10 years agosupport for systemd in sliver space for user-provided initscripts
Thierry Parmentelat [Fri, 31 Jan 2014 16:38:00 +0000 (17:38 +0100)]
support for systemd in sliver space for user-provided initscripts

10 years agoabout to duplicate install_and_enable_vinit for init and systemd
Thierry Parmentelat [Fri, 31 Jan 2014 16:14:38 +0000 (17:14 +0100)]
about to duplicate install_and_enable_vinit for init and systemd

10 years agobugfix, reference to a global symbol debuginfo that is undefined
Thierry Parmentelat [Fri, 31 Jan 2014 16:13:41 +0000 (17:13 +0100)]
bugfix, reference to a global symbol debuginfo that is undefined

10 years agowhen doing e.g. systemctl stop nm.service, systemd attempts to kill nm, so we need...
Thierry Parmentelat [Fri, 31 Jan 2014 15:59:12 +0000 (16:59 +0100)]
when doing e.g. systemctl stop nm.service, systemd attempts to kill nm, so we need to really exit (os._exit) and not just have one random thread die

10 years agokeep it simple
Thierry Parmentelat [Fri, 31 Jan 2014 09:23:59 +0000 (10:23 +0100)]
keep it simple

10 years agooops, the f14 build was installing for systemd instead of init
Thierry Parmentelat [Fri, 31 Jan 2014 08:50:53 +0000 (09:50 +0100)]
oops, the f14 build was installing for systemd instead of init

10 years agoadd chkconfig line in vinit in case it could help with systemd
Thierry Parmentelat [Wed, 22 Jan 2014 13:16:16 +0000 (14:16 +0100)]
add chkconfig line in vinit in case it could help with systemd

10 years agoMerge branch 'systemd'
Thierry Parmentelat [Mon, 20 Jan 2014 20:02:25 +0000 (21:02 +0100)]
Merge branch 'systemd'

10 years agoadd dep to sytemd otherwise systemctl enable won't be done at nodeimage build time...
Thierry Parmentelat [Fri, 17 Jan 2014 13:35:59 +0000 (14:35 +0100)]
add dep to sytemd otherwise systemctl enable won't be done at nodeimage build time and so nodes are inactive

10 years agofor better fit with NodeUpdate
Thierry Parmentelat [Fri, 17 Jan 2014 09:45:46 +0000 (10:45 +0100)]
for better fit with NodeUpdate

10 years agolibvirt 1.2.1 support
Scott Baker [Fri, 17 Jan 2014 07:44:37 +0000 (23:44 -0800)]
libvirt 1.2.1 support

10 years agoWork around an apparent bug in libvirt where it would choose the same vethX device...
Andy Bavier [Thu, 16 Jan 2014 20:59:43 +0000 (15:59 -0500)]
Work around an apparent bug in libvirt where it would choose the same vethX device name for
multiple slices.  This results in the slice not being able to start.

10 years agopython-2.7
Thierry Parmentelat [Thu, 16 Jan 2014 19:26:04 +0000 (20:26 +0100)]
python-2.7

10 years agouse systemctl instead of chkconfig
Thierry Parmentelat [Thu, 16 Jan 2014 15:07:09 +0000 (16:07 +0100)]
use systemctl instead of chkconfig

10 years agofix packaging ctd
Thierry Parmentelat [Thu, 16 Jan 2014 13:28:27 +0000 (14:28 +0100)]
fix packaging ctd

10 years agofixes
Thierry Parmentelat [Thu, 16 Jan 2014 13:15:29 +0000 (14:15 +0100)]
fixes

10 years agoinstall nodemanager with systemd unit files instead of initscripts
Thierry Parmentelat [Thu, 16 Jan 2014 09:17:00 +0000 (10:17 +0100)]
install nodemanager with systemd unit files instead of initscripts

10 years agoset default to f18
Thierry Parmentelat [Thu, 16 Jan 2014 09:12:18 +0000 (10:12 +0100)]
set default to f18

10 years agofix misleading comments that improperly refer to vsliver_vs on an lxc node
Thierry Parmentelat [Thu, 16 Jan 2014 09:11:51 +0000 (10:11 +0100)]
fix misleading comments that improperly refer to vsliver_vs on an lxc node

10 years agopushes stuff from systemd/ and not from initscripts anymore
Thierry Parmentelat [Tue, 14 Jan 2014 14:17:08 +0000 (15:17 +0100)]
pushes stuff from systemd/ and not from initscripts anymore

10 years agocleanup
Thierry Parmentelat [Tue, 14 Jan 2014 11:51:31 +0000 (12:51 +0100)]
cleanup

10 years agomake sync is now only for lcx and does not rsync vs code at all to avoid possible...
Thierry Parmentelat [Sun, 12 Jan 2014 23:53:53 +0000 (00:53 +0100)]
make sync is now only for lcx and does not rsync vs code at all to avoid possible conflicts

10 years agostricter checks on core modules that would fail to load
Thierry Parmentelat [Sun, 12 Jan 2014 23:53:17 +0000 (00:53 +0100)]
stricter checks on core modules that would fail to load

10 years agolog line when terminating
Thierry Parmentelat [Sun, 12 Jan 2014 23:34:42 +0000 (00:34 +0100)]
log line when terminating

10 years agofatal error if no sliver_xxx module can be imported (i.e. neither lxc nor vs) - for...
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

10 years agosyntax errors
Thierry Parmentelat [Sun, 12 Jan 2014 23:08:16 +0000 (00:08 +0100)]
syntax errors

10 years agomore heuristics for locating cgroups
Thierry Parmentelat [Sun, 12 Jan 2014 22:44:59 +0000 (23:44 +0100)]
more heuristics for locating cgroups

10 years agofix codemux restarting every 15 minutes
Scott Baker [Wed, 8 Jan 2014 07:12:03 +0000 (23:12 -0800)]
fix codemux restarting every 15 minutes

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

10 years agomove plugin to prevent conflict in __init__.py
Scott Baker [Wed, 13 Nov 2013 02:12:41 +0000 (18:12 -0800)]
move plugin to prevent conflict in __init__.py

10 years agobetter logging of network restart
Scott Baker [Wed, 13 Nov 2013 02:12:15 +0000 (18:12 -0800)]
better logging of network restart

10 years agoonly filter hostmap for 10.x.x.x addresses
Scott Baker [Wed, 13 Nov 2013 01:57:51 +0000 (17:57 -0800)]
only filter hostmap for 10.x.x.x addresses

10 years agofilter out addresses not in current cluster
Scott Baker [Wed, 13 Nov 2013 01:51:44 +0000 (17:51 -0800)]
filter out addresses not in current cluster

10 years agoautomatically touch slices with lxcsu if vsys_sysctl attribute changes
Scott Baker [Wed, 16 Oct 2013 06:39:23 +0000 (23:39 -0700)]
automatically touch slices with lxcsu if vsys_sysctl attribute changes

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