invirt/packages/invirt-remote.git
15 years agoRespond to remctl install requests by passing the options onto Xen sipb-xen-remctl-auto/1.3
Evan Broder [Thu, 9 Oct 2008 06:12:35 +0000 (02:12 -0400)] 
Respond to remctl install requests by passing the options onto Xen

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1089

15 years agoIn remctl-auto's init script, exit 0 if inetd is already running sipb-xen-remctl-auto/1.2
Evan Broder [Mon, 6 Oct 2008 09:03:52 +0000 (05:03 -0400)] 
In remctl-auto's init script, exit 0 if inetd is already running

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1075

15 years agoExplicitly lock an LV before trying to delete it sipb-xen-remctl-auto/1.1
Evan Broder [Sun, 5 Oct 2008 22:01:54 +0000 (18:01 -0400)] 
Explicitly lock an LV before trying to delete it

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1066

15 years agostart inetd in remctl-auto init script
Greg Price [Thu, 2 Oct 2008 00:43:53 +0000 (20:43 -0400)] 
start inetd in remctl-auto init script

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=998

15 years agogenerate config files using mako sipb-xen-remctl-auto/1.0.20
Yang Zhang [Thu, 14 Aug 2008 19:19:04 +0000 (15:19 -0400)] 
generate config files using mako

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=891

15 years ago * added back in the INIT INFO headers that were accidentally removed in previous rev
Yang Zhang [Fri, 8 Aug 2008 02:10:49 +0000 (22:10 -0400)] 
 * added back in the INIT INFO headers that were accidentally removed in previous rev
 * updated changelog

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=876

15 years agosimplified the init script to follow sipb-xen-console.init
Yang Zhang [Fri, 8 Aug 2008 02:01:06 +0000 (22:01 -0400)] 
simplified the init script to follow sipb-xen-console.init

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=875

15 years agoupdated changelog
Yang Zhang [Sun, 3 Aug 2008 04:54:47 +0000 (00:54 -0400)] 
updated changelog

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=839

15 years ago- sipb_xen_database -> invirt.database
Yang Zhang [Sun, 3 Aug 2008 04:53:32 +0000 (00:53 -0400)] 
- sipb_xen_database -> invirt.database
- removed redundant parameter to connect()

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=837

15 years agouse invirt config in sipb-xen-lvm and to generate /etc/remctl/acl/remote
Yang Zhang [Sun, 3 Aug 2008 04:46:09 +0000 (00:46 -0400)] 
use invirt config in sipb-xen-lvm and to generate /etc/remctl/acl/remote

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=834

15 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-remctl-auto/; revision=810

15 years agoupdate control in sipb-xen-remctl-auto
Greg Price [Fri, 1 Aug 2008 03:51:03 +0000 (23:51 -0400)] 
update control in sipb-xen-remctl-auto

didn't match control.in

also added svn:ignore on debian/

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=805

15 years agochangelog
Greg Price [Wed, 23 Jul 2008 05:13:21 +0000 (01:13 -0400)] 
changelog

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=718

15 years agoxenstore isn't even consistent in what happens on error
Greg Price [Wed, 23 Jul 2008 05:10:21 +0000 (01:10 -0400)] 
xenstore isn't even consistent in what happens on error

Usually when the VM is gone and xsc.ls('', '/vm/..uuid..') would
return empty, an xsc.ls('', '/vm/..uuid../start_time') returns None.
But sometimes it throws an xs.lowlevel.xs.Error, saying 22,
'Invalid argument', instead.

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=717

15 years agobut use non-misleading name in listvms
Greg Price [Wed, 23 Jul 2008 05:08:38 +0000 (01:08 -0400)] 
but use non-misleading name in listvms

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=716

15 years agorevert r714 for speed
Greg Price [Wed, 23 Jul 2008 05:05:17 +0000 (01:05 -0400)] 
revert r714 for speed

The xen.lowlevel interface is 66ms on xs-blade-2 right now,
and the xen.xend.xenstore interface is about 120ms.

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=715

15 years agouse a slightly cleaner Xen API in listvms
Greg Price [Wed, 23 Jul 2008 04:57:23 +0000 (00:57 -0400)] 
use a slightly cleaner Xen API in listvms

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=714

15 years agofix a race in listvms when a machine is shutting down sipb-xen-remctl-auto/1.0.16
Greg Price [Wed, 23 Jul 2008 03:51:14 +0000 (23:51 -0400)] 
fix a race in listvms when a machine is shutting down

Also tell the remctl-auto changelog about YAML support.

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=712

15 years agoa sipb-xen-remctl-auto file that's been unchecked-in for a while
Greg Price [Sun, 29 Jun 2008 03:24:34 +0000 (23:24 -0400)] 
a sipb-xen-remctl-auto file that's been unchecked-in for a while

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=657

15 years agowhat I meant, in Python
Greg Price [Sun, 29 Jun 2008 00:43:16 +0000 (20:43 -0400)] 
what I meant, in Python

> This is what happens when you have a race you can't actually reproduce.
Oh well.

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=654

15 years agoerr, what I meant
Greg Price [Tue, 24 Jun 2008 04:47:31 +0000 (00:47 -0400)] 
err, what I meant

This is what happens when you have a race you can't actually reproduce.

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=653

15 years agofix a race based on rwbarton's error message
Greg Price [Tue, 24 Jun 2008 04:35:17 +0000 (00:35 -0400)] 
fix a race based on rwbarton's error message

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=652

15 years agos/CDumper/CSafeDumper/, because it's "Safe"?
Anders Kaseorg [Mon, 2 Jun 2008 08:50:33 +0000 (04:50 -0400)] 
s/CDumper/CSafeDumper/, because it's "Safe"?

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=564

15 years agoTURBOYAML!!1
Anders Kaseorg [Mon, 2 Jun 2008 08:39:16 +0000 (04:39 -0400)] 
TURBOYAML!!1

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=563

15 years agoSupport YAML (default), JSON, and Pickle formats, depending on the client's choice
Quentin Smith [Mon, 2 Jun 2008 03:53:12 +0000 (23:53 -0400)] 
Support YAML (default), JSON, and Pickle formats, depending on the client's choice

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=553

15 years agoUse YAML on listvms
Evan Broder [Sun, 1 Jun 2008 22:52:02 +0000 (18:52 -0400)] 
Use YAML on listvms

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=551

15 years agoCompute uptime on the server so time drift doesn't cause problems sipb-xen-remctl-auto/1.0.15
Quentin Smith [Fri, 16 May 2008 00:58:19 +0000 (20:58 -0400)] 
Compute uptime on the server so time drift doesn't cause problems

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=533

15 years agoUse more efficient python API to get VM information sipb-xen-remctl-auto/1.0.14
Quentin Smith [Fri, 16 May 2008 00:31:05 +0000 (20:31 -0400)] 
Use more efficient python API to get VM information

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=531

15 years agoswitch to just accepting from remote
Greg Price [Sun, 11 May 2008 01:28:28 +0000 (21:28 -0400)] 
switch to just accepting from remote

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=524

15 years agoremove obsolete vmboot line from remctl config
Greg Price [Mon, 5 May 2008 02:36:55 +0000 (22:36 -0400)] 
remove obsolete vmboot line from remctl config

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=501

15 years agoClose file descriptors for update-conserver on destroy/shutdown
Eric Price [Tue, 22 Apr 2008 01:29:44 +0000 (21:29 -0400)] 
Close file descriptors for update-conserver on destroy/shutdown

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=442

15 years agoBug fix - fixes #80
Evan Broder [Tue, 22 Apr 2008 00:28:31 +0000 (20:28 -0400)] 
Bug fix - fixes #80

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=439

16 years agoCreate and destroy conserver consoles through a Python script, sipb-xen-remctl-auto/1.0.9
Evan Broder [Wed, 2 Apr 2008 08:36:45 +0000 (04:36 -0400)] 
Create and destroy conserver consoles through a Python script,
instead of a shell script. Also run this script every 5 minutes or so

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=397

16 years agoChange to using conserver instead of ssh sipb-xen-remctl-auto/1.0.8
Evan Broder [Wed, 2 Apr 2008 04:58:22 +0000 (00:58 -0400)] 
Change to using conserver instead of ssh

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=386

16 years agoexpose lvcopy in remctl
Greg Price [Sun, 30 Mar 2008 08:06:01 +0000 (04:06 -0400)] 
expose lvcopy in remctl

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=339

16 years agoupdate changelog too!
Tim Abbott [Mon, 29 Oct 2007 02:48:23 +0000 (22:48 -0400)] 
update changelog too!

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=225

16 years agobugfix
Tim Abbott [Mon, 29 Oct 2007 02:47:50 +0000 (22:47 -0400)] 
bugfix

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=224

16 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-remctl-auto/sipb-xen-remctl-auto/; revision=223

16 years agohave the web interface ACL file in the repository
Tim Abbott [Sun, 28 Oct 2007 04:17:46 +0000 (00:17 -0400)] 
have the web interface ACL file in the repository

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=217

16 years agodon't reboot machine when create a running VM.
Tim Abbott [Sat, 27 Oct 2007 20:55:25 +0000 (16:55 -0400)] 
don't reboot machine when create a running VM.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=212

16 years agosvn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=199 sipb-xen-remctl-auto/1.0.5
Tim Abbott [Tue, 16 Oct 2007 05:12:57 +0000 (01:12 -0400)] 
svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=199

16 years agomore remctl interface changes.
Tim Abbott [Tue, 16 Oct 2007 05:09:26 +0000 (01:09 -0400)] 
more remctl interface changes.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=198

16 years agomore updates to remctl code.
Tim Abbott [Tue, 16 Oct 2007 05:05:30 +0000 (01:05 -0400)] 
more updates to remctl code.

Now "reboot" on the web interface will act more like a hand reboot.
In particular, it will remove existing CDs.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=196

16 years agorestructuring of remctl code and interface
Tim Abbott [Tue, 16 Oct 2007 05:02:27 +0000 (01:02 -0400)] 
restructuring of remctl code and interface

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=195

16 years agoFix errors on lvresize to equal or smaller value. sipb-xen-remctl-auto/1.0.4
Eric Price [Wed, 10 Oct 2007 05:50:54 +0000 (01:50 -0400)] 
Fix errors on lvresize to equal or smaller value.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=175

16 years agoActually suppress the error, without suppressing code errors.
Eric Price [Wed, 10 Oct 2007 04:31:25 +0000 (00:31 -0400)] 
Actually suppress the error, without suppressing code errors.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=174

16 years agoactually don't check for errors
Tim Abbott [Wed, 10 Oct 2007 02:04:42 +0000 (22:04 -0400)] 
actually don't check for errors

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=160

16 years agoMake lvcreate-all work.
Tim Abbott [Tue, 9 Oct 2007 19:42:04 +0000 (15:42 -0400)] 
Make lvcreate-all work.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=156

16 years agofix bug in the lvcreate-all script.
Tim Abbott [Tue, 9 Oct 2007 19:13:05 +0000 (15:13 -0400)] 
fix bug in the lvcreate-all script.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=155

16 years agoBump version.
Anders Kaseorg [Tue, 9 Oct 2007 08:49:23 +0000 (04:49 -0400)] 
Bump version.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=151

16 years agoAnother bugfix.
Eric Price [Tue, 9 Oct 2007 07:06:44 +0000 (03:06 -0400)] 
Another bugfix.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=150

16 years agoTim, please run python on your code to verify that it parses properly.
Eric Price [Tue, 9 Oct 2007 06:59:00 +0000 (02:59 -0400)] 
Tim, please run python on your code to verify that it parses properly.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=149

16 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-remctl-auto/sipb-xen-remctl-auto/; revision=148

16 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-remctl-auto/sipb-xen-remctl-auto/; revision=146

16 years agoMore web interface support code.
Tim Abbott [Mon, 8 Oct 2007 08:13:17 +0000 (04:13 -0400)] 
More web interface support code.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=141

16 years agoremctl support for renaming machines
Tim Abbott [Mon, 8 Oct 2007 05:12:50 +0000 (01:12 -0400)] 
remctl support for renaming machines

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=132

16 years agomore support for web interface fixes
Tim Abbott [Mon, 8 Oct 2007 02:21:39 +0000 (22:21 -0400)] 
more support for web interface fixes

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=130

16 years agomore remctl support for web interface
Tim Abbott [Mon, 8 Oct 2007 02:14:12 +0000 (22:14 -0400)] 
more remctl support for web interface

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=129

16 years agomore web interface updates
Tim Abbott [Mon, 8 Oct 2007 00:49:00 +0000 (20:49 -0400)] 
more web interface updates

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=127

16 years agofixed to work with web interface.
Tim Abbott [Sun, 7 Oct 2007 22:32:15 +0000 (18:32 -0400)] 
fixed to work with web interface.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=126

16 years agomachine_name is the argument to the database
Tim Abbott [Sun, 7 Oct 2007 22:14:26 +0000 (18:14 -0400)] 
machine_name is the argument to the database

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=124

16 years agoAdd another remctl command for webland.
Tim Abbott [Sun, 7 Oct 2007 22:02:31 +0000 (18:02 -0400)] 
Add another remctl command for webland.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=122

16 years agoMove things around and add web interface support code.
Tim Abbott [Sun, 7 Oct 2007 21:46:55 +0000 (17:46 -0400)] 
Move things around and add web interface support code.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=121

16 years agoStop scaring me with unquoted variables.
Anders Kaseorg [Mon, 6 Aug 2007 02:11:50 +0000 (22:11 -0400)] 
Stop scaring me with unquoted variables.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=63

16 years agoInitial revison of reasonable automatic remctl setup.
Tim Abbott [Mon, 16 Jul 2007 00:48:56 +0000 (20:48 -0400)] 
Initial revison of reasonable automatic remctl setup.

svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=32