Thierry Parmentelat [Fri, 4 Feb 2011 08:25:45 +0000 (09:25 +0100)]
check more appropriately
Thierry Parmentelat [Thu, 3 Feb 2011 17:17:23 +0000 (18:17 +0100)]
take care of yumgroups for when multi-flavour
rewrite the code that handles vserver symlinks
revert to default mode that runs createrepo on a need-by-need basis
need to manually run /etc/plc.c/packages force
to force a re-run of createrepo
Thierry Parmentelat [Thu, 3 Feb 2011 12:29:39 +0000 (13:29 +0100)]
don't check for createrepo and take it for granted
Thierry Parmentelat [Thu, 3 Feb 2011 12:28:05 +0000 (13:28 +0100)]
do not support (very old) yum-arch, only createrepo
Thierry Parmentelat [Thu, 27 Jan 2011 21:03:58 +0000 (22:03 +0100)]
Setting tag bootstrapfs-2.0-8
no semantic change - attempt to speed up build
Thierry Parmentelat [Wed, 26 Jan 2011 11:44:07 +0000 (12:44 +0100)]
speed up build - skip std rpm postprocessing
Thierry Parmentelat [Sun, 23 Jan 2011 11:58:09 +0000 (12:58 +0100)]
Setting tag bootstrapfs-2.0-7
yum repo template for f14 nodes
tweaks the way /etc/plc.d/packages works
Thierry Parmentelat [Wed, 19 Jan 2011 17:01:30 +0000 (18:01 +0100)]
templates for the f14 yum config that goes on the nodes
Thierry Parmentelat [Wed, 5 Jan 2011 16:55:35 +0000 (17:55 +0100)]
fix URL in specfile - rm svn-keywords
Barış Metin [Wed, 15 Sep 2010 12:49:11 +0000 (14:49 +0200)]
fix links for vserver-* packages
root [Fri, 20 Aug 2010 13:09:28 +0000 (15:09 +0200)]
Merge commit 'local_master/master'
Barış Metin [Mon, 5 Jul 2010 12:32:52 +0000 (12:32 +0000)]
Setting tag BootstrapFS-2.0-6
add sha1sum
module name changes
Thierry Parmentelat [Sun, 4 Jul 2010 06:30:41 +0000 (06:30 +0000)]
fixed sha1sum generation
Thierry Parmentelat [Sat, 3 Jul 2010 08:17:15 +0000 (08:17 +0000)]
bugfix
Thierry Parmentelat [Fri, 2 Jul 2010 14:41:13 +0000 (14:41 +0000)]
prepare for lowercaing module name
S.Çağlar Onur [Thu, 1 Jul 2010 15:20:57 +0000 (15:20 +0000)]
create sha1 checksum files
Barış Metin [Tue, 27 Apr 2010 08:55:57 +0000 (08:55 +0000)]
Setting tag BootstrapFS-2.0-5
support different flavours of vservers on nodes
Barış Metin [Tue, 27 Apr 2010 08:53:46 +0000 (08:53 +0000)]
fix typo again
Barış Metin [Tue, 27 Apr 2010 08:52:49 +0000 (08:52 +0000)]
fix misleading commit
Thierry Parmentelat [Tue, 27 Apr 2010 08:36:07 +0000 (08:36 +0000)]
typo
Barış Metin [Thu, 22 Apr 2010 09:55:57 +0000 (09:55 +0000)]
create symlinks instead of copying files
Barış Metin [Tue, 20 Apr 2010 16:31:12 +0000 (16:31 +0000)]
get the correct pkg name
Barış Metin [Tue, 20 Apr 2010 15:02:29 +0000 (15:02 +0000)]
to be able to create different flavours of vservers (exp. f8 on f12 nodes)
cp vrefs to all supported deployments in install-rpms
next step is to add packages to yumgroups.xml
Thierry Parmentelat [Mon, 12 Apr 2010 10:27:26 +0000 (10:27 +0000)]
Setting tag BootstrapFS-2.0-4
fix unmatched $ in URL svn keywords
Thierry Parmentelat [Mon, 12 Apr 2010 10:25:21 +0000 (10:25 +0000)]
unmatched $
Thierry Parmentelat [Fri, 2 Apr 2010 13:11:44 +0000 (13:11 +0000)]
Setting tag BootstrapFS-2.0-3
choice between various pldistros is not made at build time, but at run time
relies on GetNodeFlavour to expose the node's fcdistro - requires PLCAPI-5.0-5
in addition, the baseurl for the myplc repo is http:// and not https:// anymore
the https method does not work on fedora 12, and GPG is used below anyway
Thierry Parmentelat [Fri, 2 Apr 2010 12:03:39 +0000 (12:03 +0000)]
yum to use http to fetch myplc rpms as they are GPG checked anyway
Thierry Parmentelat [Fri, 2 Apr 2010 07:54:50 +0000 (07:54 +0000)]
multi-fcdistro yum config
Thierry Parmentelat [Fri, 2 Apr 2010 04:15:17 +0000 (04:15 +0000)]
remove install deadlock
Thierry Parmentelat [Thu, 1 Apr 2010 17:53:49 +0000 (17:53 +0000)]
oops
Thierry Parmentelat [Thu, 1 Apr 2010 14:51:04 +0000 (14:51 +0000)]
scaffolding multi-fcdistro yum config
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 16:50:59 +0000 (16:50 +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:22:00 +0000 (15:22 +0000)]
Setting tag BootstrapFS-1.0-11
for building on fedora12
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.