bootmanager.git
12 years agoSetting tag bootmanager-5.0-21 bootmanager-5.0-21
Thierry Parmentelat [Fri, 13 Apr 2012 14:39:56 +0000 (16:39 +0200)]
Setting tag bootmanager-5.0-21
no significant change, just checkpoint as 5.1 is addressing lxc

12 years agonew make sync for vs or lxc
Thierry Parmentelat [Mon, 2 Apr 2012 15:43:49 +0000 (17:43 +0200)]
new make sync for vs or lxc

12 years agono change - only added comment
Thierry Parmentelat [Thu, 29 Mar 2012 08:17:17 +0000 (10:17 +0200)]
no change - only added comment

12 years agoSetting tag bootmanager-5.0-20 bootmanager-5.0-20 bootmanager-5.1-0
Thierry Parmentelat [Thu, 7 Jul 2011 08:46:31 +0000 (10:46 +0200)]
Setting tag bootmanager-5.0-20
be more explicit on the node conf_file actually used
did this after a former PLC node tried to boot at PLE with its PLC plnode.txt still on a usb stick

12 years agowe're finding nodes that have old material from their time at PLC
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

12 years agoSetting tag bootmanager-5.0-19 bootmanager-5.0-19
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

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Fri, 10 Jun 2011 12:21:23 +0000 (14:21 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager

12 years agoSetting tag bootmanager-5.0-18 bootmanager-5.0-18
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

12 years agoadded support for software raid
Tony Mack [Thu, 2 Jun 2011 20:08:37 +0000 (16:08 -0400)]
added support for software raid

12 years agofixed typo
Stephen Soltesz [Fri, 27 May 2011 20:46:11 +0000 (16:46 -0400)]
fixed typo

12 years agoAdd Runlevelagent to BM. Add UpdateLastBootOnce() to record last_* in DB.
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

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Mon, 9 May 2011 08:04:05 +0000 (10:04 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager

12 years agocosmetic
Thierry Parmentelat [Thu, 5 May 2011 09:08:27 +0000 (11:08 +0200)]
cosmetic

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/bootmanager
Stephen Soltesz [Mon, 18 Apr 2011 19:41:03 +0000 (15:41 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/bootmanager

13 years agoAdd extra umounts for /dev and /sys
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

13 years agoAdd extra umounts for /dev and /sys
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

13 years agoRevert "handle one hostname <--> multiple ip"
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.

13 years agohandle one hostname <--> multiple ip
S.Çağlar Onur [Fri, 8 Apr 2011 22:48:49 +0000 (18:48 -0400)]
handle one hostname <--> multiple ip

13 years agoIncrease the default root fs size to 14G. This will help account for out-of
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.

13 years agoSilent following warning;
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.

13 years agoremove hardcoded file list
S.Çağlar Onur [Tue, 15 Mar 2011 18:31:44 +0000 (14:31 -0400)]
remove hardcoded file list

13 years agoSetting tag bootmanager-5.0-17 bootmanager-5.0-17
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

13 years agooops
Thierry Parmentelat [Tue, 15 Feb 2011 13:56:59 +0000 (14:56 +0100)]
oops

13 years agoadd bm version
Thierry Parmentelat [Mon, 14 Feb 2011 16:11:15 +0000 (17:11 +0100)]
add bm version

13 years agoadd /bm-install.txt at the root of the installed hdd
Thierry Parmentelat [Mon, 14 Feb 2011 16:07:55 +0000 (17:07 +0100)]
add /bm-install.txt at the root of the installed hdd

13 years agoSetting tag bootmanager-5.0-16 bootmanager-5.0-16
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

13 years agoadd ext3 in initrd for f14
Thierry Parmentelat [Tue, 18 Jan 2011 16:17:18 +0000 (17:17 +0100)]
add ext3 in initrd for f14

13 years agoalways pass log to sysexec for consistency between bm.log and tty output
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

13 years agoreview logging policies
Thierry Parmentelat [Tue, 18 Jan 2011 13:06:11 +0000 (14:06 +0100)]
review logging policies

13 years agothis sysexec thing just sucks
Thierry Parmentelat [Mon, 17 Jan 2011 21:33:54 +0000 (22:33 +0100)]
this sysexec thing just sucks

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Mon, 17 Jan 2011 21:28:02 +0000 (22:28 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager

13 years agoworkaround for f14 bootCD
Thierry Parmentelat [Mon, 17 Jan 2011 15:34:55 +0000 (16:34 +0100)]
workaround for f14 bootCD

13 years agoremove never used breakpoint
Thierry Parmentelat [Mon, 17 Jan 2011 15:22:53 +0000 (16:22 +0100)]
remove never used breakpoint

13 years agoreviewed convenience targets
Thierry Parmentelat [Mon, 17 Jan 2011 15:21:49 +0000 (16:21 +0100)]
reviewed convenience targets

13 years agoagain check for virtio disks (not used now but it doesn't hurt to have them here)
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)

13 years ago/dev might be present but not populated. fixes the boot issue on f8/f12.
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.

13 years agoFix bug when not using monitor
Andy Bavier [Tue, 11 Jan 2011 20:11:18 +0000 (15:11 -0500)]
Fix bug when not using monitor

13 years agoinfo messages
Thierry Parmentelat [Thu, 6 Jan 2011 14:13:18 +0000 (15:13 +0100)]
info messages

13 years agofix for f14
Thierry Parmentelat [Thu, 6 Jan 2011 12:09:17 +0000 (13:09 +0100)]
fix for f14

13 years agocosmetic
Thierry Parmentelat [Thu, 6 Jan 2011 11:48:17 +0000 (12:48 +0100)]
cosmetic

13 years agofix CheckForNewDisks
Thierry Parmentelat [Thu, 6 Jan 2011 10:05:11 +0000 (11:05 +0100)]
fix CheckForNewDisks

13 years agocosmetic
Thierry Parmentelat [Thu, 6 Jan 2011 10:04:48 +0000 (11:04 +0100)]
cosmetic

13 years agofix the parted-version selection code, f14 has parted.version broken
Thierry Parmentelat [Wed, 5 Jan 2011 16:43:51 +0000 (17:43 +0100)]
fix the parted-version selection code, f14 has parted.version broken

13 years agoremove svn keywords and use %{SCMURL} in spec file
Thierry Parmentelat [Mon, 3 Jan 2011 13:22:34 +0000 (14:22 +0100)]
remove svn keywords and use %{SCMURL} in spec file

13 years agonow a git module
Thierry Parmentelat [Mon, 3 Jan 2011 13:20:47 +0000 (14:20 +0100)]
now a git module

13 years agoremove obsolete mkinitrd.sh script
Thierry Parmentelat [Mon, 3 Jan 2011 13:12:32 +0000 (14:12 +0100)]
remove obsolete mkinitrd.sh script

13 years agoMerge branch 'master' of dhozac@git.planet-lab.org:/git/bootmanager
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

13 years agoForce vgremove so it's automatic.
Daniel Hokka Zakrisson [Tue, 14 Dec 2010 20:53:13 +0000 (15:53 -0500)]
Force vgremove so it's automatic.

13 years agoSetting tag bootmanager-5.0-15 bootmanager-5.0-15
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

13 years agostdoutdata can be None object
S.Çağlar Onur [Fri, 10 Dec 2010 18:11:42 +0000 (13:11 -0500)]
stdoutdata can be None object

13 years agoThis reverts commit 858dc952b15d2876373c38911a2173aa0bf522a9.
S.Çağlar Onur [Fri, 10 Dec 2010 18:02:37 +0000 (13:02 -0500)]
This reverts commit 858dc952b15d2876373c38911a2173aa0bf522a9.

13 years agofix 5e12a0a27c0c7518641e03cfa1ba2a32143a44aa
S.Çağlar Onur [Fri, 10 Dec 2010 17:34:39 +0000 (12:34 -0500)]
fix 5e12a0a27c0c7518641e03cfa1ba2a32143a44aa

13 years agoSetting tag bootmanager-5.0-14 bootmanager-5.0-14
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

13 years agouse sysexec_noerr for error handling
S.Çağlar Onur [Thu, 9 Dec 2010 03:26:07 +0000 (22:26 -0500)]
use sysexec_noerr for error handling

13 years agoSetting tag bootmanager-5.0-13 bootmanager-5.0-13
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

13 years agoadd --allow-missing parameter to support different kernel configs
S.Çağlar Onur [Tue, 7 Dec 2010 22:36:52 +0000 (17:36 -0500)]
add --allow-missing parameter to support different kernel configs

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/bootmanager
Thierry Parmentelat [Sun, 5 Dec 2010 15:33:39 +0000 (16:33 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootmanager

13 years agomissing include
Thierry Parmentelat [Sun, 5 Dec 2010 15:33:30 +0000 (16:33 +0100)]
missing include

13 years agoFix typo.
Daniel Hokka Zakrisson [Fri, 19 Nov 2010 22:20:58 +0000 (17:20 -0500)]
Fix typo.

13 years agonever fail when uploading logs
Stephen Soltesz [Wed, 10 Nov 2010 23:19:28 +0000 (18:19 -0500)]
never fail when uploading logs

13 years agoThis is supported only if there is a receiving server, such as myops, for the
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

13 years agoAdd support for uploading bash_history to a central server for failboot nodes.
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

13 years agoeverybody deserves a second chance
S.Çağlar Onur [Sun, 29 Aug 2010 05:23:03 +0000 (01:23 -0400)]
everybody deserves a second chance

13 years agohandle shell redirects
S.Çağlar Onur [Fri, 27 Aug 2010 16:40:38 +0000 (12:40 -0400)]
handle shell redirects

13 years agoRevert "Revert "replace deprecated popen2 with subprocess""
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.

13 years agoSetting tag bootmanager-5.0-12 bootmanager-5.0-12
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"

13 years agoRevert "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.

13 years agoSetting tag bootmanager-5.0-11 bootmanager-5.0-11
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

13 years agoor/and
S.Çağlar Onur [Wed, 11 Aug 2010 14:18:19 +0000 (10:18 -0400)]
or/and

13 years agohandle fsck return codes in a different code path
S.Çağlar Onur [Wed, 11 Aug 2010 14:15:16 +0000 (10:15 -0400)]
handle fsck return codes in a different code path

13 years agoadd BootManagerException back
S.Çağlar Onur [Mon, 2 Aug 2010 16:24:48 +0000 (12:24 -0400)]
add BootManagerException back

13 years agoreplace deprecated popen2 with subprocess
S.Çağlar Onur [Mon, 2 Aug 2010 16:19:56 +0000 (12:19 -0400)]
replace deprecated popen2 with subprocess

13 years agoSetting tag bootmanager-5.0-10 bootmanager-5.0-10
S.Çağlar Onur [Fri, 30 Jul 2010 14:22:25 +0000 (10:22 -0400)]
Setting tag bootmanager-5.0-10
Fix typo

13 years agofix other typo
S.Çağlar Onur [Fri, 30 Jul 2010 14:20:50 +0000 (10:20 -0400)]
fix other typo

13 years agoSetting tag bootmanager-5.0-9 bootmanager-5.0-9
Barış Metin [Fri, 30 Jul 2010 13:00:19 +0000 (15:00 +0200)]
Setting tag bootmanager-5.0-9
fix typo

13 years agofix typo
Barış Metin [Fri, 30 Jul 2010 10:27:04 +0000 (12:27 +0200)]
fix typo

13 years agoSetting tag bootmanager-5.0-8 bootmanager-5.0-8
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

13 years agodisable time/count based filesystems checks
S.Çağlar Onur [Wed, 28 Jul 2010 04:30:13 +0000 (00:30 -0400)]
disable time/count based filesystems checks

13 years agoSetting tag bootmanager-5.0-7 bootmanager-5.0-7
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

13 years agoresize2fs has obsoleted ext2online long ago :(
S.Çağlar Onur [Wed, 28 Jul 2010 03:45:39 +0000 (23:45 -0400)]
resize2fs has obsoleted ext2online long ago :(

13 years agorevert cca3a2cd2096c0235dddb5982b1f05c8d4c7f916 as well
S.Çağlar Onur [Wed, 28 Jul 2010 02:57:34 +0000 (22:57 -0400)]
revert cca3a2cd2096c0235dddb5982b1f05c8d4c7f916 as well

13 years agoThis reverts commit 69124f104991e36e254c0be4a5f8155609f1d3fe.
S.Çağlar Onur [Wed, 28 Jul 2010 02:45:19 +0000 (22:45 -0400)]
This reverts commit 69124f104991e36e254c0be4a5f8155609f1d3fe.

13 years ago...
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

13 years agoSetting tag BootManager-5.0-6
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

13 years agohashlib not avail. on python2.4/centos5
Thierry Parmentelat [Wed, 7 Jul 2010 09:33:17 +0000 (09:33 +0000)]
hashlib not avail. on python2.4/centos5

13 years agoSetting tag BootManager-5.0-5
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

13 years agobugfix
Thierry Parmentelat [Mon, 5 Jul 2010 07:13:02 +0000 (07:13 +0000)]
bugfix

13 years agocheck the sha1 checksum of the downloaded bootstrapfs tarball to protect ourselves...
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

13 years agotry to recover filesystems errors
S.Çağlar Onur [Tue, 29 Jun 2010 21:23:23 +0000 (21:23 +0000)]
try to recover filesystems errors

13 years agoSetting tag BootManager-5.0-4
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

13 years agofix action calls. first argument is the message and rest shall be the command
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

13 years agofix typo
Barış Metin [Thu, 27 May 2010 08:17:06 +0000 (08:17 +0000)]
fix typo

14 years agoSetting tag BootManager-5.0-3
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)

14 years agouses the native node field name (latest BootUpdateNode supports both)
Thierry Parmentelat [Thu, 1 Apr 2010 11:05:37 +0000 (11:05 +0000)]
uses the native node field name (latest BootUpdateNode supports both)

14 years agothis shall fix the problem with test vnodes.
Barış Metin [Mon, 29 Mar 2010 15:01:15 +0000 (15:01 +0000)]
this shall fix the problem with test vnodes.

14 years agoSetting tag BootManager-5.0-2
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

14 years agosolve the ordering problem which causes the boot failure
S.Çağlar Onur [Thu, 11 Feb 2010 23:18:25 +0000 (23:18 +0000)]
solve the ordering problem which causes the boot failure

14 years agoRemove kernel-2.4 support
S.Çağlar Onur [Thu, 11 Feb 2010 23:07:20 +0000 (23:07 +0000)]
Remove kernel-2.4 support

14 years agoSetting tag BootManager-5.0-1
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

14 years agosvn:keywords
Thierry Parmentelat [Thu, 28 Jan 2010 14:10:54 +0000 (14:10 +0000)]
svn:keywords