Faiyaz Ahmed [Wed, 5 Mar 2008 19:20:10 +0000 (19:20 +0000)]
mkdir -p needed to make /etc
Faiyaz Ahmed [Wed, 5 Mar 2008 19:14:10 +0000 (19:14 +0000)]
Added list for cc'ing Mom messages
Faiyaz Ahmed [Wed, 5 Mar 2008 18:26:31 +0000 (18:26 +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.
Faiyaz Ahmed [Wed, 5 Mar 2008 16:57:57 +0000 (16:57 +0000)]
oops. fixed path
Faiyaz Ahmed [Wed, 5 Mar 2008 01:51:05 +0000 (01:51 +0000)]
parsed by db-config. puts entry into default initscripts
Faiyaz Ahmed [Wed, 5 Mar 2008 01:49:54 +0000 (01:49 +0000)]
support for parsing etc/plc_sliceinitscripts to populate default initscripts
Faiyaz Ahmed [Wed, 5 Mar 2008 01:46:45 +0000 (01:46 +0000)]
Walk plc_sliceinitscripts and add scripts to initscripts.
Stephen Soltesz [Tue, 4 Mar 2008 22:26:17 +0000 (22:26 +0000)]
Added 'capabilities' slice attr to default set of slice attrs.
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
Faiyaz Ahmed [Thu, 28 Feb 2008 17:38:44 +0000 (17:38 +0000)]
wrong use of install. fixed.
Faiyaz Ahmed [Thu, 28 Feb 2008 17:31:23 +0000 (17:31 +0000)]
PLC support scripts as part of myplc package.
Faiyaz Ahmed [Thu, 28 Feb 2008 17:27:50 +0000 (17:27 +0000)]
svn keywords.
Faiyaz Ahmed [Thu, 28 Feb 2008 17:27:14 +0000 (17:27 +0000)]
More relevant info if a release file is missing. Dont know what this does but it looked like it could be useful.
Faiyaz Ahmed [Thu, 28 Feb 2008 15:25:59 +0000 (15:25 +0000)]
moved to scripts/
Faiyaz Ahmed [Thu, 28 Feb 2008 15:25:16 +0000 (15:25 +0000)]
mail scripts.
Thierry Parmentelat [Wed, 27 Feb 2008 14:28:25 +0000 (14:28 +0000)]
add nodeconfig to the myplc root image
Faiyaz Ahmed [Tue, 26 Feb 2008 16:00:55 +0000 (16:00 +0000)]
Adding vsys attribute.
Thierry Parmentelat [Fri, 15 Feb 2008 08:17:23 +0000 (08:17 +0000)]
myplc-native, not myplc-devel
Thierry Parmentelat [Fri, 15 Feb 2008 08:12:28 +0000 (08:12 +0000)]
colateral damage done by module-tag when multiple specfiles
Thierry Parmentelat [Thu, 14 Feb 2008 15:03:30 +0000 (15:03 +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
Andy Bavier [Tue, 12 Feb 2008 21:02:07 +0000 (21:02 +0000)]
Work around overflow when converting sys.maxint to a date value.
Andy Bavier [Fri, 8 Feb 2008 20:15:37 +0000 (20:15 +0000)]
Fixed hardcoded slice prefix in sirius initscript
Marc Fiuczynski [Thu, 7 Feb 2008 17:04:56 +0000 (17:04 +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
Marc Fiuczynski [Thu, 7 Feb 2008 14:40:18 +0000 (14:40 +0000)]
updated usage
Marc Fiuczynski [Fri, 1 Feb 2008 21:04:36 +0000 (21:04 +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.
Marc Fiuczynski [Fri, 1 Feb 2008 21:03:12 +0000 (21:03 +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
plc-config-tty
Marc Fiuczynski [Fri, 1 Feb 2008 20:51:06 +0000 (20:51 +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.
Marc Fiuczynski [Fri, 1 Feb 2008 16:30:01 +0000 (16:30 +0000)]
added stop and update usage
Thierry Parmentelat [Fri, 1 Feb 2008 09:07:15 +0000 (09:07 +0000)]
this script now comes with PLCAPI
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
Thierry Parmentelat [Thu, 31 Jan 2008 14:42:05 +0000 (14:42 +0000)]
fixed typo
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
Faiyaz Ahmed [Tue, 29 Jan 2008 22:06:05 +0000 (22:06 +0000)]
checking initscripts syntax error. fixed.
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
Marc Fiuczynski [Fri, 25 Jan 2008 20:45:06 +0000 (20:45 +0000)]
Do not use resolv-file
Marc Fiuczynski [Fri, 25 Jan 2008 20:43:36 +0000 (20:43 +0000)]
Simplify network file setup.
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
Marc Fiuczynski [Fri, 25 Jan 2008 19:26:43 +0000 (19:26 +0000)]
configure resolv.conf and hosts files for dnsmasq
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.
Marc Fiuczynski [Fri, 25 Jan 2008 19:03:48 +0000 (19:03 +0000)]
Do not perform DNS service actions if PLC_DNS_ENABLED!=1
Marc Fiuczynski [Fri, 25 Jan 2008 14:57:12 +0000 (14:57 +0000)]
fix another rsync related bug
Marc Fiuczynski [Fri, 25 Jan 2008 14:42:09 +0000 (14:42 +0000)]
fix if-then-else error
Marc Fiuczynski [Fri, 25 Jan 2008 14:41:38 +0000 (14:41 +0000)]
updated USAGE output; fixed rsync invocation in restore command
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
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.
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
Marc Fiuczynski [Thu, 24 Jan 2008 15:15:53 +0000 (15:15 +0000)]
change docbook_html_to_drupal comment from onelab to pldistro
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
Thierry Parmentelat [Fri, 18 Jan 2008 13:38:58 +0000 (13:38 +0000)]
add bootstrapfs in Requires
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
Thierry Parmentelat [Wed, 16 Jan 2008 13:56:57 +0000 (13:56 +0000)]
no need to alter sudoers for bootcustom anymore
Faiyaz Ahmed [Mon, 14 Jan 2008 22:19:16 +0000 (22:19 +0000)]
I should have known this was needed. Neat trick.
Faiyaz Ahmed [Mon, 14 Jan 2008 20:59:34 +0000 (20:59 +0000)]
Add sirius as system slice.
Thierry Parmentelat [Mon, 14 Jan 2008 14:59:48 +0000 (14:59 +0000)]
--editor-cmd=emacs
Thierry Parmentelat [Thu, 10 Jan 2008 11:49:49 +0000 (11:49 +0000)]
yum-arch is not supported on recent fedoras
Thierry Parmentelat [Thu, 10 Jan 2008 11:36:13 +0000 (11:36 +0000)]
attempt to generate correct yum.conf in myplc chroot
Thierry Parmentelat [Wed, 9 Jan 2008 10:04:14 +0000 (10:04 +0000)]
moving to 4.2 - no change
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}
Faiyaz Ahmed [Thu, 3 Jan 2008 20:20:37 +0000 (20:20 +0000)]
pl_conf is no longer used since the inclusion of NodeManager.
Faiyaz Ahmed [Thu, 3 Jan 2008 19:57:08 +0000 (19:57 +0000)]
Housekeeping.
Stephen Soltesz [Tue, 18 Dec 2007 17:07:46 +0000 (17:07 +0000)]
Added bootstrap for the currently existing PCU types and Protocol types.
Thierry Parmentelat [Mon, 17 Dec 2007 15:35:07 +0000 (15:35 +0000)]
missing dep
Thierry Parmentelat [Thu, 13 Dec 2007 14:26:29 +0000 (14:26 +0000)]
fix the sync convenience target to push on python-2.5
Thierry Parmentelat [Wed, 12 Dec 2007 16:06:26 +0000 (16:06 +0000)]
cosmetic - fixes the labels in myplc yum.conf
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
Faiyaz Ahmed [Tue, 11 Dec 2007 19:32:21 +0000 (19:32 +0000)]
Deprecating the pl_admin account.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:57:15 +0000 (18:57 +0000)]
syntax.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:56:37 +0000 (18:56 +0000)]
keyword.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:55:00 +0000 (18:55 +0000)]
Added head url keyword.
Faiyaz Ahmed [Tue, 11 Dec 2007 18:39:51 +0000 (18:39 +0000)]
Remove traces of old NM (3.3.x).
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000 (12:31 +0000)]
cleaning up the root creation functions and build.common - untested
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
Thierry Parmentelat [Wed, 5 Dec 2007 12:47:09 +0000 (12:47 +0000)]
cleanup old slices.xml-related stuff
Thierry Parmentelat [Wed, 5 Dec 2007 12:46:44 +0000 (12:46 +0000)]
uses /proc/self/fd rather than /dev/fd for native mode
Faiyaz Ahmed [Mon, 3 Dec 2007 20:14:07 +0000 (20:14 +0000)]
Check */*.rpm for signing.
Daniel Hokka Zakrisson [Sat, 1 Dec 2007 00:09:11 +0000 (00:09 +0000)]
Require tar.
Thierry Parmentelat [Fri, 30 Nov 2007 16:57:13 +0000 (16:57 +0000)]
attempts to handle plc_config install
Thierry Parmentelat [Fri, 30 Nov 2007 11:26:40 +0000 (11:26 +0000)]
cleanup devel files - see README-devel.txt
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.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 21:45:48 +0000 (21:45 +0000)]
Initialize the database correctly on F7+.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:26:06 +0000 (18:26 +0000)]
added node count added to slice.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:21:31 +0000 (18:21 +0000)]
Added Id keyword propset.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:20:31 +0000 (18:20 +0000)]
propset is a little diffrent.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:19:38 +0000 (18:19 +0000)]
one more test.
Faiyaz Ahmed [Thu, 29 Nov 2007 18:16:20 +0000 (18:16 +0000)]
testing keyword propset
Faiyaz Ahmed [Thu, 29 Nov 2007 18:12:45 +0000 (18:12 +0000)]
foo
Faiyaz Ahmed [Thu, 29 Nov 2007 18:08:28 +0000 (18:08 +0000)]
Adds new nodes to Sirius slice. Initial commit.
Thierry Parmentelat [Thu, 29 Nov 2007 15:08:42 +0000 (15:08 +0000)]
minimal fix for building myplc-native
Thierry Parmentelat [Thu, 29 Nov 2007 13:19:55 +0000 (13:19 +0000)]
build-prepared release file has moved one step up
Marc Fiuczynski [Thu, 29 Nov 2007 06:30:52 +0000 (06:30 +0000)]
don't need syslinux explicitly, as it is required by BootCD
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
Stephen Soltesz [Wed, 28 Nov 2007 23:13:47 +0000 (23:13 +0000)]
Sorry. I didn't describe the variables very well before.
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
Tony Mack [Wed, 28 Nov 2007 22:34:48 +0000 (22:34 +0000)]
added renew_reminder.py to BINARIES
Tony Mack [Wed, 28 Nov 2007 22:34:16 +0000 (22:34 +0000)]
Slice renewal notification script
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
Thierry Parmentelat [Wed, 21 Nov 2007 12:32:29 +0000 (12:32 +0000)]
make it two
Thierry Parmentelat [Wed, 21 Nov 2007 12:30:23 +0000 (12:30 +0000)]
I need a new brain
Thierry Parmentelat [Wed, 21 Nov 2007 12:25:47 +0000 (12:25 +0000)]
fix needed
Thierry Parmentelat [Wed, 21 Nov 2007 09:37:40 +0000 (09:37 +0000)]
replacing pldistro-fcdistro-*.lst with a pldistro-*.lst with variants embedded