bootmanager.git
17 years agoalways regenerate initrd before booting in case hardware changes or new kernel is... myplc-0_4-branch
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

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Tue, 22 Aug 2006 22:01:48 +0000 (22:01 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.

17 years agomerge to HEAD as of 2006-08-21
Mark Huang [Mon, 21 Aug 2006 21:21:12 +0000 (21:21 +0000)]
merge to HEAD as of 2006-08-21

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Thu, 10 Aug 2006 19:05:21 +0000 (19:05 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.

17 years ago- MyPLC 0.4 RC2
Mark Huang [Fri, 21 Jul 2006 16:13:11 +0000 (16:13 +0000)]
- MyPLC 0.4 RC2

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Tue, 18 Jul 2006 00:33:49 +0000 (00:33 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.

17 years ago- merge revision 1.6
Mark Huang [Fri, 7 Jul 2006 18:50:14 +0000 (18:50 +0000)]
- merge revision 1.6
date: 2006/07/07 18:48:46;  author: mlhuang;  state: Exp;  lines: +1 -1
- pass -ff to pvcreate to avoid warning about not being able to
  re-create a physical volume on an existing disk

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Thu, 29 Jun 2006 16:05:56 +0000 (16:05 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.

17 years ago- In kernel versions <2.6.14, mptscsih is the actual module that should
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

17 years ago- greatly simplify (and fix in the process) parsing of lspci output
Mark Huang [Thu, 29 Jun 2006 16:02:20 +0000 (16:02 +0000)]
- greatly simplify (and fix in the process) parsing of lspci output

17 years ago- mount /proc in system image before running yum 2.4, which now
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

17 years ago- support version 2 boot CDs that do not have tempfile.NamedTemporaryFile
Mark Huang [Wed, 21 Jun 2006 18:13:25 +0000 (18:13 +0000)]
- support version 2 boot CDs that do not have tempfile.NamedTemporaryFile

17 years ago- implement MakeRequest with DownloadFile, to support environments
Mark Huang [Tue, 30 May 2006 20:06:48 +0000 (20:06 +0000)]
- implement MakeRequest with DownloadFile, to support environments
  without pycurl

17 years ago- one second sleep required after wiping partition table on some hardware
Mark Huang [Tue, 30 May 2006 02:53:40 +0000 (02:53 +0000)]
- one second sleep required after wiping partition table on some hardware

17 years ago- lspci prints blank columns sometimes
Mark Huang [Tue, 30 May 2006 02:52:38 +0000 (02:52 +0000)]
- lspci prints blank columns sometimes

17 years ago- build FC4 based node by default
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)

17 years ago- only disable 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)

17 years ago- no longer need yum.conf for node installation
Mark Huang [Tue, 16 May 2006 18:35:44 +0000 (18:35 +0000)]
- no longer need yum.conf for node installation

17 years ago- FC4 initrd /init script (specifically, mkrootdev nash mini-program)
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

17 years ago- Copy the boot server certificate(s) and GPG public key to /usr/boot
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

17 years ago- remove deprecated InstallBase step, which no longer does anything
Mark Huang [Mon, 8 May 2006 21:43:49 +0000 (21:43 +0000)]
- remove deprecated InstallBase step, which no longer does anything

17 years agouse BootServerRequest to upload logs to the right server
Mark Huang [Mon, 8 May 2006 21:42:55 +0000 (21:42 +0000)]
use BootServerRequest to upload logs to the right server

17 years ago- install the public debug SSH key, not the private one
Mark Huang [Fri, 5 May 2006 19:33:24 +0000 (19:33 +0000)]
- install the public debug SSH key, not the private one

18 years ago- don't delete the bootstrap root so that it can be inspected later
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

18 years agoSupport to handle /smp model option properly and boot the SMP rather than UNI kernel.
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.

18 years agoAdded support to parse in different model options. Specifically added support for...
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.

18 years agofix internal bug in calling _nodeNotInstalled function
Marc Fiuczynski [Tue, 11 Apr 2006 21:01:10 +0000 (21:01 +0000)]
fix internal bug in calling _nodeNotInstalled function

18 years ago- make sure python is installed as well before groupinstall
Mark Huang [Tue, 11 Apr 2006 20:34:14 +0000 (20:34 +0000)]
- make sure python is installed as well before groupinstall

18 years ago- specify coreutils explicitly because groupinstall does not honor
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.

18 years agoCleaned up version of BootManager.Run() function.
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.

18 years agoProgrammatic version of creating the cciss devices.
Marc Fiuczynski [Fri, 7 Apr 2006 21:05:45 +0000 (21:05 +0000)]
Programmatic version of creating the cciss devices.

18 years agoCleaning out rcfs/ckrm related operations in a backward compatible manner.
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.

18 years agoNeed to import BootManagerException or else get a crash.
Marc Fiuczynski [Thu, 6 Apr 2006 20:32:23 +0000 (20:32 +0000)]
Need to import BootManagerException or else get a crash.

18 years ago- specify dev explicitly
Mark Huang [Wed, 5 Apr 2006 21:45:34 +0000 (21:45 +0000)]
- specify dev explicitly

18 years agomoved to v4arch repo
Aaron Klingaman [Wed, 5 Apr 2006 18:18:17 +0000 (18:18 +0000)]
moved to v4arch repo

18 years agomake page header part larger to prevent title wrapping
Aaron Klingaman [Tue, 4 Apr 2006 23:46:38 +0000 (23:46 +0000)]
make page header part larger to prevent title wrapping

18 years agoremove dead end formats (unscalable png, visio, powerpoint) and replace
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.

18 years ago- isolate all the sudo stuff in %clean
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

18 years ago- support MyPLC customization
Mark Huang [Mon, 3 Apr 2006 19:40:55 +0000 (19:40 +0000)]
- support MyPLC customization

18 years ago- use mkfedora
Mark Huang [Mon, 3 Apr 2006 19:40:23 +0000 (19:40 +0000)]
- use mkfedora

18 years ago- bump version number in spec file
Mark Huang [Tue, 28 Mar 2006 21:24:56 +0000 (21:24 +0000)]
- bump version number in spec file

18 years agoregen
Aaron Klingaman [Fri, 24 Mar 2006 19:42:07 +0000 (19:42 +0000)]
regen

18 years agomore changes to make it fit in new MA terminology
Aaron Klingaman [Fri, 24 Mar 2006 19:22:23 +0000 (19:22 +0000)]
more changes to make it fit in new MA terminology

18 years agoSupport "other storage device" PCI class.
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.

18 years agomore rewording and reorg. to fit into the arch series documents
Aaron Klingaman [Fri, 24 Mar 2006 00:52:53 +0000 (00:52 +0000)]
more rewording and reorg. to fit into the arch series documents

18 years agoresize
Aaron Klingaman [Thu, 23 Mar 2006 21:45:12 +0000 (21:45 +0000)]
resize

18 years ago- run createrepo as well
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

18 years agofirst take at new booting nodes pdn, very largely based off of existing
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

18 years agosequence diagram (original ppt and export png) for use in new booting nodes pdn
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

18 years ago- run yum-arch on Bootstrap RPMS directory before using
Mark Huang [Fri, 10 Mar 2006 18:20:34 +0000 (18:20 +0000)]
- run yum-arch on Bootstrap RPMS directory before using

18 years agoUpdated to work with new merge_hw_tables.merge_files() functionality.
Marc Fiuczynski [Fri, 10 Mar 2006 06:32:21 +0000 (06:32 +0000)]
Updated to work with new merge_hw_tables.merge_files() functionality.

18 years agoRewrote merge_files function to handle case when multiple modules claim
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).

18 years agoAdded optional filename argument to write_modprobe_config() function for
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.

18 years agoimplement two changes to better handle, identify, and recover from
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.

18 years agowhen checking for usable disks, also skip disks starting with dm-
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)

18 years agobump release number
Aaron Klingaman [Mon, 23 Jan 2006 18:12:10 +0000 (18:12 +0000)]
bump release number

18 years agofilter out partitions from block devices by using device minor 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

18 years agomove code block to write out /etc/planetlab/session to ChainBootNode, since
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.

18 years ago- bump version number for new release
Mark Huang [Tue, 20 Dec 2005 18:59:23 +0000 (18:59 +0000)]
- bump version number for new release

18 years agopatch from E Jaffe to fix eth0 config files with mac address (if specified)
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)

18 years agosupport pldistro "variants"
Mark Huang [Thu, 15 Dec 2005 16:50:39 +0000 (16:50 +0000)]
support pldistro "variants"

18 years agopatch from Marc F to optionally pull in extra kexec args from /kargs.txt
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

18 years agoupdate and rebuild docs to reflect readding the api server in the configuration
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

18 years agobefore looking in /usr and /usr/boot for the 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)

18 years ago- back out change that was going to be used for federation stage 1, which
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

18 years ago*** empty log message ***
Aaron Klingaman [Wed, 16 Nov 2005 19:57:44 +0000 (19:57 +0000)]
*** empty log message ***

18 years agoupdate to include where the source is, and misc. updates to match
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

18 years ago- bump version number to reflect fixes
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

18 years ago- aaron seems to have included a few other binaries in the last manually
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

18 years agofor the old style boot server file, that contains multiple servers,
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

18 years ago- use a valid node_id
Mark Huang [Mon, 3 Oct 2005 14:34:58 +0000 (14:34 +0000)]
- use a valid node_id

18 years ago- add back 1.5
Mark Huang [Fri, 23 Sep 2005 01:23:18 +0000 (01:23 +0000)]
- add back 1.5

18 years ago- add back 1.12
Mark Huang [Fri, 23 Sep 2005 01:22:29 +0000 (01:22 +0000)]
- add back 1.12

18 years ago- XXX back out 1.5 temporarily for a tag
Mark Huang [Fri, 23 Sep 2005 01:14:26 +0000 (01:14 +0000)]
- XXX back out 1.5 temporarily for a tag

18 years ago- bump version to 3.1.9
Mark Huang [Fri, 23 Sep 2005 01:11:37 +0000 (01:11 +0000)]
- bump version to 3.1.9
- XXX add back BOOT_API_SERVER temporarily for a tag

18 years ago- make rpm version number consistent
Mark Huang [Fri, 23 Sep 2005 01:10:59 +0000 (01:10 +0000)]
- make rpm version number consistent

18 years ago- bump release number to reflect initrd and new-tarball fixes
Mark Huang [Thu, 22 Sep 2005 22:28:41 +0000 (22:28 +0000)]
- bump release number to reflect initrd and new-tarball fixes

18 years ago- read the primary kernel version from the /boot/initrd-boot symlink,
Mark Huang [Thu, 22 Sep 2005 22:27:43 +0000 (22:27 +0000)]
- read the primary kernel version from the /boot/initrd-boot symlink,
  rather than the first entry in /lib/modules
- ...thus building the initrd for the correct kernel, in case there are
  orphaned modules in /lib/modules installed by, say, vnet

18 years ago- first try downloading the new PlanetLab-Bootstrap.tar.bz2, then fall
Mark Huang [Thu, 22 Sep 2005 22:26:50 +0000 (22:26 +0000)]
- first try downloading the new PlanetLab-Bootstrap.tar.bz2, then fall
  back to the old alpina-BootstrapRPM.tar.bz2

18 years ago- skip the yum bootstrap if told to by InstallBootstrapRPM
Mark Huang [Thu, 22 Sep 2005 22:25:35 +0000 (22:25 +0000)]
- skip the yum bootstrap if told to by InstallBootstrapRPM

18 years ago- get_system_modules: allow kernel_version to be passed in
Mark Huang [Thu, 22 Sep 2005 22:25:13 +0000 (22:25 +0000)]
- get_system_modules: allow kernel_version to be passed in

18 years ago- restore the InstallBase step, which will be skipped if the new
Mark Huang [Thu, 22 Sep 2005 22:24:28 +0000 (22:24 +0000)]
- restore the InstallBase step, which will be skipped if the new
  all-inclusive PlanetLab-Bootstrap.tar.bz2 is unpacked

18 years agorather than code in the name of the boot server into the boot manager
Aaron Klingaman [Wed, 21 Sep 2005 20:29:52 +0000 (20:29 +0000)]
rather than code in the name of the boot server into the boot manager
configuration, pull it off of the boot cd. this change requires that
an api server be running on the boot server.

18 years agodeprecate alpina-BootstrapRPM and the InstallBase step; instead just unpack PlanetLab...
Mark Huang [Thu, 8 Sep 2005 20:06:03 +0000 (20:06 +0000)]
deprecate alpina-BootstrapRPM and the InstallBase step; instead just unpack PlanetLab-Bootstrap and go

18 years ago- bump release number to beat .planetlab.planetlab
Mark Huang [Wed, 7 Sep 2005 18:15:46 +0000 (18:15 +0000)]
- bump release number to beat .planetlab.planetlab

18 years ago- fix release number
Mark Huang [Wed, 7 Sep 2005 18:15:31 +0000 (18:15 +0000)]
- fix release number

18 years agoSolve the bootstrap problem by including any just built packages in
Mark Huang [Sat, 3 Sep 2005 21:44:16 +0000 (21:44 +0000)]
Solve the bootstrap problem by including any just built packages in
the yum configuration. This cooperates with the PlanetLab build
system.

18 years ago- don't look for binaries or build debug package
Mark Huang [Sat, 3 Sep 2005 21:41:43 +0000 (21:41 +0000)]
- don't look for binaries or build debug package

18 years agodeprecate the BootstrapRPM tarball, build and install all other tarballs until v2...
Mark Huang [Fri, 2 Sep 2005 20:24:58 +0000 (20:24 +0000)]
deprecate the BootstrapRPM tarball, build and install all other tarballs until v2 cds are out of circulation

18 years ago- build bootmanager
Mark Huang [Fri, 2 Sep 2005 19:51:17 +0000 (19:51 +0000)]
- build bootmanager

18 years ago- script to build node tarball
Mark Huang [Fri, 2 Sep 2005 19:09:58 +0000 (19:09 +0000)]
- script to build node tarball

18 years ago- build PlanetLab-Bootstrap.tar.bz2 (new, full version of alpina-Bootstrap.tar.bz2)
Mark Huang [Fri, 2 Sep 2005 19:09:33 +0000 (19:09 +0000)]
- build PlanetLab-Bootstrap.tar.bz2 (new, full version of alpina-Bootstrap.tar.bz2)

18 years agofor each boot, after the vserver net configuration files ae updated,
Aaron Klingaman [Fri, 5 Aug 2005 22:18:13 +0000 (22:18 +0000)]
for each boot, after the vserver net configuration files ae updated,
write out the new session value in /etc/planetlab/session.

18 years agorollback previous regex change, attempts to mount base device should
Aaron Klingaman [Fri, 29 Jul 2005 17:38:22 +0000 (17:38 +0000)]
rollback previous regex change, attempts to mount base device should
still happen. instead, make sure it fails correctly. also, a few spelling
mistakes

18 years agofix regex that identifies which device to attempt to mount for removable
Aaron Klingaman [Fri, 29 Jul 2005 15:53:14 +0000 (15:53 +0000)]
fix regex that identifies which device to attempt to mount for removable
devices during configuration file searching. before, it was returned
the base device name (ie sda) as a possible device to mount. it should only
return <device>[0-9]+$

18 years agobe way more verbose in what is happening during configuration file
Aaron Klingaman [Fri, 29 Jul 2005 15:40:02 +0000 (15:40 +0000)]
be way more verbose in what is happening during configuration file
searching/parsing

18 years agoallow any node that has their node_id specified to update their mac
Aaron Klingaman [Thu, 28 Jul 2005 23:23:47 +0000 (23:23 +0000)]
allow any node that has their node_id specified to update their mac
addr at plc. before, it also had to have a 3.x cd.

18 years agobump version of bootmanager for mac addr/ifconfig changes
Aaron Klingaman [Thu, 28 Jul 2005 22:59:20 +0000 (22:59 +0000)]
bump version of bootmanager for mac addr/ifconfig changes

18 years ago- after reading network configuration file, fill in mac address if missing
Aaron Klingaman [Thu, 28 Jul 2005 22:58:35 +0000 (22:58 +0000)]
- after reading network configuration file, fill in mac address if missing
- when calling getnodeid.php for nodes without node_id value, post mac addr
  not ifconfig

18 years agofrom
Aaron Klingaman [Thu, 28 Jul 2005 22:57:20 +0000 (22:57 +0000)]
from
http://forums.devshed.com/archive/t-51149/Ethernet-card-address-Through-Python-or-C
add a function that will return the mac address for a given network device