myplc.git
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

17 years agoputs root-user's homedir (/root) under /data
Thierry Parmentelat [Fri, 18 Aug 2006 14:35:52 +0000 (14:35 +0000)]
puts root-user's homedir (/root) under /data

17 years agocosmetic:display short revision
Thierry Parmentelat [Fri, 18 Aug 2006 14:34:45 +0000 (14:34 +0000)]
cosmetic:display short revision

17 years agoshorten import log message - line was too long for the pdf version
Thierry Parmentelat [Fri, 18 Aug 2006 10:41:26 +0000 (10:41 +0000)]
shorten import log message - line was too long for the pdf version

17 years agoplc-config-tty as the preferred config method - regenerate
Thierry Parmentelat [Fri, 18 Aug 2006 09:53:25 +0000 (09:53 +0000)]
plc-config-tty as the preferred config method - regenerate

17 years agobug fix, bail out not handled when changing a single var
Thierry Parmentelat [Fri, 18 Aug 2006 09:31:55 +0000 (09:31 +0000)]
bug fix, bail out not handled when changing a single var

17 years agore-worked, bug fixes, new functions, documention in the user-doc underway
Thierry Parmentelat [Thu, 17 Aug 2006 16:17:18 +0000 (16:17 +0000)]
re-worked, bug fixes, new functions, documention in the user-doc underway

17 years ago- fix bind umount of fedora mirror during bootstrap build
Mark Huang [Wed, 16 Aug 2006 21:44:48 +0000 (21:44 +0000)]
- fix bind umount of fedora mirror during bootstrap build

17 years ago- fix bind mount of fedora mirror during bootstrap build
Mark Huang [Wed, 16 Aug 2006 15:03:30 +0000 (15:03 +0000)]
- fix bind mount of fedora mirror during bootstrap build

17 years agochange PLC_DEVEL_FEDORA_URL to default specified in documentation
Mark Huang [Wed, 16 Aug 2006 01:27:16 +0000 (01:27 +0000)]
change PLC_DEVEL_FEDORA_URL to default specified in documentation

17 years agoinstalls plc-config-tty on the root image
Thierry Parmentelat [Fri, 11 Aug 2006 18:34:59 +0000 (18:34 +0000)]
installs plc-config-tty on the root image

17 years agore-ordered for more user-friendly/straightforward presentation
Thierry Parmentelat [Fri, 11 Aug 2006 18:32:52 +0000 (18:32 +0000)]
re-ordered for more user-friendly/straightforward presentation
- 2 main sections, myplc and myplc-devel
- section myplc describes the case where all runs OK
  and gives implementation details (startup sequence & files
  installed) later on

17 years agodummy 1.12 for cathing up with the xml numbering
Thierry Parmentelat [Fri, 11 Aug 2006 18:29:09 +0000 (18:29 +0000)]
dummy 1.12 for cathing up with the xml numbering

17 years agodummy 1.11 for cathing up with the xml numbering
Thierry Parmentelat [Fri, 11 Aug 2006 18:28:44 +0000 (18:28 +0000)]
dummy 1.11 for cathing up with the xml numbering

17 years agoregenerate from xml 1.12
Thierry Parmentelat [Fri, 11 Aug 2006 16:49:45 +0000 (16:49 +0000)]
regenerate from xml 1.12

17 years agoadd a note on firewall config in the requirements section
Thierry Parmentelat [Fri, 11 Aug 2006 16:48:07 +0000 (16:48 +0000)]
add a note on firewall config in the requirements section

17 years agointroduces rpm variable build_devel, to easily skip building myplc-devel
Thierry Parmentelat [Fri, 11 Aug 2006 13:13:54 +0000 (13:13 +0000)]
introduces rpm variable build_devel, to easily skip building myplc-devel

17 years agoregenerate from myplc.xml 1.11
Thierry Parmentelat [Fri, 11 Aug 2006 12:42:08 +0000 (12:42 +0000)]
regenerate from myplc.xml 1.11

17 years ago* extended overview to introduce myplc-devel
Thierry Parmentelat [Fri, 11 Aug 2006 12:41:08 +0000 (12:41 +0000)]
* extended overview to introduce myplc-devel
* new second section 'requirements' describing status of SElinux

17 years agoclean also cleans up php
Thierry Parmentelat [Fri, 11 Aug 2006 12:39:20 +0000 (12:39 +0000)]
clean also cleans up php

17 years agomyplc startup now always regenerates configuration at least once
Mark Huang [Wed, 9 Aug 2006 21:38:42 +0000 (21:38 +0000)]
myplc startup now always regenerates configuration at least once

17 years agodistinguish between the tag used to import sources, and the tag used to build, so...
Mark Huang [Wed, 9 Aug 2006 21:38:06 +0000 (21:38 +0000)]
distinguish between the tag used to import sources, and the tag used to build, so that the date gets appended to rpm release versions correctly in nightly myplc builds

17 years ago- always regenerate /etc/planetlab/plc_config.xml from templates and
Mark Huang [Tue, 8 Aug 2006 23:19:52 +0000 (23:19 +0000)]
- always regenerate /etc/planetlab/plc_config.xml from templates and
  current values when starting or stopping all steps

17 years ago- restore dropped code which considers default_config.xml and
Mark Huang [Tue, 8 Aug 2006 17:19:11 +0000 (17:19 +0000)]
- restore dropped code which considers default_config.xml and
  plc_config.dtd for upgrade

17 years agoadd support for a -d option, for configuring myplc-devel
Thierry Parmentelat [Tue, 8 Aug 2006 16:59:23 +0000 (16:59 +0000)]
add support for a -d option, for configuring myplc-devel
adds options -v (version) and -h (help) while at it
minor bug fixes

todo: check for the configs/ subdir in <wherever>/etc/planetlab

17 years ago- don't merge and remove .rpmsave in %post since that defeats the
Mark Huang [Mon, 7 Aug 2006 21:56:00 +0000 (21:56 +0000)]
- don't merge and remove .rpmsave in %post since that defeats the
  purpose of what we're trying to do (preserve files that will be
  deleted during an upgrade)

17 years ago- copy when preserving instead of moving, and restore in post as well,
Mark Huang [Mon, 24 Jul 2006 23:53:42 +0000 (23:53 +0000)]
- copy when preserving instead of moving, and restore in post as well,
  so that you can force upgrade to the same version of myplc

17 years agopass CVS tag through to internal myplc build
Mark Huang [Mon, 24 Jul 2006 19:35:36 +0000 (19:35 +0000)]
pass CVS tag through to internal myplc build

17 years ago- don't require emailAddress in HTTPS certs
Mark Huang [Mon, 24 Jul 2006 19:30:45 +0000 (19:30 +0000)]
- don't require emailAddress in HTTPS certs

17 years agoregenerate
Mark Huang [Wed, 19 Jul 2006 17:06:53 +0000 (17:06 +0000)]
regenerate

17 years ago- add to changelog
Mark Huang [Wed, 19 Jul 2006 17:06:32 +0000 (17:06 +0000)]
- add to changelog

17 years ago- fix tabbing
Mark Huang [Wed, 19 Jul 2006 17:05:45 +0000 (17:05 +0000)]
- fix tabbing

17 years ago- add more comments to changelog for rc2
Mark Huang [Wed, 19 Jul 2006 14:43:18 +0000 (14:43 +0000)]
- add more comments to changelog for rc2

17 years ago- also remove .oldheaders directory
Mark Huang [Wed, 19 Jul 2006 14:15:15 +0000 (14:15 +0000)]
- also remove .oldheaders directory

17 years agoadd section about myplc-devel
Mark Huang [Tue, 18 Jul 2006 22:41:45 +0000 (22:41 +0000)]
add section about myplc-devel

17 years ago- use cvs- instead of cvs.
Mark Huang [Tue, 18 Jul 2006 21:01:08 +0000 (21:01 +0000)]
- use cvs- instead of cvs.

17 years ago- remove generated bootmanager.sh script to avoid .rpmnew
Mark Huang [Tue, 18 Jul 2006 20:06:51 +0000 (20:06 +0000)]
- remove generated bootmanager.sh script to avoid .rpmnew
- remove generated yum-arch/createrepo files to avoid .rpmnew

17 years ago- myplc-devel: Make sure /cvs is never upgraded once installed by giving
Mark Huang [Tue, 18 Jul 2006 19:10:36 +0000 (19:10 +0000)]
- myplc-devel: Make sure /cvs is never upgraded once installed by giving
  it a unique name (/data/cvs.%{version}-%{release}). If installing,
  make a hard-linked copy of /data/cvs.%{version}-%{release} to
  /data/cvs.

17 years ago- don't leave internal build behind
Mark Huang [Tue, 18 Jul 2006 18:54:06 +0000 (18:54 +0000)]
- don't leave internal build behind

17 years ago- fix default fedora_url
Mark Huang [Tue, 18 Jul 2006 17:37:53 +0000 (17:37 +0000)]
- fix default fedora_url

17 years ago- run myplc build inside myplc-devel inside a new login shell, so that
Mark Huang [Tue, 18 Jul 2006 16:06:11 +0000 (16:06 +0000)]
- run myplc build inside myplc-devel inside a new login shell, so that
  MAKEFLAGS is reset and the environment is clean

17 years ago- add myplc-devel subpackage
Mark Huang [Mon, 17 Jul 2006 21:45:42 +0000 (21:45 +0000)]
- add myplc-devel subpackage
- Old versions of myplc used to ship with a bootstrapped database and
  /etc/planetlab directory. Including generated files in the manifest
  was dangerous; if /plc/data/var/lib/pgsql/data/base/1/16676 changed
  names from one RPM build to another, it would be rpmsaved and thus
  effectively deleted. Now we do not include these files in the
  manifest. However, to avoid deleting these files in the process of
  upgrading from one of these old versions of myplc, we must back up
  the database and /etc/planetlab and restore them after the old
  version has been uninstalled in %triggerpostun.
- add changelog

17 years ago- split build.sh into two pieces: build_devel.sh, which builds
Mark Huang [Mon, 17 Jul 2006 21:31:31 +0000 (21:31 +0000)]
- split build.sh into two pieces: build_devel.sh, which builds
  myplc-devel, and build.sh, which builds myplc itself (optionally
  inside of the myplc-devel environment just built)
- add plc_devel_config.xml, the configuration for myplc-devel

17 years ago- support being called as either /etc/init.d/plc or /etc/init.d/plc-devel
Mark Huang [Mon, 17 Jul 2006 21:30:33 +0000 (21:30 +0000)]
- support being called as either /etc/init.d/plc or /etc/init.d/plc-devel
- pass "reload" onto guest plc initscript

17 years ago- do not generate sysconfig files
Mark Huang [Mon, 17 Jul 2006 21:29:43 +0000 (21:29 +0000)]
- do not generate sysconfig files

17 years ago- support installing standard package groups
Mark Huang [Mon, 17 Jul 2006 21:29:21 +0000 (21:29 +0000)]
- support installing standard package groups

17 years ago- If the CA certificate does not exist, assume that the certificate is self-signed.
Mark Huang [Mon, 17 Jul 2006 21:28:55 +0000 (21:28 +0000)]
- If the CA certificate does not exist, assume that the certificate is self-signed.

17 years agono longer need this since we do not generate root CA certs anymore
Mark Huang [Mon, 17 Jul 2006 16:51:45 +0000 (16:51 +0000)]
no longer need this since we do not generate root CA certs anymore

17 years agopush plc_mail_enabled to /etc/planetlab/plc_api for now
Mark Huang [Tue, 11 Jul 2006 20:57:25 +0000 (20:57 +0000)]
push plc_mail_enabled to /etc/planetlab/plc_api for now

17 years ago- move step-specific initialization to appropriate steps
Mark Huang [Mon, 10 Jul 2006 21:10:21 +0000 (21:10 +0000)]
- move step-specific initialization to appropriate steps
- since steps may now alter the configuration, regenerate config files
  after each step (if necessary)

17 years ago- fix postgresql startup failure when bootstrapping
Mark Huang [Mon, 10 Jul 2006 21:09:24 +0000 (21:09 +0000)]
- fix postgresql startup failure when bootstrapping
- set default pgsqluser password here

17 years ago- generate old /etc/planetlab/site_constants.php here
Mark Huang [Mon, 10 Jul 2006 21:08:46 +0000 (21:08 +0000)]
- generate old /etc/planetlab/site_constants.php here

17 years ago- generate old /etc/planetlab/plc_db file here
Mark Huang [Mon, 10 Jul 2006 21:08:06 +0000 (21:08 +0000)]
- generate old /etc/planetlab/plc_db file here
- set default maint password and ip sources here

17 years ago- think i finally understand ssl now
Mark Huang [Mon, 10 Jul 2006 21:06:16 +0000 (21:06 +0000)]
- think i finally understand ssl now
- allow CA to be configured for each ssl certificate set
- never do any root CA stuff. this is outside the scope of myplc. myplc
  now only generates self-signed certs (but supports replacement of the
  self-signed certs with real certs signed by another CA, as long as the
  CA is specified)
- self-sign the MA/SA SSL certificate (and by extension, the MA/SA API
  certificate)

17 years ago- move ssl_cname and ssl_email to plc.d/ssl since this is the only place
Mark Huang [Mon, 10 Jul 2006 21:05:37 +0000 (21:05 +0000)]
- move ssl_cname and ssl_email to plc.d/ssl since this is the only place
  it's ever used anyway

17 years ago- think i finally understand ssl now
Mark Huang [Mon, 10 Jul 2006 21:04:17 +0000 (21:04 +0000)]
- think i finally understand ssl now
- allow CA to be configured for each ssl certificate set
- never do any root CA stuff. this is outside the scope of myplc. myplc
  now only generates self-signed certs (but supports replacement of the
  self-signed certs with real certs signed by another CA, as long as the
  CA is specified)

17 years ago- fix License tag
Mark Huang [Thu, 6 Jul 2006 17:57:03 +0000 (17:57 +0000)]
- fix License tag

17 years agoPlanetLab software license and copyright
Mark Huang [Thu, 6 Jul 2006 17:56:43 +0000 (17:56 +0000)]
PlanetLab software license and copyright

17 years ago- support non-RH distros by checking for /sbin/chkconfig before using
Mark Huang [Thu, 6 Jul 2006 17:44:45 +0000 (17:44 +0000)]
- support non-RH distros by checking for /sbin/chkconfig before using

17 years ago- support non-RH distros by providing success() and failure() stubs
Mark Huang [Thu, 6 Jul 2006 17:43:52 +0000 (17:43 +0000)]
- support non-RH distros by providing success() and failure() stubs
- fix mountstatus() to use mounted()

17 years ago- bump version number on HEAD to 0.5
Mark Huang [Thu, 6 Jul 2006 14:56:05 +0000 (14:56 +0000)]
- bump version number on HEAD to 0.5

17 years ago- The self-signed root CA keypair and cert should *not* be used to sign
Mark Huang [Wed, 28 Jun 2006 21:34:18 +0000 (21:34 +0000)]
- The self-signed root CA keypair and cert should *not* be used to sign
the API, web, and boot server HTTPS certs. These HTTPS certs should be
treated as totally separate from the MA/SA API certificate (which is not
used for anything related to HTTPS).
- bump all expirations to 10 years

17 years agoallow apache to read PLC_MA_SA_SSL_KEY so it can make user certs
Aaron Klingaman [Wed, 28 Jun 2006 20:44:17 +0000 (20:44 +0000)]
allow apache to read PLC_MA_SA_SSL_KEY so it can make user certs

17 years ago- slightly modified default openssl.cnf; used for generating CSRs in plc.d/ssl
Mark Huang [Fri, 23 Jun 2006 22:05:39 +0000 (22:05 +0000)]
- slightly modified default openssl.cnf; used for generating CSRs in plc.d/ssl

17 years agoregenerate
Mark Huang [Fri, 23 Jun 2006 21:49:17 +0000 (21:49 +0000)]
regenerate

17 years ago- add additional steps to quickstart
Mark Huang [Fri, 23 Jun 2006 21:49:10 +0000 (21:49 +0000)]
- add additional steps to quickstart

17 years ago- move /etc/planetlab/plc_api generation to plc.d/api and api-config
Mark Huang [Fri, 23 Jun 2006 21:48:41 +0000 (21:48 +0000)]
- move /etc/planetlab/plc_api generation to plc.d/api and api-config
- plc.d scripts are now more verbose; lock down file permissions on
  /var/log/boot.log

17 years ago- generate up to 5 sets of SSL certs: a root CA keypair/cert used to
Mark Huang [Fri, 23 Jun 2006 21:47:18 +0000 (21:47 +0000)]
- generate up to 5 sets of SSL certs: a root CA keypair/cert used to
  sign the other 4 certs, an MA/SA keypair/cert used for signing slice
  tickets and other docs, and www/boot/api keypairs/certs
- /etc/planetlab/ssl is used to store the OpenSSL state; probably need
  to think of a better long-term solution

17 years ago- add ssl_email function for extracting the emailAddress from an X.509 cert
Mark Huang [Fri, 23 Jun 2006 21:41:56 +0000 (21:41 +0000)]
- add ssl_email function for extracting the emailAddress from an X.509 cert

17 years ago- add script to bootstrap the db
Mark Huang [Fri, 23 Jun 2006 21:41:42 +0000 (21:41 +0000)]
- add script to bootstrap the db

17 years ago- change this script to one whose primary jobs is to generate the API
Mark Huang [Fri, 23 Jun 2006 21:41:31 +0000 (21:41 +0000)]
- change this script to one whose primary jobs is to generate the API
  configuration file, and generate the API certificate

17 years ago- install db-config script
Mark Huang [Fri, 23 Jun 2006 21:40:46 +0000 (21:40 +0000)]
- install db-config script
- install openssl.cnf helper file for generating SSL certs

17 years ago- move most of the old api-config functionality here
Mark Huang [Fri, 23 Jun 2006 20:33:44 +0000 (20:33 +0000)]
- move most of the old api-config functionality here

17 years ago- move most functionality to better named "db-config" script
Mark Huang [Fri, 23 Jun 2006 20:33:28 +0000 (20:33 +0000)]
- move most functionality to better named "db-config" script
- generate API certificate for new federation auth functions
- generate backward-compatible /etc/planetlab/plc_api here instead of in
  guest.init since we need to have generated the root CA certificate
  first in plc.d/ssl before we know what its emailAddress is