Mark Huang [Sun, 4 Feb 2007 01:30:00 +0000 (01:30 +0000)]
- look for PlanetLab-Bootstrap-<nodegroup>.tar.bz2 in the boot/
directory, to support rinses by nodegroup (>=4.0 only, which supports
calling GetNodes() and GetNodeGroups() via BootAPI)
Mark Huang [Sun, 4 Feb 2007 01:28:36 +0000 (01:28 +0000)]
- fix totally broken call canonicalization code, to be only somewhat
broken
Mark Huang [Wed, 17 Jan 2007 22:44:17 +0000 (22:44 +0000)]
do not dereference symlinks when chowning files back to the SUDO_USER
Mark Huang [Sat, 13 Jan 2007 20:43:37 +0000 (20:43 +0000)]
- use get_partition_path_from_device() to get the path to the first
partition of a device (under devfs on 2.4, it's /part1, not
/disc1!). This also checks for cciss device paths..
Mark Huang [Sat, 13 Jan 2007 18:05:58 +0000 (18:05 +0000)]
- fix get_partition_path_from_device() to work with 2.x cds that may or
may not use devfs
Mark Huang [Sat, 13 Jan 2007 18:05:03 +0000 (18:05 +0000)]
- fix last checkin to just store the full path (e.g.,
ide/host0/bus0/target0/lun0/disc) of the valid block name instead of
storing the name of the symlink (e.g., hda)
- ...since vgcreate doesn't follow symlinks (see accompanying checkin to
InstallPartitionDisks.py)
Mark Huang [Sat, 13 Jan 2007 17:41:53 +0000 (17:41 +0000)]
- fix get_block_device_list() regression
- devfs under 2.4 (old boot cds) used to list partitions in a format
such as scsi/host0/bus0/target0/lun0/disc and /dev/sda, etc. were just
symlinks
Mark Huang [Fri, 12 Jan 2007 19:11:17 +0000 (19:11 +0000)]
- handle BootAPI failures gracefully
Mark Huang [Fri, 12 Jan 2007 00:06:36 +0000 (00:06 +0000)]
- always run PlanetLabConf (or conf_files) before booting
- must update /etc/planetlab/session before running conf_files
Mark Huang [Tue, 9 Jan 2007 18:33:28 +0000 (18:33 +0000)]
ata_piix and ahci both claim 8086:2652 and 8086:2653,
and it is usually a non-visible BIOS option that decides
which is appropriate. Just load both.
Mark Huang [Mon, 8 Jan 2007 20:38:24 +0000 (20:38 +0000)]
- recognize SATA classid (0106)
Marc Fiuczynski [Wed, 22 Nov 2006 19:23:50 +0000 (19:23 +0000)]
Be more careful in how we remove the PLCONF_DIR, especially for systems
that use the readonly cramfs.
Mark Huang [Wed, 22 Nov 2006 19:20:36 +0000 (19:20 +0000)]
- fix whitespace bug
Faiyaz Ahmed [Fri, 17 Nov 2006 17:56:34 +0000 (17:56 +0000)]
Fix for cciss devices. Wrong partition was being quieried when installation was being validated, resulting in the lvm trying to recreate a volume. Checks correct partition now.
Mark Huang [Wed, 15 Nov 2006 22:52:20 +0000 (22:52 +0000)]
remove useless InstallNodeInit step
Mark Huang [Wed, 15 Nov 2006 22:52:01 +0000 (22:52 +0000)]
Node Manager needs at least PLC_API_HOST and PLC_BOOT_HOST in /etc/planetlab/plc_config
Mark Huang [Tue, 24 Oct 2006 14:31:54 +0000 (14:31 +0000)]
ata_piix and ahci both claim the same chipsets, and it
is usually a non-visible BIOS option that decides which is
appropriate. Prefer ata_piix over ahci for now.
Marc Fiuczynski [Wed, 23 Aug 2006 12:58:14 +0000 (12:58 +0000)]
* Change the TEMP_PATH and SYSIMG_PATH to be mounted in /tmp/mnt
rather than /mnt/tmp
Mark Huang [Tue, 22 Aug 2006 22:03:00 +0000 (22:03 +0000)]
always regenerate initrd before booting in case hardware changes or new kernel is installed
Mark Huang [Tue, 22 Aug 2006 22:01:47 +0000 (22:01 +0000)]
always regenerate initrd before booting in case hardware changes or new kernel is installed
Marc Fiuczynski [Tue, 22 Aug 2006 18:13:08 +0000 (18:13 +0000)]
* Add in import for notify_messages
Thierry Parmentelat [Sun, 20 Aug 2006 21:21:23 +0000 (21:21 +0000)]
Cleaning up bootmanager :
- None of the three former support-files output is no longer necessary, so
we obsolete these three components :
alpina-BootstrapRPM.tar.gz, that was no longer built anyway,
alpina-BootLVM.tar.gz and
alpina-PartDisks.tar.gz
Thierry Parmentelat [Fri, 11 Aug 2006 13:04:03 +0000 (13:04 +0000)]
dev replaced with udev for mkfedora package checking
Marc Fiuczynski [Thu, 10 Aug 2006 19:05:20 +0000 (19:05 +0000)]
Detangled steps. No step makes calls into another step.
Broke out some functionality into new steps.
Fixed support to adding a new disk to a system.
Marc Fiuczynski [Thu, 10 Aug 2006 19:03:31 +0000 (19:03 +0000)]
Modularized code and handled exception handling.
Marc Fiuczynski [Thu, 10 Aug 2006 19:02:05 +0000 (19:02 +0000)]
The functionality of this module previously was implemented as a OO Class.
However, as it was never used in the form of an instance, it has been
converted to simply operate as a module with variables and procedures.
Marc Fiuczynski [Thu, 10 Aug 2006 19:00:27 +0000 (19:00 +0000)]
Copyright notice for both Intel and Princeton
Marc Fiuczynski [Thu, 3 Aug 2006 16:33:40 +0000 (16:33 +0000)]
Fix for adding new disks to system:
- umount proc to ensure that subsequent lvm modification succeed
- make lvm extents visible again after lvm modifications
- switched to using ext2online to extend vserver filesystem across
newly added lvm extents.
Marc Fiuczynski [Wed, 2 Aug 2006 18:21:27 +0000 (18:21 +0000)]
Fix get_block_device_list() function:
- search for well known block device names (sdX, hdX, cciss/cXdX)
as raw block devices
- run sfdisk against the proper cciss block device names
- use open("w") to determine if a block device is writable,
rather than running hdparm
Marc Fiuczynski [Tue, 18 Jul 2006 00:33:48 +0000 (00:33 +0000)]
support for mkfs.ext2 w/ badblock search
Marc Fiuczynski [Fri, 14 Jul 2006 14:49:39 +0000 (14:49 +0000)]
- fix to support /smp model option for rins
Marc Fiuczynski [Thu, 13 Jul 2006 19:51:47 +0000 (19:51 +0000)]
Fall back to up kernel if smp model option is set but the smp kernel is not installed
Marc Fiuczynski [Thu, 13 Jul 2006 19:50:43 +0000 (19:50 +0000)]
Cleaned up NodeRunStates handling
Marc Fiuczynski [Thu, 13 Jul 2006 17:14:50 +0000 (17:14 +0000)]
Cleaned up model option processing
Marc Fiuczynski [Thu, 13 Jul 2006 17:14:18 +0000 (17:14 +0000)]
Added support to force the node run state from command line.
Mark Huang [Wed, 12 Jul 2006 16:15:04 +0000 (16:15 +0000)]
- continue to install boot server certs in /mnt/cdrom/bootme for
backward compatibility with old vserver-reference images
Mark Huang [Fri, 7 Jul 2006 18:48:46 +0000 (18:48 +0000)]
- pass -ff to pvcreate to avoid warning about not being able to
re-create a physical volume on an existing disk
Mark Huang [Thu, 29 Jun 2006 16:05:54 +0000 (16:05 +0000)]
- In kernel versions <2.6.14, mptscsih is the actual module that should
be loaded instead of mptbase
Mark Huang [Thu, 29 Jun 2006 16:02:20 +0000 (16:02 +0000)]
- greatly simplify (and fix in the process) parsing of lspci output
Mark Huang [Tue, 27 Jun 2006 19:07:04 +0000 (19:07 +0000)]
- mount /proc in system image before running yum 2.4, which now
requires it to be mounted
Mark Huang [Wed, 21 Jun 2006 18:13:25 +0000 (18:13 +0000)]
- support version 2 boot CDs that do not have tempfile.NamedTemporaryFile
Mark Huang [Tue, 30 May 2006 20:06:48 +0000 (20:06 +0000)]
- implement MakeRequest with DownloadFile, to support environments
without pycurl
Mark Huang [Tue, 30 May 2006 02:53:40 +0000 (02:53 +0000)]
- one second sleep required after wiping partition table on some hardware
Mark Huang [Tue, 30 May 2006 02:52:38 +0000 (02:52 +0000)]
- lspci prints blank columns sometimes
Mark Huang [Thu, 18 May 2006 18:42:33 +0000 (18:42 +0000)]
- build FC4 based node by default
- need to specify -k to mkfedora to avoid installing vanilla FC4 kernel
- only disable unnecessary services that actually exist (rawdevices is
deprecated in FC4)
Mark Huang [Tue, 16 May 2006 18:36:39 +0000 (18:36 +0000)]
- only disable services that actually exist (rawdevices is deprecated in FC4)
Mark Huang [Tue, 16 May 2006 18:35:44 +0000 (18:35 +0000)]
- no longer need yum.conf for node installation
Mark Huang [Tue, 16 May 2006 18:35:19 +0000 (18:35 +0000)]
- FC4 initrd /init script (specifically, mkrootdev nash mini-program)
requires a root= kernel cmdline argument for LVM root boots
Mark Huang [Mon, 8 May 2006 21:44:52 +0000 (21:44 +0000)]
- Copy the boot server certificate(s) and GPG public key to /usr/boot
Mark Huang [Mon, 8 May 2006 21:43:49 +0000 (21:43 +0000)]
- remove deprecated InstallBase step, which no longer does anything
Mark Huang [Mon, 8 May 2006 21:42:55 +0000 (21:42 +0000)]
use BootServerRequest to upload logs to the right server
Mark Huang [Fri, 5 May 2006 19:33:24 +0000 (19:33 +0000)]
- install the public debug SSH key, not the private one
Mark Huang [Tue, 11 Apr 2006 22:13:18 +0000 (22:13 +0000)]
- don't delete the bootstrap root so that it can be inspected later
Marc Fiuczynski [Tue, 11 Apr 2006 21:04:40 +0000 (21:04 +0000)]
Support to handle /smp model option properly and boot the SMP rather than UNI kernel.
Marc Fiuczynski [Tue, 11 Apr 2006 21:04:04 +0000 (21:04 +0000)]
Added support to parse in different model options. Specifically added support for /smp. Probably should abstract those out into a separate module to make the implementation cleaner.
Marc Fiuczynski [Tue, 11 Apr 2006 21:01:10 +0000 (21:01 +0000)]
fix internal bug in calling _nodeNotInstalled function
Mark Huang [Tue, 11 Apr 2006 20:34:14 +0000 (20:34 +0000)]
- make sure python is installed as well before groupinstall
Mark Huang [Tue, 11 Apr 2006 15:42:04 +0000 (15:42 +0000)]
- specify coreutils explicitly because groupinstall does not honor
Requires(pre) dependencies properly, and most %pre scripts require
coreutils to be installed first.
Marc Fiuczynski [Fri, 7 Apr 2006 21:12:00 +0000 (21:12 +0000)]
Cleaned up version of BootManager.Run() function.
Now uses a simple state machine like implementation to invoke the
state specific functionality.
Marc Fiuczynski [Fri, 7 Apr 2006 21:05:45 +0000 (21:05 +0000)]
Programmatic version of creating the cciss devices.
Marc Fiuczynski [Thu, 6 Apr 2006 21:15:00 +0000 (21:15 +0000)]
Cleaning out rcfs/ckrm related operations in a backward compatible manner.
- on install do not write out /etc/fstab with /rfcs
- avoid trying to mount or umount /rcfs when it is not there
Doing this in a backwards compatibile manner so that we can still bring up
a PL system with a CKRM enabled kernel in the future (i.e., just for kicks),
although I suppose that will be unlikely.
Marc Fiuczynski [Thu, 6 Apr 2006 20:32:23 +0000 (20:32 +0000)]
Need to import BootManagerException or else get a crash.
Mark Huang [Wed, 5 Apr 2006 21:45:34 +0000 (21:45 +0000)]
- specify dev explicitly
Aaron Klingaman [Wed, 5 Apr 2006 18:18:17 +0000 (18:18 +0000)]
moved to v4arch repo
Aaron Klingaman [Tue, 4 Apr 2006 23:46:38 +0000 (23:46 +0000)]
make page header part larger to prevent title wrapping
Aaron Klingaman [Tue, 4 Apr 2006 04:54:35 +0000 (04:54 +0000)]
remove dead end formats (unscalable png, visio, powerpoint) and replace
two graphics (flowchart and sequence diagram) with SVG versions.
regenerate pdf output.
Mark Huang [Mon, 3 Apr 2006 19:42:14 +0000 (19:42 +0000)]
- isolate all the sudo stuff in %clean
- install files necessary to rebuild bootmanager in /usr/share/bootmanager
Mark Huang [Mon, 3 Apr 2006 19:40:55 +0000 (19:40 +0000)]
- support MyPLC customization
Mark Huang [Mon, 3 Apr 2006 19:40:23 +0000 (19:40 +0000)]
- use mkfedora
Mark Huang [Tue, 28 Mar 2006 21:24:56 +0000 (21:24 +0000)]
- bump version number in spec file
Aaron Klingaman [Fri, 24 Mar 2006 19:42:07 +0000 (19:42 +0000)]
regen
Aaron Klingaman [Fri, 24 Mar 2006 19:22:23 +0000 (19:22 +0000)]
more changes to make it fit in new MA terminology
Marc Fiuczynski [Fri, 24 Mar 2006 04:45:15 +0000 (04:45 +0000)]
Support "other storage device" PCI class.
Fix to search for drivers that match the full PCI_ID first and then look
for drivers that use PCI_ANY for subdevice and subvendor ids.
Aaron Klingaman [Fri, 24 Mar 2006 00:52:53 +0000 (00:52 +0000)]
more rewording and reorg. to fit into the arch series documents
Aaron Klingaman [Thu, 23 Mar 2006 21:45:12 +0000 (21:45 +0000)]
resize
Mark Huang [Tue, 21 Mar 2006 14:57:29 +0000 (14:57 +0000)]
- run createrepo as well
- if run under sudo, allow user to delete the headers/ and repodata/
directories
Aaron Klingaman [Fri, 17 Mar 2006 00:39:28 +0000 (00:39 +0000)]
first take at new booting nodes pdn, very largely based off of existing
tech doc for bootmanager. still needs bootcd doc integrated
Aaron Klingaman [Fri, 17 Mar 2006 00:36:07 +0000 (00:36 +0000)]
sequence diagram (original ppt and export png) for use in new booting nodes pdn
Mark Huang [Fri, 10 Mar 2006 18:20:34 +0000 (18:20 +0000)]
- run yum-arch on Bootstrap RPMS directory before using
Marc Fiuczynski [Fri, 10 Mar 2006 06:32:21 +0000 (06:32 +0000)]
Updated to work with new merge_hw_tables.merge_files() functionality.
Marc Fiuczynski [Fri, 10 Mar 2006 06:31:07 +0000 (06:31 +0000)]
Rewrote merge_files function to handle case when multiple modules claim
they support a partical PCI device. For example, the 8139cp and 8139too
modules both claim they can handle the generic RTL 8139 eth chipset.
Also incorporate support to distinguish when a driver can only handle
specific subvendor/subdevice IDs. E.g., the bcm5700 driver currently
does not handle all broadcom devices---some must still be handled by
tg3 (e.g., on the Dell PowerEdge 850).
Marc Fiuczynski [Fri, 10 Mar 2006 06:25:14 +0000 (06:25 +0000)]
Added optional filename argument to write_modprobe_config() function for
testing purposes.
Aaron Klingaman [Tue, 31 Jan 2006 21:19:03 +0000 (21:19 +0000)]
implement two changes to better handle, identify, and recover from
situation where no detected network driver is found. this should prevent
machines from installing, and booting, only to become unresponsive due to
no loaded network driver.
the two changes are:
1. write out modprobe.conf at each boot, instead of only after install
2. if no network devices are written to modprobe.conf during boot,
send a message to the tech contacts about missing net driver, and
put the node into debug.
Aaron Klingaman [Mon, 23 Jan 2006 18:29:06 +0000 (18:29 +0000)]
when checking for usable disks, also skip disks starting with dm-
(device mapper, ie lvm)
Aaron Klingaman [Mon, 23 Jan 2006 18:12:10 +0000 (18:12 +0000)]
bump release number
Aaron Klingaman [Mon, 23 Jan 2006 18:10:57 +0000 (18:10 +0000)]
filter out partitions from block devices by using device minor number,
not partition name format
Aaron Klingaman [Thu, 12 Jan 2006 21:43:12 +0000 (21:43 +0000)]
move code block to write out /etc/planetlab/session to ChainBootNode, since
it being in UpdateNodeConfiguration only is called after the first
boot. POD should work immediately after install now.
Mark Huang [Tue, 20 Dec 2005 18:59:23 +0000 (18:59 +0000)]
- bump version number for new release
Aaron Klingaman [Tue, 20 Dec 2005 05:56:06 +0000 (05:56 +0000)]
patch from E Jaffe to fix eth0 config files with mac address (if specified)
Mark Huang [Thu, 15 Dec 2005 16:50:39 +0000 (16:50 +0000)]
support pldistro "variants"
Aaron Klingaman [Fri, 2 Dec 2005 01:40:22 +0000 (01:40 +0000)]
patch from Marc F to optionally pull in extra kexec args from /kargs.txt
Aaron Klingaman [Mon, 21 Nov 2005 17:46:43 +0000 (17:46 +0000)]
update and rebuild docs to reflect readding the api server in the configuration
and new search path for node configuration file
Aaron Klingaman [Mon, 21 Nov 2005 17:25:07 +0000 (17:25 +0000)]
before looking in /usr and /usr/boot for the node configuration file,
try the root file system (/plnode.txt)
Aaron Klingaman [Mon, 21 Nov 2005 17:15:17 +0000 (17:15 +0000)]
- back out change that was going to be used for federation stage 1, which
was to assume boot server = api server, returning api server configuration
variable.
- bump version
Aaron Klingaman [Wed, 16 Nov 2005 19:57:44 +0000 (19:57 +0000)]
*** empty log message ***
Aaron Klingaman [Wed, 16 Nov 2005 19:13:43 +0000 (19:13 +0000)]
update to include where the source is, and misc. updates to match
the implementation
Mark Huang [Wed, 26 Oct 2005 15:32:10 +0000 (15:32 +0000)]
- bump version number to reflect fixes
- fix old style boot server file parsing
- fix alpina-BootLVM.tar.gz
Mark Huang [Wed, 26 Oct 2005 15:30:57 +0000 (15:30 +0000)]
- aaron seems to have included a few other binaries in the last manually
built BootLVM tarball
Mark Huang [Wed, 26 Oct 2005 15:26:15 +0000 (15:26 +0000)]
for the old style boot server file, that contains multiple servers,
read only the first line
Mark Huang [Mon, 3 Oct 2005 14:34:58 +0000 (14:34 +0000)]
- use a valid node_id