invirt/packages/invirt-database.git
14 years agoupdate sipb-xen-database-tables sipb-xen-database/10.16
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

14 years agoget db uri from invirt.config in sipb-database sipb-xen-database/10.15
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

14 years agocheck in uncommitted changes to /etc/xen/sipb-database on black-mesa
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

14 years agorename sipb_xen_database -> invirt.database sipb-xen-database/10.14
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

14 years agotodo lists for configuration
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

14 years agoAdd autoinstall to sipb-database.
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

14 years agoBoot VMs as HVM when there is a boot CD, regardless of machine type
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

14 years agoDatabase changes for autoinstalls sipb-xen-database/10.13
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

14 years agoBump sipb-xen-database version. sipb-xen-database/10.12
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

14 years agoAdd a description field.
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

14 years agoYet Another dch -i. sipb-xen-database/10.11
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

14 years agoSpecify ON DELETE CASCADE, use cascade= instead of deprecated
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

14 years agoThe usual delayed dch -i. sipb-xen-database/10.10
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

14 years agoSet machine_access to be a private attribute of machine, so the acl is
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

14 years agoActually increment the version number. sipb-xen-database/10.9
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

14 years agoPerform eager caching of machine properties.
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

14 years agoConfigure serial console on boot sipb-xen-database/10.8
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

14 years agochangelogs sipb-xen-database/10.7
Greg Price [Sun, 27 Apr 2008 01:07:25 +0000 (21:07 -0400)] 
changelogs

svn path=/trunk/packages/sipb-xen-database/; revision=456

14 years agodepend on psql client
Greg Price [Sun, 27 Apr 2008 01:04:06 +0000 (21:04 -0400)] 
depend on psql client

svn path=/trunk/packages/sipb-xen-database/; revision=454

14 years agoSupport autoinstalls table for creation list. sipb-xen-database/10.6
Eric Price [Tue, 22 Apr 2008 02:50:54 +0000 (22:50 -0400)] 
Support autoinstalls table for creation list.

svn path=/trunk/packages/sipb-xen-database/; revision=443

14 years agoEnable USB tablet device in guests.
Anders Kaseorg [Mon, 21 Apr 2008 21:51:10 +0000 (17:51 -0400)] 
Enable USB tablet device in guests.

svn path=/trunk/packages/sipb-xen-database/; revision=433

14 years agoremove apparently obsoleted script sipb-xen-lvcreate
Greg Price [Sun, 30 Mar 2008 07:23:14 +0000 (03:23 -0400)] 
remove apparently obsoleted script sipb-xen-lvcreate

This file confused me on black-mesa.  grep -r in trunk doesn't find its name.

svn path=/trunk/packages/sipb-xen-database/; revision=337

14 years agoIncrement version number sipb-xen-database/10.4.1
Eric Price [Sat, 29 Mar 2008 01:31:20 +0000 (21:31 -0400)] 
Increment version number

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=297

14 years agoActually expose the function
Eric Price [Sat, 29 Mar 2008 01:17:38 +0000 (21:17 -0400)] 
Actually expose the function

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=296

14 years agoImprove postinst script to not give errors.
Eric Price [Sat, 29 Mar 2008 01:14:40 +0000 (21:14 -0400)] 
Improve postinst script to not give errors.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=295

14 years agoUbuntu's dch sucks. sipb-xen-database/10.4
Eric Price [Sat, 29 Mar 2008 00:44:34 +0000 (20:44 -0400)] 
Ubuntu's dch sucks.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=292

14 years agoIncrement the version number
Eric Price [Sat, 29 Mar 2008 00:31:34 +0000 (20:31 -0400)] 
Increment the version number

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=290

14 years agoExpose the function for clearing the cache.
Eric Price [Sat, 29 Mar 2008 00:24:56 +0000 (20:24 -0400)] 
Expose the function for clearing the cache.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=287

14 years agoFix lintian errors.
Tim Abbott [Sun, 16 Mar 2008 00:29:46 +0000 (20:29 -0400)] 
Fix lintian errors.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=278

14 years agodch -i sipb-xen-database/10.3
Eric Price [Thu, 24 Jan 2008 22:24:36 +0000 (17:24 -0500)] 
dch -i

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=258

14 years agoRename misleading relation from users to acl.
Eric Price [Thu, 24 Jan 2008 22:09:38 +0000 (17:09 -0500)] 
Rename misleading relation from users to acl.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=256

14 years agoUpgrade paravirt kernel.
Anders Kaseorg [Tue, 1 Jan 2008 07:35:32 +0000 (02:35 -0500)] 
Upgrade paravirt kernel.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=255

14 years agoPrototype fast installer using a special guest.
Greg Price [Tue, 13 Nov 2007 10:10:10 +0000 (05:10 -0500)] 
Prototype fast installer using a special guest.

Rather than poke directly in the boot sector, partition table,
etc, which caused so much pain last week (r231), we just dd
the entire disk.  Then we poke at the bits that need to change
(like secrets, the hostname, the root password, the filesystem uuids).
Since this poking is distribution-dependent, we want it to be
supplied by the image, so to make that safe we run it in a VM.

The plan is
 1. source image is dd'd (in the host) to the target image
 2. special copying-installer image is booted, with access to target
    and to a small image containing its arguments
 3. copying-installer guest reads arguments, mounts target,
    runs a script with a well-known name in target, passing arguments.

Bits I haven't done yet include
 - frob grub config in the copying-installer image so it boots
   with init = the copying-installer script (doing this manually for testing)
 - install script into copying-installer, or into my example image,
   in a sane automated way (they're checked into partial/ here)
 - all the tasks the image's script ought to actually carry out
 - make this all available from remctl and the web pages.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=245

14 years agoRemove unnecessary constructors sipb-xen-database/10.2
Quentin Smith [Mon, 12 Nov 2007 10:05:26 +0000 (05:05 -0500)] 
Remove unnecessary constructors

Rename disk to disk_size in some (but not all!) places

Added MachineAccess to __all__

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=243

14 years agoMake sipb-xen-database-tables safer sipb-xen-database/10.1
Quentin Smith [Mon, 12 Nov 2007 09:41:11 +0000 (04:41 -0500)] 
Make sipb-xen-database-tables safer

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=241

14 years agoUpdate changelog sipb-xen-database/10
Quentin Smith [Mon, 12 Nov 2007 09:26:41 +0000 (04:26 -0500)] 
Update changelog

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=239

14 years agoAdd a machine_access table where access information will be cached
Quentin Smith [Mon, 12 Nov 2007 09:22:49 +0000 (04:22 -0500)] 
Add a machine_access table where access information will be cached

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=238

14 years agonew remctl command "install" to invoke autoinstaller
Greg Price [Sun, 28 Oct 2007 08:19:52 +0000 (04:19 -0400)] 
new remctl command "install" to invoke autoinstaller

e.g.,
  $ remctl black-mesa control moobarspam install etch /path/to/rootpasshash

The root password to be used is taken from a given file local to black-mesa...
probably this should be in the database or something, randomly generated
by the web interface, and available for reminders.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=223

14 years agoAdd __repr__.
Eric Price [Sat, 20 Oct 2007 02:16:48 +0000 (22:16 -0400)] 
Add __repr__.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=204

14 years agoNo changes. sipb-xen-database/9.0
Eric Price [Wed, 10 Oct 2007 04:17:50 +0000 (00:17 -0400)] 
No changes.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=172

14 years agoIncrement version number. sipb-xen-database/9
Eric Price [Wed, 10 Oct 2007 04:14:05 +0000 (00:14 -0400)] 
Increment version number.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=170

14 years agoAllow administrators. sipb-xen-database/8
Eric Price [Wed, 10 Oct 2007 04:05:03 +0000 (00:05 -0400)] 
Allow administrators.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=168

14 years agoChanged version numbers.
Eric Price [Tue, 9 Oct 2007 06:36:36 +0000 (02:36 -0400)] 
Changed version numbers.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=148

14 years ago1) reworking of lvm stuff into a single python script rather than a pile of shell...
Tim Abbott [Tue, 9 Oct 2007 06:27:21 +0000 (02:27 -0400)] 
1) reworking of lvm stuff into a single python script rather than a pile of shell scripts

2) changing naming for database VMs to always start with d_

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=146

14 years agothrow error when disk creation fails
Tim Abbott [Mon, 8 Oct 2007 08:27:51 +0000 (04:27 -0400)] 
throw error when disk creation fails

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=142

14 years agoMachine -> type relation
Eric Price [Mon, 8 Oct 2007 06:38:38 +0000 (02:38 -0400)] 
Machine -> type relation

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=137

14 years agoMoved the lvcreate thing to /usr/sbin.
Tim Abbott [Sun, 7 Oct 2007 22:07:42 +0000 (18:07 -0400)] 
Moved the lvcreate thing to /usr/sbin.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=123

14 years agoexit is defined elsewhere, so we use sys.exit.
Eric Price [Sun, 7 Oct 2007 20:24:22 +0000 (16:24 -0400)] 
exit is defined elsewhere, so we use sys.exit.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=117

14 years agoActually import re.
Anders Kaseorg [Sun, 7 Oct 2007 08:34:46 +0000 (04:34 -0400)] 
Actually import re.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=116

14 years agoimport re.
Anders Kaseorg [Sun, 7 Oct 2007 07:40:57 +0000 (03:40 -0400)] 
import re.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=114

14 years agoUpdate control from control.in.
Anders Kaseorg [Sun, 7 Oct 2007 07:24:00 +0000 (03:24 -0400)] 
Update control from control.in.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=112

14 years agoversion 7
Anders Kaseorg [Sun, 7 Oct 2007 07:19:21 +0000 (03:19 -0400)] 
version 7

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=111

14 years agoRegex sanity checking.
Anders Kaseorg [Sun, 7 Oct 2007 07:16:21 +0000 (03:16 -0400)] 
Regex sanity checking.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=110

14 years agoAdd cdrom_image parameter; do some simple regex sanity checking.
Anders Kaseorg [Sun, 7 Oct 2007 06:45:37 +0000 (02:45 -0400)] 
Add cdrom_image parameter; do some simple regex sanity checking.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=109

14 years agoAdd a table for boot CDs.
Eric Price [Sun, 7 Oct 2007 05:12:18 +0000 (01:12 -0400)] 
Add a table for boot CDs.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=108

14 years agoMake ip unique, and constructor for nics.
Eric Price [Sun, 7 Oct 2007 00:03:11 +0000 (20:03 -0400)] 
Make ip unique, and constructor for nics.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=107

14 years agonics primary key should be mac address, not hostname.
Eric Price [Sat, 6 Oct 2007 23:35:24 +0000 (19:35 -0400)] 
nics primary key should be mac address, not hostname.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=106

14 years agoStuff that works is happy.
Anders Kaseorg [Fri, 5 Oct 2007 21:32:38 +0000 (17:32 -0400)] 
Stuff that works is happy.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=104

14 years agov6, with a script to autocreate any new logical volumes sipb-xen-database/6
Nelson Elhage [Sat, 22 Sep 2007 18:00:10 +0000 (14:00 -0400)] 
v6, with a script to autocreate any new logical volumes

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=102

14 years agoFix the vif generation for non-hvms
Nelson Elhage [Sat, 22 Sep 2007 17:19:16 +0000 (13:19 -0400)] 
Fix the vif generation for non-hvms

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=101

14 years agov5, change the host to sipb-xen-dev sipb-xen-database/5
Nelson Elhage [Sat, 8 Sep 2007 20:17:14 +0000 (16:17 -0400)] 
v5, change the host to sipb-xen-dev

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=99

14 years agoversion 4 sipb-xen-database/4
Nelson Elhage [Sat, 25 Aug 2007 02:08:16 +0000 (22:08 -0400)] 
version 4

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=92

14 years agoAdding script=vif-sipbroute to database-managed VMs vif = [] line
Nelson Elhage [Fri, 24 Aug 2007 23:23:59 +0000 (19:23 -0400)] 
Adding script=vif-sipbroute to database-managed VMs vif = [] line

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=91

15 years agoAdd a connect() call to sipb-database and make some changes sipb-xen-database/3
Nelson Elhage [Sun, 19 Aug 2007 23:41:02 +0000 (19:41 -0400)] 
Add a connect() call to sipb-database and make some changes

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=85

15 years agoTypo fix in the database script
Nelson Elhage [Fri, 17 Aug 2007 22:56:10 +0000 (18:56 -0400)] 
Typo fix in the database script

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=84

15 years ago-common shouldn't depend on the postgresql server
Nelson Elhage [Fri, 17 Aug 2007 21:01:40 +0000 (17:01 -0400)] 
-common shouldn't depend on the postgresql server

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=83

15 years agoA new version with less broken init scripts sipb-xen-database/2
Nelson Elhage [Thu, 16 Aug 2007 20:45:48 +0000 (16:45 -0400)] 
A new version with less broken init scripts

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=81

15 years agoAdding postini and prerm scripts for sipb-xen-database-server sipb-xen-database/1
Nelson Elhage [Thu, 16 Aug 2007 05:01:56 +0000 (01:01 -0400)] 
Adding postini and prerm scripts for sipb-xen-database-server

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=77

15 years agosvn:ignore some generated files
Nelson Elhage [Mon, 13 Aug 2007 23:17:12 +0000 (19:17 -0400)] 
svn:ignore some generated files

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=72

15 years agoInstall the Xen conf file in the appropriate place for the client.
Nelson Elhage [Mon, 13 Aug 2007 22:21:56 +0000 (18:21 -0400)] 
Install the Xen conf file in the appropriate place for the client.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=71

15 years agoRename the -auto files to be correctly named
Nelson Elhage [Mon, 13 Aug 2007 22:19:06 +0000 (18:19 -0400)] 
Rename the -auto files to be correctly named

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=70

15 years agoAdding glue to build python packages
Nelson Elhage [Mon, 13 Aug 2007 22:16:20 +0000 (18:16 -0400)] 
Adding glue to build python packages

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=69

15 years agoSkeleton CDBS packaging for database packages
Nelson Elhage [Mon, 13 Aug 2007 20:31:54 +0000 (16:31 -0400)] 
Skeleton CDBS packaging for database packages

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=68

15 years agoFilling in the gaps in conf.py. This is completely untested.
Nelson Elhage [Wed, 8 Aug 2007 03:08:38 +0000 (23:08 -0400)] 
Filling in the gaps in conf.py. This is completely untested.

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=65

15 years agoThe types table needs a boolean hvm
Nelson Elhage [Wed, 8 Aug 2007 00:31:30 +0000 (20:31 -0400)] 
The types table needs a boolean hvm

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=64

15 years agoAn uncomplete prototype of a xen conf file that pulls from the database
Nelson Elhage [Sun, 15 Jul 2007 21:26:22 +0000 (17:26 -0400)] 
An uncomplete prototype of a xen conf file that pulls from the database

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=24

15 years agoAdding ORM tables for the sqlalchemy models
Nelson Elhage [Sun, 15 Jul 2007 21:14:21 +0000 (17:14 -0400)] 
Adding ORM tables for the sqlalchemy models

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=18

15 years agoAdding a sqlaclhemy schema module
Nelson Elhage [Sun, 15 Jul 2007 20:51:09 +0000 (16:51 -0400)] 
Adding a sqlaclhemy schema module

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=13

15 years agoInitial skeleton structure for sipb-xen-database
Nelson Elhage [Sun, 15 Jul 2007 20:03:48 +0000 (16:03 -0400)] 
Initial skeleton structure for sipb-xen-database

svn path=/trunk/packages/sipb-xen-database/sipb-xen-database-0/; revision=8