Greg Price [Fri, 24 Oct 2008 04:28:54 +0000 (00:28 -0400)]
configurize acl/web in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1180
Greg Price [Fri, 24 Oct 2008 04:28:03 +0000 (00:28 -0400)]
oops, update control from control.in
svn path=/trunk/packages/invirt-remote-server/; revision=1179
Greg Price [Fri, 24 Oct 2008 04:00:00 +0000 (00:00 -0400)]
sipb-xen -> invirt for remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1176
Evan Broder [Wed, 22 Oct 2008 04:51:53 +0000 (00:51 -0400)]
Fix sipb-xen-vmcontrol to know about the new magic error code
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1167
Evan Broder [Wed, 22 Oct 2008 04:48:45 +0000 (00:48 -0400)]
Implement the newly chosen error code on the host for the case of an
invalid remctl command
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1164
Evan Broder [Wed, 22 Oct 2008 04:48:44 +0000 (00:48 -0400)]
There's a race condition for if the VM gets powered off between the
listvms and the actual request. Solve the problem correctly by using a
non-conflicting error code to indicate an invalid command
svn path=/trunk/packages/sipb-xen-remote-server/; revision=1163
Evan Broder [Wed, 22 Oct 2008 04:37:13 +0000 (00:37 -0400)]
Fix Nelson's other request - make both "list-host" and "listhost"
valid commands, and document "list-host" for parity with "list-long"
svn path=/trunk/packages/sipb-xen-remote-server/; revision=1161
Evan Broder [Wed, 22 Oct 2008 04:33:19 +0000 (00:33 -0400)]
In response to Nelson's bug report, actually give a useful error if a
machine is on, but the command is invalid
svn path=/trunk/packages/sipb-xen-remote-server/; revision=1159
Evan Broder [Sat, 18 Oct 2008 21:20:15 +0000 (17:20 -0400)]
Correctly pass the CD image onto xm create in sipb-xen-remctl-auto
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1128
Evan Broder [Fri, 10 Oct 2008 05:54:48 +0000 (01:54 -0400)]
Correctly quote arguments to the installer in sipb-xen-vmcontrol
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1097
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
Evan Broder [Thu, 9 Oct 2008 06:12:32 +0000 (02:12 -0400)]
Expose an interface to the autoinstaller over remctl and validate options
svn path=/trunk/packages/sipb-xen-remote-server/; revision=1088
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
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
Evan Broder [Fri, 3 Oct 2008 22:48:05 +0000 (18:48 -0400)]
Whoops - I should actually check code after I write it; fix the new RemConfFS
svn path=/trunk/packages/sipb-xen-remote-server/; revision=1011
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
Greg Price [Wed, 1 Oct 2008 23:48:39 +0000 (19:48 -0400)]
more sqlalchemy-0.4 changes
svn path=/trunk/packages/sipb-xen-remote-server/; revision=991
Evan Broder [Wed, 1 Oct 2008 23:29:06 +0000 (19:29 -0400)]
Fix RemConfFS - add code to list acl/ and update for new SQLAlchemy
svn path=/trunk/packages/sipb-xen-remote-server/; revision=986
Evan Broder [Wed, 1 Oct 2008 16:20:21 +0000 (12:20 -0400)]
Update RemConfFS to use RouteFS
svn path=/trunk/packages/sipb-xen-remote-server/; revision=982
Greg Price [Wed, 1 Oct 2008 00:51:22 +0000 (20:51 -0400)]
depend on sipb-xen-base in sipb-xen-remote-server
svn path=/trunk/packages/sipb-xen-remote-server/; revision=953
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
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
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
Yang Zhang [Sun, 3 Aug 2008 04:55:20 +0000 (00:55 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-remote-server/; revision=840
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
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
Yang Zhang [Sun, 3 Aug 2008 04:52:14 +0000 (00:52 -0400)]
- sipb_xen_database -> invirt.database
- removed redundant parameter to connect()
svn path=/trunk/packages/sipb-xen-remote-server/; revision=835
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
Yang Zhang [Sun, 3 Aug 2008 04:37:56 +0000 (00:37 -0400)]
oops
svn path=/trunk/packages/sipb-xen-remote-server/; revision=832
Yang Zhang [Sun, 3 Aug 2008 04:33:09 +0000 (00:33 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-remote-server/; revision=831
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