Thierry Parmentelat [Tue, 1 Jul 2014 21:39:59 +0000 (23:39 +0200)]
workaround for 32bits slice images when running under libvirt where the personality apparently is not properly managed
Thierry Parmentelat [Tue, 1 Jul 2014 08:43:26 +0000 (10:43 +0200)]
oops, fix %files with /usr/lib/ instead of /lib
Thierry Parmentelat [Mon, 30 Jun 2014 14:20:26 +0000 (16:20 +0200)]
Thomas's change revisited as a change to specfile:
lxc-sliceimage - formerly an initscript - becomes a regular script in /usr/bin
a new systemd service unit file comes as a replacement to the former initscript
cron script adapted
Thierry Parmentelat [Mon, 28 Apr 2014 11:08:16 +0000 (13:08 +0200)]
Setting tag sliceimage-5.1-7
can build pips and gems in sliceimage (currently only gem used in omf)
requires a recent build/pkgs.py if pkgs file does mention pip or gem
Thierry Parmentelat [Thu, 17 Apr 2014 12:14:17 +0000 (14:14 +0200)]
expose /etc/resolv.conf to chroot before invoking pip or gem
Thierry Parmentelat [Thu, 17 Apr 2014 07:00:49 +0000 (09:00 +0200)]
robustified for when a yum package in an image fails to install
more details about the various extensions in build summary
Thierry Parmentelat [Wed, 16 Apr 2014 16:46:19 +0000 (18:46 +0200)]
improved logs of slice image building for system slices wrt yum, pip and gem
Thierry Parmentelat [Tue, 15 Apr 2014 11:21:02 +0000 (13:21 +0200)]
will install pip's and gem's if specified in sliceimage-<ext>.pkgs
Thierry Parmentelat [Wed, 3 Jul 2013 06:19:36 +0000 (08:19 +0200)]
Setting tag sliceimage-5.1-6
attempt to make lxc-sliceimage (update lxc ref. images) more robust
in particular by avoiding chroot when simple file operations are involved
also this activity gets logged into /var/log/lxc-sliceimage.log
it is still unclear whether stub-based images are correctly updated
Thierry Parmentelat [Mon, 1 Jul 2013 18:44:22 +0000 (20:44 +0200)]
have the lxc-sliceimage initscript:
. log its stuff in /var/log/
. run as much as possible in the root context when invoking simple file operations to avoid painful warnings from sed and the like about security contexts
Thierry Parmentelat [Wed, 26 Jun 2013 07:21:15 +0000 (09:21 +0200)]
Setting tag sliceimage-5.1-5
fixes for heterogeneous slice/nodes
addresses PATH and missing eth0 among others
Thierry Parmentelat [Fri, 21 Jun 2013 09:32:20 +0000 (11:32 +0200)]
patching the vref images was buggy
a lot of stuff was being skipped with non-systemd images
hopefully with this in place we should have ifcfg-eth0 and chkconfig network on back into action
Thierry Parmentelat [Fri, 21 Jun 2013 09:29:50 +0000 (11:29 +0200)]
artificially add /bin and /sbin to PATH so that any chroot $rootfs blabla can fly even with an f18 node and a f14 slice
Andy Bavier [Fri, 24 May 2013 19:21:39 +0000 (19:21 +0000)]
Setting tag sliceimage-5.1-4
Fix machine arch in slivers
Andy Bavier [Fri, 24 May 2013 19:19:34 +0000 (15:19 -0400)]
Update nodemanager-lxc dependency
Andy Bavier [Fri, 24 May 2013 18:53:19 +0000 (14:53 -0400)]
Add setting machine architecture for container
Andy Bavier [Wed, 24 Oct 2012 20:29:50 +0000 (20:29 +0000)]
Setting tag sliceimage-5.1-3
More flexible <interface> element generation
Andy Bavier [Wed, 24 Oct 2012 20:24:34 +0000 (15:24 -0500)]
Add dependency on nodemanager-lxc version
Andy Bavier [Wed, 12 Sep 2012 15:18:59 +0000 (11:18 -0400)]
Add $interfaces variable so that <interface> elements can be generated.
Thierry Parmentelat [Mon, 9 Jul 2012 09:48:36 +0000 (11:48 +0200)]
Setting tag sliceimage-5.1-2
for linux-containers: populates refs from stubs (for system slices)
for linux-containers: memory bump to 512M, and add acpi
Thierry Parmentelat [Wed, 27 Jun 2012 14:00:42 +0000 (16:00 +0200)]
create ref images for system slices from stubs - for planetflow - 1st draft
Thierry Parmentelat [Wed, 27 Jun 2012 13:58:46 +0000 (15:58 +0200)]
rename internal var - before duplicating code for lxc
Thierry Parmentelat [Fri, 15 Jun 2012 13:55:02 +0000 (16:55 +0300)]
fix sshd settings
Marco Yuen [Mon, 7 May 2012 14:32:26 +0000 (10:32 -0400)]
LXC-3: Raise default memory to 512MB.
Thierry Parmentelat [Fri, 13 Apr 2012 14:50:39 +0000 (16:50 +0200)]
Setting tag sliceimage-5.1-1
first working draft for both mainline and lxc
Thierry Parmentelat [Thu, 12 Apr 2012 14:55:28 +0000 (16:55 +0200)]
patch the f16 sliceimage for running under libvirt/lxc
Thierry Parmentelat [Thu, 12 Apr 2012 11:55:56 +0000 (13:55 +0200)]
rsync sliceimage -> .lvref with --delete option for more accurate updates
Thierry Parmentelat [Thu, 12 Apr 2012 04:58:08 +0000 (06:58 +0200)]
oops
Thierry Parmentelat [Wed, 11 Apr 2012 22:06:28 +0000 (00:06 +0200)]
more upgrade-friendly
Thierry Parmentelat [Wed, 11 Apr 2012 22:06:12 +0000 (00:06 +0200)]
add lxc_template.xml to packaging
Thierry Parmentelat [Wed, 11 Apr 2012 13:31:29 +0000 (15:31 +0200)]
lxc-sliceimage was broken
Thierry Parmentelat [Tue, 10 Apr 2012 16:41:02 +0000 (18:41 +0200)]
new package lxc-sliceimage
Thierry Parmentelat [Sun, 1 Apr 2012 13:53:29 +0000 (15:53 +0200)]
cleanup
Thierry Parmentelat [Sun, 1 Apr 2012 13:52:43 +0000 (15:52 +0200)]
only define the 2 packages sliceimage-<slicefamily> and
sliceimage-system-<slicefamily>
remove any reference to sliceimage as an rpm, for poor spec2make in
recent versions
Thierry Parmentelat [Thu, 29 Mar 2012 12:05:14 +0000 (14:05 +0200)]
fix
Thierry Parmentelat [Thu, 29 Mar 2012 11:57:01 +0000 (13:57 +0200)]
oops
Thierry Parmentelat [Thu, 29 Mar 2012 11:51:10 +0000 (13:51 +0200)]
fixes
Thierry Parmentelat [Thu, 29 Mar 2012 11:35:03 +0000 (13:35 +0200)]
define separate package vserver-sliceimage with just the utiliy/init script for vserver
Thierry Parmentelat [Thu, 29 Mar 2012 11:30:26 +0000 (13:30 +0200)]
cosmetic / layout
Thierry Parmentelat [Thu, 29 Mar 2012 08:21:17 +0000 (10:21 +0200)]
deeper clean of vserver stuff
Thierry Parmentelat [Thu, 29 Mar 2012 07:41:51 +0000 (09:41 +0200)]
sliceimage vs vserver in pkgs
Thierry Parmentelat [Wed, 28 Mar 2012 15:25:39 +0000 (17:25 +0200)]
oops
Thierry Parmentelat [Wed, 28 Mar 2012 14:20:46 +0000 (16:20 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sliceimage
Thierry Parmentelat [Wed, 28 Mar 2012 14:20:25 +0000 (16:20 +0200)]
renamed packages and files - vserver specifics still bundled
Thierry Parmentelat [Tue, 27 Mar 2012 13:52:39 +0000 (15:52 +0200)]
eradicate svn keywords
Thierry Parmentelat [Mon, 24 Jan 2011 03:41:43 +0000 (04:41 +0100)]
Setting tag vserver-reference-5.0-6
no semantic change - just fixed specfile for git URL
Thierry Parmentelat [Wed, 5 Jan 2011 16:59:57 +0000 (17:59 +0100)]
fix URL in specfile - rm svn-keywords
Daniel Hokka Zakrisson [Wed, 29 Dec 2010 17:00:13 +0000 (12:00 -0500)]
Setting tag vserver-reference-5.0-5
Remove ugly hack that breaks su/sudo on upgrades.
Daniel Hokka Zakrisson [Wed, 29 Dec 2010 16:50:19 +0000 (11:50 -0500)]
Remove ugly hack that breaks su/sudo on upgrades.
Thierry Parmentelat [Tue, 7 Dec 2010 19:48:38 +0000 (20:48 +0100)]
Setting tag vserver-reference-5.0-4
optimize rpm construction - skips stripping and the like
Barış Metin [Mon, 29 Nov 2010 11:19:13 +0000 (12:19 +0100)]
try speeding up the build
Barış Metin [Mon, 5 Jul 2010 12:31:07 +0000 (12:31 +0000)]
Setting tag VserverReference-5.0-3
module name changes
Thierry Parmentelat [Fri, 2 Jul 2010 21:32:29 +0000 (21:32 +0000)]
oops
Thierry Parmentelat [Fri, 2 Jul 2010 14:59:40 +0000 (14:59 +0000)]
prepare for lowercasing module names
Thierry Parmentelat [Fri, 12 Mar 2010 20:40:43 +0000 (20:40 +0000)]
Setting tag VserverReference-5.0-2
iron out system slices reference image update
Thierry Parmentelat [Thu, 11 Mar 2010 17:23:47 +0000 (17:23 +0000)]
when systemslices rpm gets updated, make sure the change makes it to the .vref image
Thierry Parmentelat [Mon, 8 Mar 2010 14:58:30 +0000 (14:58 +0000)]
run the vserver-reference initscript upon update of systemslices as well
Marc Fiuczynski [Thu, 25 Feb 2010 14:45:35 +0000 (14:45 +0000)]
be more careful about slices that might not exist after a hung vserver reference pass
Thierry Parmentelat [Fri, 29 Jan 2010 14:33:59 +0000 (14:33 +0000)]
Setting tag VserverReference-5.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 layout
Thierry Parmentelat [Fri, 29 Jan 2010 14:30:25 +0000 (14:30 +0000)]
Branch 5.0 for module VserverReference created (as new trunk) from tag VserverReference-4.2-16
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, 20 Oct 2009 12:43:15 +0000 (12:43 +0000)]
Setting tag VserverReference-4.2-16
fix issue about locating the post-install script(s)
this was causing the onelab distro to miss the /etc/sudoers patch
Thierry Parmentelat [Tue, 20 Oct 2009 11:12:24 +0000 (11:12 +0000)]
turns out baris and I were doing the same change at the same time - this one is simpler
Barış Metin [Tue, 20 Oct 2009 11:01:29 +0000 (11:01 +0000)]
the very same sed command is run by config.planetlab/vserver.post
use pl_locateDistroFile to locate the postfile
Barış Metin [Mon, 19 Oct 2009 20:25:44 +0000 (20:25 +0000)]
- comment out requiretty
Setting tag VserverReference-4.2-15
--This line, and those below, will be ignored--
Please write a changelog for this new tag in the section above
DIFF=========
Index: build.sh
===================================================================
--- build.sh (.../tags/VserverReference-4.2-14) (révision 15364)
+++ build.sh (.../trunk) (révision 15364)
@@ -137,5 +137,6 @@
# fix sudoers config
[ -f ${vref}/etc/sudoers ] && echo -e "\nDefaults\tlogfile=/var/log/sudo\n" >> ${vref}/etc/sudoers
+[ -f ${vref}/etc/sudoers ] && sed -i 's,^Defaults.*requiretty,#Defaults requiretty,' ${vref}/etc/sudoers
exit 0
Barış Metin [Mon, 19 Oct 2009 20:11:34 +0000 (20:11 +0000)]
comment out requiretty from /etc/sudoers.
Thierry Parmentelat [Fri, 9 Oct 2009 15:42:28 +0000 (15:42 +0000)]
Setting tag VserverReference-4.2-14
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
Stephen Soltesz [Mon, 10 Aug 2009 18:02:06 +0000 (18:02 +0000)]
Setting tag VserverReference-4.2-13
Added remove for all VROOTs rather than the last one. BUG FIX.
Stephen Soltesz [Mon, 3 Aug 2009 16:00:31 +0000 (16:00 +0000)]
the code looks like it was incomplete, since it referenced a local value
rather than iterating across all of them. This fix applies the 'rm' to all
VROOT dirs, and prevents 'rpm --allmatches' from hanging on boot up.
Thierry Parmentelat [Tue, 24 Mar 2009 15:29:17 +0000 (15:29 +0000)]
Tagging module VserverReference - VserverReference-4.2-12
fix for fedora 10
Thierry Parmentelat [Tue, 24 Mar 2009 13:18:33 +0000 (13:18 +0000)]
fix for gnuradio
Thierry Parmentelat [Thu, 2 Oct 2008 18:15:21 +0000 (18:15 +0000)]
Tagging module VserverReference - VserverReference-4.2-11
on 64bits archs, locates util-vserver's config file correctly
Thierry Parmentelat [Wed, 1 Oct 2008 04:42:49 +0000 (04:42 +0000)]
searches util-vserver init file - for 64bits archs
Daniel Hokka Zakrisson [Thu, 3 Jul 2008 11:55:48 +0000 (11:55 +0000)]
Tagging module VserverReference - VserverReference-4.2-10
Use the correct yum.conf to get access to required packages such as pf2slice.
Daniel Hokka Zakrisson [Thu, 3 Jul 2008 11:48:47 +0000 (11:48 +0000)]
Use the right yum configuration to get access to the necessary RPMs.
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 18:07:04 +0000 (18:07 +0000)]
Tagging module VserverReference - VserverReference-4.2-9
Scriptlet fix.
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 18:05:15 +0000 (18:05 +0000)]
The scriptlet should succeed if the directory does not exist.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 20:05:56 +0000 (20:05 +0000)]
Tagging module VserverReference - VserverReference-4.2-8
Unset the immutable and iunlink bits to make sure we can install the package.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 20:04:53 +0000 (20:04 +0000)]
Try to fix weird state of files causing the install to fail.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:42:46 +0000 (16:42 +0000)]
Tagging module VserverReference - VserverReference-4.2-7
Let rpm remove the files.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:05:53 +0000 (16:05 +0000)]
RPM should take care of this.
Thierry Parmentelat [Thu, 24 Apr 2008 17:12:30 +0000 (17:12 +0000)]
Tagging module VserverReference - VserverReference-4.2-6
empty change, this should *not* be a noarch package
Thierry Parmentelat [Thu, 24 Apr 2008 13:10:39 +0000 (13:10 +0000)]
undoing previous change - thanks Daniel
Thierry Parmentelat [Thu, 24 Apr 2008 12:27:35 +0000 (12:27 +0000)]
vserver images considered arch-neutral
Thierry Parmentelat [Mon, 21 Apr 2008 13:04:22 +0000 (13:04 +0000)]
Tagging module VserverReference - VserverReference-4.2-5
tweaked pre script that was removing everything under /vservers/.vref
dismantle vcached (as far as this module is concerned)
sudo to log in /var/log/sudo
Faiyaz Ahmed [Thu, 10 Apr 2008 16:18:30 +0000 (16:18 +0000)]
Make sudo log to /var/log/sudo
Thierry Parmentelat [Thu, 10 Apr 2008 14:03:14 +0000 (14:03 +0000)]
cross-module change -- cleaning vcached, and vserver pre install script
Thierry Parmentelat [Fri, 28 Mar 2008 14:03:51 +0000 (14:03 +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'
Thierry Parmentelat [Fri, 28 Mar 2008 14:00:45 +0000 (14:00 +0000)]
bugfix : slices did not get created correctly
Thierry Parmentelat [Wed, 26 Mar 2008 10:45:53 +0000 (10:45 +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
Thierry Parmentelat [Sat, 22 Mar 2008 11:03:45 +0000 (11:03 +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
Thierry Parmentelat [Sat, 22 Mar 2008 08:23:11 +0000 (08:23 +0000)]
somehow yesterday's change got lost
Stephen Soltesz [Fri, 21 Mar 2008 22:36:14 +0000 (22:36 +0000)]
Adds a conditional check to see whether COW support is enabled in the kernel.
sets the iunlink attribute accordingly.
Thierry Parmentelat [Fri, 21 Mar 2008 18:29:00 +0000 (18:29 +0000)]
oops, wrong quoting
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
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
Stephen Soltesz [Wed, 27 Feb 2008 21:53:32 +0000 (21:53 +0000)]
Added post operation to the reference image as well as the vdirs.
Marc Fiuczynski [Mon, 25 Feb 2008 19:47:13 +0000 (19:47 +0000)]
force the overwrite of /etc/yum.conf from /etc/yum.conf.rpmnew file
Marc Fiuczynski [Mon, 25 Feb 2008 19:45:57 +0000 (19:45 +0000)]
use the default /etc/yum.conf that comes with the yum package