S.Çağlar Onur [Tue, 15 Mar 2011 16:00:40 +0000 (12:00 -0400)]
Merge branch '4.3' of ssh://git.planet-lab.org/git/bootmanager into 4.3
Thierry Parmentelat [Tue, 18 Jan 2011 16:17:18 +0000 (17:17 +0100)]
add ext3 in initrd for f14
Thierry Parmentelat [Mon, 17 Jan 2011 21:33:54 +0000 (22:33 +0100)]
this sysexec thing just sucks
Thierry Parmentelat [Mon, 17 Jan 2011 15:34:55 +0000 (16:34 +0100)]
workaround for f14 bootCD
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.
Thierry Parmentelat [Thu, 6 Jan 2011 12:09:17 +0000 (13:09 +0100)]
fix for f14
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
S.Çağlar Onur [Fri, 11 Mar 2011 19:44:12 +0000 (14:44 -0500)]
Setting tag bootmanager-4.3-22
Add missing include
Thierry Parmentelat [Sun, 5 Dec 2010 15:33:30 +0000 (16:33 +0100)]
missing include
S.Çağlar Onur [Wed, 9 Mar 2011 05:01:59 +0000 (00:01 -0500)]
Setting tag bootmanager-4.3-21
Support virtio block devices
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)
S.Çağlar Onur [Fri, 7 Jan 2011 20:11:32 +0000 (15:11 -0500)]
Setting tag bootmanager-4.3-20
add --allow-missing parameter to support different kernel configs
S.Çağlar Onur [Fri, 7 Jan 2011 20:10:13 +0000 (15:10 -0500)]
add --allow-missing parameter to support different kernel configs
Daniel Hokka Zakrisson [Tue, 14 Dec 2010 21:38:57 +0000 (16:38 -0500)]
Setting tag bootmanager-4.3-19
Force removal of VG for automation.
Daniel Hokka Zakrisson [Tue, 14 Dec 2010 20:55:16 +0000 (15:55 -0500)]
Merge branch '4.3' of dhozac@git.planet-lab.org:/git/bootmanager into 4.3
Daniel Hokka Zakrisson [Tue, 14 Dec 2010 20:55:04 +0000 (15:55 -0500)]
Force vgremove so it's automatic.
Daniel Hokka Zakrisson [Fri, 19 Nov 2010 22:48:43 +0000 (17:48 -0500)]
Setting tag bootmanager-4.3-18
Use resize2fs for resizing.
Fix typo for VSERVERS_SIZE.
Disable time/count-based fsck.
Daniel Hokka Zakrisson [Fri, 19 Nov 2010 22:20:21 +0000 (17:20 -0500)]
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 10:27:04 +0000 (12:27 +0200)]
fix typo
S.Çağlar Onur [Wed, 28 Jul 2010 04:31:47 +0000 (00:31 -0400)]
disable time/count based filesystems checks
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 [Fri, 19 Feb 2010 22:59:43 +0000 (22:59 +0000)]
Setting tag BootManager-4.3-17
merge initrd changes from trunk
S.Çağlar Onur [Fri, 19 Feb 2010 22:56:40 +0000 (22:56 +0000)]
merge initrd changes from trunk
Thierry Parmentelat [Mon, 25 Jan 2010 14:21:44 +0000 (14:21 +0000)]
Branch 5.0 for module BootManager created (as new trunk) from tag BootManager-4.3-16
Thierry Parmentelat [Sat, 9 Jan 2010 07:18:26 +0000 (07:18 +0000)]
Setting tag BootManager-4.3-16
support for fedora 12
Thierry Parmentelat [Sat, 9 Jan 2010 07:18:22 +0000 (07:18 +0000)]
Setting tag BootManager-4.3-16
support for fedora 12
Thierry Parmentelat [Fri, 8 Jan 2010 14:18:08 +0000 (14:18 +0000)]
uploading bmlog - fits new pycurl
Thierry Parmentelat [Thu, 7 Jan 2010 15:37:08 +0000 (15:37 +0000)]
support for pyparted-2.x (f12)
Marc Fiuczynski [Sat, 19 Dec 2009 14:06:06 +0000 (14:06 +0000)]
Setting tag BootManager-4.3-15
- support for when the node is behind a NAT
- clean up RUN_LEVEL support
- support for early sshd
Daniel Hokka Zakrisson [Sat, 28 Nov 2009 04:49:12 +0000 (04:49 +0000)]
Use utils.sysexec.
Daniel Hokka Zakrisson [Sat, 28 Nov 2009 04:18:14 +0000 (04:18 +0000)]
Add means for executing a script before starting sshd.
Barış Metin [Wed, 25 Nov 2009 22:22:04 +0000 (22:22 +0000)]
revert previous commit for deployment tag.
bootmanager + nodeconfig + myplc: they provide the very same
functionality altogether.
Barış Metin [Wed, 25 Nov 2009 13:32:31 +0000 (13:32 +0000)]
check deployment node tag and if present install the deployment bootstrapfs.
we use this to install "alpha" nodes. what we do is, build the packages separately
(using the automated nightly build/test) and put them in a sub-folder.
Daniel Hokka Zakrisson [Wed, 25 Nov 2009 08:13:08 +0000 (08:13 +0000)]
Rework NAT support.
Marc Fiuczynski [Wed, 25 Nov 2009 07:40:28 +0000 (07:40 +0000)]
make sure we only use proper run_level values
Thierry Parmentelat [Thu, 19 Nov 2009 12:04:46 +0000 (12:04 +0000)]
fixed erroneous changelog
Daniel Hokka Zakrisson [Thu, 19 Nov 2009 03:53:39 +0000 (03:53 +0000)]
Setting tag BootManager-4.3-14
Use ext2 instead of ext3.
Add NAT model option for nodes which don't resolve properly.
Marc Fiuczynski [Thu, 19 Nov 2009 03:38:49 +0000 (03:38 +0000)]
revert back to ext3
Daniel Hokka Zakrisson [Wed, 18 Nov 2009 04:25:44 +0000 (04:25 +0000)]
Add means to disable the hostname check for nodes behind NAT.
Thierry Parmentelat [Thu, 22 Oct 2009 09:23:49 +0000 (09:23 +0000)]
Setting tag 4.3-13 (manually) with only changeset svn.planet-lab.org/changeset/15328
Stephen Soltesz [Thu, 15 Oct 2009 18:21:10 +0000 (18:21 +0000)]
fsck forced by the length of time since the last fsck, returns 256. this is
not a documented return value, but catching it will prevent BM from exiting
unnecessarily.
Marc Fiuczynski [Fri, 11 Sep 2009 17:07:08 +0000 (17:07 +0000)]
- switch to using ext2 vs. ext3.
Marc Fiuczynski [Fri, 11 Sep 2009 17:05:40 +0000 (17:05 +0000)]
- mount /vserver after /proc
- remove backwards compat support for CKRM enabled kernels
- use sysexec and not sysexec_noerr for umount/vgchange operations
Marc Fiuczynski [Fri, 11 Sep 2009 17:02:34 +0000 (17:02 +0000)]
initialize NODE_MODL_OPTIONS in case we go into debug mode before we've successfully contacted the API
Stephen Soltesz [Mon, 7 Sep 2009 18:18:59 +0000 (18:18 +0000)]
Setting tag BootManager-4.3-12
Moved some configuration values from BootServerRequest.py to 'configuration' file.
BootServerRequest takes the 'VARS' variable to read these values.
UPLOAD_LOG_SCRIPT can point optionally to the 'upload-bmlog.php' or 'monitor/upload'
(or any other interface that accepts a POST file)
build.sh bundles cacerts for boot and monitor servers (if present) to
authenticate the UPLOAD_LOG_SCRIPT.
Previously, these certs were re-used from the bootcd, now they are bundled
with BM. This allows the BM to point to a completely different myplc if
desired, and it is still secure, because the original download is
authenticated.
Stephen Soltesz [Tue, 1 Sep 2009 00:01:13 +0000 (00:01 +0000)]
add ssl certificate fields for Monitor in default_config.xml
add ssl certificate generation for Monitor in plc.d/ssl
separate bootcd values from bootmanager configuration
build.sh now collects all the certificates that it needs to authenticate the
https sessions. As well, the BM configuration includes several new values that
control how and where it uploads logs.
BOOT_API_SERVER remains as the API server for all API calls
BOOT_SERVER is the host from which the bootstrapfs and other files are fetched.
MONITOR_SERVER is the host where logs are uploaded
UPLOAD_LOG_SCRIPT is the path to the upload script or entry point.
If the configuration value PLC_MONITOR_ENABLED=false, then MONITOR_SERVER=BOOT_SERVER
It is now much easier to extend BM in the future to upload additional files
such as for hardware information, SMART data, commands run by root users
during the session, etc.
Stephen Soltesz [Wed, 26 Aug 2009 19:22:28 +0000 (19:22 +0000)]
Setting tag BootManager-4.3-11
raise a single exception for nodes with authentication errors
fix syntax error in MakeInitrd.py
Stephen Soltesz [Thu, 20 Aug 2009 20:26:22 +0000 (20:26 +0000)]
Catch and raise the exception when GetSession Fails.
Then start sshd and stop BootManager immediately so that only one message goes to the user
Anil-Kumar Vengalil [Wed, 12 Aug 2009 08:42:08 +0000 (08:42 +0000)]
syntax problem; node boot process was failing here
Stephen Soltesz [Mon, 10 Aug 2009 17:59:32 +0000 (17:59 +0000)]
Setting tag BootManager-4.3-10
Replace UpdateBootstate with UpdateRunlevel where appropriate.
Removed failboot and install from forced states.
Removed checks for initrd in Validate
Added extra messages for Validate failures, not-installed, no kernel, failed fsck
Added libc-opendir-hack.so patch from 3.2 branch for 2.6.12 bootcds on PL.
Stephen Soltesz [Mon, 10 Aug 2009 17:24:19 +0000 (17:24 +0000)]
do not check for initrd in Validate, since it is recreated later.
catch the error if removing initrd fails in MakeInitrd, since it's about to
recreate it anyway.
In combination this patch avoids the situation where initrd is missing but BM
fails. Now, if initrd is missing, BM will proceed and recreate it without
error.
Stephen Soltesz [Tue, 28 Jul 2009 22:47:16 +0000 (22:47 +0000)]
add -ldl, missing from original patch
Stephen Soltesz [Mon, 27 Jul 2009 16:52:07 +0000 (16:52 +0000)]
no tabs...
Stephen Soltesz [Mon, 27 Jul 2009 16:15:39 +0000 (16:15 +0000)]
Add additional messages regarding kinds of boot failures due to
notinstalled
filesystem corrupted
mount failed
missing kernel
Each of these events occurs with enough frequency that differentiating them
is helpful both for operators and for the user.
Stephen Soltesz [Sat, 25 Jul 2009 05:19:48 +0000 (05:19 +0000)]
added file missing from last commit to use 'runlevel' rather than 'bootstate'
Stephen Soltesz [Fri, 24 Jul 2009 20:42:29 +0000 (20:42 +0000)]
remove 'failboot' from possible boot states
update run level rather than the boot state
only upudate boot state for manual calls and reinstall->boot
Stephen Soltesz [Wed, 22 Jul 2009 23:44:30 +0000 (23:44 +0000)]
also return if fsck fails; it's a bad bad idea to try to mount if fsck has just failed.
Stephen Soltesz [Wed, 22 Jul 2009 23:05:47 +0000 (23:05 +0000)]
missed the 'merge' conflict stuff
Stephen Soltesz [Wed, 22 Jul 2009 23:02:31 +0000 (23:02 +0000)]
svn merge -c 9766 https://svn.planet-lab.org/svn/BootManager/branches/3.2 into trunk
Stephen Soltesz [Fri, 17 Jul 2009 22:06:30 +0000 (22:06 +0000)]
sync sys clock to hardware to prevent fsck reboot bug for systems with wrong
hardware clocks. there may be a better place for this code in bm.
Stephen Soltesz [Mon, 13 Jul 2009 17:36:03 +0000 (17:36 +0000)]
disable runlevelagent when it is installed by bootmanager as part of myplc.
Marc Fiuczynski [Mon, 29 Jun 2009 18:17:52 +0000 (18:17 +0000)]
Tagging module BootManager - BootManager-4.3-9
Special handling for "forcedeth" ethernet NIC.
Marc Fiuczynski [Sat, 20 Jun 2009 16:39:27 +0000 (16:39 +0000)]
https://bugzilla.redhat.com/show_bug.cgi?id=178557
lspci says that the builtin ethernet on nVidia nForce3 chipset is a
Bridge. It should be a Communications device.
This specifically was a problem on planetlab2.icu.ac.kr, but there
were a few others as well for which we worked around the problem by
inserting a known-to-work NIC card.
With this little special exception we basically treat this device as a
network device and can therefore use this NIC.
Stephen Soltesz [Mon, 15 Jun 2009 18:56:22 +0000 (18:56 +0000)]
Tagging module BootManager - BootManager-4.3-8
include a fix for public pl dealing with old/new boot images and root
environments
Stephen Soltesz [Mon, 8 Jun 2009 17:40:03 +0000 (17:40 +0000)]
clear immutible attribute before writing file, to address wide-spread issues
seen on public pl related to 2.6.12 boot cd and 2.6.22 root context.
Thierry Parmentelat [Fri, 15 May 2009 13:39:30 +0000 (13:39 +0000)]
Tagging module BootManager - BootManager-4.3-7
review selection nodefamily at bootstrapfs install-time
now based on (1) tags (2) nodefamily and (3) defaults
this is required on very old bootcd
Thierry Parmentelat [Fri, 15 May 2009 13:01:13 +0000 (13:01 +0000)]
use arch and pldistro tag first, then /etc/planetlab/nodefamily, then defaults
this is required for very old bootCD's that don't have a nodefamily
also this is compliant with what BetBootMedium is currently doing
Marc Fiuczynski [Wed, 29 Apr 2009 20:49:39 +0000 (20:49 +0000)]
Use modprobe module to write out /etc/modprobe.conf.
Tagging module BootManager - BootManager-4.3-6
Thierry Parmentelat [Wed, 22 Apr 2009 17:55:28 +0000 (17:55 +0000)]
Tagging module BootManager - BootManager-4.3-5
minor updates - using the new modprobe module *not* in this tag
Thierry Parmentelat [Wed, 22 Apr 2009 17:24:20 +0000 (17:24 +0000)]
for centos5.3 - workaround for mkinitrd, as our kernel lacks the dm-mem-cache module
Faiyaz Ahmed [Fri, 17 Apr 2009 18:52:10 +0000 (18:52 +0000)]
if i find the guy who thought that was a good idea....
Marc Fiuczynski [Wed, 15 Apr 2009 18:26:11 +0000 (18:26 +0000)]
Uses modprobe to write out /etc/modprobe.conf properly
Thierry Parmentelat [Wed, 8 Apr 2009 19:53:06 +0000 (19:53 +0000)]
Tagging module BootManager - BootManager-4.3-4
load device mapper if needed, for centos5-based bootcd variant
Thierry Parmentelat [Wed, 8 Apr 2009 19:51:06 +0000 (19:51 +0000)]
fix for centos5-based variant bootCD, where device mapper needs some help
Thierry Parmentelat [Wed, 25 Mar 2009 05:53:41 +0000 (05:53 +0000)]
Tagging module BootManager - BootManager-4.3-3
renumbered 4.3
New step StartRunLevelAgent
various other tweaks
Barış Metin [Mon, 23 Mar 2009 18:19:17 +0000 (18:19 +0000)]
fix the typo in the second line
Barış Metin [Mon, 23 Mar 2009 16:28:02 +0000 (16:28 +0000)]
move the comment as it causes problems with e100 and e1000.
this fixes the interface problem we had with plc 4.3 / centos5
Barış Metin [Thu, 19 Mar 2009 17:11:29 +0000 (17:11 +0000)]
create SYSIMG_PATH/{vservers,proc} before trying to mount them.
Thierry Parmentelat [Mon, 16 Mar 2009 20:45:08 +0000 (20:45 +0000)]
more renumbering 5.0 into 4.3
Thierry Parmentelat [Mon, 16 Mar 2009 14:21:11 +0000 (14:21 +0000)]
mass-renaming 5.0 into 4.3 - db still named planetlab5 and planetlab5.sql
Thierry Parmentelat [Mon, 16 Mar 2009 13:58:43 +0000 (13:58 +0000)]
svn-keywords
Stephen Soltesz [Fri, 13 Mar 2009 15:59:08 +0000 (15:59 +0000)]
merged from branch, to remove 'sorted' which is not supported in older
versions of python.
Stephen Soltesz [Thu, 26 Feb 2009 16:06:22 +0000 (16:06 +0000)]
same as on branch.
Thierry Parmentelat [Sun, 22 Feb 2009 23:26:24 +0000 (23:26 +0000)]
review dependencies globally : fewer are attached to myplc directly, and more are attached to the other PL subcomponents
Stephen Soltesz [Wed, 18 Feb 2009 23:47:38 +0000 (23:47 +0000)]
Patch to BootManager to implement the proposed run_level
http://lists.planet-lab.org/pipermail/devel/2009-February/003283.html
basically:
BM will safe it's session key to make it available to the RunlevelAgent.py
exported by monitor-runlevelagent package. This script is started and
runs continuously or until the system enter production.
build.sh copies the necessary files from the monitor-runlevelagent package
Stephen Soltesz [Sat, 14 Feb 2009 02:05:08 +0000 (02:05 +0000)]
preserve the 'session' variable across BootManager runs. This also makes the
file accessible to the RunlevelAgent.
Stephen Soltesz [Wed, 4 Feb 2009 16:10:41 +0000 (16:10 +0000)]
merge 'sorted' change into trunk.
Thierry Parmentelat [Fri, 30 Jan 2009 18:47:55 +0000 (18:47 +0000)]
another module to blacklist for poweredge 175
Thierry Parmentelat [Wed, 28 Jan 2009 22:58:09 +0000 (22:58 +0000)]
Tagging module BootManager - BootManager-5.0-2
most of the actual network config job moved to (py)plnet
support for RAWDISK
network interfaces deterministically sorted
does not use nodegroups anymore for getting node arch and other extensions
drop yum-based extensions
debug sshd started as early as possible
timestamped and uploadable logs (requires upload-bmlog.php from nodeconfig/)
cleaned up (drop support for bootcdv2)
still needs testing
Daniel Hokka Zakrisson [Mon, 19 Jan 2009 21:24:52 +0000 (21:24 +0000)]
Return the values from the API.
Stephen Soltesz [Sat, 10 Jan 2009 02:04:51 +0000 (02:04 +0000)]
run ValidateNodeInstall in debug/disabled/diagnose mode to fsck/mount the fs
before leaving the system. this is handy for admins who visit the node.
Stephen Soltesz [Sat, 10 Jan 2009 01:15:40 +0000 (01:15 +0000)]
merged from branch. run fsck before mounts.
Thierry Parmentelat [Thu, 18 Dec 2008 09:47:51 +0000 (09:47 +0000)]
a bit more explicit/helpful error message
Daniel Hokka Zakrisson [Wed, 17 Dec 2008 16:42:41 +0000 (16:42 +0000)]
Add support for a rawdisk model option, to let a slice use the drives which aren't required for the node/slices to function.
Daniel Hokka Zakrisson [Mon, 15 Dec 2008 22:05:06 +0000 (22:05 +0000)]
Use the correct variable.
Daniel Hokka Zakrisson [Mon, 15 Dec 2008 22:00:37 +0000 (22:00 +0000)]
Commit 11339 for the trunk.
Thierry Parmentelat [Fri, 28 Nov 2008 14:36:02 +0000 (14:36 +0000)]
renaming SliceAttribute into SliceTag and InterfaceSetting into InterfaceTag