Evan Broder [Thu, 29 Oct 2009 07:40:41 +0000 (03:40 -0400)]
Add builds and build_logs tables to invirt-database for tracking build
history and logs.
svn path=/trunk/packages/invirt-database/; revision=2535
Evan Broder [Sat, 28 Feb 2009 01:51:27 +0000 (20:51 -0500)]
Don't forget to export the new admin-related variables.
svn path=/trunk/packages/invirt-database/; revision=2225
Evan Broder [Sat, 28 Feb 2009 01:46:22 +0000 (20:46 -0500)]
Add admins table.
svn path=/trunk/packages/invirt-database/; revision=2222
Evan Broder [Sat, 28 Feb 2009 00:48:30 +0000 (19:48 -0500)]
Merge invirt-database-server into invirt-database.
I...think this works, but I'm not making any promises.
svn path=/trunk/packages/invirt-database/; revision=2218
Quentin Smith [Fri, 27 Feb 2009 19:18:03 +0000 (14:18 -0500)]
Fix get*Quotas
svn path=/trunk/packages/invirt-database/; revision=2213
Quentin Smith [Fri, 27 Feb 2009 16:56:20 +0000 (11:56 -0500)]
Add "reusable" column for nics, to avoid reusing addresses that are special in some way.
svn path=/trunk/packages/invirt-database/; revision=2211
Greg Price [Fri, 27 Feb 2009 07:56:51 +0000 (02:56 -0500)]
fix more imports EIBTI-style
svn path=/trunk/packages/invirt-database/; revision=2200
Greg Price [Fri, 27 Feb 2009 07:56:46 +0000 (02:56 -0500)]
invirt-quota: more style fixes
svn path=/trunk/packages/invirt-database/; revision=2199
Greg Price [Fri, 27 Feb 2009 07:56:41 +0000 (02:56 -0500)]
invirt-quota: fix imports EIBTI-style
also needn't call int() on value from optparse
svn path=/trunk/packages/invirt-database/; revision=2198
Greg Price [Fri, 27 Feb 2009 07:11:39 +0000 (02:11 -0500)]
invirt-quota: refactor; print full help
svn path=/trunk/packages/invirt-database/; revision=2194
Peter Iannucci [Fri, 27 Feb 2009 04:10:12 +0000 (23:10 -0500)]
cosmetic change
svn path=/trunk/packages/invirt-database/; revision=2193
Greg Price [Fri, 27 Feb 2009 04:09:33 +0000 (23:09 -0500)]
fold FormattableRecord, NullableRecord into Record
also shorten types in lists to __name__
(Done with iannucci.)
svn path=/trunk/packages/invirt-database/; revision=2192
Greg Price [Fri, 27 Feb 2009 04:09:28 +0000 (23:09 -0500)]
small fixes to Record
svn path=/trunk/packages/invirt-database/; revision=2191
Peter Iannucci [Wed, 25 Feb 2009 21:00:43 +0000 (16:00 -0500)]
Added Record superclass for models, handling __repr__ consistently.
svn path=/trunk/packages/invirt-database/; revision=2187
Peter Iannucci [Thu, 19 Feb 2009 19:07:18 +0000 (14:07 -0500)]
Fixed docstring in invirt-quota script to reflect new name.
svn path=/trunk/packages/invirt-database/; revision=2176
Evan Broder [Tue, 17 Feb 2009 09:29:48 +0000 (04:29 -0500)]
Be explicit about units in invirt-setquota.
svn path=/trunk/packages/invirt-database/; revision=2158
Evan Broder [Tue, 17 Feb 2009 09:16:49 +0000 (04:16 -0500)]
Rename invirt-setquotas to invirt-quota.
svn path=/trunk/packages/invirt-database/; revision=2156
Evan Broder [Tue, 17 Feb 2009 09:14:32 +0000 (04:14 -0500)]
Disk quotas are measured in gigabytes.
svn path=/trunk/packages/invirt-database/; revision=2155
Evan Broder [Tue, 17 Feb 2009 08:45:38 +0000 (03:45 -0500)]
Don't explicitly initialize each quota when creating a new quota object.
svn path=/trunk/packages/invirt-database/; revision=2152
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-database/; revision=2151
Evan Broder [Tue, 17 Feb 2009 08:45:24 +0000 (03:45 -0500)]
Make the default values in the owners class explicit.
svn path=/trunk/packages/invirt-database/; revision=2150
Peter Iannucci [Tue, 17 Feb 2009 07:59:54 +0000 (02:59 -0500)]
Changelogs
svn path=/trunk/packages/invirt-database/; revision=2145
Peter Iannucci [Tue, 17 Feb 2009 07:54:57 +0000 (02:54 -0500)]
Fixed yasb
svn path=/trunk/packages/invirt-database/; revision=2143
Peter Iannucci [Tue, 17 Feb 2009 07:49:27 +0000 (02:49 -0500)]
Fixed another stupid bug.
svn path=/trunk/packages/invirt-database/; revision=2142
Peter Iannucci [Tue, 17 Feb 2009 07:16:12 +0000 (02:16 -0500)]
Made some changes requested by Broder.
svn path=/trunk/packages/invirt-database/; 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-database/; revision=2134
Peter Iannucci [Tue, 17 Feb 2009 05:00:56 +0000 (00:00 -0500)]
Bumped version number to force new owner table creation
svn path=/trunk/packages/invirt-database-server/; revision=2133
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-database/; revision=2132
Evan Broder [Sat, 31 Jan 2009 08:59:00 +0000 (03:59 -0500)]
Conditionalize populating the types table in invirt-database-tables
based on whether the types are in the database already
svn path=/trunk/packages/invirt-database-server/; revision=2054
Greg Price [Sat, 31 Jan 2009 08:49:59 +0000 (03:49 -0500)]
invirt-database-tables: populate types table
svn path=/trunk/packages/invirt-database-server/; revision=2053
Evan Broder [Mon, 26 Jan 2009 01:13:04 +0000 (20:13 -0500)]
Fix a typo from r1989.
svn path=/trunk/packages/invirt-database-server/; revision=1992
Evan Broder [Mon, 26 Jan 2009 01:09:03 +0000 (20:09 -0500)]
Fix-up several packages to include the correct Conflicts and Replaces
lines for config-package-dev
svn path=/trunk/packages/invirt-database-server/; revision=1989
Evan Broder [Tue, 6 Jan 2009 04:51:03 +0000 (23:51 -0500)]
Clean up invirt-database's .egg-info directory from the right place.
svn path=/trunk/packages/invirt-database/; revision=1962
Evan Broder [Tue, 6 Jan 2009 04:42:20 +0000 (23:42 -0500)]
Correct a lintian warning in invirt-database
svn path=/trunk/packages/invirt-database/; revision=1960
Greg Price [Mon, 29 Dec 2008 05:04:47 +0000 (00:04 -0500)]
pg_hba.conf: remove password-auth localhost lines
These interfere with the case where config.db.host is localhost,
and we don't use passwords anyway.
svn path=/trunk/packages/invirt-database-server/; revision=1942
Evan Broder [Tue, 18 Nov 2008 02:58:30 +0000 (21:58 -0500)]
Turn on lazy loading for all tables
svn path=/trunk/packages/invirt-database/; revision=1714
Evan Broder [Mon, 17 Nov 2008 19:08:03 +0000 (14:08 -0500)]
Don't require administrator to be non-null
svn path=/trunk/packages/invirt-database/; revision=1708
Evan Broder [Mon, 17 Nov 2008 17:29:35 +0000 (12:29 -0500)]
Add an architecture field to the autoinstaller table
svn path=/trunk/packages/invirt-database/; revision=1694
Evan Broder [Fri, 7 Nov 2008 03:58:50 +0000 (22:58 -0500)]
Don't depend on invirt-mail-config everywhere
svn path=/trunk/packages/invirt-database-server/; revision=1557
Evan Broder [Fri, 7 Nov 2008 02:52:41 +0000 (21:52 -0500)]
Depend on invirt-mail-config on all servers
svn path=/trunk/packages/invirt-database-server/; revision=1544
Evan Broder [Fri, 31 Oct 2008 10:34:16 +0000 (06:34 -0400)]
Use invoke-rc.d instead of calling init scripts directly in
invirt-database-server's postinst
svn path=/trunk/packages/invirt-database-server/; revision=1442
Evan Broder [Tue, 28 Oct 2008 08:24:26 +0000 (04:24 -0400)]
sipb-xen-base -> invirt-base in dependency lists
svn path=/trunk/packages/invirt-database-server/; revision=1372
Evan Broder [Tue, 28 Oct 2008 07:16:32 +0000 (03:16 -0400)]
Add attributes to the ORM to link mirrors and cdroms
svn path=/trunk/packages/invirt-database/; revision=1363
Evan Broder [Tue, 28 Oct 2008 07:05:07 +0000 (03:05 -0400)]
Export mirrors_table and Mirrors in invirt.database.models
svn path=/trunk/packages/invirt-database/; revision=1361
Evan Broder [Sun, 26 Oct 2008 01:50:44 +0000 (21:50 -0400)]
Fix the port number of postgres.conf, because the chroot will choose a
new port
svn path=/trunk/packages/invirt-database-server/; revision=1316
Evan Broder [Sun, 26 Oct 2008 01:50:42 +0000 (21:50 -0400)]
Fix a typo on the postfix.conf.invirt transform script
svn path=/trunk/packages/invirt-database-server/; revision=1315
Evan Broder [Sun, 26 Oct 2008 01:26:22 +0000 (21:26 -0400)]
Forgot to change invirt-database-common to invirt-database
svn path=/trunk/packages/invirt-database-server/; revision=1309
Evan Broder [Sun, 26 Oct 2008 00:58:40 +0000 (20:58 -0400)]
sipb-xen-database-common -> invirt-database
sipb-xen-database-server -> invirt-database-server
svn path=/trunk/packages/invirt-database/; revision=1288
Evan Broder [Sun, 26 Oct 2008 00:58:40 +0000 (20:58 -0400)]
sipb-xen-database-common -> invirt-database
sipb-xen-database-server -> invirt-database-server
svn path=/trunk/packages/invirt-database-server/; revision=1288
Evan Broder [Sat, 25 Oct 2008 22:00:23 +0000 (18:00 -0400)]
Move the invirt-database Xen config script into invirt-xen-config
svn path=/trunk/packages/sipb-xen-database/; revision=1262
Evan Broder [Sat, 25 Oct 2008 19:02:01 +0000 (15:02 -0400)]
Fix a typo in the new CDROM table
svn path=/trunk/packages/sipb-xen-database/; revision=1250
Evan Broder [Sat, 25 Oct 2008 18:50:44 +0000 (14:50 -0400)]
Add the CDROM mirrors table
svn path=/trunk/packages/sipb-xen-database/; revision=1247
Evan Broder [Sat, 25 Oct 2008 18:12:02 +0000 (14:12 -0400)]
Remove the remnants of the sipb_xen_database Python package
svn path=/trunk/packages/sipb-xen-database/; revision=1245
Greg Price [Fri, 24 Oct 2008 11:27:45 +0000 (07:27 -0400)]
shorten sipb-xen-database-server initscript too
svn path=/trunk/packages/sipb-xen-database/; revision=1216
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-database/; revision=1205
Greg Price [Fri, 24 Oct 2008 03:04:03 +0000 (23:04 -0400)]
yet another new-sqlalchemy fix, this one post-0.4.2; grr
svn path=/trunk/packages/sipb-xen-database/; revision=1174
Evan Broder [Mon, 20 Oct 2008 17:06:03 +0000 (13:06 -0400)]
Catch calls to restart Postgres and translate them into a sequential
stop, then start
svn path=/trunk/packages/sipb-xen-database/; revision=1152
Evan Broder [Sun, 19 Oct 2008 06:02:50 +0000 (02:02 -0400)]
invirt.database.clear_cache should actually do something
svn path=/trunk/packages/sipb-xen-database/; revision=1136
Evan Broder [Sun, 19 Oct 2008 05:47:08 +0000 (01:47 -0400)]
Remove bridge specification from sipb-database
svn path=/trunk/packages/sipb-xen-database/; revision=1132
Evan Broder [Wed, 15 Oct 2008 17:21:51 +0000 (13:21 -0400)]
Fix a typo in sipb-database's CDROM image path
svn path=/trunk/packages/sipb-xen-database/; revision=1126
Eric Price [Tue, 14 Oct 2008 01:40:46 +0000 (21:40 -0400)]
Changed location for pygrub
svn path=/trunk/packages/sipb-xen-database/; revision=1107
Greg Price [Sun, 12 Oct 2008 00:56:30 +0000 (20:56 -0400)]
fix dumb textual mistakes in sipb-xen-database-server initscript
svn path=/trunk/packages/sipb-xen-database/; revision=1104
Evan Broder [Sat, 11 Oct 2008 23:19:52 +0000 (19:19 -0400)]
Fix a typo in the CDROM lookup in sipb-database
svn path=/trunk/packages/sipb-xen-database/; revision=1101
Evan Broder [Fri, 10 Oct 2008 05:54:50 +0000 (01:54 -0400)]
Don't strip quotes in sipb-database that won't be there
svn path=/trunk/packages/sipb-xen-database/; revision=1098
Evan Broder [Thu, 9 Oct 2008 06:12:37 +0000 (02:12 -0400)]
Update the sipb-database script to match the remctl interface
svn path=/trunk/packages/sipb-xen-database/; revision=1091
Evan Broder [Thu, 9 Oct 2008 06:12:36 +0000 (02:12 -0400)]
Look for CD images in /dev/xenvg/image_* and validate them against the
database
svn path=/trunk/packages/sipb-xen-database/; revision=1090
Evan Broder [Mon, 6 Oct 2008 23:03:25 +0000 (19:03 -0400)]
Some fixes in the sipb-database Xen config script
svn path=/trunk/packages/sipb-xen-database/; revision=1079
Evan Broder [Sun, 5 Oct 2008 03:23:10 +0000 (23:23 -0400)]
Re-establish the database connection if the server goes AWOL
svn path=/trunk/packages/sipb-xen-database/; revision=1041
Evan Broder [Sat, 4 Oct 2008 00:09:49 +0000 (20:09 -0400)]
Update /etc/xen/sipb-database to work with newer SQLAlchemy and Xen
svn path=/trunk/packages/sipb-xen-database/; revision=1016
Evan Broder [Fri, 3 Oct 2008 23:26:58 +0000 (19:26 -0400)]
The database wants to be not transactional, and not autoflushing
svn path=/trunk/packages/sipb-xen-database/; revision=1014
Evan Broder [Thu, 2 Oct 2008 23:41:44 +0000 (19:41 -0400)]
Update sipb-xen-
Update invirt.database to not be transactional by default
svn path=/trunk/packages/sipb-xen-database/; revision=1008
Greg Price [Wed, 1 Oct 2008 23:48:39 +0000 (19:48 -0400)]
more sqlalchemy-0.4 changes
svn path=/trunk/packages/sipb-xen-database/; revision=991
Greg Price [Wed, 1 Oct 2008 23:31:23 +0000 (19:31 -0400)]
sipb-xen-database-server: fix init script, expand pg_hba.conf
svn path=/trunk/packages/sipb-xen-database/; revision=989
Evan Broder [Wed, 1 Oct 2008 07:13:42 +0000 (03:13 -0400)]
Update sipb-xen-database for Postgres 8.3
svn path=/trunk/packages/sipb-xen-database/; revision=976
Greg Price [Wed, 1 Oct 2008 06:10:33 +0000 (02:10 -0400)]
port to postgresql 8.3
svn path=/trunk/packages/sipb-xen-database/; revision=974
Greg Price [Wed, 1 Oct 2008 05:56:37 +0000 (01:56 -0400)]
don't specify (old) version of postgresql
svn path=/trunk/packages/sipb-xen-database/; revision=972
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-database/; revision=959
Greg Price [Mon, 29 Sep 2008 06:21:34 +0000 (02:21 -0400)]
port sipb-xen-database to sqlalchemy-0.4
Apparently they like breaking old interfaces (e.g. DynamicMetaData,
sqlalchemy.create_session, sqlalchemy.relation) when they add new ones.
Also letting other old interfaces (e.g. meta.connect) bitrot even
while still present.
svn path=/trunk/packages/sipb-xen-database/; revision=946
Sam Hartman [Mon, 25 Aug 2008 13:17:34 +0000 (09:17 -0400)]
Fix mindless typo in filenames
svn path=/trunk/packages/sipb-xen-database/; revision=923
Sam Hartman [Mon, 25 Aug 2008 00:59:27 +0000 (20:59 -0400)]
Generate pg_hba.conf and install postgresql.conf
so that installing this package works without manual editing
svn path=/trunk/packages/sipb-xen-database/; revision=918
Greg Price [Wed, 6 Aug 2008 05:07:22 +0000 (01:07 -0400)]
add and respect 'adminable' column to machines
This is for selectively, temporarily, manually enabling admin mode
for a VM. Where it's not set, admin mode now bypasses quotas and does
nothing else.
svn path=/trunk/packages/sipb-xen-database/; revision=874
Greg Price [Sun, 3 Aug 2008 05:19:41 +0000 (01:19 -0400)]
finish configuration of sipb-xen-database; add network config to yaml
svn path=/trunk/packages/sipb-xen-database/; revision=842
Greg Price [Sun, 3 Aug 2008 04:53:26 +0000 (00:53 -0400)]
update sipb-xen-database-tables
svn path=/trunk/packages/sipb-xen-database/; revision=836
Greg Price [Sun, 3 Aug 2008 04:29:54 +0000 (00:29 -0400)]
get db uri from invirt.config in sipb-database
svn path=/trunk/packages/sipb-xen-database/; revision=829
Greg Price [Sun, 3 Aug 2008 04:26:32 +0000 (00:26 -0400)]
check in uncommitted changes to /etc/xen/sipb-database on black-mesa
svn path=/trunk/packages/sipb-xen-database/; revision=828
Greg Price [Sun, 3 Aug 2008 03:20:51 +0000 (23:20 -0400)]
rename sipb_xen_database -> invirt.database
Keeping old name for now, for compatibility.
svn path=/trunk/packages/sipb-xen-database/; revision=824
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-database/; revision=810
Eric Price [Mon, 28 Jul 2008 07:25:33 +0000 (03:25 -0400)]
Add autoinstall to sipb-database.
svn path=/trunk/packages/sipb-xen-database/; revision=762
Quentin Smith [Thu, 10 Jul 2008 20:19:46 +0000 (16:19 -0400)]
Boot VMs as HVM when there is a boot CD, regardless of machine type
svn path=/trunk/packages/sipb-xen-database/; revision=671
Eric Price [Sun, 22 Jun 2008 01:27:57 +0000 (21:27 -0400)]
Database changes for autoinstalls
svn path=/trunk/packages/sipb-xen-database/; revision=630
Anders Kaseorg [Wed, 18 Jun 2008 07:53:11 +0000 (03:53 -0400)]
Bump sipb-xen-database version.
svn path=/trunk/packages/sipb-xen-database/; revision=610
Anders Kaseorg [Wed, 18 Jun 2008 07:50:31 +0000 (03:50 -0400)]
Add a description field.
svn path=/trunk/packages/sipb-xen-database/; revision=609
Eric Price [Fri, 6 Jun 2008 16:26:25 +0000 (12:26 -0400)]
Yet Another dch -i.
svn path=/trunk/packages/sipb-xen-database/; revision=593
Eric Price [Fri, 6 Jun 2008 16:25:15 +0000 (12:25 -0400)]
Specify ON DELETE CASCADE, use cascade= instead of deprecated
private=.
svn path=/trunk/packages/sipb-xen-database/; revision=592
Eric Price [Fri, 6 Jun 2008 16:05:01 +0000 (12:05 -0400)]
The usual delayed dch -i.
svn path=/trunk/packages/sipb-xen-database/; revision=590
Eric Price [Fri, 6 Jun 2008 16:01:28 +0000 (12:01 -0400)]
Set machine_access to be a private attribute of machine, so the acl is
deleted automatically when the machine is destroyed.
svn path=/trunk/packages/sipb-xen-database/; revision=589
Eric Price [Mon, 2 Jun 2008 05:51:57 +0000 (01:51 -0400)]
Actually increment the version number.
svn path=/trunk/packages/sipb-xen-database/; revision=556
Eric Price [Mon, 2 Jun 2008 05:49:32 +0000 (01:49 -0400)]
Perform eager caching of machine properties.
svn path=/trunk/packages/sipb-xen-database/; revision=555
Quentin Smith [Fri, 2 May 2008 00:21:45 +0000 (20:21 -0400)]
Configure serial console on boot
svn path=/trunk/packages/sipb-xen-database/; revision=490
Greg Price [Sun, 27 Apr 2008 01:07:25 +0000 (21:07 -0400)]
changelogs
svn path=/trunk/packages/sipb-xen-database/; revision=456