11 years ago* reviewed myplc doc and variables layout
Thierry Parmentelat [Wed, 7 May 2008 16:20:25 +0000]
* reviewed myplc doc and variables layout
* deprecated everything related to myplc-devel
* svn-removed intermediate files

11 years agooops
Thierry Parmentelat [Wed, 7 May 2008 04:20:25 +0000]

11 years agofix drupal generation
Thierry Parmentelat [Tue, 6 May 2008 19:58:23 +0000]
fix drupal generation

11 years agoVarious tweaks for myplc-native (not thoroughly tested yet) :
Thierry Parmentelat [Tue, 6 May 2008 16:52:45 +0000]
Various tweaks for myplc-native (not thoroughly tested yet) :
. doc packaging in myplc-native as well, for both myplc and plcapi
. default value for *_IP variables are now empty;
  should result in more accurate /etc/hosts and other config-generated files
. gethostbyname uses python rather than perl (hope this shrinks deps)
. make sync now works towards vserver-based myplc only

11 years agoTagging module MyPLC - MyPLC-4.2-9
Stephen Soltesz [Mon, 5 May 2008 20:49:03 +0000]
Tagging module MyPLC - MyPLC-4.2-9

added vsys 'pfmount' script to the default netflow slice attributes.

11 years agoAdd the necessary 'vsys' script attribute to the default <site>_netflow slice.
Stephen Soltesz [Mon, 5 May 2008 18:34:06 +0000]
Add the necessary 'vsys' script attribute to the default <site>_netflow slice.

11 years agoTagging module MyPLC - MyPLC-4.2-8
Thierry Parmentelat [Thu, 24 Apr 2008 17:06:50 +0000]
Tagging module MyPLC - MyPLC-4.2-8
plc.d/bootcd step altered for handling legacy bootcd smooth migration
to new bootcd packaging

11 years agoreview the legacy/compat code for bootcd-<nodefamily>
Thierry Parmentelat [Wed, 23 Apr 2008 14:44:41 +0000]
review the legacy/compat code for bootcd-<nodefamily>

11 years agoTagging module MyPLC - MyPLC-4.2-7
Thierry Parmentelat [Wed, 23 Apr 2008 08:21:42 +0000]
Tagging module MyPLC - MyPLC-4.2-7
changes needed for bootcd 4.2 : new, possible multiple, installation locations, and new rpm name

11 years agobootcd package has a new name
Thierry Parmentelat [Tue, 22 Apr 2008 19:07:09 +0000]
bootcd package has a new name

11 years agomulti-module change - first step towards multi-bootcd's myplc
Thierry Parmentelat [Tue, 22 Apr 2008 15:49:24 +0000]
multi-module change - first step towards multi-bootcd's myplc
packaging of bootcd has changed, now goes into
a symlink /usr/share/bootcd should get created
also /var/www/html/download moves to -<nodefamily> with a convenience symlink created

2nd step (remains to do): add option(s) to GetBootMedium to leverage this

11 years agoTagging module MyPLC - MyPLC-4.2-6
Thierry Parmentelat [Tue, 22 Apr 2008 10:32:32 +0000]
Tagging module MyPLC - MyPLC-4.2-6
packaging of mplc-release in myplc-native
sudoers.php is new to PlanetLabConf (needs nodeconfig-4.2-4)
resolv file in /etc/resolv.conf, not plc_resolv.conf
improved sirius script
remove the 'driver' node-network-setting that was unused, and new 'Multihome' category
expires more properly set

11 years agomore conventional notation for site and prefix as replaced by db-config
Thierry Parmentelat [Tue, 22 Apr 2008 09:43:31 +0000]
more conventional notation for site and prefix as replaced by db-config

11 years ago/etc/myplc-release packaged for myplc-native (needed for GetPlcRelease)
Thierry Parmentelat [Mon, 21 Apr 2008 16:40:03 +0000]
/etc/myplc-release packaged for myplc-native (needed for GetPlcRelease)

11 years agosys.maxint is 2^63-1 on 64-bit architectures, which is too large for an int.
Daniel Hokka Zakrisson [Sun, 13 Apr 2008 22:36:09 +0000]
sys.maxint is 2^63-1 on 64-bit architectures, which is too large for an int.

11 years agoAdded reference to new sudoers.php
Stephen Soltesz [Wed, 9 Apr 2008 16:54:34 +0000]
Added reference to new sudoers.php

11 years agounclear why this is set to plc_resolv.conf. moving it to resolv.conf seems to work.
Faiyaz Ahmed [Tue, 8 Apr 2008 21:45:26 +0000]
unclear why this is set to plc_resolv.conf.  moving it to resolv.conf seems to work.

11 years agofix slice prefix.
Faiyaz Ahmed [Mon, 7 Apr 2008 21:41:20 +0000]
fix slice prefix.

11 years agoTagging module MyPLC - MyPLC-4.2-5
Stephen Soltesz [Mon, 7 Apr 2008 20:40:19 +0000]
Tagging module MyPLC - MyPLC-4.2-5

11 years agoAdded code to generate the plc_config.py file for inside of myplc environment.
Stephen Soltesz [Mon, 7 Apr 2008 20:36:29 +0000]
Added code to generate the plc_config.py file for inside of myplc environment.
I hope this would be useful for addon scripts such as monitor or others.

11 years agoReplace site for sirius initscript.
Faiyaz Ahmed [Thu, 3 Apr 2008 18:37:03 +0000]
Replace site for sirius initscript.

11 years agofollow variable convention.
Faiyaz Ahmed [Thu, 27 Mar 2008 20:04:30 +0000]
follow variable convention.

11 years agoAdded planetflow configuration
Faiyaz Ahmed [Thu, 27 Mar 2008 20:02:27 +0000]
Added planetflow configuration

11 years agoTagging module MyPLC - MyPLC-4.2-4
Thierry Parmentelat [Wed, 26 Mar 2008 10:07:21 +0000]
Tagging module MyPLC - MyPLC-4.2-4
renew_reminder script moved to support-scripts/
gen-aliases script added in support-scripts/
sirius initscript moved to plc_sliceinitscripts (formerly inlined in db-config)
plc-map script : no javascript for googlemap anymore, see new plc-kml script instead
nodefamily-aware (creates legacy symlink /var/www/html/install-rpms/planetlab)
new native slice attributes 'capabilities', 'vsys' and 'codemux'
new setting 'Mom list address' for sending emails to a separate destination
starts rsyslogd/syslogd as appropriate
expects nodeconfig package (former PlanetLabConf/ dir from PLCWWW)
convenience generation of yum.conf in resulting image based on build/mirroring

11 years agofixed syntax error
Thierry Parmentelat [Tue, 25 Mar 2008 08:06:32 +0000]
fixed syntax error

11 years agoCoDemux attribute
Faiyaz Ahmed [Mon, 24 Mar 2008 20:41:41 +0000]
CoDemux attribute

11 years agoyum.conf created from build/mirroring
Thierry Parmentelat [Sat, 22 Mar 2008 16:29:22 +0000]
yum.conf created from build/mirroring

11 years ago* plc-kml.py has now a few options for setting marker icons
Thierry Parmentelat [Wed, 12 Mar 2008 12:32:33 +0000]
* plc-kml.py has now a few options for setting marker icons
* this required a tweak in plcsh, that did not handle the command line
    very nicely when invoking another script file.
it is now possible to
* write a script foo.py and mention in 1st line: #!/usr/bin/env plcsh
* invoke foo.py with options and args like this
$ foo.py [plcsh-options] -- foo-options and args
* rightly get foo.py's help by running
$ foo.py --help

this is still not perfect as I'd rather remove the need for the extra --
but it's already better than before

11 years agoname should not have hrefs + cosmetic
Thierry Parmentelat [Tue, 11 Mar 2008 23:16:35 +0000]
name should not have hrefs + cosmetic

11 years agogooglemap display via a kml file - see http://svn.planet-lab.org/wiki/GooglemapSetup
Thierry Parmentelat [Tue, 11 Mar 2008 22:51:33 +0000]
googlemap display via a kml file - see svn.planet-lab.org/wiki/GooglemapSetup

11 years agomyplc-native is not a binary package
Thierry Parmentelat [Mon, 10 Mar 2008 14:07:06 +0000]
myplc-native is not a binary package

11 years agoyet another fix
Thierry Parmentelat [Mon, 10 Mar 2008 13:15:50 +0000]
yet another fix

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 agoquick hack for using rsyslogd on fedora 8
Thierry Parmentelat [Fri, 7 Mar 2008 12:09:43 +0000]
quick hack for using rsyslogd on fedora 8

11 years agorpm byte compiles python files. removed extension in initscripts and added wildcard...
Faiyaz Ahmed [Thu, 6 Mar 2008 15:51:33 +0000]
rpm byte compiles python files.  removed extension in initscripts and added wildcard for support scripts.

11 years agorename so rpm doesn't byte compile before adding to package. db-config would install...
Faiyaz Ahmed [Thu, 6 Mar 2008 15:49:57 +0000]
rename so rpm doesn't byte compile before adding to package.  db-config would install the byte compiled copy as a seperate initscript and that's bad.

11 years agoadded support scripts and initscripts
Faiyaz Ahmed [Wed, 5 Mar 2008 19:51:35 +0000]
added support scripts and initscripts

11 years agosirius is now a system slice and part of db-config
Faiyaz Ahmed [Wed, 5 Mar 2008 19:31:53 +0000]
sirius is now a system slice and part of db-config

11 years agomkdir -p needed to make /etc
Faiyaz Ahmed [Wed, 5 Mar 2008 19:20:10 +0000]
mkdir -p needed to make /etc

11 years agoAdded list for cc'ing Mom messages
Faiyaz Ahmed [Wed, 5 Mar 2008 19:14:10 +0000]
Added list for cc'ing Mom messages

11 years agoNot sure how this native module is built, but I believe this works. Added initscript...
Faiyaz Ahmed [Wed, 5 Mar 2008 18:26:31 +0000]
Not sure how this native module is built, but I believe this works.  Added initscripts parsing and also added supplemental mail and dns support scripts.

11 years agooops. fixed path
Faiyaz Ahmed [Wed, 5 Mar 2008 16:57:57 +0000]
oops.  fixed path

11 years agoparsed by db-config. puts entry into default initscripts
Faiyaz Ahmed [Wed, 5 Mar 2008 01:51:05 +0000]
parsed by db-config.  puts entry into default initscripts

11 years agosupport for parsing etc/plc_sliceinitscripts to populate default initscripts
Faiyaz Ahmed [Wed, 5 Mar 2008 01:49:54 +0000]
support for parsing etc/plc_sliceinitscripts to populate default initscripts

11 years agoWalk plc_sliceinitscripts and add scripts to initscripts.
Faiyaz Ahmed [Wed, 5 Mar 2008 01:46:45 +0000]
Walk plc_sliceinitscripts and add scripts to initscripts.

11 years agoAdded 'capabilities' slice attr to default set of slice attrs.
Stephen Soltesz [Tue, 4 Mar 2008 22:26:17 +0000]
Added 'capabilities' slice attr to default set of slice attrs.

11 years agopostinstall for signing pkgs - noderepo requires myplc - using Provides: on the myplc...
Thierry Parmentelat [Tue, 4 Mar 2008 14:51:54 +0000]
postinstall for signing pkgs - noderepo requires myplc - using Provides: on the myplc* side

11 years agowrong use of install. fixed.
Faiyaz Ahmed [Thu, 28 Feb 2008 17:38:44 +0000]
wrong use of install.  fixed.

11 years agoPLC support scripts as part of myplc package.
Faiyaz Ahmed [Thu, 28 Feb 2008 17:31:23 +0000]
PLC support scripts as part of myplc package.

11 years agosvn keywords.
Faiyaz Ahmed [Thu, 28 Feb 2008 17:27:50 +0000]
svn keywords.

11 years agoMore relevant info if a release file is missing. Dont know what this does but it...
Faiyaz Ahmed [Thu, 28 Feb 2008 17:27:14 +0000]
More relevant info if a release file is missing.  Dont know what this does but it looked like it could be useful.

11 years agomoved to scripts/
Faiyaz Ahmed [Thu, 28 Feb 2008 15:25:59 +0000]
moved to scripts/

11 years agomail scripts.
Faiyaz Ahmed [Thu, 28 Feb 2008 15:25:16 +0000]
mail scripts.

11 years agoadd nodeconfig to the myplc root image
Thierry Parmentelat [Wed, 27 Feb 2008 14:28:25 +0000]
add nodeconfig to the myplc root image

11 years agoAdding vsys attribute.
Faiyaz Ahmed [Tue, 26 Feb 2008 16:00:55 +0000]
Adding vsys attribute.

11 years agomyplc-native, not myplc-devel
Thierry Parmentelat [Fri, 15 Feb 2008 08:17:23 +0000]
myplc-native, not myplc-devel

11 years agocolateral damage done by module-tag when multiple specfiles
Thierry Parmentelat [Fri, 15 Feb 2008 08:12:28 +0000]
colateral damage done by module-tag when multiple specfiles

11 years agoTagging module MyPLC - myplc-4.2-3
Thierry Parmentelat [Thu, 14 Feb 2008 15:03:30 +0000]
Tagging module MyPLC - myplc-4.2-3
refresh-peer.py removed (duplicate with PLCAPI)
plc.d/ scripts cleaned up
sirius initscript updated
slice auto renewal fixed

11 years agoWork around overflow when converting sys.maxint to a date value.
Andy Bavier [Tue, 12 Feb 2008 21:02:07 +0000]
Work around overflow when converting sys.maxint to a date value.

11 years agoFixed hardcoded slice prefix in sirius initscript
Andy Bavier [Fri, 8 Feb 2008 20:15:37 +0000]
Fixed hardcoded slice prefix in sirius initscript

11 years agoAdded noop mount|umount|mountstatus command for backwards compatibilty with various...
Marc Fiuczynski [Thu, 7 Feb 2008 17:04:56 +0000]
Added noop mount|umount|mountstatus command for backwards compatibilty with various scripts that have not been ported to check whether they are running within the native myplc environment

11 years agoupdated usage
Marc Fiuczynski [Thu, 7 Feb 2008 14:40:18 +0000]
updated usage

11 years ago- moved all dns related functionality to the plc.d/dns file
Marc Fiuczynski [Fri, 1 Feb 2008 21:04:36 +0000]
- moved all dns related functionality to the plc.d/dns file

- now backing up the contents of the orig /etc/hosts on myplc startup
  and reverting to that when stopping myplc.

11 years agoGeneralized logic for setting up /etc/resolv.conf and /etc/hosts
Marc Fiuczynski [Fri, 1 Feb 2008 21:03:12 +0000]
Generalized logic for setting up /etc/resolv.conf and /etc/hosts
depending on whether myplc has DNS enabled or not.

If PLC's DNS (dnsmasq) is enabled, then:

1) /etc/resolv.conf will point at the local host and
   /etc/plc_resolv.conf points either at:

  a) the plc-config-tty configured DNS servers, or
  b) the servers specific in the original /etc/resolv.conf

2) /etc/plc_hosts will contain a list of the currently configured
   nodes. (This needs to be fixed, as the set of nodes and their
   network settings can change).

If PLC's DNS (dnsmasq) is disabled, then /etc/resolv.conf will either :
  a) remain untouched if PLC_NET_DNS{1,2} are not specified, or
  b) be backed up to /etc/resolv_plc.backup and a new /etc/resolv.conf
     will be generated with the PLC_NET_DNS{1,2} servers configured by

11 years agodnsmasq now looks at /etc/plc_resolv.conf for its upstream dns
Marc Fiuczynski [Fri, 1 Feb 2008 20:51:06 +0000]
dnsmasq now looks at /etc/plc_resolv.conf for its upstream dns
servers.  These upstream servers either come from the original
/etc/resolv.conf or given data provided at plc-config-tty time
specifying the appropriate dns servers.

11 years agoadded stop and update usage
Marc Fiuczynski [Fri, 1 Feb 2008 16:30:01 +0000]
added stop and update usage

11 years agothis script now comes with PLCAPI
Thierry Parmentelat [Fri, 1 Feb 2008 09:07:15 +0000]
this script now comes with PLCAPI

11 years agoTagging module MyPLC -- from myplc-4.2-1 to myplc-4.2-2
Thierry Parmentelat [Thu, 31 Jan 2008 14:53:19 +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

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

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

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

11 years agoI clearly misunderstood how we were configured /etc/hosts before; reverting to settin...
Marc Fiuczynski [Fri, 25 Jan 2008 21:04:16 +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

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

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

11 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]
List upstream servers in plc_resolv.conf, as resolv.conf points to the local host

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

11 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]
Generate hosts and resolv.conf files different depending on whether PLC_DNS_ENABLED=1.

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

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

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

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

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

11 years agoAbility to checkpoint and the restore a myplc configuration. This will checkpoint...
Marc Fiuczynski [Thu, 24 Jan 2008 23:14:04 +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.

11 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]
cleanup - need to run createrepo on empty repo too, e.g. right after myplc install

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

11 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]
Change cpu_min to cpu_pct to avoid name conflict with attributes affecting rlimits

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

11 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]
Change cpu_min attribute description to 'CPU percent', reduce pl_sirius default cpu_min from 250 to 25

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

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

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

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

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

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

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

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

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

11 years agoHousekeeping.
Faiyaz Ahmed [Thu, 3 Jan 2008 19:57:08 +0000]

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

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