myplc.git
16 years agoChange v3 to v4 yumgroups.xml planetlab-4_0-branch planetlab-4_0-branch
Faiyaz Ahmed [Wed, 22 Aug 2007 02:04:13 +0000 (02:04 +0000)]
Change v3 to v4 yumgroups.xml

16 years agoBump revision
Faiyaz Ahmed [Wed, 8 Aug 2007 20:12:37 +0000 (20:12 +0000)]
Bump revision

17 years agomerge changes from head
Mark Huang [Thu, 8 Feb 2007 17:08:16 +0000 (17:08 +0000)]
merge changes from head

17 years agomerge changes from head
Mark Huang [Wed, 7 Feb 2007 23:55:13 +0000 (23:55 +0000)]
merge changes from head

17 years agomerge changes from head
Mark Huang [Wed, 7 Feb 2007 23:27:51 +0000 (23:27 +0000)]
merge changes from head

17 years agomerge changes from head
Mark Huang [Wed, 7 Feb 2007 19:06:06 +0000 (19:06 +0000)]
merge changes from head

17 years agomerge changes from head
Mark Huang [Wed, 7 Feb 2007 15:37:55 +0000 (15:37 +0000)]
merge changes from head

17 years agomerge changes from head
Mark Huang [Tue, 6 Feb 2007 23:36:55 +0000 (23:36 +0000)]
merge changes from head

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Tue, 6 Feb 2007 17:55:35 +0000 (17:55 +0000)]
This commit was manufactured by cvs2svn to create branch
'planetlab-4_0-branch'.

17 years ago- serve PlanetLabConf if not running web server
Mark Huang [Tue, 6 Feb 2007 17:55:34 +0000 (17:55 +0000)]
- serve PlanetLabConf if not running web server

17 years agoSet the document root to /data/var/www/html (static files
Mark Huang [Tue, 6 Feb 2007 16:24:13 +0000 (16:24 +0000)]
Set the document root to /data/var/www/html (static files
only, no Drupal or admin pages) if the web server should not
run on this machine.

17 years ago- if web server was configured but not enabled, script would think that
Mark Huang [Mon, 5 Feb 2007 19:56:26 +0000 (19:56 +0000)]
- if web server was configured but not enabled, script would think that
  it was already running and would not enable boot server
- also redirect direct requests to /planetlab/ to HTTPS
- if web server is not enabled, redirect index page to web server

17 years ago- also give DB access to the boot server, which may run its own API
Mark Huang [Mon, 5 Feb 2007 19:11:06 +0000 (19:11 +0000)]
- also give DB access to the boot server, which may run its own API

17 years ago- avoid regenerating yum metadata if no packages are newer than the
Mark Huang [Sun, 4 Feb 2007 01:05:28 +0000 (01:05 +0000)]
- avoid regenerating yum metadata if no packages are newer than the
  metadata files

17 years ago- go ahead and require SOAPpy
Mark Huang [Fri, 2 Feb 2007 23:40:43 +0000 (23:40 +0000)]
- go ahead and require SOAPpy

17 years ago- remove plc_ticket_pubkey bootstrap, this is no longer necessary
Mark Huang [Fri, 2 Feb 2007 23:40:22 +0000 (23:40 +0000)]
- remove plc_ticket_pubkey bootstrap, this is no longer necessary

17 years ago- change i2 to i2_
Mark Huang [Fri, 2 Feb 2007 19:56:21 +0000 (19:56 +0000)]
- change i2 to i2_

17 years agoMore sane network slice attribute names. Also added rate limits back.
Faiyaz Ahmed [Fri, 2 Feb 2007 19:43:01 +0000 (19:43 +0000)]
More sane network slice attribute names.  Also added rate limits back.

17 years agoSymlink any (real) files or directories in /data/var/www/html/* to
Mark Huang [Fri, 2 Feb 2007 15:37:25 +0000 (15:37 +0000)]
Symlink any (real) files or directories in /data/var/www/html/* to
/var/www/html/. We could descend into subdirectories, but the code to do
so properly would be madness.

17 years ago- add SOAPpy and PyXML to development environment so that new_plc_api
Mark Huang [Fri, 2 Feb 2007 04:32:36 +0000 (04:32 +0000)]
- add SOAPpy and PyXML to development environment so that new_plc_api
  builds cleanly

17 years agoReplaced network rate limits with byte limits.
Faiyaz Ahmed [Thu, 1 Feb 2007 21:09:22 +0000 (21:09 +0000)]
Replaced network rate limits with byte limits.

17 years ago- clean up migrate_db, optimize main loop
Mark Huang [Wed, 31 Jan 2007 19:53:20 +0000 (19:53 +0000)]
- clean up migrate_db, optimize main loop
- don't set subversion here, require that the migration scripts do it
- check all steps for errors

17 years agoexecutable migration scripts
Thierry Parmentelat [Wed, 31 Jan 2007 10:02:25 +0000 (10:02 +0000)]
executable migration scripts

17 years ago- add Boot Manager messages
Mark Huang [Tue, 30 Jan 2007 23:11:14 +0000 (23:11 +0000)]
- add Boot Manager messages

17 years ago- move drupal sites/ directory to /data/var/www/html/ so that custom
Mark Huang [Tue, 30 Jan 2007 16:03:20 +0000 (16:03 +0000)]
- move drupal sites/ directory to /data/var/www/html/ so that custom
  modules and themes can be installed

17 years agoclean cleans repodata and headers as well
Thierry Parmentelat [Tue, 30 Jan 2007 15:56:53 +0000 (15:56 +0000)]
clean cleans repodata and headers as well

17 years ago* accept the repositories to manage as arguments
Thierry Parmentelat [Tue, 30 Jan 2007 15:09:22 +0000 (15:09 +0000)]
* accept the repositories to manage as arguments
* performs gpg-signing only once, stores stamps in repository/signed-stamps/
  (still runs yum-arch and createrepo unconditionnally)
* can also cleanup these stamps with packages clean [repo]

17 years agoadds minimal support for db migrations
Thierry Parmentelat [Tue, 30 Jan 2007 11:29:36 +0000 (11:29 +0000)]
adds minimal support for db migrations

also supports new usage
Usage: /etc/plc.d/db [start|migrate|dump|clean-dump]
for convenience

17 years agorun drupal cron every hour
Mark Huang [Fri, 26 Jan 2007 05:54:35 +0000 (05:54 +0000)]
run drupal cron every hour

17 years ago- add perl-GD for plot-latlong
Mark Huang [Fri, 26 Jan 2007 02:48:57 +0000 (02:48 +0000)]
- add perl-GD for plot-latlong

17 years agoinclude generated/ subdir in php include_path
Mark Huang [Thu, 25 Jan 2007 20:27:18 +0000 (20:27 +0000)]
include generated/ subdir in php include_path

17 years agocannot run db-config in api script, since the password is being setup manually here
Mark Huang [Wed, 24 Jan 2007 21:05:30 +0000 (21:05 +0000)]
cannot run db-config in api script, since the password is being setup manually here

17 years ago- remove api-config script
Mark Huang [Mon, 22 Jan 2007 16:50:48 +0000 (16:50 +0000)]
- remove api-config script

17 years agoregenerate
Thierry Parmentelat [Mon, 22 Jan 2007 13:27:59 +0000 (13:27 +0000)]
regenerate

17 years agomentions all hostnames in usual vars
Thierry Parmentelat [Mon, 22 Jan 2007 13:20:29 +0000 (13:20 +0000)]
mentions all hostnames in usual vars

17 years ago- Split off myplc-devel into separate spec file, so that it can be
Mark Huang [Sat, 20 Jan 2007 04:08:47 +0000 (04:08 +0000)]
- Split off myplc-devel into separate spec file, so that it can be
  built standalone.

17 years ago- drop support for bootstrap builds from within the myplc build itself;
Mark Huang [Sat, 20 Jan 2007 04:06:02 +0000 (04:06 +0000)]
- drop support for bootstrap builds from within the myplc build itself;
  this is best handled in an external build script
- external users should install and start myplc-devel, then just type
  e.g. 'chroot /plc/devel/root su - build -c make'

17 years ago- skip the whole cvs import garbage
Mark Huang [Sat, 20 Jan 2007 04:04:25 +0000 (04:04 +0000)]
- skip the whole cvs import garbage

17 years ago- create a build user with the same uid/gid as the sudoer, if
Mark Huang [Sat, 20 Jan 2007 04:02:43 +0000 (04:02 +0000)]
- create a build user with the same uid/gid as the sudoer, if
  possible. Set its home directory to /data/build.
- skip the whole cvs import garbage; too confusing and no one uses it

17 years ago- sigh, try again to fix merge of maintenance_sources
Mark Huang [Fri, 19 Jan 2007 20:05:05 +0000 (20:05 +0000)]
- sigh, try again to fix merge of maintenance_sources

17 years agouse input redirection
Mark Huang [Fri, 19 Jan 2007 20:04:20 +0000 (20:04 +0000)]
use input redirection

17 years agoFC6 requires libpcap-devel.
Marc Fiuczynski [Fri, 19 Jan 2007 19:19:55 +0000 (19:19 +0000)]
FC6 requires libpcap-devel.

For previous FC versions the inclusion of libpcap-devel will simply
produce a benign warning message that the libpcap-devel package was
not installed.

17 years ago- also explicitly allow localhost connections for drupal
Mark Huang [Fri, 19 Jan 2007 17:25:27 +0000 (17:25 +0000)]
- also explicitly allow localhost connections for drupal

17 years ago- just compare cnames (CN field), not emails (emailAddress field)
Mark Huang [Fri, 19 Jan 2007 17:13:43 +0000 (17:13 +0000)]
- just compare cnames (CN field), not emails (emailAddress field)
- hostnames are case-insensitive, compare lowercase e-mails
- fix permissions regardless of whether we generated the cert or not

17 years ago- add lower() and upper() utility functions
Mark Huang [Fri, 19 Jan 2007 17:12:45 +0000 (17:12 +0000)]
- add lower() and upper() utility functions

17 years ago- explicitly add localhost to pg_hba.conf (for case when PLC_API_IP and
Mark Huang [Fri, 19 Jan 2007 16:42:08 +0000 (16:42 +0000)]
- explicitly add localhost to pg_hba.conf (for case when PLC_API_IP and
  PLC_WWW_IP do not resolve to PLC_DB_IP)

17 years ago- bootstrap the db in the api script
Mark Huang [Thu, 18 Jan 2007 22:10:43 +0000 (22:10 +0000)]
- bootstrap the db in the api script

17 years ago- set up cron on a per-server basis
Mark Huang [Thu, 18 Jan 2007 22:10:33 +0000 (22:10 +0000)]
- set up cron on a per-server basis

17 years ago- also list PLC_DB_HOST
Mark Huang [Thu, 18 Jan 2007 22:10:18 +0000 (22:10 +0000)]
- also list PLC_DB_HOST

17 years ago- fix newline problem with PLC_API_MAINTENANCE_SOURCES regeneration
Mark Huang [Thu, 18 Jan 2007 22:10:08 +0000 (22:10 +0000)]
- fix newline problem with PLC_API_MAINTENANCE_SOURCES regeneration
- bootstrap the DB here instead of in db

17 years ago/etc/init.d/postgresql fails if it is not running
Mark Huang [Thu, 18 Jan 2007 22:09:14 +0000 (22:09 +0000)]
/etc/init.d/postgresql fails if it is not running

17 years agoremove all traces of MA/CA certificate junk
Mark Huang [Thu, 18 Jan 2007 18:44:18 +0000 (18:44 +0000)]
remove all traces of MA/CA certificate junk

17 years agodo not dereference symlinks when chowning files back to the SUDO_USER
Mark Huang [Wed, 17 Jan 2007 22:44:17 +0000 (22:44 +0000)]
do not dereference symlinks when chowning files back to the SUDO_USER

17 years ago- install mailx and sendmail, build script sends mail on failure
Mark Huang [Wed, 17 Jan 2007 22:35:51 +0000 (22:35 +0000)]
- install mailx and sendmail, build script sends mail on failure

17 years ago- remove the new admin account message; new admins should register as
Mark Huang [Wed, 17 Jan 2007 22:35:31 +0000 (22:35 +0000)]
- remove the new admin account message; new admins should register as
  regular users first, then be granted the admin role by a current
  admin.
- fix typos

17 years ago- back out last change, otherwise have to quote email in url
Mark Huang [Tue, 16 Jan 2007 17:26:11 +0000 (17:26 +0000)]
- back out last change, otherwise have to quote email in url

17 years ago- pass email instead of person_id to reset_password.php script
Mark Huang [Tue, 16 Jan 2007 17:23:26 +0000 (17:23 +0000)]
- pass email instead of person_id to reset_password.php script

17 years ago- Add apache to list of users that can send mail as others without a
Mark Huang [Tue, 16 Jan 2007 17:21:50 +0000 (17:21 +0000)]
- Add apache to list of users that can send mail as others without a
warning, so that the API can send out mail.

17 years ago- rewrite some of the message templates to be clearer
Mark Huang [Tue, 16 Jan 2007 17:21:31 +0000 (17:21 +0000)]
- rewrite some of the message templates to be clearer

17 years ago- fix permissions on tmp directories
Mark Huang [Fri, 12 Jan 2007 14:48:02 +0000 (14:48 +0000)]
- fix permissions on tmp directories

17 years ago- specify more directories to be moved to /data
Mark Huang [Thu, 11 Jan 2007 21:49:52 +0000 (21:49 +0000)]
- specify more directories to be moved to /data

17 years ago- generalize so that gpg keyrings do not have to be in /etc/planetlab
Mark Huang [Wed, 10 Jan 2007 20:18:02 +0000 (20:18 +0000)]
- generalize so that gpg keyrings do not have to be in /etc/planetlab
- fix keyring permissions fix

17 years ago- add default email templates
Tony Mack [Fri, 5 Jan 2007 16:13:54 +0000 (16:13 +0000)]
- add default email templates

17 years agoMake GPG key readable by apache so that the API can sign peer requests
Mark Huang [Fri, 15 Dec 2006 20:16:16 +0000 (20:16 +0000)]
Make GPG key readable by apache so that the API can sign peer requests

17 years ago- export PGPORT
Mark Huang [Tue, 12 Dec 2006 22:23:04 +0000 (22:23 +0000)]
- export PGPORT

17 years agomake the comment about slice creation a bit more explicit
Thierry Parmentelat [Tue, 12 Dec 2006 16:33:45 +0000 (16:33 +0000)]
make the comment about slice creation a bit more explicit

17 years agoregenerate
Thierry Parmentelat [Tue, 12 Dec 2006 10:19:15 +0000 (10:19 +0000)]
regenerate

17 years agoreview section on plc-config-tty to reflect recent changes
Thierry Parmentelat [Tue, 12 Dec 2006 10:16:28 +0000 (10:16 +0000)]
review section on plc-config-tty to reflect recent changes
outline necessity to tune PLC_NAME and PLC_SLICE_PREFIX
  in federation

17 years agoreview list of usual variables
Thierry Parmentelat [Tue, 12 Dec 2006 10:14:44 +0000 (10:14 +0000)]
review list of usual variables
removes "PLC_DB_HOST" "PLC_API_HOST" "PLC_WWW_HOST" that dont need
configuring in simple setups

17 years agosupport for changing SLICE_PREFIX
Thierry Parmentelat [Tue, 12 Dec 2006 10:13:31 +0000 (10:13 +0000)]
support for changing SLICE_PREFIX
first quick&dirty implementation:
(*) if SLICE_PREFIX is the default 'pl' then the two legacy slices are created
(*) otherwise they are not, and even deleted in case they were present
    this because the myplc doc instructs to perform a first run before configuring

17 years agoadds in the set of "usual" variables : PLC_MAIL_ENABLED and PLC_SLICE_PREFIX
Thierry Parmentelat [Fri, 8 Dec 2006 08:42:14 +0000 (08:42 +0000)]
adds in the set of "usual" variables : PLC_MAIL_ENABLED and PLC_SLICE_PREFIX

17 years ago- move drupal file uploads directory to /data
Mark Huang [Mon, 4 Dec 2006 15:43:39 +0000 (15:43 +0000)]
- move drupal file uploads directory to /data

17 years ago- no need to always_update blacklist or sysctl.conf
Mark Huang [Tue, 28 Nov 2006 21:45:53 +0000 (21:45 +0000)]
- no need to always_update blacklist or sysctl.conf

17 years ago- fix case when multiple slice attributes of the same type are set
Mark Huang [Tue, 28 Nov 2006 21:37:42 +0000 (21:37 +0000)]
- fix case when multiple slice attributes of the same type are set
  (e.g. proper_op)
- add XXX comments for old NM hacks

17 years agocreate planetlab4 db with unicode encoding and owned by pgsqluser
Mark Huang [Thu, 16 Nov 2006 18:50:32 +0000 (18:50 +0000)]
create planetlab4 db with unicode encoding and owned by pgsqluser

17 years ago- add "system" slice attribute to indicate if the slice is a default
Mark Huang [Thu, 16 Nov 2006 18:47:24 +0000 (18:47 +0000)]
- add "system" slice attribute to indicate if the slice is a default
  system slice or not
- XXX should add an all_nodes attribute as well?

17 years ago- fix .ssh directory permissions
Mark Huang [Wed, 15 Nov 2006 22:49:59 +0000 (22:49 +0000)]
- fix .ssh directory permissions

17 years ago- add back old node manager compatibility for now
Mark Huang [Tue, 14 Nov 2006 05:31:45 +0000 (05:31 +0000)]
- add back old node manager compatibility for now

17 years ago- allow update of default login_base
Mark Huang [Mon, 13 Nov 2006 21:31:12 +0000 (21:31 +0000)]
- allow update of default login_base
- remove sidewinder configuration files from PlanetLabConf
- rename default slice attribute types for new Node Manager

17 years ago- remove backward compatible /etc/planetlab/plc_api generation
Mark Huang [Mon, 13 Nov 2006 21:27:16 +0000 (21:27 +0000)]
- remove backward compatible /etc/planetlab/plc_api generation

17 years agoPLCAPI replaces php-xmlrpc
Mark Huang [Fri, 10 Nov 2006 19:03:48 +0000 (19:03 +0000)]
PLCAPI replaces php-xmlrpc

17 years ago- require php-devel to build custom xmlrpc.so extension
Mark Huang [Fri, 10 Nov 2006 06:35:50 +0000 (06:35 +0000)]
- require php-devel to build custom xmlrpc.so extension

17 years ago- add postgresql-devel to the myplc-devel build
Mark Huang [Thu, 9 Nov 2006 15:46:48 +0000 (15:46 +0000)]
- add postgresql-devel to the myplc-devel build

17 years ago- fix first-time default slice creation
Mark Huang [Wed, 8 Nov 2006 23:34:28 +0000 (23:34 +0000)]
- fix first-time default slice creation

17 years ago- rename some PlanetLabConf files
Mark Huang [Mon, 6 Nov 2006 22:03:05 +0000 (22:03 +0000)]
- rename some PlanetLabConf files
- fix reference to PLC_MA_SA_CA_SSL_KEY_PUB
- fix system slice attributes

17 years ago- filesystem.rpm fails to install if /tmp, /usr/tmp, or /var/tmp already
Mark Huang [Thu, 2 Nov 2006 17:36:34 +0000 (17:36 +0000)]
- filesystem.rpm fails to install if /tmp, /usr/tmp, or /var/tmp already
  exist

17 years ago- make the Drupal files upload directory in case it does not exist
Mark Huang [Mon, 30 Oct 2006 22:38:22 +0000 (22:38 +0000)]
- make the Drupal files upload directory in case it does not exist
  (maybe pruned by CVS)

17 years ago- move drupal files hack to runtime
Mark Huang [Mon, 30 Oct 2006 16:14:20 +0000 (16:14 +0000)]
- move drupal files hack to runtime

17 years ago- move drupal files chown hack here
Mark Huang [Mon, 30 Oct 2006 16:13:50 +0000 (16:13 +0000)]
- move drupal files chown hack here

17 years ago- add docbook-utils-pdf
Mark Huang [Sun, 29 Oct 2006 04:03:11 +0000 (04:03 +0000)]
- add docbook-utils-pdf

17 years ago- bootstrap Drupal DB
Mark Huang [Fri, 27 Oct 2006 20:29:20 +0000 (20:29 +0000)]
- bootstrap Drupal DB

17 years ago- new_plc_www and new_plc_api changes: fix includes path
Mark Huang [Fri, 27 Oct 2006 20:29:04 +0000 (20:29 +0000)]
- new_plc_www and new_plc_api changes: fix includes path
- got rid of oldapi, redirect all http://.../PLCAPI accesses to
  https://.../PLCAPI. Although as far as i know, most XML-RPC clients
  don't understand 302 redirects.
- use new_plc_api ModPython interface

17 years ago- update Drupal site_name variable with PLC_NAME
Mark Huang [Fri, 27 Oct 2006 20:27:04 +0000 (20:27 +0000)]
- update Drupal site_name variable with PLC_NAME

17 years ago- change default PLC_DB_NAME to planetlab4
Mark Huang [Fri, 27 Oct 2006 20:26:49 +0000 (20:26 +0000)]
- change default PLC_DB_NAME to planetlab4
- dropped old plc_api from website code, new plc_api PHP bindings can
  now do SSL properly
- drop plcapilib
- add PLCAPI package

17 years ago- convert to new_plc_api as best as possible
Mark Huang [Fri, 27 Oct 2006 20:25:37 +0000 (20:25 +0000)]
- convert to new_plc_api as best as possible

17 years ago- move /tmp, /usr/tmp, /var/tmp, and /var/log to /data
Mark Huang [Fri, 27 Oct 2006 20:24:32 +0000 (20:24 +0000)]
- move /tmp, /usr/tmp, /var/tmp, and /var/log to /data
- convert to planetlab4 schema
- convert to new_plc_api
- convert to new_plc_www
- install and configure Drupal

17 years agoreference to the FAQ
Thierry Parmentelat [Thu, 24 Aug 2006 17:13:33 +0000 (17:13 +0000)]
reference to the FAQ

17 years ago- added changelog for 0.4-3, 0.5-3
Mark Huang [Tue, 22 Aug 2006 17:17:29 +0000 (17:17 +0000)]
- added changelog for 0.4-3, 0.5-3

17 years ago- bump release number
Mark Huang [Tue, 22 Aug 2006 17:12:06 +0000 (17:12 +0000)]
- bump release number

17 years agoincrease revision id to 1.2 for previous changes
Thierry Parmentelat [Fri, 18 Aug 2006 14:38:43 +0000 (14:38 +0000)]
increase revision id to 1.2 for previous changes
describes /root under /data