Thierry Parmentelat [Wed, 14 May 2014 12:29:14 +0000 (14:29 +0200)]
first and very rough attempt at building for debian
the way the 3 packages (lib, lxc, vs) are intermixed makes it hard under debian
I might want to rework the rpm packaging first
Thierry Parmentelat [Tue, 13 May 2014 16:41:49 +0000 (18:41 +0200)]
an attempt at robustifying slice teardown once again
not doing things in the exact right order causes /vservers/<slicename> to remain after slice deletion, thus preventing proper slice-re-creation
looks like finer grained test steps could help here some day
Thierry Parmentelat [Tue, 13 May 2014 09:34:39 +0000 (11:34 +0200)]
another bugfix
Thierry Parmentelat [Tue, 13 May 2014 09:22:08 +0000 (11:22 +0200)]
fix for ubuntus
Thierry Parmentelat [Tue, 13 May 2014 08:10:28 +0000 (10:10 +0200)]
add missing import subprocess
Thierry Parmentelat [Tue, 13 May 2014 08:10:10 +0000 (10:10 +0200)]
no change - reorder imports
Thierry Parmentelat [Tue, 13 May 2014 08:05:56 +0000 (10:05 +0200)]
added some comments about the fuse subsystem wrt systemd & vsys
Thierry Parmentelat [Mon, 28 Apr 2014 11:04:34 +0000 (13:04 +0200)]
Setting tag nodemanager-5.2-13
improve network management in slices
_has_systemctl was not declared as global - vsys was failing to restart
Scott Baker [Thu, 10 Apr 2014 08:07:13 +0000 (01:07 -0700)]
don't create network script if the slice hasn't been created yet
Scott Baker [Mon, 7 Apr 2014 22:33:37 +0000 (15:33 -0700)]
fix _has_systemctl referenced before assignment in python2.7
Scott Baker [Mon, 7 Apr 2014 21:13:48 +0000 (14:13 -0700)]
pass args to lxcsu separately when starting network
Thierry Parmentelat [Fri, 4 Apr 2014 07:39:02 +0000 (09:39 +0200)]
Setting tag nodemanager-5.2-12
this tag for the first time passes the full range of tests on fedora20
robustified slice teardown wrt vsys
Scott's fix for repairing veth devs
removed sshsh
tools.has_systemctl
Thierry Parmentelat [Wed, 2 Apr 2014 09:45:45 +0000 (11:45 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Wed, 2 Apr 2014 09:45:28 +0000 (11:45 +0200)]
restart vsys before we actually trash the vsys handle in sliver
Scott Baker [Fri, 28 Mar 2014 22:25:56 +0000 (15:25 -0700)]
fix for 'failed to allocate free veth' issue
Thierry Parmentelat [Fri, 28 Mar 2014 16:49:59 +0000 (17:49 +0100)]
clean up the code that removes a slice from vsys's scope before its rootfs gets deleted
however the bulk of that logic was in place already so I doubt this will fix the f20 issue
Thierry Parmentelat [Fri, 28 Mar 2014 16:34:45 +0000 (17:34 +0100)]
sshsh has gone, cleanup in make sync
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
Thierry Parmentelat [Mon, 24 Mar 2014 09:14:23 +0000 (10:14 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
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
Thierry Parmentelat [Mon, 24 Mar 2014 09:13:26 +0000 (10:13 +0100)]
sshsh is totally obsolete, since we use lxc-userspace
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
Thierry Parmentelat [Sat, 22 Feb 2014 13:23:44 +0000 (14:23 +0100)]
fix broken .service file
Thierry Parmentelat [Thu, 20 Feb 2014 16:44:24 +0000 (17:44 +0100)]
fix remaining reference to debuginfo
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
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
Thierry Parmentelat [Mon, 3 Feb 2014 13:46:07 +0000 (14:46 +0100)]
an attempt to have vinit.service depend on network-online instead
Thierry Parmentelat [Mon, 3 Feb 2014 09:54:23 +0000 (10:54 +0100)]
Merge branch 'systemd'
Thierry Parmentelat [Sat, 1 Feb 2014 13:37:46 +0000 (14:37 +0100)]
install for sytemd *or* init
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
Thierry Parmentelat [Fri, 31 Jan 2014 16:48:06 +0000 (17:48 +0100)]
it's going to work much better with this
Thierry Parmentelat [Fri, 31 Jan 2014 16:38:00 +0000 (17:38 +0100)]
support for systemd in sliver space for user-provided initscripts
Thierry Parmentelat [Fri, 31 Jan 2014 16:14:38 +0000 (17:14 +0100)]
about to duplicate install_and_enable_vinit for init and systemd
Thierry Parmentelat [Fri, 31 Jan 2014 16:13:41 +0000 (17:13 +0100)]
bugfix, reference to a global symbol debuginfo that is undefined
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
Thierry Parmentelat [Fri, 31 Jan 2014 09:23:59 +0000 (10:23 +0100)]
keep it simple
Thierry Parmentelat [Fri, 31 Jan 2014 08:50:53 +0000 (09:50 +0100)]
oops, the f14 build was installing for systemd instead of init
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
Thierry Parmentelat [Mon, 20 Jan 2014 20:02:25 +0000 (21:02 +0100)]
Merge branch 'systemd'
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
Thierry Parmentelat [Fri, 17 Jan 2014 09:45:46 +0000 (10:45 +0100)]
for better fit with NodeUpdate
Scott Baker [Fri, 17 Jan 2014 07:44:37 +0000 (23:44 -0800)]
libvirt 1.2.1 support
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.
Thierry Parmentelat [Thu, 16 Jan 2014 19:26:04 +0000 (20:26 +0100)]
python-2.7
Thierry Parmentelat [Thu, 16 Jan 2014 15:07:09 +0000 (16:07 +0100)]
use systemctl instead of chkconfig
Thierry Parmentelat [Thu, 16 Jan 2014 13:28:27 +0000 (14:28 +0100)]
fix packaging ctd
Thierry Parmentelat [Thu, 16 Jan 2014 13:15:29 +0000 (14:15 +0100)]
fixes
Thierry Parmentelat [Thu, 16 Jan 2014 09:17:00 +0000 (10:17 +0100)]
install nodemanager with systemd unit files instead of initscripts
Thierry Parmentelat [Thu, 16 Jan 2014 09:12:18 +0000 (10:12 +0100)]
set default to f18
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
Thierry Parmentelat [Tue, 14 Jan 2014 14:17:08 +0000 (15:17 +0100)]
pushes stuff from systemd/ and not from initscripts anymore
Thierry Parmentelat [Tue, 14 Jan 2014 11:51:31 +0000 (12:51 +0100)]
cleanup
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
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