Thierry Parmentelat [Mon, 22 Mar 2010 13:11:17 +0000 (13:11 +0000)]
minor change in case noderepo gets installed before myplc is started
Thierry Parmentelat [Fri, 12 Mar 2010 17:55:02 +0000 (17:55 +0000)]
Setting tag BootstrapFS-2.0-2
new slicerepo package for exposing stuff to slivers
Thierry Parmentelat [Fri, 12 Mar 2010 17:04:00 +0000 (17:04 +0000)]
cosmetic
Thierry Parmentelat [Fri, 12 Mar 2010 16:56:58 +0000 (16:56 +0000)]
oops
Thierry Parmentelat [Fri, 12 Mar 2010 13:59:47 +0000 (13:59 +0000)]
first draft of the slicerepo
Thierry Parmentelat [Fri, 29 Jan 2010 14:02:45 +0000 (14:02 +0000)]
Setting tag BootstrapFS-2.0-1
first working version of 5.0:
pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to
nodefamily is 3-fold with pldistro-fcdistro-arch
new module nodeyum; first draft has the php scripts and conf_files for tweaking nodes yum config
Thierry Parmentelat [Thu, 28 Jan 2010 14:13:00 +0000 (14:13 +0000)]
fix broken yum repo generation
Thierry Parmentelat [Wed, 27 Jan 2010 22:12:09 +0000 (22:12 +0000)]
oops, had been moved to the wrong place
Thierry Parmentelat [Wed, 27 Jan 2010 21:41:40 +0000 (21:41 +0000)]
plc.d/packages part of nodeyum
Thierry Parmentelat [Wed, 27 Jan 2010 20:54:58 +0000 (20:54 +0000)]
fix
Thierry Parmentelat [Wed, 27 Jan 2010 20:44:22 +0000 (20:44 +0000)]
conf_files belong to the same module
Thierry Parmentelat [Wed, 27 Jan 2010 20:37:13 +0000 (20:37 +0000)]
fix
Thierry Parmentelat [Wed, 27 Jan 2010 18:44:46 +0000 (18:44 +0000)]
fixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodeconfig/yum
now known as the nodeyum package
(might need some moer work for properly handling kexcludes in multi-fc plcs)
cleaned up all uses of /etc/planetlab/{node,slice}family
nodeconfig now does not need the build/ module anymore at build time
Thierry Parmentelat [Tue, 26 Jan 2010 19:50:48 +0000 (19:50 +0000)]
more fixes
Thierry Parmentelat [Tue, 26 Jan 2010 17:40:52 +0000 (17:40 +0000)]
kwd
Thierry Parmentelat [Tue, 26 Jan 2010 17:20:29 +0000 (17:20 +0000)]
fix bootstrapfs names, and add fcdistro to extension tarballs
Thierry Parmentelat [Tue, 26 Jan 2010 16:51:02 +0000 (16:51 +0000)]
Branch 2.0 for module BootstrapFS created (as new trunk) from tag BootstrapFS-1.0-11
Thierry Parmentelat [Tue, 26 Jan 2010 13:57:24 +0000 (13:57 +0000)]
3-fold nodefamily now has fcdistro as well
Thierry Parmentelat [Mon, 4 Jan 2010 15:21:58 +0000 (15:21 +0000)]
Setting tag BootstrapFS-1.0-11
for building on fedora12
Thierry Parmentelat [Sun, 3 Jan 2010 21:49:56 +0000 (21:49 +0000)]
for f12
Thierry Parmentelat [Thu, 22 Oct 2009 09:25:29 +0000 (09:25 +0000)]
Setting tag BootstrapFS-1.0-10
cosmetic change in message at build-time
Thierry Parmentelat [Tue, 20 Oct 2009 11:12:34 +0000 (11:12 +0000)]
cosmetic
Thierry Parmentelat [Fri, 9 Oct 2009 15:41:54 +0000 (15:41 +0000)]
Setting tag BootstrapFS-1.0-9
can use groups in the pkgs file with +++ for space
Thierry Parmentelat [Fri, 9 Oct 2009 13:40:34 +0000 (13:40 +0000)]
can yum install groups (use +++ for space) in bootstrapfs and vserver-reference
Thierry Parmentelat [Tue, 7 Apr 2009 17:05:20 +0000 (17:05 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-8
bugfix for when a .post script is not needed
Thierry Parmentelat [Tue, 7 Apr 2009 16:59:30 +0000 (16:59 +0000)]
sometimes there is no post script
Thierry Parmentelat [Tue, 7 Apr 2009 09:38:49 +0000 (09:38 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-7
search post-install scripts (.post) in path (distro, then planetlab)
mostly useful for externally-defined pldistros
Thierry Parmentelat [Fri, 3 Apr 2009 09:02:40 +0000 (09:02 +0000)]
svn:keywords
Thierry Parmentelat [Fri, 3 Apr 2009 07:45:02 +0000 (07:45 +0000)]
locate .post scripts as for .pkgs files, i.e. first in pldistro-dep config dir, then in default config.planetlab
Thierry Parmentelat [Thu, 2 Apr 2009 17:45:16 +0000 (17:45 +0000)]
warns before running post install script
Thierry Parmentelat [Thu, 8 Jan 2009 09:30:18 +0000 (09:30 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-6
fix build bug when dealing with extensions
Thierry Parmentelat [Tue, 6 Jan 2009 13:44:09 +0000 (13:44 +0000)]
fix svn.planet-lab.org/changeset/11139 : extensions were not building
Thierry Parmentelat [Thu, 4 Dec 2008 07:31:31 +0000 (07:31 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-5
optional package bootstrapfs-<pldiftr>-<arch>-plain comes with uncompressed images for faster tests
Thierry Parmentelat [Mon, 24 Nov 2008 17:22:00 +0000 (17:22 +0000)]
the new bootstrapfs-*-plain rpm has uncompressed bootstrapfs images (for tests)
Thierry Parmentelat [Fri, 14 Nov 2008 14:57:15 +0000 (14:57 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-4
cosmetic changes in build: displays duration, and shows up in summary
Thierry Parmentelat [Fri, 3 Oct 2008 07:58:54 +0000 (07:58 +0000)]
less loud, and build-summary compatible output
Thierry Parmentelat [Mon, 1 Sep 2008 12:33:59 +0000 (12:33 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-3
Do not overwrite yumgroups.xml upon updates of noderepo
Thierry Parmentelat [Mon, 1 Sep 2008 10:48:45 +0000 (10:48 +0000)]
when dealing with multiple architectures/pldistros/vrefs, it is sometimes necessary to manually tune yumgroups.xml
the purpose of this change is that yumgroups.xml does not get overwritten by an update of noderepo
on the longer run we might wish to merge yumgroups.xml from (a) rpm and (b) local changes
Thierry Parmentelat [Thu, 3 Jul 2008 15:08:38 +0000 (15:08 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-2
uses the right yum.conf when building images
Thierry Parmentelat [Thu, 3 Jul 2008 14:58:33 +0000 (14:58 +0000)]
also need to use mkfedora-yum.conf
Thierry Parmentelat [Mon, 5 May 2008 12:23:44 +0000 (12:23 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-1
rpm release tag does not need pldistro as it is already part of the rpm name
Thierry Parmentelat [Mon, 5 May 2008 12:09:39 +0000 (12:09 +0000)]
check consistency of specfiles:
* set pldistro in release when needed (Monitor)
* remove it when already part of the rpm name (bootcd, noderepo)
Thierry Parmentelat [Wed, 26 Mar 2008 09:42:21 +0000 (09:42 +0000)]
Tagging module BootstrapFS - BootstrapFS-1.0-0
naming scheme changed, tarball name now contains ''nodefamily'' as <pldistro>-<arch>
new package named 'noderepo' allows to ship the full set of node rpms to another (arch) myplc
Thierry Parmentelat [Fri, 21 Mar 2008 16:35:32 +0000 (16:35 +0000)]
support for multiple slice reference images
* vserver-reference rpm names have changed and become
vserver-@pldistro@-@fcdistro@-@arch@
vserver-systemslices-@pldistro@-@fcdistro@-@arch@
* this contains the images located as
/vservers/.vref/@pldistro@-@fcdistro@-@arch@
and
/vservers/.vstub/@pldistro@-@fcdistro@-@arch@/planetflow
respectively
* a stamp gets created on the nodes as /etc/planetlab/defaultvref
that contains the name for the default slicefamily to use
* nodemanager tries to be smart when chosing the right argument to pass to vuseradd
for this purpose, the argument in 'vref' is taken as a dash-separated list of 'wishes'
so e.g. is defaultvref is planetlab-f8-x86_64, then we should find for the image name:
vref=i386 -> vuseradd -t planetlab-f8-i386
vref=centos5 -> vuseradd -t planetlab-centos5-x86_64
vref=planetflow -> vuseradd -t planetflow
vref=centos5-onelab -> vuseradd -t onelab-centos5-x86_64
for legacy reasons, if the stamp is not found, 'default' is taken instead
=== status
* this is only partly tested
* a given node can install several variants of vserver-*
this would require a manual upload of the rpms into the right install-rpms
and manual changes in yumgroups.
* next improvement would be to have the system (planetflow) slices have a smarter naming scheme as well
this way a 'planetflow' vref would rather be rewritten as planetflow-f8-x86_64
for the time being it is not supported to install several variants of vserver-systemslices
on the node - although it should be harmless
Marc Fiuczynski [Tue, 11 Mar 2008 16:36:51 +0000 (16:36 +0000)]
fix for fc4: use explicit destination for yumgroups.xml or else 'install' program fails
Marc Fiuczynski [Tue, 11 Mar 2008 16:34:48 +0000 (16:34 +0000)]
clean up the verbosity and messages used while building the bootstrap packages
Thierry Parmentelat [Mon, 10 Mar 2008 13:15:50 +0000 (13:15 +0000)]
yet another fix
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000 (11:45 +0000)]
Second step towards multiarch myplc https://svn.planet-lab.org/ticket/214
-- design
* new notion of a 'nodefamily' - that for now is <pldistro>-<arch>
* standard rpm repository is now named /var/www/html/install-rpms/<nodefamily>
a legacy symlink install-rpms/planetlab is created my myplc packaging
* bootstrafs rpm name is now bootstrapfs-<nodefamily> so that several instances
from various builds can be installed in the same myplc
* noderepo rpm (named noderepo-<nodefamily>) built as part of the planetlab distro
this is for installing /var/www/html/intall-rpms/<nodefamily> from another build
-- other changes
* extensive cleanup of mkfedora:
** obsolete options -p -g -x removed
** option -p removed, pkgsfile is a mandatory argument
** option -k removed, use kexclude: in the pkgs file instead
* also cleaned up pl_root_* functions - no wrapper to pl_root_mkfedora anymore
-- status
* not tested at all - likely to break
* next step planned for storing nodefamily and pass it to yum.php.conf
(impacted would be bootmanager, nodemanager and nodeconfig)
* a final cleanup in mkfedora would be to define mirrors in a separate .pkgs-like file
* kupdate.sh, as well as possibly other convenience scripts, might be impacted
Thierry Parmentelat [Sun, 9 Mar 2008 17:18:53 +0000 (17:18 +0000)]
cross-module change for multi-arch myplc
* name of the bootstrap tarball changed into
bootstrapfs-<id>-<arch>.tar.bz2
with id=<planetlab-distro> for the main tarball
and id=<extension> for the extensions tarballs
* bootmanager to use node's nodegroups to figure the tarball to use
* the noderepo rpm allows to install /var/www/html/install-rpms/<repo>
==
status
* checkpoint version to verify that mono-arch mono-distro still works
* build phase tested
* but some parts are still missing for complete multi-arch behaviour:
* bootstrapfs's rpm name should sontain pldistro and arch (as it is a noarch rpm)
* yum.php.conf also needs tunings
Thierry Parmentelat [Tue, 4 Mar 2008 15:16:34 +0000 (15:16 +0000)]
let plc.d/packages redo createrepo
Thierry Parmentelat [Tue, 4 Mar 2008 14:55:50 +0000 (14:55 +0000)]
fix
Thierry Parmentelat [Tue, 4 Mar 2008 14:51:54 +0000 (14:51 +0000)]
postinstall for signing pkgs - noderepo requires myplc - using Provides: on the myplc* side
Thierry Parmentelat [Tue, 4 Mar 2008 14:03:27 +0000 (14:03 +0000)]
missing quotes
Thierry Parmentelat [Tue, 4 Mar 2008 13:48:53 +0000 (13:48 +0000)]
no need to check out build
Thierry Parmentelat [Tue, 4 Mar 2008 13:24:45 +0000 (13:24 +0000)]
cross-module name change for more consistency
Thierry Parmentelat [Tue, 4 Mar 2008 12:30:39 +0000 (12:30 +0000)]
first draft of a noderepo package
(probably doesn't work but commit is needed for testing)
purpose is to package all the node-oriented rpms on cross-platform myplc
Marc Fiuczynski [Fri, 22 Feb 2008 20:52:00 +0000 (20:52 +0000)]
fix: yum clean all installroot was pointing at the wrong directory
Marc Fiuczynski [Fri, 22 Feb 2008 20:49:53 +0000 (20:49 +0000)]
minor clean up of code that invokes an optional .post processing script after packages from the specified .pkgs file have been installed
Marc Fiuczynski [Fri, 22 Feb 2008 20:35:28 +0000 (20:35 +0000)]
get rid of the nullglob
Stephen Soltesz [Wed, 20 Feb 2008 20:31:26 +0000 (20:31 +0000)]
I meant for that to be vdir at this point in the script
Stephen Soltesz [Wed, 20 Feb 2008 20:29:51 +0000 (20:29 +0000)]
Modified to run config.planetlab/*.post scripts for the various bootstrap pkgs
files available in cofig.*/bootstrap*.post
Thierry Parmentelat [Fri, 18 Jan 2008 15:59:25 +0000 (15:59 +0000)]
Tagging module BootstrapFS -- from bootstrapfs-0.1-1 to bootstrapfs-0.1-2
search more carefully for alternate pkgs files
handling of sysconfig/crontab and creation of site_admin reviewed
(this tag is set with module-tag.py)
Faiyaz Ahmed [Thu, 17 Jan 2008 21:45:17 +0000 (21:45 +0000)]
Im not sure what I'm doing but mef says this is how to make these changes.
Marc Fiuczynski [Thu, 10 Jan 2008 19:21:10 +0000 (19:21 +0000)]
for got $
Marc Fiuczynski [Thu, 10 Jan 2008 19:17:45 +0000 (19:17 +0000)]
With more care check if there are any pkgs to build.
Thierry Parmentelat [Thu, 10 Jan 2008 16:12:35 +0000 (16:12 +0000)]
for onelab
Faiyaz Ahmed [Wed, 9 Jan 2008 17:31:56 +0000 (17:31 +0000)]
obscure naming confused me. comments inline.
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}
Thierry Parmentelat [Sat, 5 Jan 2008 09:58:03 +0000 (09:58 +0000)]
fix typo & repair broken build
Thierry Parmentelat [Fri, 4 Jan 2008 23:02:43 +0000 (23:02 +0000)]
production image was not installed
Faiyaz Ahmed [Fri, 4 Jan 2008 21:03:11 +0000 (21:03 +0000)]
syntax error.
Faiyaz Ahmed [Thu, 3 Jan 2008 22:12:59 +0000 (22:12 +0000)]
create site_admin account and disable cron delay.
Faiyaz Ahmed [Thu, 3 Jan 2008 21:08:12 +0000 (21:08 +0000)]
Doesn't belong here.
Thierry Parmentelat [Thu, 13 Dec 2007 16:12:10 +0000 (16:12 +0000)]
commenting off site_admin as it breaks the build
Faiyaz Ahmed [Wed, 12 Dec 2007 21:06:13 +0000 (21:06 +0000)]
expand tabs.
Faiyaz Ahmed [Wed, 12 Dec 2007 21:04:16 +0000 (21:04 +0000)]
moved site admin down so as not to get in the vref. Also disabled 000-delay.cron.
Faiyaz Ahmed [Wed, 12 Dec 2007 20:32:32 +0000 (20:32 +0000)]
SSH doesn't accept passwords. This looks ok. No password for console access.
Faiyaz Ahmed [Wed, 12 Dec 2007 20:22:25 +0000 (20:22 +0000)]
Bad idea. Have to figure out how to make that a console only account.
Faiyaz Ahmed [Wed, 12 Dec 2007 20:19:36 +0000 (20:19 +0000)]
add site_admin account
Thierry Parmentelat [Wed, 12 Dec 2007 12:00:47 +0000 (12:00 +0000)]
missed changes needed after pldistro files have moved in build/config.<pldistro>
Daniel Hokka Zakrisson [Fri, 7 Dec 2007 16:50:45 +0000 (16:50 +0000)]
Remove unneeded services.
Thierry Parmentelat [Fri, 7 Dec 2007 15:59:29 +0000 (15:59 +0000)]
fix wrong argument passing to pl_root_mkfedora & more strict checking
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000 (12:31 +0000)]
cleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000 (08:55 +0000)]
(*) groups distro-dependent files in build/config.<distro>
(*) renamed .lst files into .pkgs (lst suffix commonly used for other/tmp purposes)
(*) distro-dependent files are (mostly) optional, defaults to planetlab
(*) mkfedora accepts new -f argument : to pass a pkgs file rather than -p .. -g ..
(*) mkfedora supports junk: and precious: in pkgs file
this is from the former bootcd/prep.sh - to reduce footprint
Notes.
(*) this is untested
(*) mkfedora still supports -x (exclude) on the command line and in pkgs file
however I suspect this feature is never used
(*) mkfedora is still a separate command - could/should be merged into buld.common
(*) myplc/build.functions could/should be merged into build.common as well
Thierry Parmentelat [Wed, 21 Nov 2007 16:57:26 +0000 (16:57 +0000)]
previous change trashed the -k option to mkfedora
Thierry Parmentelat [Wed, 21 Nov 2007 09:51:43 +0000 (09:51 +0000)]
oops - uses new lst parsing in subdir too
Thierry Parmentelat [Wed, 21 Nov 2007 09:31:37 +0000 (09:31 +0000)]
naming .lst files after pldistro - including the <pldistro>-filesystems directory
Thierry Parmentelat [Tue, 20 Nov 2007 08:33:09 +0000 (08:33 +0000)]
adds group PlanetLab in things to install
at least rpm is required at runtime
the initial purpose of this bootstrap tarball is to speed up installs
Marc Fiuczynski [Mon, 12 Nov 2007 14:42:33 +0000 (14:42 +0000)]
minor cleanup
Marc Fiuczynski [Thu, 8 Nov 2007 16:36:51 +0000 (16:36 +0000)]
eliminate file entry for BootstrapFS in %{_datadir}
Marc Fiuczynski [Thu, 8 Nov 2007 16:34:51 +0000 (16:34 +0000)]
move timing comment to the tar operation
Marc Fiuczynski [Thu, 8 Nov 2007 16:26:08 +0000 (16:26 +0000)]
It appears that some rpm is mounting /proc, which is not what we want.
Marc Fiuczynski [Thu, 8 Nov 2007 16:02:23 +0000 (16:02 +0000)]
fix using the wrong variable names, update comments, and put in some debugging echo statements
Marc Fiuczynski [Thu, 8 Nov 2007 15:52:59 +0000 (15:52 +0000)]
* call pl_mkfedora directly rather than pl_setup_chroot
* use the build.common pl_get{Packages,Groups} functions
Marc Fiuczynski [Thu, 8 Nov 2007 15:46:04 +0000 (15:46 +0000)]
include bash in the base installation of a vserver reference
Marc Fiuczynski [Thu, 8 Nov 2007 15:35:30 +0000 (15:35 +0000)]
need to pushd/popd to the BootstrapFS module
Marc Fiuczynski [Thu, 8 Nov 2007 15:35:08 +0000 (15:35 +0000)]
fixed typo
Marc Fiuczynski [Wed, 7 Nov 2007 21:01:27 +0000 (21:01 +0000)]
* use pl_getPackages and pl_getGroups functions from build.common
* "clean all" the yum cache of the base vserver reference image
Marc Fiuczynski [Tue, 6 Nov 2007 20:49:33 +0000 (20:49 +0000)]
Support to build bootstrap filesystems (i.e. PlanetLab-Bootstrap*.tar.bz2)
Marc Fiuczynski [Tue, 6 Nov 2007 20:42:36 +0000 (20:42 +0000)]
renamed bootstrap-filesystem -> bootstrap-filesystems