Thierry Parmentelat [Wed, 27 Feb 2013 16:18:38 +0000 (17:18 +0100)]
turning on ntpd is now done in the nodeimage (post script) directly
Thierry Parmentelat [Wed, 27 Feb 2013 12:41:56 +0000 (13:41 +0100)]
bugfixes
Thierry Parmentelat [Wed, 27 Feb 2013 12:41:33 +0000 (13:41 +0100)]
merged 5.0 (traditional vserver-based) and 5.1 (aka lxc_devel)
now retrieves GetNodeFlavour as part of GetNodeDetails
and stores result as global vars['node_flavour']
this one now is expected to include the 'virt' tag
as either 'vs' or 'lxc' and act accordingly
STILL MISSING
fsck under btrfs, i.e.
* turn off periodic fsck in InstallPartitionDisk, and
* explicitly run fsck in ValidateNodeInstall
ALSO
the MakeInitrd and WriteModprobeConfig steps are turned off with lxc
Thierry Parmentelat [Wed, 27 Feb 2013 06:40:12 +0000 (07:40 +0100)]
bump major to 5.2 - preparing for the merge
Thierry Parmentelat [Tue, 26 Feb 2013 20:13:16 +0000 (21:13 +0100)]
log more details
Thierry Parmentelat [Tue, 26 Feb 2013 16:14:17 +0000 (17:14 +0100)]
just print out node's 'virt' as gotten from GetNodeFlavour
Thierry Parmentelat [Fri, 31 Aug 2012 17:40:15 +0000 (19:40 +0200)]
Setting tag bootmanager-5.0-24
run parted with --script to avoid it to hang
Thierry Parmentelat [Fri, 31 Aug 2012 09:58:21 +0000 (11:58 +0200)]
run parted with the --script option to prevent from hanging
also use more explicit --list option instead of -l
Thierry Parmentelat [Mon, 9 Jul 2012 09:44:32 +0000 (11:44 +0200)]
Setting tag bootmanager-5.0-23
added support for disks larger than 2Tb using gpt instead of msdos
Thierry Parmentelat [Sat, 30 Jun 2012 06:48:48 +0000 (08:48 +0200)]
improve rendering in log
Thierry Parmentelat [Fri, 29 Jun 2012 18:19:48 +0000 (20:19 +0200)]
another angle to the 'try msdos, fallback to gpt' approach
Thierry Parmentelat [Fri, 29 Jun 2012 16:35:19 +0000 (18:35 +0200)]
add a comment about why this partitioning code is still broken
Sapan Bhatia [Thu, 28 Jun 2012 08:25:43 +0000 (04:25 -0400)]
sfdisk does not support gpt partition tables
Thierry Parmentelat [Wed, 27 Jun 2012 11:27:05 +0000 (13:27 +0200)]
partition tables using gpt instead of msdos with disks larger than 2TB
Thierry Parmentelat [Tue, 15 May 2012 11:16:11 +0000 (13:16 +0200)]
Setting tag bootmanager-5.0-22
bootmanager log clearly states duration of download and extraction of node image
Thierry Parmentelat [Tue, 15 May 2012 10:20:34 +0000 (12:20 +0200)]
whoops
Thierry Parmentelat [Tue, 15 May 2012 08:27:57 +0000 (10:27 +0200)]
easier to retrieve duration for downloading/extracting install image
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
Thierry Parmentelat [Mon, 2 Apr 2012 15:43:49 +0000 (17:43 +0200)]
new make sync for vs or lxc
Thierry Parmentelat [Thu, 29 Mar 2012 08:17:17 +0000 (10:17 +0200)]
no change - only added comment
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
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