Thierry Parmentelat [Sat, 25 Jun 2011 08:47:33 +0000 (10:47 +0200)]
we're finding nodes that have old material from their time at PLC
prints a summary line to say where the config file was found
Thierry Parmentelat [Fri, 10 Jun 2011 13:11:54 +0000 (15:11 +0200)]
Setting tag bootmanager-5.0-19
nicer log - was intended for previous tag
Thierry Parmentelat [Fri, 10 Jun 2011 12:21:23 +0000 (14:21 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Wed, 8 Jun 2011 14:24:14 +0000 (16:24 +0200)]
Setting tag bootmanager-5.0-18
{Start,Stop,}RunLevelAgent now ship with bootmanager
new UpdateLastBootOnce
root_size bumped to 14Gb which is more in line with modern h/w
more safely tries to umount /dev/ and /sys
support for raid partitions
mkswap -f
blacklist files from /etc/modprobe.conf/* instead
Tony Mack [Thu, 2 Jun 2011 20:08:37 +0000 (16:08 -0400)]
added support for software raid
Stephen Soltesz [Fri, 27 May 2011 20:46:11 +0000 (16:46 -0400)]
fixed typo
Stephen Soltesz [Fri, 27 May 2011 20:40:06 +0000 (16:40 -0400)]
Add Runlevelagent to BM. Add UpdateLastBootOnce() to record last_* in DB.
remove the dependency on monitor runlevelagent package.
add UpdateLastBootOnce to update last_time_spent_online/_offline
ensure that UpdateLastBootOnce() is called only once per boot.
remove calls to runlevelagent in BM
Thierry Parmentelat [Mon, 9 May 2011 08:04:05 +0000 (10:04 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Thu, 5 May 2011 09:08:27 +0000 (11:08 +0200)]
cosmetic
Stephen Soltesz [Mon, 18 Apr 2011 19:41:03 +0000 (15:41 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/bootmanager
Stephen Soltesz [Mon, 18 Apr 2011 19:40:43 +0000 (15:40 -0400)]
Add extra umounts for /dev and /sys
In some cases, /tmp/mnt/sysimg was failing to umount due to these mount points
Stephen Soltesz [Mon, 18 Apr 2011 19:30:30 +0000 (15:30 -0400)]
Add extra umounts for /dev and /sys
In some cases, /tmp/mnt/sysimg was failing to umount due to these mount points
S.Çağlar Onur [Fri, 8 Apr 2011 22:49:40 +0000 (18:49 -0400)]
Revert "handle one hostname <--> multiple ip"
This reverts commit
1a55aa095e9e5ca2033626ef66b5925f408773f3.
S.Çağlar Onur [Fri, 8 Apr 2011 22:48:49 +0000 (18:48 -0400)]
handle one hostname <--> multiple ip
Stephen Soltesz [Fri, 1 Apr 2011 21:17:56 +0000 (17:17 -0400)]
Increase the default root fs size to 14G. This will help account for out-of
space conditions due to fprobe data logging in the worst cases, and leave more
room for logging.
S.Çağlar Onur [Wed, 16 Mar 2011 15:54:55 +0000 (11:54 -0400)]
Silent following warning;
mkswap: /dev/planetlab/swap: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
S.Çağlar Onur [Tue, 15 Mar 2011 18:31:44 +0000 (14:31 -0400)]
remove hardcoded file list
Thierry Parmentelat [Thu, 17 Feb 2011 21:10:09 +0000 (22:10 +0100)]
Setting tag bootmanager-5.0-17
on install of boostrapfs, keep track in /bm-install.log with date & flavour
Thierry Parmentelat [Tue, 15 Feb 2011 13:56:59 +0000 (14:56 +0100)]
oops
Thierry Parmentelat [Mon, 14 Feb 2011 16:11:15 +0000 (17:11 +0100)]
add bm version
Thierry Parmentelat [Mon, 14 Feb 2011 16:07:55 +0000 (17:07 +0100)]
add /bm-install.txt at the root of the installed hdd
Thierry Parmentelat [Sun, 23 Jan 2011 11:51:52 +0000 (12:51 +0100)]
Setting tag bootmanager-5.0-16
for f14 : try to mount /dev as devtmpfs before bind-mounting to on the hdd's /dev
fix for chosing version of parted - for f14
added support for virtio deveices in /dev/vd
fixed scanning of new disks
slightly reviewed logs - default mode is verbose
removed deprecated mkinitrd.sh
Thierry Parmentelat [Tue, 18 Jan 2011 16:17:18 +0000 (17:17 +0100)]
add ext3 in initrd for f14
Thierry Parmentelat [Tue, 18 Jan 2011 13:07:02 +0000 (14:07 +0100)]
always pass log to sysexec for consistency between bm.log and tty output
Thierry Parmentelat [Tue, 18 Jan 2011 13:06:11 +0000 (14:06 +0100)]
review logging policies
Thierry Parmentelat [Mon, 17 Jan 2011 21:33:54 +0000 (22:33 +0100)]
this sysexec thing just sucks
Thierry Parmentelat [Mon, 17 Jan 2011 21:28:02 +0000 (22:28 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Mon, 17 Jan 2011 15:34:55 +0000 (16:34 +0100)]
workaround for f14 bootCD
Thierry Parmentelat [Mon, 17 Jan 2011 15:22:53 +0000 (16:22 +0100)]
remove never used breakpoint
Thierry Parmentelat [Mon, 17 Jan 2011 15:21:49 +0000 (16:21 +0100)]
reviewed convenience targets
Barış Metin [Fri, 14 Jan 2011 14:37:07 +0000 (15:37 +0100)]
again check for virtio disks (not used now but it doesn't hurt to have them here)
Barış Metin [Thu, 13 Jan 2011 15:26:32 +0000 (16:26 +0100)]
/dev might be present but not populated. fixes the boot issue on f8/f12.
Andy Bavier [Tue, 11 Jan 2011 20:11:18 +0000 (15:11 -0500)]
Fix bug when not using monitor
Thierry Parmentelat [Thu, 6 Jan 2011 14:13:18 +0000 (15:13 +0100)]
info messages
Thierry Parmentelat [Thu, 6 Jan 2011 12:09:17 +0000 (13:09 +0100)]
fix for f14
Thierry Parmentelat [Thu, 6 Jan 2011 11:48:17 +0000 (12:48 +0100)]
cosmetic
Thierry Parmentelat [Thu, 6 Jan 2011 10:05:11 +0000 (11:05 +0100)]
fix CheckForNewDisks
Thierry Parmentelat [Thu, 6 Jan 2011 10:04:48 +0000 (11:04 +0100)]
cosmetic
Thierry Parmentelat [Wed, 5 Jan 2011 16:43:51 +0000 (17:43 +0100)]
fix the parted-version selection code, f14 has parted.version broken
Thierry Parmentelat [Mon, 3 Jan 2011 13:22:34 +0000 (14:22 +0100)]
remove svn keywords and use %{SCMURL} in spec file
Thierry Parmentelat [Mon, 3 Jan 2011 13:20:47 +0000 (14:20 +0100)]
now a git module
Thierry Parmentelat [Mon, 3 Jan 2011 13:12:32 +0000 (14:12 +0100)]
remove obsolete mkinitrd.sh script
Daniel Hokka Zakrisson [Tue, 14 Dec 2010 21:04:50 +0000 (16:04 -0500)]
Merge branch 'master' of dhozac@git.planet-lab.org:/git/bootmanager
Daniel Hokka Zakrisson [Tue, 14 Dec 2010 20:53:13 +0000 (15:53 -0500)]
Force vgremove so it's automatic.
S.Çağlar Onur [Fri, 10 Dec 2010 18:22:23 +0000 (13:22 -0500)]
Setting tag bootmanager-5.0-15
Fix problems caused by shell redirection
S.Çağlar Onur [Fri, 10 Dec 2010 18:11:42 +0000 (13:11 -0500)]
stdoutdata can be None object
S.Çağlar Onur [Fri, 10 Dec 2010 18:02:37 +0000 (13:02 -0500)]
S.Çağlar Onur [Fri, 10 Dec 2010 17:34:39 +0000 (12:34 -0500)]
Thierry Parmentelat [Thu, 9 Dec 2010 22:22:05 +0000 (23:22 +0100)]
Setting tag bootmanager-5.0-14
tag 5.0-13 is broken
S.Çağlar Onur [Thu, 9 Dec 2010 03:26:07 +0000 (22:26 -0500)]
use sysexec_noerr for error handling
S.Çağlar Onur [Wed, 8 Dec 2010 18:50:34 +0000 (13:50 -0500)]
Setting tag bootmanager-5.0-13
Add support for uploading bash_history to a central server for failboot nodes.
Start to use subprocess instead of deprecated popen2 module
Fix typo for VSERVERS_SIZE
Add --allow-missing parameter to support different kernel configs with mkinitrd
S.Çağlar Onur [Tue, 7 Dec 2010 22:36:52 +0000 (17:36 -0500)]
add --allow-missing parameter to support different kernel configs
Thierry Parmentelat [Sun, 5 Dec 2010 15:33:39 +0000 (16:33 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Sun, 5 Dec 2010 15:33:30 +0000 (16:33 +0100)]
missing include
Daniel Hokka Zakrisson [Fri, 19 Nov 2010 22:20:58 +0000 (17:20 -0500)]
Fix typo.
Stephen Soltesz [Wed, 10 Nov 2010 23:19:28 +0000 (18:19 -0500)]
never fail when uploading logs
Stephen Soltesz [Wed, 10 Nov 2010 23:09:29 +0000 (18:09 -0500)]
This is supported only if there is a receiving server, such as myops, for the
uploaded history files. Otherwise, there is no effect.
Configure by setting MONITOR_SERVER in bootmanager/configuration
Stephen Soltesz [Wed, 10 Nov 2010 23:05:54 +0000 (18:05 -0500)]
Add support for uploading bash_history to a central server for failboot nodes.
This is supported only if there is a receiving server, such as myops, for the
uploaded history files. Otherwise, there is no effect.
Configure by setting MONITOR_SERVER in bootmanager/configuration
S.Çağlar Onur [Sun, 29 Aug 2010 05:23:03 +0000 (01:23 -0400)]
everybody deserves a second chance
S.Çağlar Onur [Fri, 27 Aug 2010 16:40:38 +0000 (12:40 -0400)]
handle shell redirects
S.Çağlar Onur [Fri, 27 Aug 2010 16:36:44 +0000 (12:36 -0400)]
Revert "Revert "replace deprecated popen2 with subprocess""
This reverts commit
e33917845bcb7537ced58a3acaa8c297d8eba1f1.
S.Çağlar Onur [Thu, 26 Aug 2010 19:57:50 +0000 (15:57 -0400)]
Setting tag bootmanager-5.0-12
Revert "replace deprecated popen2 with subprocess"
S.Çağlar Onur [Thu, 26 Aug 2010 19:49:45 +0000 (15:49 -0400)]
Revert "replace deprecated popen2 with subprocess"
This reverts commit
37388b93f7ef01f73393a26e0db22dc80b74a620.
S.Çağlar Onur [Wed, 11 Aug 2010 20:31:52 +0000 (16:31 -0400)]
Setting tag bootmanager-5.0-11
replace deprecated popen2 with subprocess and handle fsck return codes in a different code path
S.Çağlar Onur [Wed, 11 Aug 2010 14:18:19 +0000 (10:18 -0400)]
or/and
S.Çağlar Onur [Wed, 11 Aug 2010 14:15:16 +0000 (10:15 -0400)]
handle fsck return codes in a different code path
S.Çağlar Onur [Mon, 2 Aug 2010 16:24:48 +0000 (12:24 -0400)]
add BootManagerException back
S.Çağlar Onur [Mon, 2 Aug 2010 16:19:56 +0000 (12:19 -0400)]
replace deprecated popen2 with subprocess
S.Çağlar Onur [Fri, 30 Jul 2010 14:22:25 +0000 (10:22 -0400)]
Setting tag bootmanager-5.0-10
Fix typo
S.Çağlar Onur [Fri, 30 Jul 2010 14:20:50 +0000 (10:20 -0400)]
fix other typo
Barış Metin [Fri, 30 Jul 2010 13:00:19 +0000 (15:00 +0200)]
Setting tag bootmanager-5.0-9
fix typo
Barış Metin [Fri, 30 Jul 2010 10:27:04 +0000 (12:27 +0200)]
fix typo
S.Çağlar Onur [Wed, 28 Jul 2010 20:55:38 +0000 (16:55 -0400)]
Setting tag bootmanager-5.0-8
disable time/count based filesystem checks
S.Çağlar Onur [Wed, 28 Jul 2010 04:30:13 +0000 (00:30 -0400)]
disable time/count based filesystems checks
S.Çağlar Onur [Wed, 28 Jul 2010 03:59:12 +0000 (23:59 -0400)]
Setting tag bootmanager-5.0-7
Fix new disk additions to LVM array
S.Çağlar Onur [Wed, 28 Jul 2010 03:45:39 +0000 (23:45 -0400)]
resize2fs has obsoleted ext2online long ago :(
S.Çağlar Onur [Wed, 28 Jul 2010 02:57:34 +0000 (22:57 -0400)]
S.Çağlar Onur [Wed, 28 Jul 2010 02:45:19 +0000 (22:45 -0400)]
S.Çağlar Onur [Tue, 27 Jul 2010 17:15:01 +0000 (13:15 -0400)]
...
cmd = "pvdisplay %s | grep -q 'planetlab'" % lvm_partition
already_added= utils.sysexec_noerr(cmd, log)
if already_added:
log.write( "It appears %s is part of the volume group, continuing.\n" %
device )
....
fails because pvdisplay returns a non-negative number on error
[root@mlab1 ~]# pvdisplay /dev/sdb1
Failed to read physical volume "/dev/sdb1"
[root@mlab1 ~]# echo $?
5
Thierry Parmentelat [Wed, 7 Jul 2010 11:06:35 +0000 (11:06 +0000)]
Setting tag BootManager-5.0-6
bugfix for centos5/python2.4 missing hashlib
Thierry Parmentelat [Wed, 7 Jul 2010 09:33:17 +0000 (09:33 +0000)]
hashlib not avail. on python2.4/centos5
Barış Metin [Mon, 5 Jul 2010 12:25:03 +0000 (12:25 +0000)]
Setting tag BootManager-5.0-5
check sha1sum of downloaded bootstrapfs
try recovering filesystem errors
Thierry Parmentelat [Mon, 5 Jul 2010 07:13:02 +0000 (07:13 +0000)]
bugfix
S.Çağlar Onur [Thu, 1 Jul 2010 04:09:33 +0000 (04:09 +0000)]
check the sha1 checksum of the downloaded bootstrapfs tarball to protect ourselves from corrupted images. NOTE: requires generating a bootstrapfs-planetlab-i386.tar.bz2.sha1sum file
S.Çağlar Onur [Tue, 29 Jun 2010 21:23:23 +0000 (21:23 +0000)]
try to recover filesystems errors
Thierry Parmentelat [Wed, 23 Jun 2010 08:38:33 +0000 (08:38 +0000)]
Setting tag BootManager-5.0-4
nicer initscript now uses 'action' from /etc/init.d/functions
bugfix for nodes with extensions
Barış Metin [Mon, 31 May 2010 09:54:31 +0000 (09:54 +0000)]
fix action calls. first argument is the message and rest shall be the command
Barış Metin [Thu, 27 May 2010 08:17:06 +0000 (08:17 +0000)]
fix typo
Thierry Parmentelat [Fri, 2 Apr 2010 13:07:44 +0000 (13:07 +0000)]
Setting tag BootManager-5.0-3
create /etc/planetlab if missing
uses key 'ssh_rsa_key' in BootUpdateNode (requires PLCAPI-5.0.5)
Thierry Parmentelat [Thu, 1 Apr 2010 11:05:37 +0000 (11:05 +0000)]
uses the native node field name (latest BootUpdateNode supports both)
Barış Metin [Mon, 29 Mar 2010 15:01:15 +0000 (15:01 +0000)]
this shall fix the problem with test vnodes.
Thierry Parmentelat [Sat, 13 Feb 2010 21:06:15 +0000 (21:06 +0000)]
Setting tag BootManager-5.0-2
caglar's change to run MkInitrd right before kexec
plus clean up old code
S.Çağlar Onur [Thu, 11 Feb 2010 23:18:25 +0000 (23:18 +0000)]
solve the ordering problem which causes the boot failure
S.Çağlar Onur [Thu, 11 Feb 2010 23:07:20 +0000 (23:07 +0000)]
Remove kernel-2.4 support
Thierry Parmentelat [Fri, 29 Jan 2010 13:55:53 +0000 (13:55 +0000)]
Setting tag BootManager-5.0-1
first working version of 5.0:
pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to
uses PLCAPI's GetNodeFlavour to get all info on the bootstrapfs tarball(s) to install
installation layout on the plc side has changed, more consistent for e.g. 'alpha' bootmanagers
Thierry Parmentelat [Thu, 28 Jan 2010 14:10:54 +0000 (14:10 +0000)]
svn:keywords
Thierry Parmentelat [Wed, 27 Jan 2010 18:44:46 +0000 (18:44 +0000)]
fixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodeconfig/yum
now known as the nodeyum package
(might need some moer work for properly handling kexcludes in multi-fc plcs)
cleaned up all uses of /etc/planetlab/{node,slice}family
nodeconfig now does not need the build/ module anymore at build time
Thierry Parmentelat [Tue, 26 Jan 2010 13:57:24 +0000 (13:57 +0000)]
3-fold nodefamily now has fcdistro as well
Thierry Parmentelat [Mon, 25 Jan 2010 20:06:06 +0000 (20:06 +0000)]
use major numbers in conflicts
Thierry Parmentelat [Mon, 25 Jan 2010 16:36:18 +0000 (16:36 +0000)]
uses new branches numbers