myplc.git
16 years agoTagging module MyPLC -- from myplc-4.2-1 to myplc-4.2-2 myplc-4.2-2
Thierry Parmentelat [Thu, 31 Jan 2008 14:53:25 +0000 (14:53 +0000)]
Tagging module MyPLC  -- from myplc-4.2-1 to myplc-4.2-2
knows how to checkpoint and restore
packages step more robust, in particular with empty node repository
miscell tweaks for native packaging

16 years agoTagging module MyPLC -- from myplc-4.2-1 to myplc-4.2-2
Thierry Parmentelat [Thu, 31 Jan 2008 14:53:19 +0000 (14:53 +0000)]
Tagging module MyPLC  -- from myplc-4.2-1 to myplc-4.2-2
knows how to checkpoint and restore
packages step more robust, in particular with empty node repository
miscell tweaks for native packaging

16 years agofixed typo
Thierry Parmentelat [Thu, 31 Jan 2008 14:42:05 +0000 (14:42 +0000)]
fixed typo

16 years agoFix for myplc-native:
Marc Fiuczynski [Tue, 29 Jan 2008 22:17:49 +0000 (22:17 +0000)]
Fix for myplc-native:
 - only create a new /etc/resolv.conf if PLC_NET_DNS1 or PLC_NET_DNS2
   is specified

16 years agochecking initscripts syntax error. fixed.
Faiyaz Ahmed [Tue, 29 Jan 2008 22:06:05 +0000 (22:06 +0000)]
checking initscripts syntax error.  fixed.

16 years agoI clearly misunderstood how we were configured /etc/hosts before; reverting to settin...
Marc Fiuczynski [Fri, 25 Jan 2008 21:04:16 +0000 (21:04 +0000)]
I clearly misunderstood how we were configured /etc/hosts before; reverting to setting up /etc/hosts that resembles what we had before I started to muck around with it today

16 years agoDo not use resolv-file
Marc Fiuczynski [Fri, 25 Jan 2008 20:45:06 +0000 (20:45 +0000)]
Do not use resolv-file

16 years agoSimplify network file setup.
Marc Fiuczynski [Fri, 25 Jan 2008 20:43:36 +0000 (20:43 +0000)]
Simplify network file setup.

16 years agoList upstream servers in plc_resolv.conf, as resolv.conf points to the local host
Marc Fiuczynski [Fri, 25 Jan 2008 19:53:30 +0000 (19:53 +0000)]
List upstream servers in plc_resolv.conf, as resolv.conf points to the local host

16 years agoconfigure resolv.conf and hosts files for dnsmasq
Marc Fiuczynski [Fri, 25 Jan 2008 19:26:43 +0000 (19:26 +0000)]
configure resolv.conf and hosts files for dnsmasq

16 years agoGenerate hosts and resolv.conf files different depending on whether PLC_DNS_ENABLED=1.
Marc Fiuczynski [Fri, 25 Jan 2008 19:04:29 +0000 (19:04 +0000)]
Generate hosts and resolv.conf files different depending on whether PLC_DNS_ENABLED=1.

16 years agoDo not perform DNS service actions if PLC_DNS_ENABLED!=1
Marc Fiuczynski [Fri, 25 Jan 2008 19:03:48 +0000 (19:03 +0000)]
Do not perform DNS service actions if PLC_DNS_ENABLED!=1

16 years agofix another rsync related bug
Marc Fiuczynski [Fri, 25 Jan 2008 14:57:12 +0000 (14:57 +0000)]
fix another rsync related bug

16 years agofix if-then-else error
Marc Fiuczynski [Fri, 25 Jan 2008 14:42:09 +0000 (14:42 +0000)]
fix if-then-else error

16 years agoupdated USAGE output; fixed rsync invocation in restore command
Marc Fiuczynski [Fri, 25 Jan 2008 14:41:38 +0000 (14:41 +0000)]
updated USAGE output; fixed rsync invocation in restore command

16 years ago- checkpoint command requires a filename argument; before was optional
Marc Fiuczynski [Fri, 25 Jan 2008 13:56:21 +0000 (13:56 +0000)]
- checkpoint command requires a filename argument; before was optional
- restore command first restores the databases and then /etc/planetlab

16 years agoAbility to checkpoint and the restore a myplc configuration. This will checkpoint...
Marc Fiuczynski [Thu, 24 Jan 2008 23:14:04 +0000 (23:14 +0000)]
Ability to checkpoint and the restore a myplc configuration.  This will checkpoint the db state (both plc and drupal) as well as grab a copy of /etc/planetlab.  The resulting checkpoint file is then given tot he restore functionality, which updates the plc&drupal dbs with the data and copies over the checkpointed content of /etc/planetlab.  This *should* be enough to bring the state of an stopped plc over to another instance of plc.

16 years agocleanup - need to run createrepo on empty repo too, e.g. right after myplc install
Thierry Parmentelat [Thu, 24 Jan 2008 18:30:20 +0000 (18:30 +0000)]
cleanup - need to run createrepo on empty repo too, e.g. right after myplc install

16 years agochange docbook_html_to_drupal comment from onelab to pldistro
Marc Fiuczynski [Thu, 24 Jan 2008 15:15:53 +0000 (15:15 +0000)]
change docbook_html_to_drupal comment from onelab to pldistro

16 years agoChange cpu_min to cpu_pct to avoid name conflict with attributes affecting rlimits
Andy Bavier [Mon, 21 Jan 2008 19:38:50 +0000 (19:38 +0000)]
Change cpu_min to cpu_pct to avoid name conflict with attributes affecting rlimits

16 years agoadd bootstrapfs in Requires
Thierry Parmentelat [Fri, 18 Jan 2008 13:38:58 +0000 (13:38 +0000)]
add bootstrapfs in Requires

16 years agoChange cpu_min attribute description to 'CPU percent', reduce pl_sirius default cpu_m...
Andy Bavier [Wed, 16 Jan 2008 22:01:15 +0000 (22:01 +0000)]
Change cpu_min attribute description to 'CPU percent', reduce pl_sirius default cpu_min from 250 to 25

16 years agono need to alter sudoers for bootcustom anymore
Thierry Parmentelat [Wed, 16 Jan 2008 13:56:57 +0000 (13:56 +0000)]
no need to alter sudoers for bootcustom anymore

16 years agoI should have known this was needed. Neat trick.
Faiyaz Ahmed [Mon, 14 Jan 2008 22:19:16 +0000 (22:19 +0000)]
I should have known this was needed.  Neat trick.

16 years agoAdd sirius as system slice.
Faiyaz Ahmed [Mon, 14 Jan 2008 20:59:34 +0000 (20:59 +0000)]
Add sirius as system slice.

16 years ago--editor-cmd=emacs
Thierry Parmentelat [Mon, 14 Jan 2008 14:59:48 +0000 (14:59 +0000)]
--editor-cmd=emacs

16 years agoyum-arch is not supported on recent fedoras
Thierry Parmentelat [Thu, 10 Jan 2008 11:49:49 +0000 (11:49 +0000)]
yum-arch is not supported on recent fedoras

16 years agoattempt to generate correct yum.conf in myplc chroot
Thierry Parmentelat [Thu, 10 Jan 2008 11:36:13 +0000 (11:36 +0000)]
attempt to generate correct yum.conf in myplc chroot

16 years agomoving to 4.2 - no change
Thierry Parmentelat [Wed, 9 Jan 2008 10:04:14 +0000 (10:04 +0000)]
moving to 4.2 - no change

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

16 years agopl_conf is no longer used since the inclusion of NodeManager.
Faiyaz Ahmed [Thu, 3 Jan 2008 20:20:37 +0000 (20:20 +0000)]
pl_conf is no longer used since the inclusion of NodeManager.

16 years agoHousekeeping.
Faiyaz Ahmed [Thu, 3 Jan 2008 19:57:08 +0000 (19:57 +0000)]
Housekeeping.

16 years agoAdded bootstrap for the currently existing PCU types and Protocol types.
Stephen Soltesz [Tue, 18 Dec 2007 17:07:46 +0000 (17:07 +0000)]
Added bootstrap for the currently existing PCU types and Protocol types.

16 years agomissing dep
Thierry Parmentelat [Mon, 17 Dec 2007 15:35:07 +0000 (15:35 +0000)]
missing dep

16 years agofix the sync convenience target to push on python-2.5
Thierry Parmentelat [Thu, 13 Dec 2007 14:26:29 +0000 (14:26 +0000)]
fix the sync convenience target to push on python-2.5

16 years agocosmetic - fixes the labels in myplc yum.conf
Thierry Parmentelat [Wed, 12 Dec 2007 16:06:26 +0000 (16:06 +0000)]
cosmetic - fixes the labels in myplc yum.conf

16 years agorun with the steps command to get the sorted list of steps
Thierry Parmentelat [Wed, 12 Dec 2007 12:10:53 +0000 (12:10 +0000)]
run with the steps command to get the sorted list of steps

16 years agoDeprecating the pl_admin account.
Faiyaz Ahmed [Tue, 11 Dec 2007 19:32:21 +0000 (19:32 +0000)]
Deprecating the pl_admin account.

16 years agosyntax.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:57:15 +0000 (18:57 +0000)]
syntax.

16 years agokeyword.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:56:37 +0000 (18:56 +0000)]
keyword.

16 years agoAdded head url keyword.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:55:00 +0000 (18:55 +0000)]
Added head url keyword.

16 years agoRemove traces of old NM (3.3.x).
Faiyaz Ahmed [Tue, 11 Dec 2007 18:39:51 +0000 (18:39 +0000)]
Remove traces of old NM (3.3.x).

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

16 years ago(*) groups distro-dependent files in build/config.<distro>
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

16 years agocleanup old slices.xml-related stuff
Thierry Parmentelat [Wed, 5 Dec 2007 12:47:09 +0000 (12:47 +0000)]
cleanup old slices.xml-related stuff

16 years agouses /proc/self/fd rather than /dev/fd for native mode
Thierry Parmentelat [Wed, 5 Dec 2007 12:46:44 +0000 (12:46 +0000)]
uses /proc/self/fd rather than /dev/fd for native mode

16 years agoCheck */*.rpm for signing.
Faiyaz Ahmed [Mon, 3 Dec 2007 20:14:07 +0000 (20:14 +0000)]
Check */*.rpm for signing.

16 years agoRequire tar.
Daniel Hokka Zakrisson [Sat, 1 Dec 2007 00:09:11 +0000 (00:09 +0000)]
Require tar.

16 years agoattempts to handle plc_config install
Thierry Parmentelat [Fri, 30 Nov 2007 16:57:13 +0000 (16:57 +0000)]
attempts to handle plc_config install

16 years agocleanup devel files - see README-devel.txt
Thierry Parmentelat [Fri, 30 Nov 2007 11:26:40 +0000 (11:26 +0000)]
cleanup devel files - see README-devel.txt

16 years agoAdd a postcommand value for /etc/ipod.conf, to make the value take effect.
Stephen Soltesz [Thu, 29 Nov 2007 23:49:25 +0000 (23:49 +0000)]
Add a postcommand value for /etc/ipod.conf, to make the value take effect.

16 years agoInitialize the database correctly on F7+.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 21:45:48 +0000 (21:45 +0000)]
Initialize the database correctly on F7+.

16 years agoadded node count added to slice.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:26:06 +0000 (18:26 +0000)]
added node count added to slice.

16 years agoAdded Id keyword propset.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:21:31 +0000 (18:21 +0000)]
Added Id keyword propset.

16 years agopropset is a little diffrent.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:20:31 +0000 (18:20 +0000)]
propset is a little diffrent.

16 years agoone more test.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:19:38 +0000 (18:19 +0000)]
one more test.

16 years agotesting keyword propset
Faiyaz Ahmed [Thu, 29 Nov 2007 18:16:20 +0000 (18:16 +0000)]
testing keyword propset

16 years agofoo
Faiyaz Ahmed [Thu, 29 Nov 2007 18:12:45 +0000 (18:12 +0000)]
foo

16 years agoAdds new nodes to Sirius slice. Initial commit.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:08:28 +0000 (18:08 +0000)]
Adds new nodes to Sirius slice.  Initial commit.

16 years agominimal fix for building myplc-native
Thierry Parmentelat [Thu, 29 Nov 2007 15:08:42 +0000 (15:08 +0000)]
minimal fix for building myplc-native

16 years agobuild-prepared release file has moved one step up
Thierry Parmentelat [Thu, 29 Nov 2007 13:19:55 +0000 (13:19 +0000)]
build-prepared release file has moved one step up

16 years agodon't need syslinux explicitly, as it is required by BootCD
Marc Fiuczynski [Thu, 29 Nov 2007 06:30:52 +0000 (06:30 +0000)]
don't need syslinux explicitly, as it is required by BootCD

16 years agosyslinux used to come from BootCD package. Now need to explicitly install it to...
Marc Fiuczynski [Thu, 29 Nov 2007 05:55:19 +0000 (05:55 +0000)]
syslinux used to come from BootCD package.  Now need to explicitly install it to ensure we build proper bootcd images

16 years agoSorry. I didn't describe the variables very well before.
Stephen Soltesz [Wed, 28 Nov 2007 23:13:47 +0000 (23:13 +0000)]
Sorry.  I didn't describe the variables very well before.

16 years agoAdded two new variables for a quick fix for the config file.
Stephen Soltesz [Wed, 28 Nov 2007 23:02:59 +0000 (23:02 +0000)]
Added two new variables for a quick fix for the config file.

    PLC_API_IPOD_MASK
    PLC_API_IPOD_SUBNET

These specify the subnet of machines that can send ipod packets.  The mask is
the mask applied to packets at the host to verify that it matches the subnet.
So for instance, for PLC these are:

    PLC_API_IPOD_MASK=255.255.255.128
    PLC_API_IPOD_SUBNET=128.112.139.0

16 years agoadded renew_reminder.py to BINARIES
Tony Mack [Wed, 28 Nov 2007 22:34:48 +0000 (22:34 +0000)]
added renew_reminder.py to BINARIES

16 years agoSlice renewal notification script
Tony Mack [Wed, 28 Nov 2007 22:34:16 +0000 (22:34 +0000)]
Slice renewal notification script

16 years agoreview policy for building our pycurl/psycopg2 or not - based on fedora distrib
Thierry Parmentelat [Mon, 26 Nov 2007 12:48:22 +0000 (12:48 +0000)]
review policy for building our pycurl/psycopg2 or not - based on fedora distrib

16 years agomake it two
Thierry Parmentelat [Wed, 21 Nov 2007 12:32:29 +0000 (12:32 +0000)]
make it two

16 years agoI need a new brain
Thierry Parmentelat [Wed, 21 Nov 2007 12:30:23 +0000 (12:30 +0000)]
I need a new brain

16 years agofix needed
Thierry Parmentelat [Wed, 21 Nov 2007 12:25:47 +0000 (12:25 +0000)]
fix needed

16 years agoreplacing pldistro-fcdistro-*.lst with a pldistro-*.lst with variants embedded
Thierry Parmentelat [Wed, 21 Nov 2007 09:37:40 +0000 (09:37 +0000)]
replacing pldistro-fcdistro-*.lst with a pldistro-*.lst with variants embedded

16 years agoAdd configuration option to build all BootCD images (meaning cramfs-based ones).
Daniel Hokka Zakrisson [Tue, 20 Nov 2007 16:51:01 +0000 (16:51 +0000)]
Add configuration option to build all BootCD images (meaning cramfs-based ones).

16 years agomyplc needs bootstrapfs !
Thierry Parmentelat [Tue, 20 Nov 2007 08:16:06 +0000 (08:16 +0000)]
myplc needs bootstrapfs !

16 years agoreordered with comments
Thierry Parmentelat [Tue, 20 Nov 2007 08:15:39 +0000 (08:15 +0000)]
reordered with comments

16 years agocleaned up the deprecated comps section that is now replaced with .lst files
Thierry Parmentelat [Mon, 19 Nov 2007 23:53:18 +0000 (23:53 +0000)]
cleaned up the deprecated comps section that is now replaced with .lst files

16 years agocleaned up the deprecated comps section that is now replaced with .lst files
Thierry Parmentelat [Mon, 19 Nov 2007 23:51:42 +0000 (23:51 +0000)]
cleaned up the deprecated comps section that is now replaced with .lst files

16 years agomyplc image needs ssh for entering nodes
Thierry Parmentelat [Mon, 19 Nov 2007 15:48:34 +0000 (15:48 +0000)]
myplc image needs ssh for entering nodes

16 years agofixed yum.conf creation - was using obsolete vars
Thierry Parmentelat [Mon, 19 Nov 2007 10:50:31 +0000 (10:50 +0000)]
fixed yum.conf creation - was using obsolete vars

16 years agotry to sort out this list - added pycurl
Thierry Parmentelat [Mon, 19 Nov 2007 09:00:42 +0000 (09:00 +0000)]
try to sort out this list - added pycurl

16 years agoplcwww needs uppercase
Thierry Parmentelat [Mon, 19 Nov 2007 06:07:09 +0000 (06:07 +0000)]
plcwww needs uppercase

16 years agopropset - enables svn keywords
Thierry Parmentelat [Fri, 16 Nov 2007 16:59:01 +0000 (16:59 +0000)]
propset - enables svn keywords

16 years ago* tentative merge of onelab myplc
Thierry Parmentelat [Fri, 16 Nov 2007 15:14:21 +0000 (15:14 +0000)]
* tentative merge of onelab myplc
* configuration works a slightly different way, using plc-config-tty is recommended
* a few new convenience commands
* improved packaging (plcapi doc, yum.conf, sudoers)
* more robust for invoking service plc through ssh

16 years agocombine conditionals; I thought parseSpec was wrong, but it turns out that it was...
Marc Fiuczynski [Mon, 5 Nov 2007 18:25:49 +0000 (18:25 +0000)]
combine conditionals; I thought parseSpec was wrong, but it turns out that it was due to a syntax error on my part

16 years agoget rid of extra ) in %if conditional
Marc Fiuczynski [Mon, 5 Nov 2007 18:22:38 +0000 (18:22 +0000)]
get rid of extra ) in %if conditional

16 years agofix distroname conditional
Marc Fiuczynski [Mon, 5 Nov 2007 18:20:57 +0000 (18:20 +0000)]
fix distroname conditional

16 years agoparseSpec does not like complex %if statements
Marc Fiuczynski [Mon, 5 Nov 2007 17:38:34 +0000 (17:38 +0000)]
parseSpec does not like complex %if statements

16 years agoThis change set makes several modifications:
Marc Fiuczynski [Mon, 5 Nov 2007 16:51:15 +0000 (16:51 +0000)]
This change set makes several modifications:

1. it conditionally include certain "Requires" statements for specific
   distributions and their corresponding release.

2. it double checks that /sbin/new-kernel-pkg isn't linked to /sbin/true,
   as often is the case in vservers dueo the /etc/rpm/macros setup.

3. adds in 256 /dev/loop entries

4. turns off the "requirestty" option in /etc/sudoers

16 years agogeneralize to support distro and release for packages
Marc Fiuczynski [Fri, 26 Oct 2007 21:07:59 +0000 (21:07 +0000)]
generalize to support distro and release for packages

16 years agoinotify-devel-tools only exists in f7 and up as a standard package.
Marc Fiuczynski [Thu, 25 Oct 2007 03:39:08 +0000 (03:39 +0000)]
inotify-devel-tools only exists in f7 and up as a standard package.

16 years agoRename the rpm package name to be MyPLC-devel-native.
Marc Fiuczynski [Wed, 24 Oct 2007 13:29:56 +0000 (13:29 +0000)]
Rename the rpm package name to be MyPLC-devel-native.

16 years agoMake certain packages optional based on fedora release version.
Marc Fiuczynski [Wed, 24 Oct 2007 12:43:23 +0000 (12:43 +0000)]
Make certain packages optional based on fedora release version.

16 years agoRemove gen-sites-xml.py, gen-slices-xml-05.py, and
Marc Fiuczynski [Tue, 23 Oct 2007 18:30:58 +0000 (18:30 +0000)]
Remove gen-sites-xml.py, gen-slices-xml-05.py, and
gen-static-content.py from basic MyPLC build.  These are sepcific for
the public PlanetLab and do not need to be part of the basic MyPLC
build.

16 years agoChange pushd to use MyPLC rather than myplc, because we renamed the package.
Marc Fiuczynski [Tue, 23 Oct 2007 18:27:34 +0000 (18:27 +0000)]
Change pushd to use MyPLC rather than myplc, because we renamed the package.

16 years agoInclude graphviz for util-vserver. It uses the "dot" program.
Marc Fiuczynski [Tue, 23 Oct 2007 17:30:53 +0000 (17:30 +0000)]
Include graphviz for util-vserver.  It uses the "dot" program.

16 years agoBump version.
Marc Fiuczynski [Mon, 22 Oct 2007 17:14:28 +0000 (17:14 +0000)]
Bump version.

16 years agoMake uninstall scriptlet work.
Marc Fiuczynski [Mon, 22 Oct 2007 17:12:07 +0000 (17:12 +0000)]
Make uninstall scriptlet work.

16 years agoRemoved "install" and "metadata" from the Requires list. Not sure
Marc Fiuczynski [Mon, 22 Oct 2007 16:49:40 +0000 (16:49 +0000)]
Removed "install" and "metadata" from the Requires list.  Not sure
where those came from in the first place.

16 years agoChange svn -> subversion.
Marc Fiuczynski [Mon, 22 Oct 2007 16:47:07 +0000 (16:47 +0000)]
Change svn -> subversion.

16 years agoInclude ocaml et al. required by vsys. There were a few others listed
Marc Fiuczynski [Mon, 22 Oct 2007 16:33:19 +0000 (16:33 +0000)]
Include ocaml et al. required by vsys.  There were a few others listed
in plc_devel_config.xml that I've also added.