bootmanager.git
9 years agoSetting tag bootmanager-5.2-5 bootmanager-5.2-5 bootmanager-5.3-0
Thierry Parmentelat [Wed, 16 Jul 2014 10:13:07 +0000 (12:13 +0200)]
Setting tag bootmanager-5.2-5
runs AnsibleHook, that optionnally runs playbooks (by default, usual behaviour)
introduces the ONE_PARTITION configuration variable
some suport for chainbooting ubuntu

9 years agoMerge branch 'ansible'
Thierry Parmentelat [Thu, 15 May 2014 09:28:36 +0000 (11:28 +0200)]
Merge branch 'ansible'

10 years agoSetting tag bootmanager-5.2-4 bootmanager-5.2-4
Thierry Parmentelat [Mon, 28 Apr 2014 11:00:06 +0000 (13:00 +0200)]
Setting tag bootmanager-5.2-4
no functional change, only tweaks in Makefile for interating with test environment

10 years agodefine extensions in vars even if not yet set ansible
Thierry Parmentelat [Wed, 16 Apr 2014 22:12:40 +0000 (00:12 +0200)]
define extensions in vars even if not yet set

10 years agoMerge branch 'ansible' of ssh://git.planet-lab.org/git/bootmanager into ansible
Sapan Bhatia [Wed, 16 Apr 2014 06:41:41 +0000 (02:41 -0400)]
Merge branch 'ansible' of ssh://git.planet-lab.org/git/bootmanager into ansible

10 years agoThe extensions variable is not expected to be in the configuration file if the latest...
Sapan Bhatia [Wed, 16 Apr 2014 06:41:37 +0000 (02:41 -0400)]
The extensions variable is not expected to be in the configuration file if the latest version of MyPLC is installed

10 years agofor debugging - print stack in case of exceptions caught at toplevel
Thierry Parmentelat [Wed, 16 Apr 2014 06:24:15 +0000 (08:24 +0200)]
for debugging - print stack in case of exceptions caught at toplevel

10 years agofix make sync for the current state of the test infra
Thierry Parmentelat [Wed, 16 Apr 2014 06:18:41 +0000 (08:18 +0200)]
fix make sync for the current state of the test infra

10 years agofix make sync for the current state of the test infra
Thierry Parmentelat [Wed, 16 Apr 2014 06:18:41 +0000 (08:18 +0200)]
fix make sync for the current state of the test infra

10 years agoMore workarounds for MyPLC 5.0
Sapan Bhatia [Fri, 4 Apr 2014 21:38:43 +0000 (17:38 -0400)]
More workarounds for MyPLC 5.0

10 years agoWorkaround to make extensions variable work with MyPLC 5.0
Sapan Bhatia [Fri, 4 Apr 2014 21:34:19 +0000 (17:34 -0400)]
Workaround to make extensions variable work with MyPLC 5.0

10 years agoCopy and paste error
Sapan Bhatia [Fri, 4 Apr 2014 21:18:18 +0000 (17:18 -0400)]
Copy and paste error

10 years agoAdd AnsibleHook step to list of available modules
Sapan Bhatia [Fri, 4 Apr 2014 20:58:41 +0000 (16:58 -0400)]
Add AnsibleHook step to list of available modules

10 years agoSet ONE_PARTITION if you want to make one giant root partition
Sapan Bhatia [Thu, 3 Apr 2014 18:46:30 +0000 (14:46 -0400)]
Set ONE_PARTITION if you want to make one giant root partition

10 years agoChanges to support running BootManager 5.2 on MyPLC < 5.2
Sapan Bhatia [Thu, 3 Apr 2014 18:39:30 +0000 (14:39 -0400)]
Changes to support running BootManager 5.2 on MyPLC < 5.2

10 years agoStep to hook into Ansible
Sapan Bhatia [Tue, 1 Apr 2014 12:43:13 +0000 (08:43 -0400)]
Step to hook into Ansible

10 years agoIgnore vservers partition
Sapan Bhatia [Tue, 1 Apr 2014 04:08:04 +0000 (00:08 -0400)]
Ignore vservers partition

10 years agoFixed path to Ubuntus initrd
Sapan Bhatia [Tue, 1 Apr 2014 04:03:10 +0000 (00:03 -0400)]
Fixed path to Ubuntus initrd

10 years agoLook for kernel in image, not in root
Sapan Bhatia [Tue, 1 Apr 2014 03:55:29 +0000 (23:55 -0400)]
Look for kernel in image, not in root

10 years agoDrop node manager and node update
Sapan Bhatia [Tue, 1 Apr 2014 03:48:13 +0000 (23:48 -0400)]
Drop node manager and node update

10 years agoDrop call to authconfig in generic distribution
Sapan Bhatia [Tue, 1 Apr 2014 03:42:38 +0000 (23:42 -0400)]
Drop call to authconfig in generic distribution

10 years agoDon't write vservers to fstab for non-rpm
Sapan Bhatia [Tue, 1 Apr 2014 03:37:02 +0000 (23:37 -0400)]
Don't write vservers to fstab for non-rpm

10 years agoSupport non-rpm distributions
Sapan Bhatia [Tue, 1 Apr 2014 03:15:46 +0000 (23:15 -0400)]
Support non-rpm distributions

10 years agoSupport kernel check other than rpm
Sapan Bhatia [Tue, 1 Apr 2014 02:18:03 +0000 (22:18 -0400)]
Support kernel check other than rpm

10 years agoTabulation issue
Sapan Bhatia [Mon, 31 Mar 2014 23:15:19 +0000 (19:15 -0400)]
Tabulation issue

10 years agoIntroduce new variable: ONE_PARTITION for indicating single-partition installations
Sapan Bhatia [Mon, 31 Mar 2014 23:13:07 +0000 (19:13 -0400)]
Introduce new variable: ONE_PARTITION for indicating single-partition installations

10 years agoTypo
Sapan Bhatia [Mon, 31 Mar 2014 23:03:38 +0000 (19:03 -0400)]
Typo

10 years agoDon't mount vservers partition if absent
Sapan Bhatia [Mon, 31 Mar 2014 23:00:44 +0000 (19:00 -0400)]
Don't mount vservers partition if absent

10 years agoDon't mount vservers partition if absent
Sapan Bhatia [Mon, 31 Mar 2014 22:42:34 +0000 (18:42 -0400)]
Don't mount vservers partition if absent

10 years agoROOT_SIZE is a string not a number
Sapan Bhatia [Mon, 31 Mar 2014 22:29:42 +0000 (18:29 -0400)]
ROOT_SIZE is a string not a number

10 years agoIdentify kernel version in a way that does not depend on rpm
Sapan Bhatia [Mon, 31 Mar 2014 21:31:01 +0000 (17:31 -0400)]
Identify kernel version in a way that does not depend on rpm

10 years agoSupport having only one partition
Sapan Bhatia [Mon, 31 Mar 2014 21:20:00 +0000 (17:20 -0400)]
Support having only one partition

10 years agoSetting tag bootmanager-5.2-3 bootmanager-5.2-3
Thierry Parmentelat [Tue, 25 Mar 2014 13:19:35 +0000 (14:19 +0100)]
Setting tag bootmanager-5.2-3
some old f18 bootCDs do not support mkfs.btrfs -f
so invoke this option only when supported

10 years agoinvoke mkfs.btrfs with -f only if supported
Thierry Parmentelat [Fri, 21 Mar 2014 17:19:02 +0000 (18:19 +0100)]
invoke mkfs.btrfs with -f only if supported

10 years agoSetting tag bootmanager-5.2-2 bootmanager-5.2-2
Thierry Parmentelat [Fri, 21 Mar 2014 15:12:59 +0000 (16:12 +0100)]
Setting tag bootmanager-5.2-2
conf_files.py is expected in /usr/share/NodeManager, not in /etc/init.d any more
smarter for locating initrd, for f20
add -f to mkfs.btrfs - sometimes hangs otherwise

10 years agotypo
Thierry Parmentelat [Tue, 14 Jan 2014 14:27:18 +0000 (15:27 +0100)]
typo

10 years agoavoid using conf_files initscript that might go when moving to systemd
Thierry Parmentelat [Tue, 14 Jan 2014 14:27:02 +0000 (15:27 +0100)]
avoid using conf_files initscript that might go when moving to systemd

10 years agoinitrd has a new location under /boot/ in f20
Thierry Parmentelat [Sat, 11 Jan 2014 15:14:48 +0000 (16:14 +0100)]
initrd has a new location under /boot/ in f20

10 years agoThomas's fix about calling mkfs.btrfs with the -f option
Thierry Parmentelat [Sun, 22 Dec 2013 09:50:37 +0000 (10:50 +0100)]
Thomas's fix about calling mkfs.btrfs with the -f option

11 years agoSetting tag bootmanager-5.2-1 bootmanager-5.2-1
Thierry Parmentelat [Thu, 7 Mar 2013 07:39:09 +0000 (08:39 +0100)]
Setting tag bootmanager-5.2-1
merged the branches for vserver and lxc
requires the rest of 5.2 - notably 'virt' in GetNodeFlavour
note that WriteModprobeConfig and MakeInitrd are turned off for lxc nodes
also note that fsck management for btrfs/lxc is still weak
vs_ROOT_SIZE=14G lxc_ROOT_SIZE=70G
vs_TOTAL_MINIMUM_DISK_SIZE=50G lxc_TOTAL_MINIMUM_DISK_SIZE=120G
expects ntpd to be turned on in the nodeimage

11 years agoturning on ntpd is now done in the nodeimage (post script) directly
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

11 years agobugfixes
Thierry Parmentelat [Wed, 27 Feb 2013 12:41:56 +0000 (13:41 +0100)]
bugfixes

11 years agomerged 5.0 (traditional vserver-based) and 5.1 (aka lxc_devel)
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

11 years agobump major to 5.2 - preparing for the merge
Thierry Parmentelat [Wed, 27 Feb 2013 06:40:12 +0000 (07:40 +0100)]
bump major to 5.2 - preparing for the merge

11 years agolog more details
Thierry Parmentelat [Tue, 26 Feb 2013 20:13:16 +0000 (21:13 +0100)]
log more details

11 years agojust print out node's 'virt' as gotten from GetNodeFlavour
Thierry Parmentelat [Tue, 26 Feb 2013 16:14:17 +0000 (17:14 +0100)]
just print out node's 'virt' as gotten from GetNodeFlavour

11 years agoSetting tag bootmanager-5.0-24 5.0 bootmanager-5.0-24 bootmanager-5.2-0
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

11 years agorun parted with the --script option to prevent from hanging
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

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

11 years agoimprove rendering in log
Thierry Parmentelat [Sat, 30 Jun 2012 06:48:48 +0000 (08:48 +0200)]
improve rendering in log

11 years agoanother angle to the 'try msdos, fallback to gpt' approach
Thierry Parmentelat [Fri, 29 Jun 2012 18:19:48 +0000 (20:19 +0200)]
another angle to the 'try msdos, fallback to gpt' approach

11 years agoadd a comment about why this partitioning code is still broken
Thierry Parmentelat [Fri, 29 Jun 2012 16:35:19 +0000 (18:35 +0200)]
add a comment about why this partitioning code is still broken

11 years agosfdisk does not support gpt partition tables
Sapan Bhatia [Thu, 28 Jun 2012 08:25:43 +0000 (04:25 -0400)]
sfdisk does not support gpt partition tables

11 years agopartition tables using gpt instead of msdos with disks larger than 2TB
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

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

11 years agowhoops
Thierry Parmentelat [Tue, 15 May 2012 10:20:34 +0000 (12:20 +0200)]
whoops

11 years agoeasier to retrieve duration for downloading/extracting install image
Thierry Parmentelat [Tue, 15 May 2012 08:27:57 +0000 (10:27 +0200)]
easier to retrieve duration for downloading/extracting install image

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