myplc.git
14 years agoSetting tag MyPLC-4.3-26 MyPLC-4.3-26
Thierry Parmentelat [Fri, 9 Oct 2009 20:06:02 +0000 (20:06 +0000)]
Setting tag MyPLC-4.3-26
plc.d/ssl preserves SSL certificates when it thinkfs they're obsolete

14 years agoSetting tag MyPLC-4.3-26
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

14 years agodo not delete the certificates but keep copies
Barış Metin [Fri, 9 Oct 2009 08:59:02 +0000 (08:59 +0000)]
do not delete the certificates but keep copies

14 years agoSetting tag MyPLC-4.3-25
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

14 years agocleanup for the specialaccounts nodemanager plugin:
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

14 years agoSetting tag MyPLC-4.3-24
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.

14 years agoupdate descriptive text.
Stephen Soltesz [Mon, 21 Sep 2009 00:43:54 +0000 (00:43 +0000)]
update descriptive text.

14 years agoSetting tag MyPLC-4.3-23
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

14 years agocorrect logic for setting slice tags. old code broke with multiple, same-name attrib...
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.

14 years agoSetting tag MyPLC-4.3-22
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

14 years agocleanup
Thierry Parmentelat [Mon, 7 Sep 2009 12:06:25 +0000 (12:06 +0000)]
cleanup

14 years agoadd ssl certificate fields for Monitor in default_config.xml
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.

14 years agoAllow users and PIs to set delegations in addition to admins
Sapan Bhatia [Thu, 30 Jul 2009 22:43:38 +0000 (22:43 +0000)]
Allow users and PIs to set delegations in addition to admins

14 years agokeep hostname first
Stephen Soltesz [Mon, 27 Jul 2009 17:13:44 +0000 (17:13 +0000)]
keep hostname first

14 years agoAdd additional messages regarding kinds of boot failures due to
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.

14 years agoadd /etc/planetlab/extensions as a conf_file
Barış Metin [Thu, 23 Jul 2009 15:05:13 +0000 (15:05 +0000)]
add /etc/planetlab/extensions as a conf_file

14 years agoAdjusting code as one can no longer pass 'expires' to AddSlice() and 'name' to Update...
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

14 years agocleanup obsolete conf_file
Thierry Parmentelat [Thu, 16 Jul 2009 06:51:30 +0000 (06:51 +0000)]
cleanup obsolete conf_file

14 years agotake 2: fix cut-n-paste error
Marc Fiuczynski [Thu, 9 Jul 2009 06:42:12 +0000 (06:42 +0000)]
take 2: fix cut-n-paste error

14 years agofix cut-n-paste error
Marc Fiuczynski [Thu, 9 Jul 2009 06:34:42 +0000 (06:34 +0000)]
fix cut-n-paste error

14 years agomore initscript mucking
Marc Fiuczynski [Thu, 9 Jul 2009 06:23:42 +0000 (06:23 +0000)]
more initscript mucking

14 years agoupdate db to contain whatever initscript file contents are in /etc/plc_sliceinitscripts
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

14 years agoadd a cc_address parameter to add mailing-list watchers to default rt queues
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

14 years agoTagging module MyPLC - MyPLC-4.3-21
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

14 years agoactually create nodetags
Thierry Parmentelat [Tue, 7 Jul 2009 14:57:52 +0000 (14:57 +0000)]
actually create nodetags

14 years agoTagging module MyPLC - MyPLC-4.3-20
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

14 years agofix bug in SetMessage()
Marc Fiuczynski [Tue, 7 Jul 2009 11:35:03 +0000 (11:35 +0000)]
fix bug in SetMessage()

14 years agoadd rt dbpassword field.
Stephen Soltesz [Tue, 7 Jul 2009 01:52:19 +0000 (01:52 +0000)]
add rt dbpassword field.

14 years agoTagging module MyPLC - MyPLC-4.3-19
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/.

14 years agomodularize db-config
Marc Fiuczynski [Fri, 3 Jul 2009 21:56:45 +0000 (21:56 +0000)]
modularize db-config

14 years agowrong default value
Stephen Soltesz [Fri, 3 Jul 2009 20:46:18 +0000 (20:46 +0000)]
wrong default value

14 years agoadd ip_addresses tag type, for per-slice ip addresses
Stephen Soltesz [Fri, 3 Jul 2009 18:48:41 +0000 (18:48 +0000)]
add ip_addresses tag type, for per-slice ip addresses

14 years agoadd default values for monitor and RT
Stephen Soltesz [Fri, 3 Jul 2009 18:48:16 +0000 (18:48 +0000)]
add default values for monitor  and RT

14 years agoTagging module MyPLC - MyPLC-4.3-18
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

14 years agoremove '>' typo introduced at the beginning of the file
Marc Fiuczynski [Wed, 1 Jul 2009 16:00:51 +0000 (16:00 +0000)]
remove '>' typo introduced at the beginning of the file

14 years agoTagging module MyPLC - MyPLC-4.3-17
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

14 years agosvn keywords
Thierry Parmentelat [Wed, 1 Jul 2009 08:39:05 +0000 (08:39 +0000)]
svn keywords

14 years agomove readline import to module that is designed to run on a console, and
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.

14 years agouse the correct name for IPMI model to correspond with pcucontrol model name
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

14 years agoTagging module MyPLC - MyPLC-4.3-16
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.

14 years agoignore various files properly
Marc Fiuczynski [Thu, 25 Jun 2009 16:08:07 +0000 (16:08 +0000)]
ignore various files properly

14 years agofix typo (os.path.exists rather than os.path.exits); fix error handling
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

14 years ago- Fix /etc/init.d/plc to have command usage show up on the tty rather
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

14 years agorefactored the bulk of plc-config-tty into plc_config.py
Marc Fiuczynski [Sat, 20 Jun 2009 18:17:54 +0000 (18:17 +0000)]
refactored the bulk of plc-config-tty into plc_config.py

14 years agoindentation
Thierry Parmentelat [Thu, 18 Jun 2009 19:22:50 +0000 (19:22 +0000)]
indentation

14 years agomake sure to show usage to the user rather than dumping it in /var/log/
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/

14 years agoresurrect plc-config-tty
Marc Fiuczynski [Tue, 16 Jun 2009 20:49:39 +0000 (20:49 +0000)]
resurrect plc-config-tty

14 years agominor cleanup on how to ignore certain files
Marc Fiuczynski [Tue, 16 Jun 2009 20:09:34 +0000 (20:09 +0000)]
minor cleanup on how to ignore certain files

14 years agoTagging module MyPLC - MyPLC-4.3-14
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

14 years agoupdate DRAC description for all versions
Stephen Soltesz [Mon, 15 Jun 2009 19:11:09 +0000 (19:11 +0000)]
update DRAC description for all versions

14 years agomore cleaning of the messages that show up when doing a 'service plc stop'
Marc Fiuczynski [Mon, 15 Jun 2009 16:19:35 +0000 (16:19 +0000)]
more cleaning of the messages that show up when doing a 'service plc stop'

14 years agoclean up what gets printed when we stop plc
Marc Fiuczynski [Mon, 15 Jun 2009 16:15:59 +0000 (16:15 +0000)]
clean up what gets printed when we stop plc

14 years agoaddresses a path used by the plc map and other gen-* scripts.
Stephen Soltesz [Wed, 10 Jun 2009 15:14:58 +0000 (15:14 +0000)]
addresses a path used by the plc map and other gen-* scripts.

14 years agore-order pcu types by most commonly used first.
Stephen Soltesz [Fri, 5 Jun 2009 19:33:11 +0000 (19:33 +0000)]
re-order pcu types by most commonly used first.

14 years agoTagging module MyPLC - MyPLC-4.3-13
Thierry Parmentelat [Wed, 3 Jun 2009 21:23:51 +0000 (21:23 +0000)]
Tagging module MyPLC - MyPLC-4.3-13
requires monitor-pcucontrol so register-wizard can work

14 years agorequire monitor-pcucontrol for myplc native to allow the RebootNodeWithPCU to
Stephen Soltesz [Wed, 3 Jun 2009 14:49:11 +0000 (14:49 +0000)]
require monitor-pcucontrol for myplc native to allow the RebootNodeWithPCU to
work, and thus to let the www-register-wizard to work.

14 years agoTagging module MyPLC - MyPLC-4.3-12
Thierry Parmentelat [Tue, 26 May 2009 13:46:28 +0000 (13:46 +0000)]
Tagging module MyPLC - MyPLC-4.3-12
cleaned up plc-config-tty, no more need to configure plc-devel

14 years agono more plc-devel to configure, so the simpler is better
Thierry Parmentelat [Tue, 26 May 2009 13:45:30 +0000 (13:45 +0000)]
no more plc-devel to configure, so the simpler is better

14 years agocan be used to monitor accounts in /var/log/accounts - or to actually cleanup with...
Thierry Parmentelat [Wed, 20 May 2009 20:37:02 +0000 (20:37 +0000)]
can be used to monitor accounts in /var/log/accounts - or to actually cleanup with --delete

14 years agosync revisited
Thierry Parmentelat [Wed, 20 May 2009 20:35:47 +0000 (20:35 +0000)]
sync revisited

14 years agocleanup - no devel pkg to configure anymore
Thierry Parmentelat [Wed, 20 May 2009 20:34:52 +0000 (20:34 +0000)]
cleanup - no devel pkg to configure anymore

14 years agoTagging module MyPLC - MyPLC-4.3-11
Thierry Parmentelat [Tue, 19 May 2009 17:06:42 +0000 (17:06 +0000)]
Tagging module MyPLC - MyPLC-4.3-11
first draft of plc-orpha-accounts.py, and rename check-ssl-peering into plc-<>

14 years agooops
Thierry Parmentelat [Tue, 19 May 2009 11:18:37 +0000 (11:18 +0000)]
oops

14 years agocount
Thierry Parmentelat [Tue, 19 May 2009 11:06:19 +0000 (11:06 +0000)]
count

14 years agosorted
Thierry Parmentelat [Tue, 19 May 2009 11:04:59 +0000 (11:04 +0000)]
sorted

14 years ago2 listings
Thierry Parmentelat [Tue, 19 May 2009 10:18:19 +0000 (10:18 +0000)]
2 listings

14 years agocosmetic
Thierry Parmentelat [Tue, 19 May 2009 09:33:40 +0000 (09:33 +0000)]
cosmetic

14 years agofix
Thierry Parmentelat [Tue, 19 May 2009 09:04:21 +0000 (09:04 +0000)]
fix

14 years agofix
Thierry Parmentelat [Tue, 19 May 2009 08:59:27 +0000 (08:59 +0000)]
fix

14 years agofix
Thierry Parmentelat [Tue, 19 May 2009 08:57:52 +0000 (08:57 +0000)]
fix

14 years agorename convenience scripts so they start with plc-
Thierry Parmentelat [Tue, 19 May 2009 08:56:34 +0000 (08:56 +0000)]
rename convenience scripts so they start with plc-

14 years agoTagging module MyPLC - MyPLC-4.3-10
Thierry Parmentelat [Fri, 15 May 2009 13:43:49 +0000 (13:43 +0000)]
Tagging module MyPLC - MyPLC-4.3-10
tighter right permissions on site_admin's authorized keys for more robustness

15 years agoPermission and ownership of site_admin account are modified to enable site_admin...
Anil-Kumar Vengalil [Thu, 7 May 2009 12:18:58 +0000 (12:18 +0000)]
Permission and ownership of site_admin account  are modified to enable site_admin login to a node after node update

15 years agoTagging module MyPLC - MyPLC-4.3-9
Thierry Parmentelat [Wed, 6 May 2009 14:19:11 +0000 (14:19 +0000)]
Tagging module MyPLC - MyPLC-4.3-9
fix issue in db-config that prevented correct operation

15 years agofix indentation - please review
Thierry Parmentelat [Wed, 6 May 2009 14:08:12 +0000 (14:08 +0000)]
fix indentation - please review

15 years agoTagging module MyPLC - MyPLC-4.3-8
Thierry Parmentelat [Wed, 6 May 2009 07:46:11 +0000 (07:46 +0000)]
Tagging module MyPLC - MyPLC-4.3-8
remove support for chroot-based packaging - no crond nor syslog step anymore
plc init script now named plc.init instead of former guest.init

15 years agooops - this was not needed
Thierry Parmentelat [Wed, 6 May 2009 07:44:45 +0000 (07:44 +0000)]
oops - this was not needed

15 years agoavoid duplication with rsyslogd
Thierry Parmentelat [Tue, 5 May 2009 16:31:08 +0000 (16:31 +0000)]
avoid duplication with rsyslogd

15 years agono more support for chroot-based packaging
Thierry Parmentelat [Tue, 5 May 2009 16:12:02 +0000 (16:12 +0000)]
no more support for chroot-based packaging

15 years agoTagging module MyPLC - MyPLC-4.3-7
Stephen Soltesz [Mon, 4 May 2009 21:39:38 +0000 (21:39 +0000)]
Tagging module MyPLC - MyPLC-4.3-7
add Monitor to docs build

15 years agoadd steps to build and install Monitor docs into plc
Stephen Soltesz [Mon, 4 May 2009 21:33:10 +0000 (21:33 +0000)]
add steps to build and install Monitor docs into plc
add default PCU types with names that match monitor-pcucontrol models.

15 years agoplc_config.py and plc-config-tty: generalized to work for more diverse
Marc Fiuczynski [Wed, 29 Apr 2009 20:57:51 +0000 (20:57 +0000)]
plc_config.py and plc-config-tty: generalized to work for more diverse
MyPLC configurations.

plc.d/httpd: only update httpd_conf with /data for chroot'ed MyPLC
deployments and increase the memory limits in php.ini

plc.d/crond: add --full option to vacuumdb

Tagging module MyPLC - MyPLC-4.3-6

15 years agoFirst attempt at making plc-config-tty more general so it can be used
Marc Fiuczynski [Thu, 16 Apr 2009 21:55:06 +0000 (21:55 +0000)]
First attempt at making plc-config-tty more general so it can be used
for non-plc specific configurations.

15 years ago- raise ConfigurationError when there is the xml.dom runs into a xml
Marc Fiuczynski [Thu, 16 Apr 2009 21:49:04 +0000 (21:49 +0000)]
- raise ConfigurationError when there is the xml.dom runs into a xml
  parse error

- generalize verify() method to be usable by non-plc specific configurations

15 years agoupdate the default memory_limit in php.ini
Stephen Soltesz [Tue, 14 Apr 2009 20:44:11 +0000 (20:44 +0000)]
update the default memory_limit in php.ini

15 years agothere is no /data directory for native installs. this patch does not change
Stephen Soltesz [Tue, 14 Apr 2009 18:54:02 +0000 (18:54 +0000)]
there is no /data directory for native installs.  this patch does not change
httpd.conf if there is not /data dir.

15 years agoadded --full option to vacuumdb
Faiyaz Ahmed [Fri, 10 Apr 2009 20:38:08 +0000 (20:38 +0000)]
added --full option to vacuumdb

15 years agoTagging module MyPLC - MyPLC-4.3-5
Thierry Parmentelat [Tue, 7 Apr 2009 09:51:34 +0000 (09:51 +0000)]
Tagging module MyPLC - MyPLC-4.3-5
avoid generating ssl certificates for disabled services among www api boot

15 years agoSkip services that aren't enabled.
Faiyaz Ahmed [Mon, 30 Mar 2009 20:10:52 +0000 (20:10 +0000)]
Skip services that aren't enabled.

15 years agoTagging module MyPLC - MyPLC-4.3-4
Thierry Parmentelat [Mon, 30 Mar 2009 13:12:41 +0000 (13:12 +0000)]
Tagging module MyPLC - MyPLC-4.3-4
cleaned up old entries in db-config
mtail more robust

15 years agohardened for vanishing files and dirs with no file
Thierry Parmentelat [Mon, 30 Mar 2009 10:49:11 +0000 (10:49 +0000)]
hardened for vanishing files and dirs with no file

15 years agoDepreated old old old NM entries.
Faiyaz Ahmed [Tue, 24 Mar 2009 19:50:29 +0000 (19:50 +0000)]
Depreated old old old NM entries.

15 years agoTagging module MyPLC - MyPLC-4.3-3
Thierry Parmentelat [Tue, 24 Mar 2009 09:48:09 +0000 (09:48 +0000)]
Tagging module MyPLC - MyPLC-4.3-3
php include path tweaked for plekit includes
reviewed myplc (fka native) packaging dependencies
renumbered 4.3

15 years agore-enable missing dep
Thierry Parmentelat [Tue, 17 Mar 2009 20:06:18 +0000 (20:06 +0000)]
re-enable missing dep

15 years agorenumbering 5.0 into 4.3 - should be complete now hopefully
Thierry Parmentelat [Tue, 17 Mar 2009 08:42:07 +0000 (08:42 +0000)]
renumbering 5.0 into 4.3 - should be complete now hopefully

15 years agomore renumbering 5.0 into 4.3
Thierry Parmentelat [Mon, 16 Mar 2009 20:45:08 +0000 (20:45 +0000)]
more renumbering 5.0 into 4.3

15 years agomass-renaming 5.0 into 4.3 - db still named planetlab5 and planetlab5.sql
Thierry Parmentelat [Mon, 16 Mar 2009 14:21:11 +0000 (14:21 +0000)]
mass-renaming 5.0 into 4.3 - db still named planetlab5 and planetlab5.sql

15 years agopull in the www-register-wizard for myplc native.
Stephen Soltesz [Fri, 27 Feb 2009 21:38:15 +0000 (21:38 +0000)]
pull in the www-register-wizard for myplc native.

15 years agofor clarity, renamed the pkgs file used when buildind myplc-chroot
Thierry Parmentelat [Mon, 23 Feb 2009 11:45:00 +0000 (11:45 +0000)]
for clarity, renamed the pkgs file used when buildind myplc-chroot

15 years agoreview dependencies globally : fewer are attached to myplc directly, and more are...
Thierry Parmentelat [Sun, 22 Feb 2009 23:26:24 +0000 (23:26 +0000)]
review dependencies globally : fewer are attached to myplc directly, and more are attached to the other PL subcomponents