Evan Broder [Wed, 16 Dec 2009 03:10:20 +0000 (22:10 -0500)]
Move XVM's locker authorization code into a separate xvm-authz-locker
package (and corresponding xvm.authz.locker Python package).
This makes it possible to install invirt-base without needing the
authz code installed as well, and also separates some very
XVM-specific logic from the Invirt packages.
svn path=/trunk/packages/invirt-base/; revision=2602
Evan Broder [Tue, 15 Dec 2009 01:50:43 +0000 (20:50 -0500)]
Subclass invirt.common.struct from dict, instead of rolling our own
almost-dict thing.
svn path=/trunk/packages/invirt-base/; revision=2592
Evan Broder [Tue, 8 Dec 2009 02:33:43 +0000 (21:33 -0500)]
Store AFS cell configuration at authz.afs.cells instead of just
authz.cells, to be more clear about purpose.
svn path=/trunk/packages/invirt-base/; revision=2590
Evan Broder [Sun, 29 Nov 2009 13:48:47 +0000 (08:48 -0500)]
Take advantage of the newly added symbolic names for PTS connection
encryption levels.
svn path=/trunk/packages/invirt-base/; revision=2572
Evan Broder [Sun, 29 Nov 2009 13:48:43 +0000 (08:48 -0500)]
Rephrase the invirt.authz.locker._authenticate docstring for clarity.
(Based on comments from price)
svn path=/trunk/packages/invirt-base/; revision=2571
Evan Broder [Mon, 23 Nov 2009 06:37:40 +0000 (01:37 -0500)]
In invirt.authz.locker, deal with getting tokens and
authenticating/encrypting connections when necessary.
svn path=/trunk/packages/invirt-base/; revision=2562
Evan Broder [Mon, 23 Nov 2009 04:17:31 +0000 (23:17 -0500)]
Update invirt-base's setup.py to deal with invirt.authz module.
svn path=/trunk/packages/invirt-base/; revision=2561
Evan Broder [Mon, 23 Nov 2009 04:14:52 +0000 (23:14 -0500)]
Add a magic invirt.authz.mech module that loads whatever authz.mech is
set to in the configuration.
svn path=/trunk/packages/invirt-base/; revision=2560
Evan Broder [Mon, 23 Nov 2009 04:14:51 +0000 (23:14 -0500)]
Add a invirt.authz.locker module to invirt-base for XVM-style
authorization.
svn path=/trunk/packages/invirt-base/; revision=2559
Evan Broder [Sun, 22 Nov 2009 21:56:15 +0000 (16:56 -0500)]
Add a changelog entry to invirt-base for r2551 (Add an __iter__ method
to invirt.common.struct.)
svn path=/trunk/packages/invirt-base/; revision=2553
Evan Broder [Sun, 22 Nov 2009 21:07:29 +0000 (16:07 -0500)]
Add an __iter__ method to invirt.common.struct.
svn path=/trunk/packages/invirt-base/; revision=2551
Evan Broder [Sun, 22 Nov 2009 21:07:11 +0000 (16:07 -0500)]
In invirt-base:
* Add a captureOutput function to invirt.common as a convenient wrapper
around subprocess.Popen.
svn path=/trunk/packages/invirt-base/; revision=2541
Evan Broder [Sun, 26 Apr 2009 15:41:45 +0000 (11:41 -0400)]
In invirt-base:
* Add the invirt-system component to the sources.list.
svn path=/trunk/packages/invirt-base/; revision=2304
Evan Broder [Tue, 17 Feb 2009 08:45:26 +0000 (03:45 -0500)]
Move invirt-setquotas into invirt-database.
While we're at it, clean up the mechanism to list scripts in a Python
package.
svn path=/trunk/packages/invirt-base/; revision=2151
Peter Iannucci [Tue, 17 Feb 2009 08:05:33 +0000 (03:05 -0500)]
Yay yasb
svn path=/trunk/packages/invirt-base/; revision=2148
Peter Iannucci [Tue, 17 Feb 2009 07:59:54 +0000 (02:59 -0500)]
Changelogs
svn path=/trunk/packages/invirt-base/; revision=2145
Peter Iannucci [Tue, 17 Feb 2009 07:57:42 +0000 (02:57 -0500)]
Fixed last yasb hopefully
svn path=/trunk/packages/invirt-base/; revision=2144
Peter Iannucci [Tue, 17 Feb 2009 07:16:12 +0000 (02:16 -0500)]
Made some changes requested by Broder.
svn path=/trunk/packages/invirt-base/; revision=2135
Peter Iannucci [Tue, 17 Feb 2009 06:54:26 +0000 (01:54 -0500)]
Added all the other quotas for great win.
svn path=/trunk/packages/invirt-base/; revision=2134
Peter Iannucci [Tue, 17 Feb 2009 04:52:01 +0000 (23:52 -0500)]
RAM quotas at remctl; RAM quota exception script, table, and usage in -web and -remote-create; /etc/nocreate support
svn path=/trunk/packages/invirt-base/; revision=2132
Evan Broder [Thu, 5 Feb 2009 08:24:56 +0000 (03:24 -0500)]
For now, revert r2093-2095, which were committed by accident; I'm not
comfortable with them sitting on HEAD when I don't have time to test
them.
svn path=/trunk/packages/invirt-base/; revision=2097
Evan Broder [Thu, 5 Feb 2009 08:19:30 +0000 (03:19 -0500)]
Get rid of confusing err=True option to invirt.remctl.remctl.
svn path=/trunk/packages/invirt-base/; revision=2095
Greg Price [Sat, 31 Jan 2009 19:37:22 +0000 (14:37 -0500)]
fix usage message in std-init.sh
svn path=/trunk/packages/invirt-base/; revision=2061
Greg Price [Sat, 31 Jan 2009 08:22:22 +0000 (03:22 -0500)]
depend on remctl-client in invirt-base, not invirt-web
svn path=/trunk/packages/invirt-base/; revision=2052
Greg Price [Fri, 30 Jan 2009 10:59:24 +0000 (05:59 -0500)]
fix whitespace in debathena.list
svn path=/trunk/packages/invirt-base/; revision=2025
Evan Broder [Mon, 26 Jan 2009 13:54:37 +0000 (08:54 -0500)]
Use a trigger in invirt-base to run invirt-reload instead of the
postinst of xvm-*config.
svn path=/trunk/packages/invirt-base/; revision=2009
Greg Price [Mon, 29 Dec 2008 00:27:15 +0000 (19:27 -0500)]
invirt.common: handle yaml's None with empty struct for good error message
svn path=/trunk/packages/invirt-base/; revision=1935
Greg Price [Mon, 29 Dec 2008 00:20:07 +0000 (19:20 -0500)]
invirt.common: give clearer error message on missing config variable
svn path=/trunk/packages/invirt-base/; revision=1934
Greg Price [Mon, 29 Dec 2008 00:19:55 +0000 (19:19 -0500)]
invirt.config: fix an error on empty config files
svn path=/trunk/packages/invirt-base/; revision=1933
Greg Price [Sun, 28 Dec 2008 07:56:22 +0000 (02:56 -0500)]
document config-init.sh better
svn path=/trunk/packages/invirt-base/; revision=1929
Greg Price [Sun, 28 Dec 2008 07:56:18 +0000 (02:56 -0500)]
config-init.sh: degrade to non-bash gracefully
svn path=/trunk/packages/invirt-base/; revision=1928
Greg Price [Sun, 28 Dec 2008 06:01:06 +0000 (01:01 -0500)]
invirt.config.run_parts_list: fix unclear docstring
svn path=/trunk/packages/invirt-base/; revision=1926
Greg Price [Sat, 27 Dec 2008 04:57:33 +0000 (23:57 -0500)]
move apticron, molly-guard dependencies to xvm metapackages from invirt-base
svn path=/trunk/packages/invirt-base/; revision=1910
Evan Broder [Thu, 11 Dec 2008 04:21:24 +0000 (23:21 -0500)]
config.{authn[0] => kerberos}.realm
svn path=/trunk/packages/invirt-base/; revision=1836
Evan Broder [Sun, 7 Dec 2008 14:26:40 +0000 (09:26 -0500)]
Stop depending on invirt-mail-config in invirt-base
This was basically an attempt to stuff an XVM site-specific config
into the namespace of invirt packages. If we don't expect other users
of invirt to roll their own packages, we should depend on packages
they can't provide.
The dependency on xvm-mail-config will move into a set of xvm
metapackages
svn path=/trunk/packages/invirt-base/; revision=1803
Evan Broder [Sat, 6 Dec 2008 20:02:24 +0000 (15:02 -0500)]
Move the prod .k5login file to xvm-prodconfig
svn path=/trunk/packages/invirt-base/; revision=1793
Evan Broder [Fri, 21 Nov 2008 03:46:55 +0000 (22:46 -0500)]
Add a dependency on apticron for all servers
svn path=/trunk/packages/invirt-base/; revision=1727
Evan Broder [Sat, 15 Nov 2008 15:16:42 +0000 (10:16 -0500)]
Update apt sources list for prod
svn path=/trunk/packages/invirt-base/; revision=1646
Evan Broder [Wed, 12 Nov 2008 10:59:37 +0000 (05:59 -0500)]
Fix another typo - this one in invirt.common
svn path=/trunk/packages/invirt-base/; revision=1623
Evan Broder [Wed, 12 Nov 2008 08:30:56 +0000 (03:30 -0500)]
Fix a missing import in the invirt.remctl code
svn path=/trunk/packages/invirt-base/; revision=1621
Evan Broder [Tue, 11 Nov 2008 09:32:17 +0000 (04:32 -0500)]
Actually generalize the invirt.remctl module
svn path=/trunk/packages/invirt-base/; revision=1614
Evan Broder [Tue, 11 Nov 2008 08:50:13 +0000 (03:50 -0500)]
Move the remctl code into invirt.remctl
svn path=/trunk/packages/invirt-base/; revision=1613
Evan Broder [Tue, 11 Nov 2008 08:50:12 +0000 (03:50 -0500)]
Move CodeError and InvalidInput into invirt.common
svn path=/trunk/packages/invirt-base/; revision=1612
Greg Price [Tue, 11 Nov 2008 03:48:31 +0000 (22:48 -0500)]
invirt-reload should force-reload, not just reload
svn path=/trunk/packages/invirt-base/; revision=1609
Evan Broder [Mon, 10 Nov 2008 20:20:04 +0000 (15:20 -0500)]
Move invirt.remote Python module to invirt-remote-server
svn path=/trunk/packages/invirt-base/; revision=1597
Evan Broder [Fri, 7 Nov 2008 03:58:51 +0000 (22:58 -0500)]
Actually depend on invirt-mail-config on /all/ servers
svn path=/trunk/packages/invirt-base/; revision=1558
Evan Broder [Mon, 3 Nov 2008 08:42:24 +0000 (03:42 -0500)]
All servers should have molly-guard installed to prevent...accidents
svn path=/trunk/packages/invirt-base/; revision=1513
Evan Broder [Sat, 1 Nov 2008 08:53:30 +0000 (04:53 -0400)]
Punt references to sipb-xen- packages from invirt-reload
svn path=/trunk/packages/invirt-base/; revision=1499
Evan Broder [Fri, 31 Oct 2008 10:34:18 +0000 (06:34 -0400)]
Use invoke-rc.d instead of calling init scripts directly in
invirt-base's config-init.sh
svn path=/trunk/packages/invirt-base/; revision=1445
Greg Price [Wed, 29 Oct 2008 04:46:37 +0000 (00:46 -0400)]
create conf.d directory with .dirs file
svn path=/trunk/packages/invirt-base/; revision=1424
Greg Price [Wed, 29 Oct 2008 04:44:46 +0000 (00:44 -0400)]
use run-parts semantics in conf.d directory
svn path=/trunk/packages/invirt-base/; revision=1423
Greg Price [Wed, 29 Oct 2008 04:44:45 +0000 (00:44 -0400)]
use /etc/invirt/conf.d/ too in invirt.config
svn path=/trunk/packages/invirt-base/; revision=1422
Greg Price [Wed, 29 Oct 2008 04:44:44 +0000 (00:44 -0400)]
factor a bit of code out of the mondo invirt.config.load()
svn path=/trunk/packages/invirt-base/; revision=1421
Greg Price [Wed, 29 Oct 2008 04:44:42 +0000 (00:44 -0400)]
eliminate choice of source and cache files in invirt config
svn path=/trunk/packages/invirt-base/; revision=1420
Greg Price [Sun, 26 Oct 2008 09:07:49 +0000 (05:07 -0400)]
look in /invirt as apt repo URI rather than /sipb-xen
svn path=/trunk/packages/invirt-base/; revision=1332
Greg Price [Sun, 26 Oct 2008 09:07:33 +0000 (05:07 -0400)]
sipb-xen-base -> invirt-base
svn path=/trunk/packages/sipb-xen-base/; revision=1330
Greg Price [Sun, 26 Oct 2008 01:11:40 +0000 (21:11 -0400)]
fix gen-files.sh to degrade gracefully to plain-old sh
svn path=/trunk/packages/sipb-xen-base/; revision=1303
Greg Price [Sat, 25 Oct 2008 20:54:08 +0000 (16:54 -0400)]
std-init.sh to put the usual initscript boilerplate in one place
svn path=/trunk/packages/sipb-xen-base/; revision=1252
Evan Broder [Fri, 24 Oct 2008 17:20:27 +0000 (13:20 -0400)]
Use invoke-rc.d in invirt-reload so that policy-rc.d is respected
svn path=/trunk/packages/sipb-xen-base/; revision=1220
Evan Broder [Fri, 24 Oct 2008 17:03:46 +0000 (13:03 -0400)]
Move invirt-reload to /usr/sbin in sipb-xen-base
svn path=/trunk/packages/sipb-xen-base/; revision=1218
Greg Price [Fri, 24 Oct 2008 11:10:25 +0000 (07:10 -0400)]
factor out common initscript code
svn path=/trunk/packages/sipb-xen-base/; revision=1211
Evan Broder [Fri, 24 Oct 2008 09:47:22 +0000 (05:47 -0400)]
Add the appropriate build-deps to sipb-xen-base so it'll actually
build
svn path=/trunk/packages/sipb-xen-base/; revision=1209
Evan Broder [Fri, 24 Oct 2008 09:47:21 +0000 (05:47 -0400)]
Small fix in the code to parse the debian/control and debian/changelog
files in sipb-xen-base's setup.py
svn path=/trunk/packages/sipb-xen-base/; revision=1208
Evan Broder [Fri, 24 Oct 2008 09:30:49 +0000 (05:30 -0400)]
Update sipb-xen-base's debian/control to match Debian Python Policy
svn path=/trunk/packages/sipb-xen-base/; revision=1207
Evan Broder [Fri, 24 Oct 2008 09:23:54 +0000 (05:23 -0400)]
Switch sipb-xen-base to build using a setup.py script
svn path=/trunk/packages/sipb-xen-base/; revision=1206
Greg Price [Fri, 24 Oct 2008 08:57:02 +0000 (04:57 -0400)]
fix our copyright files
E.g., this is free software.
svn path=/trunk/packages/sipb-xen-base/; revision=1205
Evan Broder [Fri, 24 Oct 2008 07:35:21 +0000 (03:35 -0400)]
Now that we're using Python 2.5, we can actually write with statements
svn path=/trunk/packages/sipb-xen-base/; revision=1197
Evan Broder [Thu, 2 Oct 2008 23:51:38 +0000 (19:51 -0400)]
Use Hardy's Debathena
svn path=/trunk/packages/sipb-xen-base/; revision=1009
Greg Price [Thu, 2 Oct 2008 00:07:54 +0000 (20:07 -0400)]
update sources.list.d file for prod and hardy
svn path=/trunk/packages/sipb-xen-base/; revision=995
Greg Price [Wed, 1 Oct 2008 04:00:02 +0000 (00:00 -0400)]
fix distribution hardy -> unstable in several changelogs
Didn't notice this when I was working from a livecd the other day.
svn path=/trunk/packages/sipb-xen-base/; revision=959
Greg Price [Mon, 29 Sep 2008 06:05:56 +0000 (02:05 -0400)]
depend on invirt-config in sipb-xen-base
invirt-config is provided by xvm-devconfig and xvm-prodconfig.
For other users preferring other config mechanisms we might make
a trivial package that also provides invirt-config.
svn path=/trunk/packages/sipb-xen-base/; revision=945
Sam Hartman [Fri, 22 Aug 2008 20:37:32 +0000 (16:37 -0400)]
Use production k5login until it is configurized
document changes
svn path=/trunk/packages/sipb-xen-base/; revision=904
Sam Hartman [Fri, 22 Aug 2008 20:21:17 +0000 (16:21 -0400)]
Include openafs component
svn path=/trunk/packages/sipb-xen-base/; revision=903
Sam Hartman [Tue, 19 Aug 2008 17:47:19 +0000 (13:47 -0400)]
build-depend on pysupport
svn path=/trunk/packages/sipb-xen-base/; revision=896
Yang Zhang [Wed, 13 Aug 2008 05:46:00 +0000 (01:46 -0400)]
* removed the `mako` program since python-mako already includes a
mako-render
svn path=/trunk/packages/sipb-xen-base/; revision=885
Yang Zhang [Wed, 13 Aug 2008 05:31:51 +0000 (01:31 -0400)]
forgot to commit
svn path=/trunk/packages/sipb-xen-base/; revision=884
Yang Zhang [Tue, 12 Aug 2008 20:01:45 +0000 (16:01 -0400)]
* added `mako` program for processing templates in invirt packages
svn path=/trunk/packages/sipb-xen-base/; revision=882
Greg Price [Sun, 3 Aug 2008 01:59:48 +0000 (21:59 -0400)]
sign packages in apt repo
svn path=/trunk/packages/sipb-xen-base/; revision=822
Yang Zhang [Sun, 3 Aug 2008 00:34:12 +0000 (20:34 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=817
Yang Zhang [Sun, 3 Aug 2008 00:28:18 +0000 (20:28 -0400)]
- use invirt.config to get hostnames
- refactoring: extracted bcast() function into invirt.remote package
- fixed os.rename import bug
- using correct default paths in invirt-getconf
svn path=/trunk/packages/sipb-xen-base/; revision=816
Greg Price [Sat, 2 Aug 2008 03:27:32 +0000 (23:27 -0400)]
todo lists for configuration
I looked through all the code for hardcoded details that should be moved
to configuration, and listed them in a file config.todo in each package
directory. These can be knocked off line-by-line as todo lists, and
removed when empty.
svn path=/trunk/packages/sipb-xen-base/; revision=810
Yang Zhang [Fri, 1 Aug 2008 06:34:31 +0000 (02:34 -0400)]
(partially) fixed the mtime comparison logic + comments
svn path=/trunk/packages/sipb-xen-base/; revision=807
Yang Zhang [Fri, 1 Aug 2008 05:11:58 +0000 (01:11 -0400)]
just read the master configuration if the cache refresh fails
svn path=/trunk/packages/sipb-xen-base/; revision=806
Greg Price [Thu, 31 Jul 2008 03:04:31 +0000 (23:04 -0400)]
fix an error message in invirt-getconf --ls
svn path=/trunk/packages/sipb-xen-base/; revision=802
Greg Price [Thu, 31 Jul 2008 02:13:02 +0000 (22:13 -0400)]
use yaml.CSafeDumper and yaml.CSafeLoader everywhere
also break some long lines to fit in 80 columns
svn path=/trunk/packages/sipb-xen-base/; revision=796
Yang Zhang [Thu, 31 Jul 2008 02:06:34 +0000 (22:06 -0400)]
oops
svn path=/trunk/packages/sipb-xen-base/; revision=795
Yang Zhang [Thu, 31 Jul 2008 01:56:29 +0000 (21:56 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=794
Yang Zhang [Thu, 31 Jul 2008 01:50:42 +0000 (21:50 -0400)]
added shared/exclusive locking; added shared locking of initial JSON cache read
svn path=/trunk/packages/sipb-xen-base/; revision=793
Greg Price [Thu, 31 Jul 2008 01:39:00 +0000 (21:39 -0400)]
fix bug in late-import of yaml in invirt.config
svn path=/trunk/packages/sipb-xen-base/; revision=792
Yang Zhang [Thu, 31 Jul 2008 01:34:23 +0000 (21:34 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=791
Yang Zhang [Thu, 31 Jul 2008 01:33:49 +0000 (21:33 -0400)]
removed the call to remove()
svn path=/trunk/packages/sipb-xen-base/; revision=790
Greg Price [Thu, 31 Jul 2008 01:27:08 +0000 (21:27 -0400)]
invirt-config: print non-leaves as YAML
svn path=/trunk/packages/sipb-xen-base/; revision=789
Greg Price [Thu, 31 Jul 2008 01:21:40 +0000 (21:21 -0400)]
show root in invirt-getconf, for empty/omitted path
svn path=/trunk/packages/sipb-xen-base/; revision=788
Greg Price [Thu, 31 Jul 2008 01:12:34 +0000 (21:12 -0400)]
add --ls/-l to invirt-getconf
svn path=/trunk/packages/sipb-xen-base/; revision=787
Greg Price [Thu, 31 Jul 2008 01:05:33 +0000 (21:05 -0400)]
expand with_* docstrings in invirt.common
svn path=/trunk/packages/sipb-xen-base/; revision=786
Yang Zhang [Wed, 30 Jul 2008 04:23:54 +0000 (00:23 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=785
Yang Zhang [Wed, 30 Jul 2008 03:39:06 +0000 (23:39 -0400)]
lazily import yaml for faster module load times
svn path=/trunk/packages/sipb-xen-base/; revision=784
Yang Zhang [Wed, 30 Jul 2008 02:35:51 +0000 (22:35 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=782
Yang Zhang [Wed, 30 Jul 2008 02:35:08 +0000 (22:35 -0400)]
* added file locking around cache
* cleanup
svn path=/trunk/packages/sipb-xen-base/; revision=781
Yang Zhang [Tue, 29 Jul 2008 05:36:50 +0000 (01:36 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=779