myplc.git
17 years ago- add PlanetLabAuth to MyPLC installation
Mark Huang [Fri, 23 Jun 2006 20:31:09 +0000 (20:31 +0000)]
- add PlanetLabAuth to MyPLC installation
- add root CA variables
- add MA/SA variables
- clarify descriptions of various certificates
- fix types of boot_ssl.crt and boot_ssl.key

17 years agobe verbose
Mark Huang [Fri, 23 Jun 2006 20:29:22 +0000 (20:29 +0000)]
be verbose

17 years ago- fix nm_net descriptions (bps instead of kbps)
Mark Huang [Tue, 30 May 2006 15:06:20 +0000 (15:06 +0000)]
- fix nm_net descriptions (bps instead of kbps)

17 years ago- install /usr/bin/dns-config script
Mark Huang [Fri, 26 May 2006 19:59:24 +0000 (19:59 +0000)]
- install /usr/bin/dns-config script

17 years ago- move DNS configuration/update to separate Python script that runs
Mark Huang [Fri, 26 May 2006 19:57:30 +0000 (19:57 +0000)]
- move DNS configuration/update to separate Python script that runs
  both at startup and periodically, so that /etc/plc_hosts and dnsmasq
  are kept up-to-date

17 years ago- handle case when there are no nodes
Mark Huang [Wed, 24 May 2006 03:08:55 +0000 (03:08 +0000)]
- handle case when there are no nodes

17 years agoregenerate
Mark Huang [Tue, 23 May 2006 18:15:51 +0000 (18:15 +0000)]
regenerate

17 years ago- enable local DNS server by default, set primary DNS server for MyPLC
Mark Huang [Tue, 23 May 2006 18:14:47 +0000 (18:14 +0000)]
- enable local DNS server by default, set primary DNS server for MyPLC
  to 127.0.0.1
- add optional _IP parameters for each server so that the local DNS
  server can provide resolution for MyPLC itself
- require dnsmasq

17 years agoenable local DNS server that can provide minimal forward DNS resolution for MyPLC...
Mark Huang [Tue, 23 May 2006 18:10:08 +0000 (18:10 +0000)]
enable local DNS server that can provide minimal forward DNS resolution for MyPLC and its nodes

17 years ago- write node hostnames to /etc/plc_hosts
Mark Huang [Tue, 23 May 2006 18:09:21 +0000 (18:09 +0000)]
- write node hostnames to /etc/plc_hosts

17 years ago- only mount or unmount if starting or stopping everything
Mark Huang [Tue, 23 May 2006 18:00:21 +0000 (18:00 +0000)]
- only mount or unmount if starting or stopping everything

17 years agovacuum the DB every night
Mark Huang [Mon, 22 May 2006 21:12:17 +0000 (21:12 +0000)]
vacuum the DB every night

17 years ago- write all nodes' IP addresses into /etc/hosts in preparation for
Mark Huang [Fri, 19 May 2006 22:22:15 +0000 (22:22 +0000)]
- write all nodes' IP addresses into /etc/hosts in preparation for
  dnsmasq support

17 years agoreview confusing w/W stuff, always consolidate
Thierry Parmentelat [Fri, 19 May 2006 07:55:27 +0000 (07:55 +0000)]
review confusing w/W stuff, always consolidate

17 years ago- fix empty repository check; bash lazily evaluates wildcards, can't use
Mark Huang [Thu, 18 May 2006 22:58:20 +0000 (22:58 +0000)]
- fix empty repository check; bash lazily evaluates wildcards, can't use
  empty string test to test if expansion is empty

17 years agoscript to update node package repository and sign packages
Mark Huang [Thu, 18 May 2006 17:36:39 +0000 (17:36 +0000)]
script to update node package repository and sign packages

17 years ago- can't figure out how to parse escaped colons in gpg --with-colons
Mark Huang [Thu, 18 May 2006 17:34:10 +0000 (17:34 +0000)]
- can't figure out how to parse escaped colons in gpg --with-colons
  output. sigh. just blindly add the uid when updating, gpg will detect
  2+ duplicates and it doesn't really matter anyway.

17 years ago- deleting UIDs is not the right thing to do; instead, add a new UID if
Mark Huang [Wed, 17 May 2006 22:52:09 +0000 (22:52 +0000)]
- deleting UIDs is not the right thing to do; instead, add a new UID if
  appropriate if any of the components of the UID change
- install GPG key in the RPM database as a valid signing key (for
  yum-arch)

17 years ago- update GPG UID name/email/comment fields
Mark Huang [Wed, 17 May 2006 20:47:59 +0000 (20:47 +0000)]
- update GPG UID name/email/comment fields

17 years ago- fix /etc/hosts generation
Mark Huang [Tue, 16 May 2006 17:09:34 +0000 (17:09 +0000)]
- fix  /etc/hosts generation

17 years ago- build FC4 based MyPLC by default
Mark Huang [Mon, 15 May 2006 21:13:42 +0000 (21:13 +0000)]
- build FC4 based MyPLC by default

18 years ago- hard-code all default PlanetLabConf entries; i.e., do not require
Mark Huang [Tue, 9 May 2006 19:52:01 +0000 (19:52 +0000)]
- hard-code all default PlanetLabConf entries; i.e., do not require
  access to Princeton to bootstrap them, and don't depend on current
  Princeton PLC setup

18 years ago- make gpg public key readable
Mark Huang [Mon, 8 May 2006 18:16:33 +0000 (18:16 +0000)]
- make gpg public key readable

18 years agoupdate web page
Mark Huang [Thu, 4 May 2006 14:26:25 +0000 (14:26 +0000)]
update web page

18 years ago- fix an intermittent startup problem: the only way we can be really
Mark Huang [Tue, 2 May 2006 23:52:50 +0000 (23:52 +0000)]
- fix an intermittent startup problem: the only way we can be really
  sure that postgres is up, is by trying to access it

18 years ago- fix comment
Mark Huang [Tue, 2 May 2006 15:09:08 +0000 (15:09 +0000)]
- fix comment

18 years ago- restore default configuration to cache
Mark Huang [Tue, 2 May 2006 14:58:47 +0000 (14:58 +0000)]
- restore default configuration to cache

18 years agoDoes not exit after w/W, so as to allow for a restart to be issued afterwards
Thierry Parmentelat [Tue, 2 May 2006 10:55:36 +0000 (10:55 +0000)]
Does not exit after w/W, so as to allow for a restart to be issued afterwards

18 years agoUpon Mark's request, added a note in the QuickStart section,
Thierry Parmentelat [Tue, 2 May 2006 10:43:40 +0000 (10:43 +0000)]
Upon Mark's request, added a note in the QuickStart section,
warning about having SELinux enabled on fc4 and fc5

pdf output updated as well

18 years agofix typo
Mark Huang [Fri, 28 Apr 2006 20:16:14 +0000 (20:16 +0000)]
fix typo

18 years ago- also make PHP page by default
Mark Huang [Fri, 28 Apr 2006 20:16:04 +0000 (20:16 +0000)]
- also make PHP page by default

18 years ago- fix typo
Mark Huang [Fri, 28 Apr 2006 20:15:15 +0000 (20:15 +0000)]
- fix typo

18 years agouse localhost.localdomain instead of just localhost everywhere for consistency
Mark Huang [Fri, 28 Apr 2006 20:15:00 +0000 (20:15 +0000)]
use localhost.localdomain instead of just localhost everywhere for consistency

18 years ago- fix typo
Mark Huang [Thu, 27 Apr 2006 21:50:00 +0000 (21:50 +0000)]
- fix typo

18 years ago- don't source shell configuration in /etc/plc.d/functions, which is
Mark Huang [Tue, 25 Apr 2006 21:18:19 +0000 (21:18 +0000)]
- don't source shell configuration in /etc/plc.d/functions, which is
  also sourced by the guest initscript, which tries to regenerate the
  configuration and will pick up stale values

18 years agoregenerate
Mark Huang [Mon, 24 Apr 2006 22:15:42 +0000 (22:15 +0000)]
regenerate

18 years ago- add variable list as an appendix
Mark Huang [Mon, 24 Apr 2006 22:14:56 +0000 (22:14 +0000)]
- add variable list as an appendix

18 years ago- fix description of boot_address
Mark Huang [Mon, 24 Apr 2006 18:04:25 +0000 (18:04 +0000)]
- fix description of boot_address
- clarify default values of support_address and boot_address
- add slice_address template

18 years ago- start and stop local sendmail daemon
Mark Huang [Mon, 24 Apr 2006 15:49:32 +0000 (15:49 +0000)]
- start and stop local sendmail daemon

18 years agoadded ability to consolidate def_config.xml and site.xml into plc_config.xml
Thierry Parmentelat [Thu, 20 Apr 2006 13:22:43 +0000 (13:22 +0000)]
added ability to consolidate def_config.xml and site.xml into plc_config.xml

18 years agooops, the previous (unintended) check in was wrong and did not work
Thierry Parmentelat [Thu, 20 Apr 2006 09:01:00 +0000 (09:01 +0000)]
oops, the previous (unintended) check in was wrong and did not work
the 'start' function was undefined and so the system never took off
The usage line is reviewed as well

18 years agoaccording to Mark's explanation
Thierry Parmentelat [Thu, 20 Apr 2006 08:59:09 +0000 (08:59 +0000)]
according to Mark's explanation
performs 'service plc stop' inside the conditional within %preun

18 years agosupports for separate mount/umount/mountstatus operations
Thierry Parmentelat [Tue, 18 Apr 2006 15:39:35 +0000 (15:39 +0000)]
supports for separate mount/umount/mountstatus operations

18 years agoperforms service plc stop before uninstalling
Thierry Parmentelat [Tue, 18 Apr 2006 15:39:34 +0000 (15:39 +0000)]
performs service plc stop before uninstalling

18 years ago(*) defines new method locate_varname used by plc-config-tty
Thierry Parmentelat [Tue, 18 Apr 2006 15:32:48 +0000 (15:32 +0000)]
(*) defines new method locate_varname used by plc-config-tty
(*) output file opened in 'w' mode rather than 'r+'
(*) output_shell method tkes an extra argument, a toggle for comment printing

18 years agoFirst draft
Thierry Parmentelat [Tue, 18 Apr 2006 15:29:36 +0000 (15:29 +0000)]
First draft

Interactive script for setting up myplc config

The locally-changed settings are stored, in a separate xml file
located in /etc/planetlab/configs/site.xml

type ? at the prompt for help

18 years agoonly parse executable scripts in /etc/plc.d
Mark Huang [Mon, 17 Apr 2006 17:04:37 +0000 (17:04 +0000)]
only parse executable scripts in /etc/plc.d

18 years agoupdate default root user name
Mark Huang [Mon, 17 Apr 2006 16:48:25 +0000 (16:48 +0000)]
update default root user name

18 years ago- update default root username
Mark Huang [Mon, 17 Apr 2006 16:47:59 +0000 (16:47 +0000)]
- update default root username

18 years ago- API now accepts @localhost.localdomain as an e-mail domain, use it
Mark Huang [Mon, 17 Apr 2006 16:47:38 +0000 (16:47 +0000)]
- API now accepts @localhost.localdomain as an e-mail domain, use it
  instead of test.planet-lab.org for all default e-mail addresses

18 years agogenerate php for the website
Mark Huang [Thu, 13 Apr 2006 15:11:39 +0000 (15:11 +0000)]
generate php for the website

18 years ago- MyPLC User's Guide
Mark Huang [Wed, 12 Apr 2006 21:21:36 +0000 (21:21 +0000)]
- MyPLC User's Guide

18 years agoallow stepwise start/stop
Mark Huang [Wed, 12 Apr 2006 19:30:47 +0000 (19:30 +0000)]
allow stepwise start/stop

18 years ago- fix a couple of types
Mark Huang [Wed, 12 Apr 2006 17:59:45 +0000 (17:59 +0000)]
- fix a couple of types
- add header
- specify xml encoding
- use right dtd

18 years ago- install DTD
Mark Huang [Wed, 12 Apr 2006 17:59:10 +0000 (17:59 +0000)]
- install DTD

18 years agoDTD for configuration file
Mark Huang [Wed, 12 Apr 2006 17:59:06 +0000 (17:59 +0000)]
DTD for configuration file

18 years ago- build with FC4
Mark Huang [Mon, 10 Apr 2006 21:10:08 +0000 (21:10 +0000)]
- build with FC4
- bump version number

18 years agokernel-vserver is intended for the vserver-reference, but serves the
Mark Huang [Mon, 10 Apr 2006 21:09:52 +0000 (21:09 +0000)]
kernel-vserver is intended for the vserver-reference, but serves the
same useful purpose for MyPLC, namely, to Provide: kernel without
actually installing anything.

18 years ago- restore default configuration by just removing plc_config.xml and
Mark Huang [Mon, 10 Apr 2006 21:09:32 +0000 (21:09 +0000)]
- restore default configuration by just removing plc_config.xml and
  bootstrap.xml after shutting down

18 years ago- must read /etc/planetlab/plc_config.xml, otherwise changes will always
Mark Huang [Mon, 10 Apr 2006 21:09:02 +0000 (21:09 +0000)]
- must read /etc/planetlab/plc_config.xml, otherwise changes will always
  be lost!

18 years ago- implement Thierry's suggestion of installing default values in
Mark Huang [Mon, 10 Apr 2006 18:19:17 +0000 (18:19 +0000)]
- implement Thierry's suggestion of installing default values in
  /etc/planetlab/default_config.xml, and merging them with site-specific
  values at runtime.

18 years ago- Regenerate the main configuration file from default values overlaid
Mark Huang [Mon, 10 Apr 2006 18:18:14 +0000 (18:18 +0000)]
- Regenerate the main configuration file from default values overlaid
  with site-specific values. If there are no site-specific values for
  the DB and maint passwords, this has the side effect of regenerating
  them on every restart, but that's probably a good thing.

18 years ago- set PGPORT
Mark Huang [Mon, 10 Apr 2006 16:00:47 +0000 (16:00 +0000)]
- set PGPORT

18 years ago- only source configuration if it exists to avoid bootstrap warning
Mark Huang [Mon, 10 Apr 2006 15:53:49 +0000 (15:53 +0000)]
- only source configuration if it exists to avoid bootstrap warning

18 years ago- check if /plc is mounted before trying to unmount it
Mark Huang [Fri, 7 Apr 2006 17:12:52 +0000 (17:12 +0000)]
- check if /plc is mounted before trying to unmount it

18 years ago- stop plc services before upgrading
Mark Huang [Fri, 7 Apr 2006 17:12:25 +0000 (17:12 +0000)]
- stop plc services before upgrading

18 years ago- simplify/correct certificate generation
Mark Huang [Fri, 7 Apr 2006 04:28:16 +0000 (04:28 +0000)]
- simplify/correct certificate generation

18 years ago- plc_daemon: return failure from exec
Mark Huang [Fri, 7 Apr 2006 04:27:56 +0000 (04:27 +0000)]
- plc_daemon: return failure from exec

18 years ago- whenever we generate a new self signed certificate, replace the
Mark Huang [Fri, 7 Apr 2006 03:36:04 +0000 (03:36 +0000)]
- whenever we generate a new self signed certificate, replace the
  private key as well, otherwise the old private key may be subject to
  rpm upgrade

18 years ago- split up guest.init (/etc/init.d/plc inside the chroot) into
Mark Huang [Thu, 6 Apr 2006 21:51:59 +0000 (21:51 +0000)]
- split up guest.init (/etc/init.d/plc inside the chroot) into
  separate steps installed in /etc/plc.d/ for scalability

18 years ago- fix /plc/data declaration
Mark Huang [Thu, 6 Apr 2006 14:06:07 +0000 (14:06 +0000)]
- fix /plc/data declaration

18 years agoRemove ISO and USB images, which take up >100MB but only take a
Mark Huang [Thu, 6 Apr 2006 03:33:41 +0000 (03:33 +0000)]
Remove ISO and USB images, which take up >100MB but only take a
couple of seconds to generate at first boot.

18 years ago- don't list /plc/data twice
Mark Huang [Thu, 6 Apr 2006 03:20:31 +0000 (03:20 +0000)]
- don't list /plc/data twice

18 years ago- remove -d option
Mark Huang [Thu, 6 Apr 2006 03:09:17 +0000 (03:09 +0000)]
- remove -d option

18 years ago- Consolidate into a single package installed in /plc.
Mark Huang [Thu, 6 Apr 2006 03:06:49 +0000 (03:06 +0000)]
- Consolidate into a single package installed in /plc.

18 years ago- install in /plc instead of /usr/share/plc
Mark Huang [Thu, 6 Apr 2006 03:06:22 +0000 (03:06 +0000)]
- install in /plc instead of /usr/share/plc
- don't bother installing node rpms; PlanetLab-Bootstrap.tar.bz2 should now be complete

18 years agoremove backward compatibility symlink, yum.conf generation now fixed
Mark Huang [Wed, 5 Apr 2006 20:11:01 +0000 (20:11 +0000)]
remove backward compatibility symlink, yum.conf generation now fixed

18 years ago- use preferred lowercase define() in php generation
Mark Huang [Tue, 4 Apr 2006 22:09:47 +0000 (22:09 +0000)]
- use preferred lowercase define() in php generation

18 years ago- use preferred lowercase define() in PHP generation
Mark Huang [Tue, 4 Apr 2006 22:09:25 +0000 (22:09 +0000)]
- use preferred lowercase define() in PHP generation

18 years ago- put the root SSH public key in the place where the API expects it to
Mark Huang [Mon, 3 Apr 2006 21:50:29 +0000 (21:50 +0000)]
- put the root SSH public key in the place where the API expects it to
  be
- make SSH public keys readable

18 years ago- create a planetlab-v3 symlink for backward compatibility
Mark Huang [Mon, 3 Apr 2006 20:41:39 +0000 (20:41 +0000)]
- create a planetlab-v3 symlink for backward compatibility

18 years ago- customize bootcd and bootmanager
Mark Huang [Mon, 3 Apr 2006 19:47:07 +0000 (19:47 +0000)]
- customize bootcd and bootmanager
- use bash v2 ${!variable} syntax instead of kludgy evals
- config_ssl: regenerate self-signed certificate if hostname changes, or
  the certificate expires. Check if have already have a self-signed
  certificate for the same hostname before deciding to generate a new
  one, since name-based virtual hosting doesn't work with SSL.
- allow the API, web, and boot servers to run on different ports

18 years ago- explicitly install dev
Mark Huang [Mon, 3 Apr 2006 19:43:19 +0000 (19:43 +0000)]
- explicitly install dev
- install some other useful utilities
- install customizable Boot CD and Boot Manager packages

18 years ago- fix typo
Mark Huang [Fri, 31 Mar 2006 21:51:34 +0000 (21:51 +0000)]
- fix typo

18 years ago- fix comment
Mark Huang [Fri, 31 Mar 2006 21:38:07 +0000 (21:38 +0000)]
- fix comment

18 years ago- do not tolerate errors
Mark Huang [Fri, 31 Mar 2006 21:18:42 +0000 (21:18 +0000)]
- do not tolerate errors
- disable all services in vserver-reference image

18 years ago- fix typos
Mark Huang [Fri, 31 Mar 2006 00:41:03 +0000 (00:41 +0000)]
- fix typos

18 years ago- explicitly add openssh requirement
Mark Huang [Wed, 29 Mar 2006 19:18:17 +0000 (19:18 +0000)]
- explicitly add openssh requirement

18 years ago- always update system slice attributes in case the url or SSL public
Mark Huang [Wed, 29 Mar 2006 19:17:26 +0000 (19:17 +0000)]
- always update system slice attributes in case the url or SSL public
  key changes

18 years ago- allow db port to be overridden
Mark Huang [Wed, 29 Mar 2006 17:03:15 +0000 (17:03 +0000)]
- allow db port to be overridden
- add better check for postgresql startup success

18 years agoallow db port to be overridden during build bootstrap
Mark Huang [Wed, 29 Mar 2006 17:02:47 +0000 (17:02 +0000)]
allow db port to be overridden during build bootstrap

18 years ago- fix cases when yum-arch and/or createrepo don't exist
Mark Huang [Wed, 29 Mar 2006 17:02:00 +0000 (17:02 +0000)]
- fix cases when yum-arch and/or createrepo don't exist

18 years ago- always recalculate PLC_API_MAINTENANCE_SOURCES; basically, make this
Mark Huang [Wed, 29 Mar 2006 05:15:05 +0000 (05:15 +0000)]
- always recalculate PLC_API_MAINTENANCE_SOURCES; basically, make this
  an internal variable

18 years ago- always recalculate PLC_API_MAINTENANCE_SOURCES; basically, make this
Mark Huang [Wed, 29 Mar 2006 05:14:43 +0000 (05:14 +0000)]
- always recalculate PLC_API_MAINTENANCE_SOURCES; basically, make this
  an internal variable
- deny access to /db if web server is not enabled on this machine
- redirect all non-ssl accesses to /db if the web server is enabled on
  this machine

18 years ago- back out last checkin; there's not really a clean way to make the
Mark Huang [Wed, 29 Mar 2006 03:54:12 +0000 (03:54 +0000)]
- back out last checkin; there's not really a clean way to make the
  separation now without requiring another bind mount

18 years ago- make /var/www/html/install-rpms part of the main rpm package since
Mark Huang [Wed, 29 Mar 2006 03:51:56 +0000 (03:51 +0000)]
- make /var/www/html/install-rpms part of the main rpm package since
  they are fs-independent

18 years ago- fix comment about where our dependencies live
Mark Huang [Wed, 29 Mar 2006 03:36:53 +0000 (03:36 +0000)]
- fix comment about where our dependencies live
- add status messages everywhere
- when installing web pages, exclude old cruft, unrelated GENI pages,
  and official documents
- e2fsck with -a to avoid not-on-terminal warning
- install node RPMs directly into data directory; exclude ourself,
  bootcd, bootmanager, and debuginfo RPMs
- check exit status of bootstrap shutdown

18 years ago- use a global function check() to keep track of the total number of
Mark Huang [Wed, 29 Mar 2006 02:56:15 +0000 (02:56 +0000)]
- use a global function check() to keep track of the total number of
  (interesting) errors
- reload(): before resolving hostnames in order to generate
  PLC_API_MAINTENANCE_SOURCES, need to generate network files first

18 years ago- fix -ne bug
Mark Huang [Wed, 29 Mar 2006 00:01:35 +0000 (00:01 +0000)]
- fix -ne bug
- don't send mail from cron if mail is not globally enabled

18 years ago- Must call AdmUpdateSite() even after AdmAddSite() to update max_slices
Mark Huang [Tue, 28 Mar 2006 22:35:42 +0000 (22:35 +0000)]
- Must call AdmUpdateSite() even after AdmAddSite() to update max_slices