nodemanager.git
15 years agoTagging module NodeManager - NodeManager-1.7-31 NodeManager-1.7-31
Faiyaz Ahmed [Mon, 25 Aug 2008 20:46:16 +0000 (20:46 +0000)]
Tagging module NodeManager - NodeManager-1.7-31
Emails were only being sent of high bandwidth caps were being exceeded.  Fixed.

15 years agoTagging module NodeManager - NodeManager-1.7-31
Faiyaz Ahmed [Mon, 25 Aug 2008 20:46:11 +0000 (20:46 +0000)]
Tagging module NodeManager - NodeManager-1.7-31
Emails were only being sent of high bandwidth caps were being exceeded.  Fixed.

15 years agoEmails were only being sent if high bandwidth caps were exceeded. Fixed.
Faiyaz Ahmed [Mon, 25 Aug 2008 20:44:33 +0000 (20:44 +0000)]
Emails were only being sent if high bandwidth caps were exceeded.  Fixed.

15 years agoTagging module NodeManager - NodeManager-1.7-30
Faiyaz Ahmed [Thu, 21 Aug 2008 18:47:05 +0000 (18:47 +0000)]
Tagging module NodeManager - NodeManager-1.7-30
bwmon:  Only mention the limit the slice went over.  Not both it and the second limit.

15 years agobwmon: Fixed extra notification when 1 of 2 limits weren't exceeded.
Faiyaz Ahmed [Thu, 21 Aug 2008 16:43:29 +0000 (16:43 +0000)]
bwmon: Fixed extra notification when 1 of 2 limits weren't exceeded.

15 years agoTagging module NodeManager - NodeManager-1.7-29
Faiyaz Ahmed [Thu, 21 Aug 2008 02:46:14 +0000 (02:46 +0000)]
Tagging module NodeManager - NodeManager-1.7-29
Fixed KeyError in logging.

15 years agoFixed KeyError in logging
Faiyaz Ahmed [Thu, 21 Aug 2008 02:44:54 +0000 (02:44 +0000)]
Fixed KeyError in logging

15 years agoIf the kernel doesn't have support for fuse, exit nicely.
Daniel Hokka Zakrisson [Thu, 21 Aug 2008 01:23:24 +0000 (01:23 +0000)]
If the kernel doesn't have support for fuse, exit nicely.

15 years agoTagging module NodeManager - NodeManager-1.7-28
Faiyaz Ahmed [Wed, 20 Aug 2008 23:40:44 +0000 (23:40 +0000)]
Tagging module NodeManager - NodeManager-1.7-28
Fixed syntax error in notify function call.  Also fixed values in email message and logging.

15 years agoSyntax error in notify function call. Also fixed logging.
Faiyaz Ahmed [Wed, 20 Aug 2008 23:36:41 +0000 (23:36 +0000)]
Syntax error in notify function call.  Also fixed logging.

15 years agoTagging module NodeManager - NodeManager-1.7-27
Daniel Hokka Zakrisson [Sun, 17 Aug 2008 22:43:49 +0000 (22:43 +0000)]
Tagging module NodeManager - NodeManager-1.7-27
Fix the FUSE initscript.

15 years agoExpand the glob.
Daniel Hokka Zakrisson [Sun, 17 Aug 2008 22:40:53 +0000 (22:40 +0000)]
Expand the glob.

15 years agoTagging module NodeManager - NodeManager-1.7-26
Daniel Hokka Zakrisson [Sat, 16 Aug 2008 23:04:29 +0000 (23:04 +0000)]
Tagging module NodeManager - NodeManager-1.7-26
FUSE support.

15 years agofix build
Thierry Parmentelat [Thu, 14 Aug 2008 06:00:30 +0000 (06:00 +0000)]
fix build

15 years agoFUSE patch from Jeremy Stribling.
Daniel Hokka Zakrisson [Wed, 13 Aug 2008 15:42:13 +0000 (15:42 +0000)]
FUSE patch from Jeremy Stribling.

15 years agoTagging module NodeManager - NodeManager-1.7-25
Faiyaz Ahmed [Wed, 13 Aug 2008 14:34:45 +0000 (14:34 +0000)]
Tagging module NodeManager - NodeManager-1.7-25
Removed thread created for each sliver (!!!).
Slivers now spawned out of main thread.
This closes the Delegation bug and closes the recent rash of NM instabilities due to queue overflows. [ticket: 384]

15 years agoThreads with queues using global timers for throttling execution rates are a BAD...
Faiyaz Ahmed [Tue, 12 Aug 2008 19:02:59 +0000 (19:02 +0000)]
Threads with queues using global timers for throttling execution rates are a BAD IDEAsvn diff

15 years agoBound queue so they don't grow without bound.
Faiyaz Ahmed [Tue, 12 Aug 2008 03:36:45 +0000 (03:36 +0000)]
Bound queue so they don't grow without bound.

15 years agoTagging module NodeManager - NodeManager-1.7-24
Faiyaz Ahmed [Fri, 1 Aug 2008 18:35:25 +0000 (18:35 +0000)]
Tagging module NodeManager - NodeManager-1.7-24
* Update bandwidth related attributes on every NM sync.  Bwlimit will check if values have changed.
* Vsys supports local_ scripts and NM will disregard them.

15 years agoGet defaults from bwlimit. Also remove checks before issuing bwlimit commands. ...
Faiyaz Ahmed [Fri, 1 Aug 2008 18:29:05 +0000 (18:29 +0000)]
Get defaults from bwlimit.  Also remove checks before issuing bwlimit commands.  Bwlimit now checks running values before committing new ones.  This should fix the share/bwmin updates from Sirius loans.

15 years agoSupport for local_ scripts
Faiyaz Ahmed [Fri, 1 Aug 2008 16:36:28 +0000 (16:36 +0000)]
Support for local_ scripts

15 years agoTagging module NodeManager - NodeManager-1.7-23
Faiyaz Ahmed [Mon, 28 Jul 2008 20:13:21 +0000 (20:13 +0000)]
Tagging module NodeManager - NodeManager-1.7-23
After removing the fork() to the slice's uid when writing .ssh/authorized_keys, .ssh had the wrong owner/group.  Fixed.

15 years agoChown .ssh to user:slices. SSH will bail otherwise.
Faiyaz Ahmed [Mon, 28 Jul 2008 19:43:57 +0000 (19:43 +0000)]
Chown .ssh to user:slices.  SSH will bail otherwise.

15 years agoTagging module NodeManager - NodeManager-1.7-22
Faiyaz Ahmed [Sat, 26 Jul 2008 02:51:12 +0000 (02:51 +0000)]
Tagging module NodeManager - NodeManager-1.7-22
Small change.  Change uid to slice owner of authorized_keys.

15 years agoChange ownership of authorized_keys after writing
Faiyaz Ahmed [Sat, 26 Jul 2008 02:49:30 +0000 (02:49 +0000)]
Change ownership of authorized_keys after writing

15 years agoTagging module NodeManager - NodeManager-1.7-21
Faiyaz Ahmed [Wed, 23 Jul 2008 15:51:57 +0000 (15:51 +0000)]
Tagging module NodeManager - NodeManager-1.7-21
Slices with initscripts kept restarting.  Fixed.
Also removed unnecessary fork just to write .ssh/authorized keys for every slice.

15 years ago* Slices w/ initscripts were starting repeatedly because the flag that signals the...
Faiyaz Ahmed [Tue, 22 Jul 2008 22:32:01 +0000 (22:32 +0000)]
* Slices w/ initscripts were starting repeatedly because the flag that signals the initscript has not changed was being toggled after the fork().  Fixed.

15 years agowhy are we forking here? Removed fork just to write a file.
Faiyaz Ahmed [Tue, 22 Jul 2008 15:45:01 +0000 (15:45 +0000)]
why are we forking here?  Removed fork just to write a file.

15 years agoTagging module NodeManager - NodeManager-1.7-20
Faiyaz Ahmed [Tue, 15 Jul 2008 21:25:34 +0000 (21:25 +0000)]
Tagging module NodeManager - NodeManager-1.7-20

* Check slice is_running() every cycle.  If not, assume damaged and restart.

15 years agoAdded logging. Forgot to return anything; threads would blow up since test of is_ru...
Faiyaz Ahmed [Tue, 15 Jul 2008 21:10:56 +0000 (21:10 +0000)]
Added logging.  Forgot to return anything;  threads would blow up since test of is_runing would fail.

15 years agoAdd check to see if sliver is_running() during ensure_created. Previously, if the...
Faiyaz Ahmed [Mon, 14 Jul 2008 22:00:52 +0000 (22:00 +0000)]
Add check to see if sliver is_running() during ensure_created.  Previously, if the object existed in the database, it was assumed the sliver was running and the start() operation would ignore the record.  However, if a sliver is damaged, its best to query util-vserver to actually make sure the slice is indeed running.

15 years agoTagging module NodeManager - NodeManager-1.7-19
Daniel Hokka Zakrisson [Mon, 7 Jul 2008 16:22:57 +0000 (16:22 +0000)]
Tagging module NodeManager - NodeManager-1.7-19
chrooting is not thread-safe.

15 years agoUse the right variable.
Daniel Hokka Zakrisson [Mon, 7 Jul 2008 16:13:12 +0000 (16:13 +0000)]
Use the right variable.

15 years agochrooting is not thread-safe. Install the initscript before calling VServer.start...
Daniel Hokka Zakrisson [Mon, 7 Jul 2008 15:58:24 +0000 (15:58 +0000)]
chrooting is not thread-safe. Install the initscript before calling VServer.start instead, where we know we're the only thread running.

15 years agoTagging module NodeManager - NodeManager-1.7-18
Faiyaz Ahmed [Fri, 27 Jun 2008 17:32:13 +0000 (17:32 +0000)]
Tagging module NodeManager - NodeManager-1.7-18
Log disk init AFTER acquiring disk semaphore.

15 years agoPrint log only after global vdu semaphore is acquired. Misleading otherwise.
Faiyaz Ahmed [Fri, 27 Jun 2008 16:48:20 +0000 (16:48 +0000)]
Print log only after global vdu semaphore is acquired.  Misleading otherwise.

15 years agoTagging module NodeManager - NodeManager-1.7-17
Thierry Parmentelat [Wed, 25 Jun 2008 09:09:58 +0000 (09:09 +0000)]
Tagging module NodeManager - NodeManager-1.7-17
unconditionnally passes node_id and slicefamily to conf_file scripts
correctly set personality a sliver creation time (not yet used by util-vserver-pl though)

15 years agopasses slicefamily unconditionnaly, as for node_id
Thierry Parmentelat [Wed, 25 Jun 2008 08:55:42 +0000 (08:55 +0000)]
passes slicefamily unconditionnaly, as for node_id

15 years agoenable & fix keyword expansion
Thierry Parmentelat [Wed, 25 Jun 2008 08:49:22 +0000 (08:49 +0000)]
enable & fix keyword expansion

15 years agoconf_files has support for @SLICEFAMILY@ in sources
Thierry Parmentelat [Wed, 25 Jun 2008 08:17:57 +0000 (08:17 +0000)]
conf_files has support for @SLICEFAMILY@ in sources
new functions for reading node's arch, node_id and the like have moved in tools.py

15 years agocross-module change for 4.2
Thierry Parmentelat [Tue, 24 Jun 2008 16:12:40 +0000 (16:12 +0000)]
cross-module change for 4.2
- NodeManager/conf_files set node_id when invoking source URL
- nodeconfig/yum.conf.php : no functional change, but uses node_id to gather nodegroups and displays them in comments

15 years agoset personality for slivers with a different arch
Thierry Parmentelat [Tue, 24 Jun 2008 07:43:06 +0000 (07:43 +0000)]
set personality for slivers with a different arch

15 years agoTagging module NodeManager - NodeManager-1.7-16
Stephen Soltesz [Thu, 19 Jun 2008 19:13:58 +0000 (19:13 +0000)]
Tagging module NodeManager - NodeManager-1.7-16

enables a vsys slice attribute to end with 'a', 'c', or 'l' characters without
NM going bonkers.

15 years agoStupidest bug in history.
Stephen Soltesz [Thu, 19 Jun 2008 19:12:02 +0000 (19:12 +0000)]
Stupidest bug in history.

rstrip is a character oriented function, that nukes all characters in the
argument, therefore, an attribute named "comon_exec.acl" will strip all the
right most, 'a', 'c', 'l', and '.' characters.  The result is 'comon_exe' b/c
of the trailing 'c'.

Ugg.

15 years agoTagging module NodeManager - NodeManager-1.7-15
Stephen Soltesz [Wed, 18 Jun 2008 19:29:40 +0000 (19:29 +0000)]
Tagging module NodeManager - NodeManager-1.7-15

enable restart if vsys.conf changes also.

15 years agoalso set vsys to restart when the vsys.conf file is re-written.
Stephen Soltesz [Wed, 18 Jun 2008 19:01:11 +0000 (19:01 +0000)]
also set vsys to restart when the vsys.conf file is re-written.

this avoids the vsys update, which may wipe out the current /etc/vsys.conf
file, from keeping vsys dysfunctional forever.  Previously, vsys never would
have been restarted.

15 years agoTagging module NodeManager - NodeManager-1.7-14
Stephen Soltesz [Wed, 18 Jun 2008 17:31:10 +0000 (17:31 +0000)]
Tagging module NodeManager - NodeManager-1.7-14

the _restart flag for vsys was getting lost when looking across multiple
vservers.  adding the 'or' should preserve any 'True' returns from
createVsysDir()

15 years agothe _restart value was being reset when subsequent slices weren't yet created.
Stephen Soltesz [Wed, 18 Jun 2008 17:18:16 +0000 (17:18 +0000)]
the _restart value was being reset when subsequent slices weren't yet created.

the result was that vsys was not being restarted when it should be.

15 years agoTagging module NodeManager - NodeManager-1.7-13
Faiyaz Ahmed [Tue, 17 Jun 2008 20:09:58 +0000 (20:09 +0000)]
Tagging module NodeManager - NodeManager-1.7-13

Time out curl when no response for 90 seconds.

15 years agoTimeout curl in the event Apache (PLC side) opens the XMLRPC session, but returns...
Faiyaz Ahmed [Tue, 17 Jun 2008 18:47:22 +0000 (18:47 +0000)]
Timeout curl in the event Apache (PLC side) opens the XMLRPC session, but returns no data for specified timeout.

15 years agoTagging module NodeManager - NodeManager-1.7-12
Stephen Soltesz [Fri, 13 Jun 2008 22:03:34 +0000 (22:03 +0000)]
Tagging module NodeManager - NodeManager-1.7-12
Patch designed to work around the vsys-fail-to-restart problem with
non-existent directories, and the vuseradd-fail-to-work on directories that
do exist.

This patch will work in conjunction with the new vsys patch.

15 years agopatch to not create the /vservers/slicename/vsys directory until vuseradd has
Stephen Soltesz [Fri, 13 Jun 2008 21:57:42 +0000 (21:57 +0000)]
patch to not create the /vservers/slicename/vsys directory until vuseradd has
created /vservers/slicename, then report the difference so that vsys can be
restarted even if the configuration files have not been movidifed.

Restarting vsys will ensure that it re-reads the config file.  The preferred
long-term solution is for vsys to auto-read it's config files using the
same/similar inotify mechanism used on the pipes.

15 years agotaglevel on the 1.7-11 tag had remained 10 - also moving the trunk to 1.8-0 as 1...
Thierry Parmentelat [Mon, 9 Jun 2008 15:24:29 +0000 (15:24 +0000)]
taglevel on the 1.7-11 tag had remained 10 - also moving the trunk to 1.8-0 as 1.7 is confusing

15 years agoLog when talking to PLC.
Faiyaz Ahmed [Wed, 4 Jun 2008 20:43:00 +0000 (20:43 +0000)]
Log when talking to PLC.

15 years agoDon't wait for vserver to be running before starting vsys on slice.
Faiyaz Ahmed [Wed, 4 Jun 2008 20:10:54 +0000 (20:10 +0000)]
Don't wait for vserver to be running before starting vsys on slice.

15 years agoRemoved proper.
Faiyaz Ahmed [Wed, 4 Jun 2008 19:59:57 +0000 (19:59 +0000)]
Removed proper.

15 years agoTagging module NodeManager - NodeManager-1.7-10
Thierry Parmentelat [Wed, 14 May 2008 12:53:55 +0000 (12:53 +0000)]
Tagging module NodeManager - NodeManager-1.7-10
fixed doc build by locating locally installed DTDs at build-time

15 years agomerge changeset 9346 in the 4.2 branches
Thierry Parmentelat [Wed, 14 May 2008 12:25:29 +0000 (12:25 +0000)]
merge changeset 9346 in the 4.2 branches

15 years agoTagging module NodeManager - NodeManager-1.7-9
Faiyaz Ahmed [Fri, 9 May 2008 21:24:48 +0000 (21:24 +0000)]
Tagging module NodeManager - NodeManager-1.7-9
* Reverted vserver start to forking before VServer.start to avoid defunct procs.* House keeping in various places.

15 years ago* Avoids defunct procs
Faiyaz Ahmed [Fri, 9 May 2008 21:21:39 +0000 (21:21 +0000)]
* Avoids defunct procs
* generalized architecture vserver reference code.

15 years agoTagging module NodeManager - NodeManager-1.7-8
Thierry Parmentelat [Fri, 9 May 2008 11:42:13 +0000 (11:42 +0000)]
Tagging module NodeManager - NodeManager-1.7-8
merge changes for myplc-docs from trunk

15 years agonm branch : merge changesets 9269 and 9278
Thierry Parmentelat [Fri, 9 May 2008 11:40:34 +0000 (11:40 +0000)]
nm branch : merge changesets 9269 and 9278

16 years agoTagging module NodeManager - NodeManager-1.7-7
Faiyaz Ahmed [Wed, 16 Apr 2008 21:31:48 +0000 (21:31 +0000)]
Tagging module NodeManager - NodeManager-1.7-7

Set vcVHI_CONTEXT as slice_id for fprobe-ulog to mark packets with.

16 years agosetname as part of set_resources. Better than stupid sleep while part of start(...
Faiyaz Ahmed [Wed, 16 Apr 2008 21:26:57 +0000 (21:26 +0000)]
setname as part of set_resources.  Better than stupid sleep while part of start().  Called from VServer.__do_chcontext().

16 years agoSet name to slice_id during start.
Faiyaz Ahmed [Wed, 16 Apr 2008 20:49:51 +0000 (20:49 +0000)]
Set name to slice_id during start.
Removed extra fork during start.

16 years agoTagging module NodeManager - NodeManager-1.7-6
Faiyaz Ahmed [Wed, 9 Apr 2008 19:08:08 +0000 (19:08 +0000)]
Tagging module NodeManager - NodeManager-1.7-6

* Codemux will use PLC_API_HOST when PLC_PLANETFLOW_HOST isn't defined.

16 years agoBW limits and resources are handled by bwmon.py
Faiyaz Ahmed [Wed, 9 Apr 2008 19:01:02 +0000 (19:01 +0000)]
BW limits and resources are handled by bwmon.py

16 years agoUse API host when Planetflow host isn't defined.
Faiyaz Ahmed [Wed, 9 Apr 2008 19:00:48 +0000 (19:00 +0000)]
Use API host when Planetflow host isn't defined.

16 years agoTagging module NodeManager - NodeManager-1.7-5
Faiyaz Ahmed [Fri, 4 Apr 2008 20:00:49 +0000 (20:00 +0000)]
Tagging module NodeManager - NodeManager-1.7-5
* vdu limitting when NM restarts and slices are re-init'ed
* CoDemux config parser update.  Now tolerates spaces.

16 years agoFile locking isn't exclusive in the same process across threads. Switched to regular...
Faiyaz Ahmed [Fri, 4 Apr 2008 19:54:58 +0000 (19:54 +0000)]
File locking isn't exclusive in the same process across threads.  Switched to regular semaphores.  The assumption is sliver_vs.configure is called before Vserver.start(), which sets disk_usage_initialized.  The disk check should be skipped during start, so the lock won't carry over.  ...I hope.

16 years agoFix config file parsing. Blank lines were messing thigns up.
Faiyaz Ahmed [Thu, 3 Apr 2008 22:15:41 +0000 (22:15 +0000)]
Fix config file parsing.  Blank lines were messing thigns up.

16 years agoFixed api deliver_ticket bug.
Faiyaz Ahmed [Wed, 2 Apr 2008 21:15:36 +0000 (21:15 +0000)]
Fixed api deliver_ticket bug.

16 years agoUpdated changelog
Faiyaz Ahmed [Wed, 2 Apr 2008 21:13:21 +0000 (21:13 +0000)]
Updated changelog

16 years agoAdded support for multiple host -> same slice mappings
Faiyaz Ahmed [Wed, 2 Apr 2008 19:14:09 +0000 (19:14 +0000)]
Added support for multiple host -> same slice mappings

16 years agoBump revision.
Faiyaz Ahmed [Tue, 1 Apr 2008 21:47:59 +0000 (21:47 +0000)]
Bump revision.

16 years agoSyntax error when writing config file
Faiyaz Ahmed [Tue, 1 Apr 2008 21:39:50 +0000 (21:39 +0000)]
Syntax error when writing config file

16 years agoupdated changelog.
Faiyaz Ahmed [Fri, 28 Mar 2008 19:18:26 +0000 (19:18 +0000)]
updated changelog.

16 years agoBump versions
Faiyaz Ahmed [Fri, 28 Mar 2008 17:50:54 +0000 (17:50 +0000)]
Bump versions

16 years agoLatest branch.
Faiyaz Ahmed [Fri, 28 Mar 2008 17:20:11 +0000 (17:20 +0000)]
Latest branch.

16 years agoget config from file.
Faiyaz Ahmed [Thu, 27 Mar 2008 20:34:26 +0000 (20:34 +0000)]
get config from file.

16 years agosort domain name. lower order domains should be first.
Faiyaz Ahmed [Thu, 27 Mar 2008 19:17:51 +0000 (19:17 +0000)]
sort domain name.  lower order domains should be first.

16 years agoroot slice needs to come first. Also, emtpy conf file now handled correctly.
Faiyaz Ahmed [Tue, 25 Mar 2008 19:21:16 +0000 (19:21 +0000)]
root slice needs to come first.  Also, emtpy conf file now handled correctly.

16 years ago* Checks for zombied pids during restart
Faiyaz Ahmed [Tue, 25 Mar 2008 17:35:01 +0000 (17:35 +0000)]
*  Checks for zombied pids during restart
*  Fixed toggling of instantiated slices.

16 years agoadd carriage return to lines
Faiyaz Ahmed [Mon, 24 Mar 2008 21:41:20 +0000 (21:41 +0000)]
add carriage return to lines

16 years agoAdded codemux
Faiyaz Ahmed [Mon, 24 Mar 2008 21:30:00 +0000 (21:30 +0000)]
Added codemux

16 years ago* Now callback in NM by default
Faiyaz Ahmed [Mon, 24 Mar 2008 21:29:32 +0000 (21:29 +0000)]
* Now callback in NM by default
* Clean up after slice is removed

16 years agopath fix.
Faiyaz Ahmed [Mon, 24 Mar 2008 21:00:32 +0000 (21:00 +0000)]
path fix.

16 years agoInitial Commit.
Faiyaz Ahmed [Mon, 24 Mar 2008 20:00:59 +0000 (20:00 +0000)]
Initial Commit.

16 years agoInitial commit.
Faiyaz Ahmed [Mon, 24 Mar 2008 19:50:38 +0000 (19:50 +0000)]
Initial commit.

16 years agomultiple slice falvours - second iteration
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

16 years agofixed a couple remaining issues, seems to work
Thierry Parmentelat [Fri, 21 Mar 2008 21:09:39 +0000 (21:09 +0000)]
fixed a couple remaining issues, seems to work

16 years agofixed syntax error
Thierry Parmentelat [Fri, 21 Mar 2008 20:55:48 +0000 (20:55 +0000)]
fixed syntax error

16 years agoCheck to see if slice is running first before creating /vsys directory.
Faiyaz Ahmed [Fri, 21 Mar 2008 18:27:10 +0000 (18:27 +0000)]
Check to see if slice is running first before creating /vsys directory.

16 years agosupport for multiple slice reference images
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

16 years agoBug fix for caching dead slices.
Faiyaz Ahmed [Fri, 7 Mar 2008 22:24:31 +0000 (22:24 +0000)]
Bug fix for caching dead slices.

16 years agoLess noisey logging. Also uses LOG_LEVEL now.
Faiyaz Ahmed [Fri, 7 Mar 2008 20:34:59 +0000 (20:34 +0000)]
Less noisey logging.  Also uses LOG_LEVEL now.

16 years agofixed deletion logic. ..this is sloppy but it works. Also fixed network shares.
Faiyaz Ahmed [Thu, 6 Mar 2008 22:06:13 +0000 (22:06 +0000)]
fixed deletion logic.  ..this is sloppy but it works.  Also fixed network shares.

16 years agoto support pl_mom list emails instead of mails to support
Faiyaz Ahmed [Thu, 6 Mar 2008 16:01:56 +0000 (16:01 +0000)]
to support pl_mom list emails instead of mails to support

16 years agosimple patch for redirecting pl-mom notification to the right mailing list
John Doe [Wed, 5 Mar 2008 09:43:05 +0000 (09:43 +0000)]
simple patch for redirecting pl-mom notification to the right mailing list

16 years agoAdded code to reduce duplicate entries in /etc/vsys.conf; this will help play
Stephen Soltesz [Tue, 4 Mar 2008 19:26:17 +0000 (19:26 +0000)]
Added code to reduce duplicate entries in /etc/vsys.conf; this will help play
more nicely with vsys.