11 years agoTagging module VserverReference - VserverReference-4.2-4
Thierry Parmentelat [Fri, 28 Mar 2008 14:03:51 +0000]
Tagging module VserverReference - VserverReference-4.2-4
bugfix, 4.2-3 was broken as the slicefamily stamp could not get created, thus nm issued 'vuseradd -t default'

11 years agobugfix : slices did not get created correctly
Thierry Parmentelat [Fri, 28 Mar 2008 14:00:45 +0000]
bugfix : slices did not get created correctly

11 years agoTagging module VserverReference - VserverReference-4.2-3
Thierry Parmentelat [Wed, 26 Mar 2008 10:45:53 +0000]
Tagging module VserverReference - VserverReference-4.2-3
a single node can now install several instances of this package
package name contains slicefamily - <pldistro>-<fcdistro>-<arch>
setattr --iunlink or --~iunlink appropriately (uses /proc/virtual/info)
does not copy yum.conf from host anymore

11 years agomultiple slice falvours - second iteration
Thierry Parmentelat [Sat, 22 Mar 2008 11:03:45 +0000]
multiple slice falvours - second iteration
* review naming scheme for system slices; now planetflow vref image is named like
  planetflow-f8-i386 for consistency
* use for sensible name for the stamp where default slicefamily is stored

11 years agosomehow yesterday's change got lost
Thierry Parmentelat [Sat, 22 Mar 2008 08:23:11 +0000]
somehow yesterday's change got lost

11 years agoAdds a conditional check to see whether COW support is enabled in the kernel.
Stephen Soltesz [Fri, 21 Mar 2008 22:36:14 +0000]
Adds a conditional check to see whether COW support is enabled in the kernel.
sets the iunlink attribute accordingly.

11 years agooops, wrong quoting
Thierry Parmentelat [Fri, 21 Mar 2008 18:29:00 +0000]
oops, wrong quoting

11 years agosupport for multiple slice reference images
Thierry Parmentelat [Fri, 21 Mar 2008 16:35:32 +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

11 years agoSecond step towards multiarch myplc https://svn.planet-lab.org/ticket/214
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +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

11 years agoAdded post operation to the reference image as well as the vdirs.
Stephen Soltesz [Wed, 27 Feb 2008 21:53:32 +0000]
Added post operation to the reference image as well as the vdirs.

11 years agoforce the overwrite of /etc/yum.conf from /etc/yum.conf.rpmnew file
Marc Fiuczynski [Mon, 25 Feb 2008 19:47:13 +0000]
force the overwrite of /etc/yum.conf from /etc/yum.conf.rpmnew file

11 years agouse the default /etc/yum.conf that comes with the yum package
Marc Fiuczynski [Mon, 25 Feb 2008 19:45:57 +0000]
use the default /etc/yum.conf that comes with the yum package

11 years agono longer overwrite guest's /etc/yum.conf with the version from the host
Marc Fiuczynski [Mon, 25 Feb 2008 19:41:11 +0000]
no longer overwrite guest's /etc/yum.conf with the version from the host

11 years agocleaner way of finding the vserver.pkgs *.post file.
Stephen Soltesz [Fri, 22 Feb 2008 21:25:10 +0000]
cleaner way of finding the vserver.pkgs *.post file.

11 years agoModified to execute config.planetlab/vserver.post scripts to perform final
Stephen Soltesz [Wed, 20 Feb 2008 20:29:00 +0000]
Modified to execute config.planetlab/vserver.post scripts to perform final
vserver-reference image cleanups.

11 years agoTagging module VserverReference - vserver-4.2-2
Thierry Parmentelat [Fri, 15 Feb 2008 14:53:43 +0000]
Tagging module VserverReference - vserver-4.2-2
vserver image to properly use links rather than copies

11 years agoto allow vclone to do the right thing wrt to linking unified files.
Faiyaz Ahmed [Thu, 7 Feb 2008 19:14:18 +0000]
to allow vclone to do the right thing wrt to linking unified files.

11 years agoTagging module VserverReference -- from vserver-4.2-0 to vserver-4.2-1
Thierry Parmentelat [Thu, 31 Jan 2008 15:44:44 +0000]
Tagging module VserverReference  -- from vserver-4.2-0 to vserver-4.2-1
more careful scan of the vserver-*.pkgs image specifications

11 years agoHandle case when there are no vserver-* packages properly
Marc Fiuczynski [Thu, 10 Jan 2008 19:34:24 +0000]
Handle case when there are no vserver-* packages properly

11 years agoready for tagging
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000]
ready for tagging
reviewed URLs and %{plrelease}

11 years agoMove Requires to the correct package.
Daniel Hokka Zakrisson [Fri, 14 Dec 2007 20:55:14 +0000]
Move Requires to the correct package.

11 years agosets PL_BOOTCD to prevent components from starting at build-time
Thierry Parmentelat [Fri, 14 Dec 2007 12:06:07 +0000]
sets PL_BOOTCD to prevent components from starting at build-time

11 years agoFix invalid syntax.
Daniel Hokka Zakrisson [Fri, 7 Dec 2007 15:35:12 +0000]
Fix invalid syntax.

11 years agocleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000]
cleaning up the root creation functions and build.common - untested

11 years ago(*) groups distro-dependent files in build/config.<distro>
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +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

11 years agoremoved jre from verver ref - was not found anyway
Thierry Parmentelat [Fri, 30 Nov 2007 05:57:37 +0000]
removed jre from verver ref - was not found anyway

11 years agooops
Thierry Parmentelat [Wed, 21 Nov 2007 11:31:50 +0000]
oops

11 years agooops - uses new lst parsing in subdir too
Thierry Parmentelat [Wed, 21 Nov 2007 09:51:31 +0000]
oops - uses new lst parsing in subdir too

11 years agonaming .lst files after pldistro - including the <pldistro>-vservers directory
Thierry Parmentelat [Wed, 21 Nov 2007 09:42:14 +0000]
naming .lst files after pldistro - including the <pldistro>-vservers directory

11 years agothe issue with ulogd seems to be related to mkfedora having lost its -k option somehow
Thierry Parmentelat [Sun, 18 Nov 2007 21:48:08 +0000]
the issue with ulogd seems to be related to mkfedora having lost its -k option somehow

11 years agousing disablerepo with extras makes sense with fc <= 6 only
Thierry Parmentelat [Fri, 16 Nov 2007 08:40:09 +0000]
using disablerepo with extras makes sense with fc <= 6 only

11 years agodisabling the extras fedora repo when installing netflow - yum gets confused by ulogd...
Thierry Parmentelat [Tue, 13 Nov 2007 18:53:39 +0000]
disabling the extras fedora repo when installing netflow - yum gets confused by ulogd - temporary

11 years agoswitch to using pl_get{Packages,Groups}
Marc Fiuczynski [Thu, 8 Nov 2007 22:30:19 +0000]
switch to using pl_get{Packages,Groups}

11 years ago* using the common pl_getPackages() and pl_getGroups() functions
Marc Fiuczynski [Wed, 7 Nov 2007 21:04:05 +0000]
* using the common pl_getPackages() and pl_getGroups() functions

11 years agothe 'yum clean all' step must preceed the 'rsync' step
Marc Fiuczynski [Mon, 5 Nov 2007 21:11:41 +0000]
the 'yum clean all' step must preceed the 'rsync' step

11 years agorsync -avn prints additional information for files that are symlinks, which should...
Marc Fiuczynski [Mon, 5 Nov 2007 21:03:52 +0000]
rsync -avn prints additional information for files that are symlinks, which should not be feed to cpio. Post processing the rsync output to make cpio happy

11 years agobe more verbose about building the system vservers
Marc Fiuczynski [Mon, 5 Nov 2007 19:53:57 +0000]
be more verbose about building the system vservers

11 years agoclean out yum cache to reduce system vserver footprint
Marc Fiuczynski [Mon, 5 Nov 2007 19:31:24 +0000]
clean out yum cache to reduce system vserver footprint

11 years agoThis change creates a proper vserver stub that includes all new files
Marc Fiuczynski [Mon, 5 Nov 2007 16:14:48 +0000]
This change creates a proper vserver stub that includes all new files
AND modified files.  The previous implementation only handled the
former.

11 years agouser cpio rather than rsync to copy directories
Marc Fiuczynski [Mon, 5 Nov 2007 16:11:39 +0000]
user cpio rather than rsync to copy directories

11 years agoSet requires for system-packages sub package to be >= the current version
Marc Fiuczynski [Mon, 5 Nov 2007 02:24:41 +0000]
Set requires for system-packages sub package to be >= the current version

11 years agoThe changeset revamps the vserver-reference package by changing the
Marc Fiuczynski [Fri, 2 Nov 2007 21:37:24 +0000]
The changeset revamps the vserver-reference package by changing the
way system vservers -- such as planetflow -- are built.

The old model involved copying the appropriate rpms required for, say,
planetflow to the systems-packages directory.  Upon boot the
vserver-init script then construct the reference vserver for
planetflow from those rpms.

The new model creates the reference vserver at build time, reduces it
disk footprint to just the newly installed packages for the system
vserver, and places that into the /vservers/.vstub directory (e.g.,
/vservers/.vstub/planetflow).  Upon boot the vserver-init script then
simply merges the default vserver reference with this stub to create a
/vservers/.vref/planetflow directory.

One can define new system vservers by simply creating a .lst file in
the reference-vservers/ directory.  See the planetflow.lst file as an
example.

11 years agoappend to log file; use logrotate;
Marc Fiuczynski [Fri, 2 Nov 2007 14:53:27 +0000]
append to log file; use logrotate;

11 years agoAdd in filesystem package explicitly.
Marc Fiuczynski [Mon, 15 Oct 2007 16:29:50 +0000]
Add in filesystem package explicitly.

11 years agoModule has been renamed from vserver-reference to VserverReference. Update the pushd...
Marc Fiuczynski [Sun, 14 Oct 2007 18:16:59 +0000]
Module has been renamed from vserver-reference to VserverReference.  Update the pushd to VserverReference.

12 years agobump build
Faiyaz Ahmed [Fri, 7 Sep 2007 19:17:45 +0000]
bump build

12 years agos/jre-somejunk/jre
Faiyaz Ahmed [Fri, 7 Sep 2007 19:11:38 +0000]
s/jre-somejunk/jre

12 years agoadded jre... :-(
Faiyaz Ahmed [Thu, 6 Sep 2007 20:41:23 +0000]
added jre... :-(

12 years agouse build/build.common functions
Marc Fiuczynski [Fri, 31 Aug 2007 02:29:35 +0000]
use build/build.common functions

12 years agorely on build/build.common to pick default fedora release correctly
Marc Fiuczynski [Fri, 31 Aug 2007 02:27:55 +0000]
rely on build/build.common to pick default fedora release correctly

12 years agofix to selecting Fedora release number
Marc Fiuczynski [Tue, 28 Aug 2007 21:39:20 +0000]
fix to selecting Fedora release number

12 years agomake Fedora 7 compatible
Marc Fiuczynski [Fri, 24 Aug 2007 06:21:04 +0000]
make Fedora 7 compatible

12 years agomore debugging output
Marc Fiuczynski [Fri, 24 Aug 2007 06:06:04 +0000]
more debugging output

12 years agoFedora 7 does not pull in findutils via a dependency
Marc Fiuczynski [Fri, 24 Aug 2007 05:50:54 +0000]
Fedora 7 does not pull in findutils via a dependency

12 years agodefault to FC4 if we cannot figure out Fedora version
Marc Fiuczynski [Fri, 24 Aug 2007 04:43:06 +0000]
default to FC4 if we cannot figure out Fedora version

12 years agochanged code that figures out which Fedora version we are running on
Marc Fiuczynski [Fri, 24 Aug 2007 04:40:48 +0000]
changed code that figures out which Fedora version we are running on

12 years agoBump version
Faiyaz Ahmed [Mon, 20 Aug 2007 20:15:20 +0000]
Bump version

12 years agoBump minor version
Faiyaz Ahmed [Mon, 13 Aug 2007 20:34:46 +0000]
Bump minor version

12 years agoFix version / revision.
Faiyaz Ahmed [Mon, 13 Aug 2007 20:04:39 +0000]
Fix version / revision.

12 years agonix binaries from cvs. kthnxbi
Faiyaz Ahmed [Mon, 13 Aug 2007 18:06:51 +0000]
nix binaries from cvs.  kthnxbi

12 years agoRemove java rpm from module. Moved to repo.
Faiyaz Ahmed [Mon, 13 Aug 2007 18:02:33 +0000]
Remove java rpm from module.  Moved to repo.

12 years agoInstall java in the reference image.
David E. Eisenstat [Mon, 25 Jun 2007 19:52:27 +0000]
Install java in the reference image.

12 years agoJava RPM.
David E. Eisenstat [Mon, 25 Jun 2007 19:46:34 +0000]
Java RPM.

12 years agoAdd "which".
David E. Eisenstat [Mon, 25 Jun 2007 19:40:01 +0000]
Add "which".

12 years agoinvoke build.sh with fedora core release argument
Marc Fiuczynski [Thu, 8 Mar 2007 17:54:12 +0000]
invoke build.sh with fedora core release argument

12 years agodo not dereference symlinks when chowning files back to the SUDO_USER
Mark Huang [Wed, 17 Jan 2007 22:44:17 +0000]
do not dereference symlinks when chowning files back to the SUDO_USER

12 years ago- move vserver-reference to .vref/default
Mark Huang [Mon, 13 Nov 2006 19:04:16 +0000]
- move vserver-reference to .vref/default

12 years ago- build planetflow reference type
Mark Huang [Mon, 13 Nov 2006 19:00:01 +0000]
- build planetflow reference type

12 years ago- move vserver-reference to .vref/default
Mark Huang [Mon, 13 Nov 2006 18:59:32 +0000]
- move vserver-reference to .vref/default
- remove pl_conf

13 years ago- remove stale rpm locks on startup
Mark Huang [Thu, 10 Aug 2006 18:49:16 +0000]
- remove stale rpm locks on startup

13 years agonow building mysql locally, no longer require third party mysql repository
Mark Huang [Sat, 1 Jul 2006 18:13:31 +0000]
now building mysql locally, no longer require third party mysql repository

13 years ago- build FC4 based VServer Reference by default
Mark Huang [Mon, 15 May 2006 21:16:41 +0000]
- build FC4 based VServer Reference by default

13 years agoupdate configuration files and GPG keys in reference images and system slices daily
Mark Huang [Tue, 9 May 2006 22:22:40 +0000]
update configuration files and GPG keys in reference images and system slices daily

13 years ago- fix how GPG keys are pushed into the reference images
Mark Huang [Tue, 9 May 2006 16:45:28 +0000]
- fix how GPG keys are pushed into the reference images

13 years ago- also copy Fedora signing key to reference images
Mark Huang [Mon, 8 May 2006 20:52:30 +0000]
- also copy Fedora signing key to reference images

13 years ago- treat system slices (pl_*) as reference images in that their
Mark Huang [Mon, 8 May 2006 20:33:02 +0000]
- treat system slices (pl_*) as reference images in that their
  configuration files should always be updated
- expect boot server certificate to be in /usr/boot/ (Boot
  Manager will put it here soon); copy boot server certificate to
  /usr/boot/ in the reference image

13 years ago- bump release number
Mark Huang [Mon, 1 May 2006 21:31:51 +0000]
- bump release number

13 years ago- also update cached reference images
Mark Huang [Mon, 1 May 2006 21:30:30 +0000]
- also update cached reference images
- install /etc/planetlab/plc_config* files if present
- install boot server certificate in location specified by plc_config
  variable PLC_BOOT_SSL_CRT

13 years ago- move coreutils to Requires(pre)
Mark Huang [Tue, 11 Apr 2006 15:04:47 +0000]
- move coreutils to Requires(pre)

13 years ago- fix for FC4 yum
Mark Huang [Mon, 10 Apr 2006 22:21:48 +0000]
- fix for FC4 yum
- always try and download and record the package dependency so that we
  can be re-run
- skip blank lines to avoid segfaulting grep

13 years ago- bump version to 4.0
Mark Huang [Mon, 10 Apr 2006 20:38:28 +0000]
- bump version to 4.0

13 years ago- build FC4 reference image
Mark Huang [Mon, 10 Apr 2006 20:38:03 +0000]
- build FC4 reference image

13 years ago- specify -k to mkfedora so that FC4 kernel* packages don't get installed
Mark Huang [Mon, 10 Apr 2006 20:37:41 +0000]
- specify -k to mkfedora so that FC4 kernel* packages don't get installed

13 years agoadd necessary Requires: coreutils
Mark Huang [Wed, 5 Apr 2006 21:29:11 +0000]
add necessary Requires: coreutils

13 years ago- create new package vserver-system-packages that contain the packages
Mark Huang [Wed, 5 Apr 2006 20:32:28 +0000]
- create new package vserver-system-packages that contain the packages
  necessary to bootstrap pl_conf and pl_netflow

13 years ago- fix typo
Mark Huang [Wed, 5 Apr 2006 19:41:20 +0000]
- fix typo

13 years ago- clean /dev after building
Mark Huang [Wed, 5 Apr 2006 19:35:22 +0000]
- clean /dev after building

13 years agoisolate all the sudo stuff in %clean
Mark Huang [Mon, 3 Apr 2006 19:27:28 +0000]
isolate all the sudo stuff in %clean

13 years ago- fix comment
Mark Huang [Fri, 31 Mar 2006 21:38:07 +0000]
- fix comment

13 years ago- disable all services in vserver-reference image
Mark Huang [Fri, 31 Mar 2006 21:18:10 +0000]
- disable all services in vserver-reference image

13 years ago- change to vserver-reference directory before building/installing
Mark Huang [Thu, 30 Mar 2006 16:45:07 +0000]
- change to vserver-reference directory before building/installing

13 years ago- do not tolerate errors
Mark Huang [Wed, 29 Mar 2006 20:26:41 +0000]
- do not tolerate errors

13 years ago- move vserver-reference group definition into this script instead of
Mark Huang [Wed, 29 Mar 2006 19:19:55 +0000]
- move vserver-reference group definition into this script instead of
  relying upon it living in the yumgroups.xml file

13 years ago- build vserver-reference using mkfedora script
Mark Huang [Wed, 29 Mar 2006 17:08:45 +0000]
- build vserver-reference using mkfedora script

13 years ago- run createrepo as well
Mark Huang [Tue, 21 Mar 2006 14:57:29 +0000]
- run createrepo as well
- if run under sudo, allow user to delete the headers/ and repodata/
  directories

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

13 years ago- Some temporary cdroot files like /var/empty/sshd and
Mark Huang [Mon, 9 Jan 2006 21:40:28 +0000]
- Some temporary cdroot files like /var/empty/sshd and
  /usr/bin/sudo get created with non-readable permissions.

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

13 years ago- fix /var/run/vcached.pid generation
Mark Huang [Wed, 26 Oct 2005 17:54:31 +0000]
- fix /var/run/vcached.pid generation

13 years ago- use a valid node_id
Mark Huang [Sat, 1 Oct 2005 18:20:08 +0000]
- use a valid node_id