Yang Zhang [Sun, 3 Aug 2008 04:32:21 +0000 (00:32 -0400)]
use invirt config
svn path=/trunk/packages/sipb-xen-remote-server/; revision=830
Yang Zhang [Sun, 3 Aug 2008 00:36:38 +0000 (20:36 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-remote-server/; revision=818
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-remote-server/; 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-remctl-auto/; revision=810
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-remote-server/; revision=810
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
Greg Price [Tue, 29 Jul 2008 04:13:19 +0000 (00:13 -0400)]
remove a trivial hardcoding
svn path=/trunk/packages/sipb-xen-remote-server/; revision=777
Greg Price [Fri, 25 Jul 2008 01:52:20 +0000 (21:52 -0400)]
changelog, including work since May
svn path=/trunk/packages/sipb-xen-remote-server/; revision=723
Greg Price [Fri, 25 Jul 2008 01:44:43 +0000 (21:44 -0400)]
update debian/control in remote-server
svn path=/trunk/packages/sipb-xen-remote-server/; revision=722
Greg Price [Fri, 25 Jul 2008 01:42:18 +0000 (21:42 -0400)]
fix another race in remctl interface
This had caused some 500s with a message 'Error: Domain <...> does not exist.'
svn path=/trunk/packages/sipb-xen-remote-server/; revision=721
Greg Price [Wed, 23 Jul 2008 05:13:21 +0000 (01:13 -0400)]
changelog
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=718
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
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
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
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
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
Greg Price [Sun, 20 Jul 2008 05:14:25 +0000 (01:14 -0400)]
svn:ignore
svn path=/trunk/packages/sipb-xen-remote-server/; revision=679
Greg Price [Sun, 29 Jun 2008 04:50:32 +0000 (00:50 -0400)]
remote-create: document load-balancing algorithm
We take the host with more RAM free.
svn path=/trunk/packages/sipb-xen-remote-server/; revision=665
Greg Price [Sun, 29 Jun 2008 04:48:08 +0000 (00:48 -0400)]
remote-create: keep output in order
svn path=/trunk/packages/sipb-xen-remote-server/; revision=664
Greg Price [Sun, 29 Jun 2008 04:42:32 +0000 (00:42 -0400)]
document listhost in help
svn path=/trunk/packages/sipb-xen-remote-server/; revision=663
Greg Price [Sun, 29 Jun 2008 04:39:58 +0000 (00:39 -0400)]
remctl .. control .. listhost: say where a VM is running
svn path=/trunk/packages/sipb-xen-remote-server/; revision=661
Greg Price [Sun, 29 Jun 2008 04:05:34 +0000 (00:05 -0400)]
start load-balancing over hosts
We're now a replicated service. Woohoo.
Clearly this means we're just as mature and reliable as scripts...
svn path=/trunk/packages/sipb-xen-remote-server/; revision=660
Greg Price [Sun, 29 Jun 2008 03:45:16 +0000 (23:45 -0400)]
sipb-xen-remote-proxy: refactor argument parsing and passing
svn path=/trunk/packages/sipb-xen-remote-server/; revision=659
Greg Price [Sun, 29 Jun 2008 03:28:08 +0000 (23:28 -0400)]
code to load-balance boots among hosts
svn path=/trunk/packages/sipb-xen-remote-server/; revision=658
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
Greg Price [Sun, 29 Jun 2008 01:54:31 +0000 (21:54 -0400)]
check in Quentin's remote-listvmsd
svn path=/trunk/packages/sipb-xen-remote-server/; revision=656
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
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
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
Greg Price [Sun, 22 Jun 2008 00:49:47 +0000 (20:49 -0400)]
remote: proxy control requests on running VMs to right host
svn path=/trunk/packages/sipb-xen-remote-server/; revision=625
Greg Price [Sun, 22 Jun 2008 00:49:04 +0000 (20:49 -0400)]
clean up sipb-xen-remote-proxy dispatch logic
svn path=/trunk/packages/sipb-xen-remote-server/; revision=624
Greg Price [Sat, 21 Jun 2008 23:56:50 +0000 (19:56 -0400)]
note host in listvms
svn path=/trunk/packages/sipb-xen-remote-server/; revision=623
Greg Price [Sat, 21 Jun 2008 23:33:46 +0000 (19:33 -0400)]
not worth defining an exception class for one invocation site
svn path=/trunk/packages/sipb-xen-remote-server/; revision=622
Greg Price [Sat, 21 Jun 2008 23:16:54 +0000 (19:16 -0400)]
make sipb-xen-remote-proxy a bit less obscure
svn path=/trunk/packages/sipb-xen-remote-server/; revision=620
Greg Price [Sat, 21 Jun 2008 23:08:24 +0000 (19:08 -0400)]
we renamed 'web vmboot' to 'control .. create' long ago
svn path=/trunk/packages/sipb-xen-remote-server/; revision=619
Greg Price [Sat, 21 Jun 2008 22:42:05 +0000 (18:42 -0400)]
update vim's idea of indentation per r561
svn path=/trunk/packages/sipb-xen-remote-server/; revision=617
Greg Price [Sat, 21 Jun 2008 22:41:20 +0000 (18:41 -0400)]
sx-remote-listvms: someone's uncommitted changes
svn path=/trunk/packages/sipb-xen-remote-server/; revision=616
Greg Price [Sat, 21 Jun 2008 22:38:48 +0000 (18:38 -0400)]
provide help on 'remctl remote help help' etc
svn path=/trunk/packages/sipb-xen-remote-server/; revision=615
Greg Price [Sat, 21 Jun 2008 22:25:28 +0000 (18:25 -0400)]
sleep, as a testing stub in remote
svn path=/trunk/packages/sipb-xen-remote-server/; revision=614
Eric Price [Fri, 6 Jun 2008 21:33:13 +0000 (17:33 -0400)]
Revert regression in r538 bypassing kinit.
svn path=/trunk/packages/sipb-xen-remote-server/; revision=596
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
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-remote-server/; revision=564
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
Anders Kaseorg [Mon, 2 Jun 2008 08:39:16 +0000 (04:39 -0400)]
TURBOYAML!!1
svn path=/trunk/packages/sipb-xen-remote-server/; revision=563
Anders Kaseorg [Mon, 2 Jun 2008 08:12:38 +0000 (04:12 -0400)]
Use default version of python (currently 2.4), not 2.5.
svn path=/trunk/packages/sipb-xen-remote-server/; revision=562
Eric Price [Mon, 2 Jun 2008 07:40:51 +0000 (03:40 -0400)]
Style adjustments (4-space indentation, no spaces inside parens).
svn path=/trunk/packages/sipb-xen-remote-server/; revision=561
Anders Kaseorg [Mon, 2 Jun 2008 06:41:25 +0000 (02:41 -0400)]
Open remctl pipes in parallel.
svn path=/trunk/packages/sipb-xen-remote-server/; revision=558
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
Evan Broder [Sun, 1 Jun 2008 22:57:43 +0000 (18:57 -0400)]
And round 3 of using YAML
svn path=/trunk/packages/sipb-xen-remote-server/; revision=552
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
Yang Zhang [Sun, 1 Jun 2008 21:33:57 +0000 (17:33 -0400)]
before migrating to yaml; things seem to be working, --pickle supported
svn path=/trunk/packages/sipb-xen-remote-server/; revision=549
Yang Zhang [Fri, 23 May 2008 18:23:30 +0000 (14:23 -0400)]
added sipb-xen-remote-listvms to aggregate results from multiple vm servers
svn path=/trunk/packages/sipb-xen-remote-server/; revision=538
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
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
Greg Price [Sun, 11 May 2008 02:05:27 +0000 (22:05 -0400)]
init script for remconffs
svn path=/trunk/packages/sipb-xen-remote-server/; revision=525
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
Greg Price [Sun, 11 May 2008 01:19:12 +0000 (21:19 -0400)]
remove {,un,move}register commands in remote server
svn path=/trunk/packages/sipb-xen-remote-server/; revision=523
Greg Price [Sun, 11 May 2008 00:51:41 +0000 (20:51 -0400)]
changelog
svn path=/trunk/packages/sipb-xen-remote-server/; revision=521
Greg Price [Sun, 11 May 2008 00:50:44 +0000 (20:50 -0400)]
make remctl use remconffs
svn path=/trunk/packages/sipb-xen-remote-server/; revision=520
Greg Price [Sun, 11 May 2008 00:46:43 +0000 (20:46 -0400)]
remconffs: cat conf-files together
svn path=/trunk/packages/sipb-xen-remote-server/; revision=519
Greg Price [Sun, 11 May 2008 00:35:28 +0000 (20:35 -0400)]
first version of remctl-conf fuse fs
Heavily borrows from consolefs, obviously. Refactor later.
svn path=/trunk/packages/sipb-xen-remote-server/; revision=518
Greg Price [Mon, 5 May 2008 04:00:03 +0000 (00:00 -0400)]
first version of remote-server package
svn path=/trunk/packages/sipb-xen-remote-server/; revision=502
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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