Thierry Parmentelat [Wed, 13 Jan 2010 16:52:45 +0000 (16:52 +0000)]
first draft of a deployment-friendly bootmanager
attempt to make some sense of the various locations used
move the nodeconfig script, as well as the plc.d script,
into bootmanager, where it belongs
Thierry Parmentelat [Sat, 9 Jan 2010 07:25:24 +0000 (07:25 +0000)]
Setting tag MyPLC-4.3-37
support for fedora 12
new package myplc-config for use by sfa
drupal user registration turned off
Thierry Parmentelat [Fri, 8 Jan 2010 12:11:09 +0000 (12:11 +0000)]
turn off native drupal user registration upon service plc (re)start
Barış Metin [Thu, 7 Jan 2010 16:40:30 +0000 (16:40 +0000)]
on >=f10, cronie privides crond
Thierry Parmentelat [Wed, 6 Jan 2010 13:07:45 +0000 (13:07 +0000)]
iron out non-relevant error messages
Thierry Parmentelat [Wed, 6 Jan 2010 06:43:40 +0000 (06:43 +0000)]
for f12
Barış Metin [Tue, 5 Jan 2010 19:17:36 +0000 (19:17 +0000)]
cosmetic, remove unused vars.
Barış Metin [Tue, 5 Jan 2010 09:33:21 +0000 (09:33 +0000)]
remove the postinstall and compute python site-packages path to install python module at build time.
Thierry Parmentelat [Tue, 5 Jan 2010 08:52:48 +0000 (08:52 +0000)]
R really does service <> reload as advertised
Thierry Parmentelat [Tue, 5 Jan 2010 08:21:39 +0000 (08:21 +0000)]
cosmetic
Thierry Parmentelat [Tue, 5 Jan 2010 08:21:16 +0000 (08:21 +0000)]
plc-config belongs in the -config package
Thierry Parmentelat [Tue, 5 Jan 2010 08:20:37 +0000 (08:20 +0000)]
lingering changes
Barış Metin [Mon, 4 Jan 2010 17:26:35 +0000 (17:26 +0000)]
pack plc_config.py separately to re-use it in sfa-config-tty.
Marc Fiuczynski [Thu, 31 Dec 2009 15:03:11 +0000 (15:03 +0000)]
Setting tag MyPLC-4.3-36
- fix to make sure when API, BOOT, MONITOR are on the same
machine as WWW that the SSL key,cert for WWW takes precedence.
- Do proper setup for SSL CA certficate to be used as the server
chain.
Daniel Hokka Zakrisson [Mon, 28 Dec 2009 16:21:42 +0000 (16:21 +0000)]
If a real certificate is used and it is not issued by a root CA, a
SSLCertificateChainFile must be used containing all the CAs leading down to the
certificate.
Marc Fiuczynski [Mon, 28 Dec 2009 15:49:51 +0000 (15:49 +0000)]
By convention if API, BOOT, MONITOR, and WWW are all operating on the
same machine then the WWW ssl keys/certificates take precedence.
Marc Fiuczynski [Wed, 23 Dec 2009 16:52:44 +0000 (16:52 +0000)]
Setting tag MyPLC-4.3-35
- Change sysctl.conf source to be PlanetLabConfsysctl.con rather than the php script.
Barış Metin [Wed, 23 Dec 2009 16:42:34 +0000 (16:42 +0000)]
fix syntax error. nightly test shall pass now (at least for f8 builds).
Marc Fiuczynski [Wed, 23 Dec 2009 15:37:08 +0000 (15:37 +0000)]
switch from php script to a static sysctl.conf file
Barış Metin [Tue, 22 Dec 2009 17:17:19 +0000 (17:17 +0000)]
Setting tag MyPLC-4.3-34
depend on pcucontrol
Barış Metin [Tue, 22 Dec 2009 12:15:27 +0000 (12:15 +0000)]
require pcucontrol
Barış Metin [Mon, 21 Dec 2009 09:33:35 +0000 (09:33 +0000)]
depend to monitor-server for pcucontrol
Barış Metin [Fri, 18 Dec 2009 17:38:53 +0000 (17:38 +0000)]
Setting tag MyPLC-4.3-33
* validate input according to type in plc_config
* added the _genicw system slice
* add tag types for sites and persons
* add new tags for nodes and slices for exemption from myops
Tony Mack [Wed, 16 Dec 2009 18:17:38 +0000 (18:17 +0000)]
added the _genicw system slice
Tony Mack [Tue, 15 Dec 2009 03:27:12 +0000 (03:27 +0000)]
updated source for /etc/sfa/sfa_config
Tony Mack [Tue, 15 Dec 2009 01:49:41 +0000 (01:49 +0000)]
added config file for sfa component manager
Barış Metin [Mon, 14 Dec 2009 10:19:56 +0000 (10:19 +0000)]
copy the fixed email regex from PLCAPI.
Barış Metin [Fri, 11 Dec 2009 14:11:18 +0000 (14:11 +0000)]
validate variable types. (for now only have email and ip (v4) validators)
Stephen Soltesz [Mon, 7 Dec 2009 21:34:27 +0000 (21:34 +0000)]
add tag types for sites and persons
add new tags for nodes and slices for exemption from myops
Marc Fiuczynski [Fri, 4 Dec 2009 03:26:25 +0000 (03:26 +0000)]
only add apache to trusted-users file if its not already in there
Tony Mack [Wed, 2 Dec 2009 22:31:22 +0000 (22:31 +0000)]
changed the min_role_id for the 'initscript' tag type from 10 (admin) to 30 (user)
Thierry Parmentelat [Thu, 26 Nov 2009 11:11:08 +0000 (11:11 +0000)]
Setting tag MyPLC-4.3-32
turn off drupal on a box that acts as BOOT server but not as WWW server
cleanup some obsolete code for old chroot-jail packaging in the process
new bootcd-kernel script for keeping bootcd variants up2date
Daniel Hokka Zakrisson [Fri, 20 Nov 2009 12:12:07 +0000 (12:12 +0000)]
Add bootcd variants script.
Thierry Parmentelat [Tue, 17 Nov 2009 10:19:15 +0000 (10:19 +0000)]
have turned off post-commit temporarily, just checking if that makes any difference
Thierry Parmentelat [Tue, 17 Nov 2009 10:10:15 +0000 (10:10 +0000)]
cleanup code for old chroot jail and deprecated /data area - turn drupal down when WWW not enabled
Daniel Hokka Zakrisson [Mon, 9 Nov 2009 02:39:48 +0000 (02:39 +0000)]
Setting tag MyPLC-4.3-31
Make the /etc/hosts manipulation optional.
Daniel Hokka Zakrisson [Mon, 9 Nov 2009 01:42:34 +0000 (01:42 +0000)]
Use the new variable.
Daniel Hokka Zakrisson [Mon, 9 Nov 2009 01:21:22 +0000 (01:21 +0000)]
Move /etc/hosts to a new category.
Daniel Hokka Zakrisson [Mon, 9 Nov 2009 01:13:25 +0000 (01:13 +0000)]
Make the network script disableable if manual setup of /etc/hosts is required.
Daniel Hokka Zakrisson [Thu, 5 Nov 2009 20:38:47 +0000 (20:38 +0000)]
Setting tag MyPLC-4.3-30
Fix SetRole.
Daniel Hokka Zakrisson [Thu, 5 Nov 2009 02:33:15 +0000 (02:33 +0000)]
Fix SetRole.
Marc Fiuczynski [Tue, 3 Nov 2009 21:19:17 +0000 (21:19 +0000)]
Setting tag MyPLC-4.3-29
- Added "SetRole()" so that db-config.d/ scriplets can insert roles
into the DB.
- Added the root ssh key handling support back into plc.d/ssh and the
default xml file. This should be identical to the way it was in
rc12.
- Added support in the db-config.d/01-init script to register the root
ssh public key with the default administrator. In this way the root
ssh key will make it into the root account on the nodes by means of
NodeManager's specialaccounts plugin.
Marc Fiuczynski [Tue, 3 Nov 2009 20:05:23 +0000 (20:05 +0000)]
added SetRole() logic
Marc Fiuczynski [Tue, 3 Nov 2009 18:05:27 +0000 (18:05 +0000)]
forgot 'keyfile' argument to print
Marc Fiuczynski [Sat, 24 Oct 2009 12:31:32 +0000 (12:31 +0000)]
get root ssh pub key path from configuration
Marc Fiuczynski [Sat, 24 Oct 2009 12:29:16 +0000 (12:29 +0000)]
Revert to keep the root ssh key around.
Marc Fiuczynski [Sat, 24 Oct 2009 12:21:57 +0000 (12:21 +0000)]
Support to add the ssh root pub key to the default administrator. This
is for backwards compatibility with 4.3-rc12 and to avoid confusing
MyPLC users who have learned to use the root key from /etc/planetlab/
to log in as root to nodes.
Thierry Parmentelat [Tue, 20 Oct 2009 12:49:00 +0000 (12:49 +0000)]
Setting tag MyPLC-4.3-28
db-config ignores sliver tags
sirius's db-config script renamed (was sirious)
Thierry Parmentelat [Wed, 14 Oct 2009 07:40:01 +0000 (07:40 +0000)]
renamed
Marc Fiuczynski [Tue, 13 Oct 2009 22:48:37 +0000 (22:48 +0000)]
Needed to change the semantics of SetSlice(), which previously would
delete *all* tags associated with a slice. This would wipe out sliver
tags that are set at runtime by both NM and other scripts.
SetSlice() now ignores sliver tags. The assumption is that the global
defaults that are being set by db-config are just that: global
defaults. If someone want to override those defaults or introduce new
tags then one should do so using sliver tags.
This is motivated by the hmac tag that is set at run time by NM. But
there are other tags for which we want similar semantics.
Thierry Parmentelat [Tue, 13 Oct 2009 16:56:01 +0000 (16:56 +0000)]
Setting tag MyPLC-4.3-27
fix for silverauth - missing tag types now created at plc startup time
Marc Fiuczynski [Tue, 13 Oct 2009 15:54:44 +0000 (15:54 +0000)]
added hmac and rawdisk sliver tag types
Thierry Parmentelat [Fri, 9 Oct 2009 20:05:59 +0000 (20:05 +0000)]
Setting tag MyPLC-4.3-26
plc.d/ssl preserves SSL certificates when it thinkfs they're obsolete
Barış Metin [Fri, 9 Oct 2009 08:59:02 +0000 (08:59 +0000)]
do not delete the certificates but keep copies
Thierry Parmentelat [Wed, 7 Oct 2009 08:51:29 +0000 (08:51 +0000)]
Setting tag MyPLC-4.3-25
companion to NM's specialaccounts plugin
do not generate /etc/planetlab/root_ssh_key* anymore
remove related config. variables and conf_files
Thierry Parmentelat [Wed, 30 Sep 2009 08:51:39 +0000 (08:51 +0000)]
cleanup for the specialaccounts nodemanager plugin:
* root receives keys for all admins regardless of their site
* remove conf_files for root's and site_admin's authorized keys
* root_ssh_key does not get generated in /etc/planetlab anymore
* cleaned up ROOT_SSH_KEY_PUB and ROOT_SSH_KEY from xml config as well
Stephen Soltesz [Mon, 21 Sep 2009 00:47:57 +0000 (00:47 +0000)]
Setting tag MyPLC-4.3-24
clarified description text to refer only to plcrt and not other optional
packages.
Stephen Soltesz [Mon, 21 Sep 2009 00:43:54 +0000 (00:43 +0000)]
update descriptive text.
Stephen Soltesz [Sun, 20 Sep 2009 01:51:25 +0000 (01:51 +0000)]
Setting tag MyPLC-4.3-23
fixed a bug setting slice multiple attributes with the same tag name
Stephen Soltesz [Sat, 19 Sep 2009 17:51:28 +0000 (17:51 +0000)]
correct logic for setting slice tags. old code broke with multiple, same-name attributes.
new code only adds and deletes attributes, rather than trying to update.
Thierry Parmentelat [Mon, 7 Sep 2009 12:09:27 +0000 (12:09 +0000)]
Setting tag MyPLC-4.3-22
SSL setup for monitor box, and related new config variables
new conf_file for /etc/planetlab/extensions
various tweaks in db-config internals, about initscripts among others
also more messages defined in the db
Thierry Parmentelat [Mon, 7 Sep 2009 12:06:25 +0000 (12:06 +0000)]
cleanup
Stephen Soltesz [Tue, 1 Sep 2009 00:01:13 +0000 (00:01 +0000)]
add ssl certificate fields for Monitor in default_config.xml
add ssl certificate generation for Monitor in plc.d/ssl
separate bootcd values from bootmanager configuration
build.sh now collects all the certificates that it needs to authenticate the
https sessions. As well, the BM configuration includes several new values that
control how and where it uploads logs.
BOOT_API_SERVER remains as the API server for all API calls
BOOT_SERVER is the host from which the bootstrapfs and other files are fetched.
MONITOR_SERVER is the host where logs are uploaded
UPLOAD_LOG_SCRIPT is the path to the upload script or entry point.
If the configuration value PLC_MONITOR_ENABLED=false, then MONITOR_SERVER=BOOT_SERVER
It is now much easier to extend BM in the future to upload additional files
such as for hardware information, SMART data, commands run by root users
during the session, etc.
Sapan Bhatia [Thu, 30 Jul 2009 22:43:38 +0000 (22:43 +0000)]
Allow users and PIs to set delegations in addition to admins
Stephen Soltesz [Mon, 27 Jul 2009 17:13:44 +0000 (17:13 +0000)]
keep hostname first
Stephen Soltesz [Mon, 27 Jul 2009 16:15:39 +0000 (16:15 +0000)]
Add additional messages regarding kinds of boot failures due to
notinstalled
filesystem corrupted
mount failed
missing kernel
Each of these events occurs with enough frequency that differentiating them
is helpful both for operators and for the user.
Barış Metin [Thu, 23 Jul 2009 15:05:13 +0000 (15:05 +0000)]
add /etc/planetlab/extensions as a conf_file
Marc Fiuczynski [Thu, 23 Jul 2009 00:28:46 +0000 (00:28 +0000)]
Adjusting code as one can no longer pass 'expires' to AddSlice() and 'name' to UpdateSlice() calls
Thierry Parmentelat [Thu, 16 Jul 2009 06:51:30 +0000 (06:51 +0000)]
cleanup obsolete conf_file
Marc Fiuczynski [Thu, 9 Jul 2009 06:42:12 +0000 (06:42 +0000)]
take 2: fix cut-n-paste error
Marc Fiuczynski [Thu, 9 Jul 2009 06:34:42 +0000 (06:34 +0000)]
fix cut-n-paste error
Marc Fiuczynski [Thu, 9 Jul 2009 06:23:42 +0000 (06:23 +0000)]
more initscript mucking
Marc Fiuczynski [Thu, 9 Jul 2009 05:54:12 +0000 (05:54 +0000)]
update db to contain whatever initscript file contents are in /etc/plc_sliceinitscripts
Stephen Soltesz [Wed, 8 Jul 2009 18:20:07 +0000 (18:20 +0000)]
add a cc_address parameter to add mailing-list watchers to default rt queues
Thierry Parmentelat [Tue, 7 Jul 2009 15:00:35 +0000 (15:00 +0000)]
Tagging module MyPLC - MyPLC-4.3-21
create node tags, like e.g. 'arch', that were not handled with 4.3-20
Thierry Parmentelat [Tue, 7 Jul 2009 14:57:52 +0000 (14:57 +0000)]
actually create nodetags
Thierry Parmentelat [Tue, 7 Jul 2009 12:14:14 +0000 (12:14 +0000)]
Tagging module MyPLC - MyPLC-4.3-20
bugfix in db-config, tag 4.3-19 would not fly
Marc Fiuczynski [Tue, 7 Jul 2009 11:35:03 +0000 (11:35 +0000)]
fix bug in SetMessage()
Stephen Soltesz [Tue, 7 Jul 2009 01:52:19 +0000 (01:52 +0000)]
add rt dbpassword field.
Marc Fiuczynski [Mon, 6 Jul 2009 14:27:34 +0000 (14:27 +0000)]
Tagging module MyPLC - MyPLC-4.3-19
Refactored db-config into snippets in db-config.d/.
Marc Fiuczynski [Fri, 3 Jul 2009 21:56:45 +0000 (21:56 +0000)]
modularize db-config
Stephen Soltesz [Fri, 3 Jul 2009 20:46:18 +0000 (20:46 +0000)]
wrong default value
Stephen Soltesz [Fri, 3 Jul 2009 18:48:41 +0000 (18:48 +0000)]
add ip_addresses tag type, for per-slice ip addresses
Stephen Soltesz [Fri, 3 Jul 2009 18:48:16 +0000 (18:48 +0000)]
add default values for monitor and RT
Thierry Parmentelat [Thu, 2 Jul 2009 05:22:15 +0000 (05:22 +0000)]
Tagging module MyPLC - MyPLC-4.3-18
oops, tag 4.3-17 was broken and would not work
Marc Fiuczynski [Wed, 1 Jul 2009 16:00:51 +0000 (16:00 +0000)]
remove '>' typo introduced at the beginning of the file
Thierry Parmentelat [Wed, 1 Jul 2009 12:13:47 +0000 (12:13 +0000)]
Tagging module MyPLC - MyPLC-4.3-17
bugfix - escape sequences inserted in xml configs
Thierry Parmentelat [Wed, 1 Jul 2009 08:39:05 +0000 (08:39 +0000)]
svn keywords
Stephen Soltesz [Tue, 30 Jun 2009 22:48:23 +0000 (22:48 +0000)]
move readline import to module that is designed to run on a console, and
remove it from the one that isn't.
Stephen Soltesz [Sun, 28 Jun 2009 23:50:18 +0000 (23:50 +0000)]
use the correct name for IPMI model to correspond with pcucontrol model name
Marc Fiuczynski [Fri, 26 Jun 2009 17:56:09 +0000 (17:56 +0000)]
Tagging module MyPLC - MyPLC-4.3-16
Handle db-config.d files properly.
Marc Fiuczynski [Thu, 25 Jun 2009 16:08:07 +0000 (16:08 +0000)]
ignore various files properly
Marc Fiuczynski [Thu, 25 Jun 2009 14:58:57 +0000 (14:58 +0000)]
fix typo (os.path.exists rather than os.path.exits); fix error handling
Marc Fiuczynski [Tue, 23 Jun 2009 21:45:09 +0000 (21:45 +0000)]
- Fix /etc/init.d/plc to have command usage show up on the tty rather
than the log file
- Fix db-config to be a bit more cautious when
/etc/planetlab/db-config.d doesn't exist
- Clean up db-config approach to ignore .bak, *~, .rpm{save,new}, and
.orig files.
- Refactor generic plc-config-tty code into plc_config.py.
plc-config-tty now contains MyPLC specific paths, "usual" variables,
and the list of validated variables and the corresponding
validator() function. This refactoring lets one reuse plc_config.py
as a generic cmdline configuration tool for highly customer MyPLC
like software.
Tagging module MyPLC - MyPLC-4.3-15
Marc Fiuczynski [Sat, 20 Jun 2009 18:17:54 +0000 (18:17 +0000)]
refactored the bulk of plc-config-tty into plc_config.py
Thierry Parmentelat [Thu, 18 Jun 2009 19:22:50 +0000 (19:22 +0000)]
indentation
Marc Fiuczynski [Tue, 16 Jun 2009 21:11:49 +0000 (21:11 +0000)]
make sure to show usage to the user rather than dumping it in /var/log/
Marc Fiuczynski [Tue, 16 Jun 2009 20:49:39 +0000 (20:49 +0000)]
resurrect plc-config-tty
Marc Fiuczynski [Tue, 16 Jun 2009 20:09:34 +0000 (20:09 +0000)]
minor cleanup on how to ignore certain files
Stephen Soltesz [Mon, 15 Jun 2009 19:11:53 +0000 (19:11 +0000)]
Tagging module MyPLC - MyPLC-4.3-14
update PCU Type descriptions.
updates to init scripts