Evan Broder [Thu, 5 Feb 2009 08:19:21 +0000 (03:19 -0500)]
Don't pass untrusted arguments to xm info.
svn path=/trunk/packages/invirt-remote/; revision=2093
Greg Price [Sat, 31 Jan 2009 19:37:19 +0000 (14:37 -0500)]
create /etc/remctl/remconffs in -server, not -host
svn path=/trunk/packages/invirt-remote/; revision=2060
Greg Price [Sat, 31 Jan 2009 08:14:30 +0000 (03:14 -0500)]
invirt.remote.bcast: provide stderr text when remctl fails
svn path=/trunk/packages/invirt-remote/; revision=2045
Evan Broder [Mon, 26 Jan 2009 01:11:54 +0000 (20:11 -0500)]
Fix an accidental typo-uncorrection.
svn path=/trunk/packages/invirt-remote/; revision=1990
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-remote/; revision=1989
Evan Broder [Sat, 24 Jan 2009 09:16:39 +0000 (04:16 -0500)]
Overwrite all content of a VM's LV before deleting it.
svn path=/trunk/packages/invirt-remote/; revision=1987
Evan Broder [Thu, 11 Dec 2008 04:21:24 +0000 (23:21 -0500)]
config.{authn[0] => kerberos}.realm
svn path=/trunk/packages/invirt-remote/; revision=1836
Evan Broder [Mon, 8 Dec 2008 14:28:11 +0000 (09:28 -0500)]
Create the empty directory to mount remconffs in
svn path=/trunk/packages/invirt-remote/; revision=1826
Evan Broder [Sun, 7 Dec 2008 23:53:01 +0000 (18:53 -0500)]
Merge invirt-remote-host and invirt-remote-server into invirt-remote
svn path=/trunk/packages/invirt-remote/; revision=1822
Evan Broder [Sun, 23 Nov 2008 12:34:05 +0000 (07:34 -0500)]
We do use "$2 and so on" in invirt-vmcontrol
svn path=/trunk/packages/invirt-remote-host/; revision=1759
Greg Price [Sun, 23 Nov 2008 00:29:01 +0000 (19:29 -0500)]
fix gen_config -> gen_files in two initscripts
svn path=/trunk/packages/invirt-remote-server/; revision=1752
Evan Broder [Sat, 22 Nov 2008 10:45:41 +0000 (05:45 -0500)]
Fix a typo in calling gen-files.sh in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1746
Evan Broder [Sat, 22 Nov 2008 10:36:27 +0000 (05:36 -0500)]
Steal debathena-pyhesiodfs's ideas for invirt-remote-server, too
svn path=/trunk/packages/invirt-remote-server/; revision=1743
Evan Broder [Sat, 22 Nov 2008 10:36:20 +0000 (05:36 -0500)]
Punt more tabs
I bet I wrote this with tabs, too. *sigh*
svn path=/trunk/packages/invirt-remote-server/; revision=1740
Quentin Smith [Fri, 21 Nov 2008 09:16:38 +0000 (04:16 -0500)]
Switched from caching ORM to direct database queries; now uncached queries are almost as fast as the cached queries used to be, and we don't have any cache coherency problems
svn path=/trunk/packages/invirt-remote-server/; revision=1728
Evan Broder [Fri, 21 Nov 2008 03:46:54 +0000 (22:46 -0500)]
Switch from tabs to spaces
svn path=/trunk/packages/invirt-remote-server/; revision=1726
Evan Broder [Fri, 21 Nov 2008 03:46:50 +0000 (22:46 -0500)]
Update remctl help with new reboot mechanism
svn path=/trunk/packages/invirt-remote-server/; revision=1724
Evan Broder [Fri, 21 Nov 2008 03:46:49 +0000 (22:46 -0500)]
Use xm reboot instead of a destroy and create to reboot VMs
svn path=/trunk/packages/invirt-remote-host/; revision=1723
Evan Broder [Tue, 18 Nov 2008 16:55:50 +0000 (11:55 -0500)]
I know this is the wrong answer, but doing lvchange -a n twice before
deleting an LV tends to make it less likely to error out
svn path=/trunk/packages/invirt-remote-host/; revision=1716
Evan Broder [Mon, 17 Nov 2008 18:20:05 +0000 (13:20 -0500)]
Now that remconffs is doing real caching, cache for less time
svn path=/trunk/packages/invirt-remote-server/; revision=1701
Evan Broder [Mon, 17 Nov 2008 18:05:51 +0000 (13:05 -0500)]
Add real caching to remconffs
svn path=/trunk/packages/invirt-remote-server/; revision=1697
Evan Broder [Sun, 16 Nov 2008 00:02:46 +0000 (19:02 -0500)]
Add a "help" remctl for the control type
svn path=/trunk/packages/invirt-remote-server/; revision=1665
Evan Broder [Sat, 15 Nov 2008 15:30:59 +0000 (10:30 -0500)]
Choose a host based on the maximum possible free memory, not the
unallocated memory
This works around the case where dom0's RAM doesn't get ballooned down
svn path=/trunk/packages/invirt-remote-server/; revision=1650
Evan Broder [Wed, 12 Nov 2008 23:59:38 +0000 (18:59 -0500)]
Remove another reference to the no-longer-used vmboot remctl
svn path=/trunk/packages/invirt-remote-host/; revision=1630
Greg Price [Tue, 11 Nov 2008 03:48:30 +0000 (22:48 -0500)]
fix changelog; the dangers of letting humans do things
Also, the dangers of using git-svn. I wrote this change last week,
right after the commit it fixes.
svn path=/trunk/packages/invirt-remote-server/; revision=1608
Evan Broder [Mon, 10 Nov 2008 21:20:54 +0000 (16:20 -0500)]
Return the right output from remctls when doing a "broadcast"
svn path=/trunk/packages/invirt-remote-server/; revision=1601
Evan Broder [Mon, 10 Nov 2008 20:20:05 +0000 (15:20 -0500)]
Don't fail to execute remctls if a single server is down
svn path=/trunk/packages/invirt-remote-server/; revision=1598
Evan Broder [Mon, 10 Nov 2008 20:20:04 +0000 (15:20 -0500)]
Move invirt.remote Python module to invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1597
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-remote-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-remote-server/; revision=1544
Greg Price [Thu, 6 Nov 2008 01:00:52 +0000 (20:00 -0500)]
shorten invirt-remote-server initscript with std-init, correct the usage message
svn path=/trunk/packages/invirt-remote-server/; revision=1534
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-remote-host init script
svn path=/trunk/packages/invirt-remote-host/; revision=1443
Evan Broder [Wed, 29 Oct 2008 03:17:24 +0000 (23:17 -0400)]
Don't proxy requests for the VNC cert if the requested hostname isn't
an Invirt host
svn path=/trunk/packages/invirt-remote-server/; revision=1411
Evan Broder [Wed, 29 Oct 2008 03:06:04 +0000 (23:06 -0400)]
Glob together web-type remctls on invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1409
Evan Broder [Wed, 29 Oct 2008 02:53:31 +0000 (22:53 -0400)]
Add a `remote web vnccert` to invirt-remote-host to print out the VNC
certificate
svn path=/trunk/packages/invirt-remote-host/; revision=1401
Evan Broder [Wed, 29 Oct 2008 02:53:31 +0000 (22:53 -0400)]
Add a `web vnccert` remctl to invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1402
Evan Broder [Wed, 29 Oct 2008 00:14:04 +0000 (20:14 -0400)]
Fix a typo in invirt-vmcontrol
svn path=/trunk/packages/invirt-remote-host/; revision=1397
Evan Broder [Wed, 29 Oct 2008 00:00:21 +0000 (20:00 -0400)]
Add a `remote control vnctoken` remctl for generating a VNC auth token
svn path=/trunk/packages/invirt-remote-host/; revision=1390
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-remote-server/; revision=1372
Evan Broder [Sun, 26 Oct 2008 01:07:57 +0000 (21:07 -0400)]
sipb-xen-database-common -> invirt-database in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1294
Evan Broder [Sat, 25 Oct 2008 23:18:56 +0000 (19:18 -0400)]
Remove dependency on sipb-xen-chrony-config in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1283
Evan Broder [Sat, 25 Oct 2008 22:16:20 +0000 (18:16 -0400)]
sipb-database -> invirt-database in invirt-remote-host
svn path=/trunk/packages/invirt-remote-host/; revision=1268
Evan Broder [Sat, 25 Oct 2008 02:21:51 +0000 (22:21 -0400)]
Rename a spare sipb-xen file in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1243
Evan Broder [Sat, 25 Oct 2008 02:10:24 +0000 (22:10 -0400)]
Update the maintainer for invirt-remote-host
svn path=/trunk/packages/invirt-remote-host/; revision=1240
Evan Broder [Sat, 25 Oct 2008 02:09:06 +0000 (22:09 -0400)]
sipb-xen-remctl-auto -> invirt-remote-host
svn path=/trunk/packages/invirt-remote-host/; revision=1239
Evan Broder [Fri, 24 Oct 2008 18:00:27 +0000 (14:00 -0400)]
Kill DEB_AUTO_UPDATE_DEBIAN_CONTROL in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1228
Evan Broder [Fri, 24 Oct 2008 18:00:24 +0000 (14:00 -0400)]
Standardize on "Invirt project" in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1224
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-remctl-auto/; revision=1205
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/invirt-remote-server/; revision=1205
Greg Price [Fri, 24 Oct 2008 05:44:16 +0000 (01:44 -0400)]
sipb-xen-console-server -> invirt-console-host
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1187
Greg Price [Fri, 24 Oct 2008 04:39:25 +0000 (00:39 -0400)]
fix syntax in acl/web template
svn path=/trunk/packages/invirt-remote-server/; revision=1182
Greg Price [Fri, 24 Oct 2008 04:33:13 +0000 (00:33 -0400)]
actually configurize acl/web in invirt-remote-server
svn path=/trunk/packages/invirt-remote-server/; revision=1181
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