4 years agoSetting tag nodemanager-5.2-17 2.1 lxc_devel master nodemanager-5.2-17
Thierry Parmentelat [Fri, 26 Jun 2015 12:00:35 +0000]
Setting tag nodemanager-5.2-17
first step towards auto slice-reimaging
slices that would be reimaged because of a change of slicefamily are
identified in the nodemanager's log
might have fixed fd leaks (use context managers whenever possible)

4 years agoreimaging code revisited
Thierry Parmentelat [Fri, 19 Jun 2015 15:27:28 +0000]
reimaging code revisited

4 years agospaces after comma
Thierry Parmentelat [Fri, 19 Jun 2015 15:10:16 +0000]
spaces after comma

4 years agofirst stab at reimaging slivers when created under the wrong slicefamily
Thierry Parmentelat [Fri, 19 Jun 2015 14:45:03 +0000]
first stab at reimaging slivers when created under the wrong slicefamily

4 years agohopefully fewer leaks in files : always use a context manager to open files
Thierry Parmentelat [Fri, 19 Jun 2015 12:20:21 +0000]
hopefully fewer leaks in files : always use a context manager to open files

4 years agoanother pass for prettifying - mostly format instead of %
Thierry Parmentelat [Fri, 19 Jun 2015 10:54:28 +0000]
another pass for prettifying - mostly format instead of %

4 years agono change, just nicer
Thierry Parmentelat [Fri, 19 Jun 2015 09:53:32 +0000]
no change, just nicer

4 years agoSetting tag nodemanager-5.2-16 nodemanager-5.2-16
Thierry Parmentelat [Fri, 3 Apr 2015 07:55:24 +0000]
Setting tag nodemanager-5.2-16
initscript plugin reviewed
turn off the initscript machinery completely on hosts that run f>=20
some tweaks related to cgroup naming in f>=20, including for ipv6
ideally all code depending on the cgroup naming scheme should use cgroups.py
we are not there yet but this is a bit cleaner already

4 years agocosmetic tweaks before tagging
Thierry Parmentelat [Fri, 3 Apr 2015 06:32:32 +0000]
cosmetic tweaks before tagging

4 years agorefactor of reboot_slivers() to cover f21 -- only ipv6 part is affected.
Guilherme Sperb Machado [Wed, 1 Apr 2015 00:40:16 +0000]
refactor of reboot_slivers() to cover f21 -- only ipv6 part is affected.

4 years agoCorreted a bug in the get_sliver_process() function in tools.py to
Guilherme Sperb Machado [Mon, 23 Mar 2015 22:17:09 +0000]
Correted a bug in the get_sliver_process() function in tools.py to
consider libvirt cgroup naming standards in Fedora 20 and later. Clean
up a bit ipv6.py and update_ipv6addr_slivertag.py, also correcting minor
bugs.

4 years agoreplace confusing warning message with a debug one
Thierry Parmentelat [Fri, 20 Mar 2015 09:48:42 +0000]
replace confusing warning message with a debug one

4 years agoturn off the initscript feature altogether in nodes that have machinectl (i.e. f20...
Thierry Parmentelat [Wed, 18 Mar 2015 20:07:10 +0000]
turn off the initscript feature altogether in nodes that have machinectl (i.e. f20 and higher)

4 years agoan attempt to see if avoiding to run initscripts altogether solves the slice re-creat...
Thierry Parmentelat [Wed, 18 Mar 2015 10:55:05 +0000]
an attempt to see if avoiding to run initscripts altogether solves the slice re-creation issue

4 years agocleaned up cgroups, updated for recent libvirts,
Thierry Parmentelat [Fri, 13 Mar 2015 15:35:09 +0000]
cleaned up  cgroups, updated for recent libvirts,
used in coresched - at least the part that keeps on sending messages;
don't know how to check the reservation part

4 years agopretty-printed
Thierry Parmentelat [Fri, 13 Mar 2015 14:23:45 +0000]
pretty-printed

4 years agodeprecate refresh_slice_vinit and move this code up to Initscript.configure
Thierry Parmentelat [Fri, 13 Mar 2015 11:02:24 +0000]
deprecate refresh_slice_vinit and move this code up to Initscript.configure

4 years agominor cleanup
Thierry Parmentelat [Fri, 13 Mar 2015 11:01:19 +0000]
minor cleanup

4 years agofix coresched locating cgroup and reduce verbosity
Thierry Parmentelat [Fri, 13 Mar 2015 10:59:54 +0000]
fix coresched locating cgroup and reduce verbosity

4 years agooops, too much messing about
Thierry Parmentelat [Fri, 13 Mar 2015 10:29:13 +0000]
oops, too much messing about

4 years agotrim down the amount of verbosity of update_ipv6addr_slivertag
Thierry Parmentelat [Fri, 13 Mar 2015 09:53:21 +0000]
trim down the amount of verbosity of update_ipv6addr_slivertag

4 years agolet SystemExit exception go up to the surface so we can exit() and so freeze the...
Thierry Parmentelat [Fri, 13 Mar 2015 09:52:49 +0000]
let SystemExit exception go up to the surface so we can exit() and so freeze the system for troubleshooting

4 years agojust cosmetics
Thierry Parmentelat [Fri, 13 Mar 2015 09:47:58 +0000]
just cosmetics

4 years agooops
Thierry Parmentelat [Fri, 13 Mar 2015 07:26:23 +0000]
oops

4 years agominor tweaks, and revert on forcing refresh_slice_vinit, this is not the problem
Thierry Parmentelat [Thu, 12 Mar 2015 20:23:47 +0000]
minor tweaks, and revert on forcing refresh_slice_vinit, this is not the problem

4 years agoa few fixes about initscripts under systemd
Thierry Parmentelat [Thu, 12 Mar 2015 15:46:59 +0000]
a few fixes about initscripts under systemd

4 years agomore pythonic spaces - no real change
Thierry Parmentelat [Thu, 12 Mar 2015 15:38:10 +0000]
more pythonic spaces - no real change

4 years agosystemctl --system daemon-reload
Thierry Parmentelat [Thu, 12 Mar 2015 09:39:38 +0000]
systemctl --system daemon-reload

4 years agoanother attempt for smoother initscript integration
Thierry Parmentelat [Tue, 10 Mar 2015 14:42:12 +0000]
another attempt for smoother initscript integration

4 years agoa convenience target to push systemd unit files on the sliver side
Thierry Parmentelat [Tue, 10 Mar 2015 14:41:37 +0000]
a convenience target to push systemd unit files on the sliver side

4 years agoonly cosmetic
Thierry Parmentelat [Tue, 10 Mar 2015 14:40:59 +0000]
only cosmetic
I have noticed numerous failures in get_sliver_process though

4 years agoSetting tag nodemanager-5.2-15 nodemanager-5.2-15
Thierry Parmentelat [Wed, 18 Feb 2015 10:31:46 +0000]
Setting tag nodemanager-5.2-15
addition to support for ipv6 to lxc slivers
(thanks to Guilherme Sperb Machado)
privatebridge plugin is back to the -lxc rpm
add systemd dependency to network.target

4 years agoAdded debug code.
Thomas Dreibholz [Fri, 6 Feb 2015 19:53:08 +0000]
Added debug code.

4 years agoAdded lsof call for debugging the F20 issue.
Thomas Dreibholz [Fri, 6 Feb 2015 15:14:44 +0000]
Added lsof call for debugging the F20 issue.

4 years agoMerge branch 'ipv6'
Thierry Parmentelat [Thu, 30 Oct 2014 08:58:39 +0000]
Merge branch 'ipv6'

only one minor conflict found in a comment in Makefile

4 years agosmall updates here and there in all three files. The ipv6
Guilherme Sperb Machado [Fri, 3 Oct 2014 13:06:06 +0000]
small updates here and there in all three files. The
update_ipv6addr-slivertag.py and ipv6.py were updated to support VS,
since "import libvirt" raises error and fails the build on -f14.

4 years agonew syncvs target
Thierry Parmentelat [Fri, 3 Oct 2014 10:36:04 +0000]
new syncvs target

4 years agoipv6.py adapted to check if the node's virtualization is LXC or VS,
Guilherme Sperb Machado [Mon, 29 Sep 2014 13:37:24 +0000]
ipv6.py adapted to check if the node's virtualization is LXC or VS,
update_ipv6_slivertag.py adapted to not always remove ipv6 addrs on
/etc/hosts, and tools.py adapted related to import's and search of ipv6
addrs.

4 years agomove the 2 ipv6-related plugins over to the common packaging
Thierry Parmentelat [Thu, 25 Sep 2014 18:59:22 +0000]
move the 2 ipv6-related plugins over to the common packaging

4 years agoan attempt to put the privatebridge plugin back into the -lxc rpm
Thierry Parmentelat [Tue, 23 Sep 2014 15:35:12 +0000]
an attempt to put the privatebridge plugin back into the -lxc rpm

4 years agotweak privatebridge to remove exception message when ovs is not installed - prints...
Thierry Parmentelat [Tue, 23 Sep 2014 15:32:52 +0000]
tweak privatebridge to remove exception message when ovs is not installed - prints out warning instead

4 years agoan attempt to put the privatebridge plugin back into the -lxc rpm
Thierry Parmentelat [Tue, 23 Sep 2014 15:35:12 +0000]
an attempt to put the privatebridge plugin back into the -lxc rpm

4 years agotweak privatebridge to remove exception message when ovs is not installed - prints...
Thierry Parmentelat [Tue, 23 Sep 2014 15:32:52 +0000]
tweak privatebridge to remove exception message when ovs is not installed - prints out warning instead

4 years agoBug fix on the update_ipv6addr_slivertag.py plugin. Just avoided to use
Guilherme Sperb Machado [Fri, 19 Sep 2014 12:53:27 +0000]
Bug fix on the update_ipv6addr_slivertag.py plugin. Just avoided to use
GetSliceIPv6Address() method.

4 years agofew changes on the ipv6.py logic, and a bit of code cleanup in tools.py,
Guilherme Sperb Machado [Thu, 18 Sep 2014 16:34:46 +0000]
few changes on the ipv6.py logic, and a bit of code cleanup in tools.py,
update_ipv6addr_slivertag.py, and sliver_lxc.py.

4 years agomodified some logic in the ipv6.py (bug fixing) and naming fix in the
Guilherme Sperb Machado [Thu, 18 Sep 2014 00:18:01 +0000]
modified some logic in the ipv6.py (bug fixing) and naming fix in the
tools.py

4 years agomajor indent mistake on a for loop
Guilherme Sperb Machado [Tue, 16 Sep 2014 23:38:50 +0000]
major indent mistake on a for loop

4 years agoreviewed Guilherme's code
Thierry Parmentelat [Tue, 16 Sep 2014 09:48:14 +0000]
reviewed Guilherme's code
had to deeply modify indentations as these were coming with tabs and looked like nothing within my emacs
fixed the issue in tools.py on f14/vs : logger was used before imported

4 years agoiron out the sync target - not used at build time
Thierry Parmentelat [Mon, 15 Sep 2014 06:06:28 +0000]
iron out the sync target - not used at build time

4 years agoadd ipv6 and update_ipv6addr_slivertag to the lxc rpm
Thierry Parmentelat [Mon, 15 Sep 2014 06:06:10 +0000]
add ipv6 and update_ipv6addr_slivertag to the lxc rpm

4 years agomodified ipv6.py and update_ipv6addr_slivertag.py -- identation, removed unused metho...
Guilherme Sperb Machado [Sun, 14 Sep 2014 14:08:26 +0000]
modified ipv6.py and update_ipv6addr_slivertag.py -- identation, removed unused methods/variables

4 years agojust an identation error correction
Guilherme Sperb Machado [Sat, 13 Sep 2014 11:11:32 +0000]
just an identation error correction

4 years agojust modified the tools.py
Guilherme Sperb Machado [Fri, 12 Sep 2014 14:47:59 +0000]
just modified the tools.py

4 years agoadded files related to the ipv6 support on slices
Guilherme Sperb Machado [Fri, 12 Sep 2014 14:38:06 +0000]
added files related to the ipv6 support on slices

5 years agonm.service fix: the node manager needs network.target, since it needs to contact...
Thomas Dreibholz [Tue, 22 Jul 2014 06:22:42 +0000]
nm.service fix: the node manager needs network.target, since it needs to contact the PLC.

5 years agoSetting tag nodemanager-5.2-14 nodemanager-5.2-14
Thierry Parmentelat [Wed, 16 Jul 2014 10:20:44 +0000]
Setting tag nodemanager-5.2-14
review packaging : one single spec file
review packaging : some cleanup towards debians although not complete yet
minor tweaks in exposing user's .ssh dir readonly

5 years agojust added a comment
Thierry Parmentelat [Wed, 9 Jul 2014 12:37:48 +0000]
just added a comment

5 years agofix the way 'arch' is computed, as exposed to the guest XML template
Thierry Parmentelat [Wed, 2 Jul 2014 08:05:12 +0000]
fix the way 'arch' is computed, as exposed to the guest XML template

5 years agono functional change, just comments + cosmetic code change to be more similar to...
Thierry Parmentelat [Wed, 2 Jul 2014 07:56:50 +0000]
no functional change, just comments + cosmetic code change to be more similar to the lxc code

5 years agoThomas's change to ensure tighter synchro between conf_files lxc_sliceimage and nodem...
Thierry Parmentelat [Mon, 30 Jun 2014 14:22:53 +0000]
Thomas's change to ensure tighter synchro between conf_files lxc_sliceimage and nodemanager

5 years agotypo
Thierry Parmentelat [Tue, 27 May 2014 09:23:01 +0000]
typo

5 years agoremove band-aid code that was re-cleaning the slice rootfs before creating it
Thierry Parmentelat [Tue, 27 May 2014 09:19:31 +0000]
remove band-aid code that was re-cleaning the slice rootfs before creating it

5 years agofixed nasty bug
Thierry Parmentelat [Tue, 27 May 2014 09:16:17 +0000]
fixed nasty bug

5 years agofix typo in varname - umounts based on sliver name
Thierry Parmentelat [Fri, 23 May 2014 15:00:18 +0000]
fix typo in varname - umounts based on sliver name

5 years agodo not call lsof, this is useless and produces huge logs
Thierry Parmentelat [Fri, 23 May 2014 14:59:06 +0000]
do not call lsof, this is useless and produces huge logs

5 years agoreviewd all timeouts for lxc slice creation/teradown
Thierry Parmentelat [Fri, 23 May 2014 14:36:29 +0000]
reviewd all timeouts for lxc slice creation/teradown

5 years agouse logger.log_call to run mount/umount
Thierry Parmentelat [Fri, 23 May 2014 14:34:44 +0000]
use logger.log_call to run mount/umount

5 years agopatch for (hopefully) getting slice re-creation to work again
Thierry Parmentelat [Fri, 23 May 2014 11:11:31 +0000]
patch for (hopefully) getting slice re-creation to work again
the sliver_lxc code for creating a sliver will check if /vservers/<slicename> exists, if so and it is empty nm will issue another call to
btrfs subvolume delete
in any case if the rootdir cannot be cleaned up sliver creation will be given up

5 years agogiving up on packaging for ubuntu
Thierry Parmentelat [Wed, 21 May 2014 12:10:13 +0000]
giving up on packaging for ubuntu

5 years agodeb pkg ctd
Thierry Parmentelat [Wed, 21 May 2014 10:28:34 +0000]
deb pkg ctd

5 years agodebian pkg
Thierry Parmentelat [Wed, 21 May 2014 10:08:35 +0000]
debian pkg

5 years agotentative fixes for debian
Thierry Parmentelat [Wed, 21 May 2014 09:31:31 +0000]
tentative fixes for debian

5 years agomore aggressively try to cleanup sliver rootfs upon slice teardown
Thierry Parmentelat [Wed, 21 May 2014 08:21:38 +0000]
more aggressively try to cleanup sliver rootfs upon slice teardown

5 years agoenable make sync to restart nm only conditionnally
Thierry Parmentelat [Mon, 19 May 2014 14:07:28 +0000]
enable make sync to restart nm only conditionnally

5 years agotypo
Thierry Parmentelat [Fri, 16 May 2014 09:26:50 +0000]
typo

5 years agoreviewed packaging contents as compared with the former scheme
Thierry Parmentelat [Fri, 16 May 2014 08:38:59 +0000]
reviewed packaging contents as compared with the former scheme
in particular, was missing important initscript-related material

5 years agooops
Thierry Parmentelat [Fri, 16 May 2014 06:42:48 +0000]
oops

5 years agoremove unused Extension in setup
Thierry Parmentelat [Thu, 15 May 2014 15:15:52 +0000]
remove unused Extension in setup

5 years agoMerge branch 'packaging'
Thierry Parmentelat [Thu, 15 May 2014 11:39:29 +0000]
Merge branch 'packaging'

5 years agoprovide default to WITH_INIT and WITH_SYSTEMD right in the makefile packaging
Thierry Parmentelat [Thu, 15 May 2014 10:36:00 +0000]
provide default to WITH_INIT and WITH_SYSTEMD right in the makefile

5 years agomerged the 3 packaging-dependant tracks (-lib, -lxc and -vs) into a single specfile...
Thierry Parmentelat [Wed, 14 May 2014 14:29:48 +0000]
merged the 3 packaging-dependant tracks (-lib, -lxc and -vs) into a single specfile, single setup script and single Makefile
this is useful in its own, plus hopefully this will make ubuntu packaging much easier,

5 years agofirst and very rough attempt at building for debian
Thierry Parmentelat [Wed, 14 May 2014 12:29:14 +0000]
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

5 years agoan attempt at robustifying slice teardown once again
Thierry Parmentelat [Tue, 13 May 2014 16:41:49 +0000]
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

5 years agoanother bugfix
Thierry Parmentelat [Tue, 13 May 2014 09:34:39 +0000]
another bugfix

5 years agofix for ubuntus
Thierry Parmentelat [Tue, 13 May 2014 09:22:08 +0000]
fix for ubuntus

5 years agoadd missing import subprocess
Thierry Parmentelat [Tue, 13 May 2014 08:10:28 +0000]
add missing import subprocess

5 years agono change - reorder imports
Thierry Parmentelat [Tue, 13 May 2014 08:10:10 +0000]
no change - reorder imports

5 years agoadded some comments about the fuse subsystem wrt systemd & vsys
Thierry Parmentelat [Tue, 13 May 2014 08:05:56 +0000]
added some comments about the fuse subsystem wrt systemd & vsys

5 years agoSetting tag nodemanager-5.2-13 nodemanager-5.2-13
Thierry Parmentelat [Mon, 28 Apr 2014 11:04:34 +0000]
Setting tag nodemanager-5.2-13
improve network management in slices
_has_systemctl was not declared as global - vsys was failing to restart

5 years agodon't create network script if the slice hasn't been created yet
Scott Baker [Thu, 10 Apr 2014 08:07:13 +0000]
don't create network script if the slice hasn't been created yet

5 years agofix _has_systemctl referenced before assignment in python2.7
Scott Baker [Mon, 7 Apr 2014 22:33:37 +0000]
fix _has_systemctl referenced before assignment in python2.7

5 years agopass args to lxcsu separately when starting network
Scott Baker [Mon, 7 Apr 2014 21:13:48 +0000]
pass args to lxcsu separately when starting network

5 years agoSetting tag nodemanager-5.2-12 nodemanager-5.2-12
Thierry Parmentelat [Fri, 4 Apr 2014 07:39:02 +0000]
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

5 years agoMerge branch 'master' of ssh://git.onelab.eu/git/nodemanager
Thierry Parmentelat [Wed, 2 Apr 2014 09:45:45 +0000]
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager

5 years agorestart vsys before we actually trash the vsys handle in sliver
Thierry Parmentelat [Wed, 2 Apr 2014 09:45:28 +0000]
restart vsys before we actually trash the vsys handle in sliver

5 years agofix for 'failed to allocate free veth' issue
Scott Baker [Fri, 28 Mar 2014 22:25:56 +0000]
fix for 'failed to allocate free veth' issue

5 years agoclean up the code that removes a slice from vsys's scope before its rootfs gets deleted
Thierry Parmentelat [Fri, 28 Mar 2014 16:49:59 +0000]
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

5 years agosshsh has gone, cleanup in make sync
Thierry Parmentelat [Fri, 28 Mar 2014 16:34:45 +0000]
sshsh has gone, cleanup in make sync

5 years agoSetting tag nodemanager-5.2-11 nodemanager-5.2-11
Thierry Parmentelat [Tue, 25 Mar 2014 13:39:54 +0000]
Setting tag nodemanager-5.2-11
ship /etc/sysconfig/nodemanager
trash sshsh

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