Thierry Parmentelat [Mon, 19 Nov 2007 09:00:42 +0000 (09:00 +0000)]
try to sort out this list - added pycurl
Thierry Parmentelat [Mon, 19 Nov 2007 06:07:09 +0000 (06:07 +0000)]
plcwww needs uppercase
Thierry Parmentelat [Fri, 16 Nov 2007 16:59:01 +0000 (16:59 +0000)]
propset - enables svn keywords
Thierry Parmentelat [Fri, 16 Nov 2007 15:14:21 +0000 (15:14 +0000)]
* tentative merge of onelab myplc
* configuration works a slightly different way, using plc-config-tty is recommended
* a few new convenience commands
* improved packaging (plcapi doc, yum.conf, sudoers)
* more robust for invoking service plc through ssh
Marc Fiuczynski [Mon, 5 Nov 2007 18:25:49 +0000 (18:25 +0000)]
combine conditionals; I thought parseSpec was wrong, but it turns out that it was due to a syntax error on my part
Marc Fiuczynski [Mon, 5 Nov 2007 18:22:38 +0000 (18:22 +0000)]
get rid of extra ) in %if conditional
Marc Fiuczynski [Mon, 5 Nov 2007 18:20:57 +0000 (18:20 +0000)]
fix distroname conditional
Marc Fiuczynski [Mon, 5 Nov 2007 17:38:34 +0000 (17:38 +0000)]
parseSpec does not like complex %if statements
Marc Fiuczynski [Mon, 5 Nov 2007 16:51:15 +0000 (16:51 +0000)]
This change set makes several modifications:
1. it conditionally include certain "Requires" statements for specific
distributions and their corresponding release.
2. it double checks that /sbin/new-kernel-pkg isn't linked to /sbin/true,
as often is the case in vservers dueo the /etc/rpm/macros setup.
3. adds in 256 /dev/loop entries
4. turns off the "requirestty" option in /etc/sudoers
Marc Fiuczynski [Fri, 26 Oct 2007 21:07:59 +0000 (21:07 +0000)]
generalize to support distro and release for packages
Marc Fiuczynski [Thu, 25 Oct 2007 03:39:08 +0000 (03:39 +0000)]
inotify-devel-tools only exists in f7 and up as a standard package.
Marc Fiuczynski [Wed, 24 Oct 2007 13:29:56 +0000 (13:29 +0000)]
Rename the rpm package name to be MyPLC-devel-native.
Marc Fiuczynski [Wed, 24 Oct 2007 12:43:23 +0000 (12:43 +0000)]
Make certain packages optional based on fedora release version.
Marc Fiuczynski [Tue, 23 Oct 2007 18:30:58 +0000 (18:30 +0000)]
Remove gen-sites-xml.py, gen-slices-xml-05.py, and
gen-static-content.py from basic MyPLC build. These are sepcific for
the public PlanetLab and do not need to be part of the basic MyPLC
build.
Marc Fiuczynski [Tue, 23 Oct 2007 18:27:34 +0000 (18:27 +0000)]
Change pushd to use MyPLC rather than myplc, because we renamed the package.
Marc Fiuczynski [Tue, 23 Oct 2007 17:30:53 +0000 (17:30 +0000)]
Include graphviz for util-vserver. It uses the "dot" program.
Marc Fiuczynski [Mon, 22 Oct 2007 17:14:28 +0000 (17:14 +0000)]
Bump version.
Marc Fiuczynski [Mon, 22 Oct 2007 17:12:07 +0000 (17:12 +0000)]
Make uninstall scriptlet work.
Marc Fiuczynski [Mon, 22 Oct 2007 16:49:40 +0000 (16:49 +0000)]
Removed "install" and "metadata" from the Requires list. Not sure
where those came from in the first place.
Marc Fiuczynski [Mon, 22 Oct 2007 16:47:07 +0000 (16:47 +0000)]
Change svn -> subversion.
Marc Fiuczynski [Mon, 22 Oct 2007 16:33:19 +0000 (16:33 +0000)]
Include ocaml et al. required by vsys. There were a few others listed
in plc_devel_config.xml that I've also added.
Marc Fiuczynski [Wed, 17 Oct 2007 07:21:25 +0000 (07:21 +0000)]
Change pushd from myplc to MyPLC due to module renaming.
Marc Fiuczynski [Wed, 17 Oct 2007 06:25:01 +0000 (06:25 +0000)]
Don't install the gen-sits-xml, gen-slices-xml, and gen-static-content files.
Copy files from WWW rather than new_plc_www module. This is needed
because we renamed the module.
Marc Fiuczynski [Sun, 14 Oct 2007 18:14:47 +0000 (18:14 +0000)]
PLCAPI build requires expat-devel
Marc Fiuczynski [Wed, 10 Oct 2007 17:39:25 +0000 (17:39 +0000)]
Added ocaml and inotify RPMs for vsys [wiki:vsys vsys].
Marc Fiuczynski [Tue, 9 Oct 2007 17:41:09 +0000 (17:41 +0000)]
Bump version number.
Marc Fiuczynski [Tue, 9 Oct 2007 17:40:11 +0000 (17:40 +0000)]
Change pushd ops to use MyPLC rather than myplc, because we renamed the module.
Marc Fiuczynski [Fri, 5 Oct 2007 22:06:47 +0000 (22:06 +0000)]
Defines an RPM package that has all of the appropriate Requires:
statements in order to build myplc. Will also add the "build"
user/group and update /etc/sudoers with this build user.
Marc Fiuczynski [Wed, 12 Sep 2007 21:36:51 +0000 (21:36 +0000)]
need mysql to build ulogd from within myplc-devel
Marc Fiuczynski [Mon, 10 Sep 2007 20:16:44 +0000 (20:16 +0000)]
build script a myplc that can be installed into a vserver/vanilla fc box
Marc Fiuczynski [Mon, 10 Sep 2007 20:15:41 +0000 (20:15 +0000)]
spec file for a myplc that can be installed into a vserver/vanilla fc box
Stephen Soltesz [Wed, 5 Sep 2007 16:39:56 +0000 (16:39 +0000)]
+ update messages to reflect current GUI
update authentication failure messages to describe all-in-one bootcd
options as a possibility for what to do
Marc Fiuczynski [Fri, 31 Aug 2007 07:14:27 +0000 (07:14 +0000)]
let build have full sudo power within a myplc-devel
Marc Fiuczynski [Fri, 31 Aug 2007 04:48:37 +0000 (04:48 +0000)]
add uninstall for distutils
Marc Fiuczynski [Fri, 31 Aug 2007 04:48:11 +0000 (04:48 +0000)]
typo
Marc Fiuczynski [Fri, 31 Aug 2007 02:33:04 +0000 (02:33 +0000)]
fix pl_make_mig -> pl_make_image
Marc Fiuczynski [Fri, 31 Aug 2007 02:29:35 +0000 (02:29 +0000)]
use build/build.common functions
Marc Fiuczynski [Fri, 31 Aug 2007 02:24:24 +0000 (02:24 +0000)]
move a bunch of functionality out into the build modules' build.common file
Marc Fiuczynski [Wed, 29 Aug 2007 03:13:07 +0000 (03:13 +0000)]
assume Fedora release should be at least FC4
Marc Fiuczynski [Tue, 28 Aug 2007 21:52:38 +0000 (21:52 +0000)]
fix to selecting Fedora release number
Marc Fiuczynski [Fri, 24 Aug 2007 07:36:28 +0000 (07:36 +0000)]
need python-devel explicit in Fedora 7
Marc Fiuczynski [Fri, 24 Aug 2007 07:19:27 +0000 (07:19 +0000)]
add findutils explicitly, as this does not appear in Fedora 7
Marc Fiuczynski [Fri, 24 Aug 2007 07:11:36 +0000 (07:11 +0000)]
Let mkfedora pick the right URL to get the RPMs, unless it is specifically specified in /etc/planetlab/ or passed in as an argument
Marc Fiuczynski [Fri, 24 Aug 2007 06:48:06 +0000 (06:48 +0000)]
Make Fedora 7 compatible
Faiyaz Ahmed [Wed, 22 Aug 2007 02:04:56 +0000 (02:04 +0000)]
change v3 to v4 yumgroups.xml
Marc Fiuczynski [Thu, 16 Aug 2007 21:42:02 +0000 (21:42 +0000)]
by default build myplc for same fedora as host environment
Daniel Hokka Zakrisson [Mon, 13 Aug 2007 18:59:04 +0000 (18:59 +0000)]
Allow build as root (eww)
Tony Mack [Mon, 2 Jul 2007 18:44:10 +0000 (18:44 +0000)]
- set default site 'is_public' value to True
Thierry Parmentelat [Mon, 5 Mar 2007 12:38:47 +0000 (12:38 +0000)]
dumps and cleans the drupal database as well
Mark Huang [Fri, 9 Feb 2007 19:26:18 +0000 (19:26 +0000)]
- append site-specific access rules pg_hba.conf.d/*.conf to pg_hba.conf
Mark Huang [Thu, 8 Feb 2007 16:05:45 +0000 (16:05 +0000)]
- only update node package repository if running on boot server
Mark Huang [Wed, 7 Feb 2007 23:54:35 +0000 (23:54 +0000)]
- move gen-sites-xml.py one shot to www
Mark Huang [Wed, 7 Feb 2007 23:21:27 +0000 (23:21 +0000)]
- generate sites.xml on www
Mark Huang [Wed, 7 Feb 2007 18:45:42 +0000 (18:45 +0000)]
- fix exit/return mixup
Mark Huang [Wed, 7 Feb 2007 15:37:29 +0000 (15:37 +0000)]
- bump release number
Mark Huang [Tue, 6 Feb 2007 23:36:04 +0000 (23:36 +0000)]
- only look for .xml files in /etc/planetlab/configs
Mark Huang [Tue, 6 Feb 2007 17:55:34 +0000 (17:55 +0000)]
- serve PlanetLabConf if not running web server
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.
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
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
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
Mark Huang [Fri, 2 Feb 2007 23:40:43 +0000 (23:40 +0000)]
- go ahead and require SOAPpy
Mark Huang [Fri, 2 Feb 2007 23:40:22 +0000 (23:40 +0000)]
- remove plc_ticket_pubkey bootstrap, this is no longer necessary
Mark Huang [Fri, 2 Feb 2007 19:56:21 +0000 (19:56 +0000)]
- change i2 to i2_
Faiyaz Ahmed [Fri, 2 Feb 2007 19:43:01 +0000 (19:43 +0000)]
More sane network slice attribute names. Also added rate limits back.
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.
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
Faiyaz Ahmed [Thu, 1 Feb 2007 21:09:22 +0000 (21:09 +0000)]
Replaced network rate limits with byte limits.
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
Thierry Parmentelat [Wed, 31 Jan 2007 10:02:25 +0000 (10:02 +0000)]
executable migration scripts
Mark Huang [Tue, 30 Jan 2007 23:11:14 +0000 (23:11 +0000)]
- add Boot Manager messages
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
Thierry Parmentelat [Tue, 30 Jan 2007 15:56:53 +0000 (15:56 +0000)]
clean cleans repodata and headers as well
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]
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
Mark Huang [Fri, 26 Jan 2007 05:54:35 +0000 (05:54 +0000)]
run drupal cron every hour
Mark Huang [Fri, 26 Jan 2007 02:48:57 +0000 (02:48 +0000)]
- add perl-GD for plot-latlong
Mark Huang [Thu, 25 Jan 2007 20:27:18 +0000 (20:27 +0000)]
include generated/ subdir in php include_path
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
Mark Huang [Mon, 22 Jan 2007 16:50:48 +0000 (16:50 +0000)]
- remove api-config script
Thierry Parmentelat [Mon, 22 Jan 2007 13:27:59 +0000 (13:27 +0000)]
regenerate
Thierry Parmentelat [Mon, 22 Jan 2007 13:20:29 +0000 (13:20 +0000)]
mentions all hostnames in usual vars
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.
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'
Mark Huang [Sat, 20 Jan 2007 04:04:25 +0000 (04:04 +0000)]
- skip the whole cvs import garbage
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
Mark Huang [Fri, 19 Jan 2007 20:05:05 +0000 (20:05 +0000)]
- sigh, try again to fix merge of maintenance_sources
Mark Huang [Fri, 19 Jan 2007 20:04:20 +0000 (20:04 +0000)]
use input redirection
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.
Mark Huang [Fri, 19 Jan 2007 17:25:27 +0000 (17:25 +0000)]
- also explicitly allow localhost connections for drupal
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
Mark Huang [Fri, 19 Jan 2007 17:12:45 +0000 (17:12 +0000)]
- add lower() and upper() utility functions
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)
Mark Huang [Thu, 18 Jan 2007 22:10:43 +0000 (22:10 +0000)]
- bootstrap the db in the api script
Mark Huang [Thu, 18 Jan 2007 22:10:33 +0000 (22:10 +0000)]
- set up cron on a per-server basis
Mark Huang [Thu, 18 Jan 2007 22:10:18 +0000 (22:10 +0000)]
- also list PLC_DB_HOST
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
Mark Huang [Thu, 18 Jan 2007 22:09:14 +0000 (22:09 +0000)]
/etc/init.d/postgresql fails if it is not running
Mark Huang [Thu, 18 Jan 2007 18:44:18 +0000 (18:44 +0000)]
remove all traces of MA/CA certificate junk
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