Greg Price [Thu, 29 Oct 2009 04:52:59 +0000 (00:52 -0400)]
Style fixes in, and Debian changelog for, list and listuser.
svn path=/trunk/packages/invirt-remote/; revision=2516
Alex Dehnert [Sun, 25 Oct 2009 00:40:08 +0000 (20:40 -0400)]
Minor cleanup of monocast and LVM load balancer
svn path=/trunk/packages/invirt-remote/; revision=2513
Paul Weaver [Tue, 20 Oct 2009 02:37:26 +0000 (22:37 -0400)]
Added list script.
Lists a user's VM's (based on their tickets)
remctl list randomarg
remctl still requires an argument after list even though it doens't do anything
svn path=/trunk/packages/invirt-remote/; revision=2511
Paul Weaver [Tue, 20 Oct 2009 01:41:41 +0000 (21:41 -0400)]
Deleted extra print statement
svn path=/trunk/packages/invirt-remote/; revision=2510
Paul Weaver [Tue, 20 Oct 2009 01:39:05 +0000 (21:39 -0400)]
Modified the output of remctl listuser to use YAML
svn path=/trunk/packages/invirt-remote/; revision=2509
Paul Weaver [Tue, 20 Oct 2009 01:03:17 +0000 (21:03 -0400)]
Added a remctl script listuser which an admin can use remctl listuser $user and list machines that
user has permissions on along with contact data of those machines.
This can be used for a remctl script 'list' which will allow a user list their own machines.
svn path=/trunk/packages/invirt-remote/; revision=2508
Alex Dehnert [Wed, 7 Oct 2009 07:24:47 +0000 (03:24 -0400)]
Balance LVM requests (LP: #307361)
* Add "monocast" method to send remctl requests to exactly one
randomly-selected host.
* Send LVM requests to randomly-selected host for redundancy and
load-balancing (LP: #307361).
svn path=/trunk/packages/invirt-remote/; revision=2495
Greg Price [Sun, 20 Sep 2009 20:51:33 +0000 (16:51 -0400)]
yet more whitespace adjustment
svn path=/trunk/packages/invirt-remote/; revision=2477
Greg Price [Sun, 20 Sep 2009 20:16:47 +0000 (16:16 -0400)]
Changelog entry and whitespace pickiness for LP #349789 fix.
svn path=/trunk/packages/invirt-remote/; revision=2476
Paul Weaver [Sun, 20 Sep 2009 05:54:45 +0000 (01:54 -0400)]
lp invert bug 349789
Added error codes and prints to stderr
svn path=/trunk/packages/invirt-remote/; revision=2473
Paul Weaver [Sun, 20 Sep 2009 05:23:55 +0000 (01:23 -0400)]
lp:invert bug #349789:changed error message to unix style
svn path=/trunk/packages/invirt-remote/; revision=2472
Paul Weaver [Sun, 20 Sep 2009 05:08:31 +0000 (01:08 -0400)]
Bug #349789: added spaces to error message
svn path=/trunk/packages/invirt-remote/; revision=2470
Paul Weaver [Sun, 20 Sep 2009 05:01:10 +0000 (01:01 -0400)]
Bug #349789:changed * to all
svn path=/trunk/packages/invirt-remote/; revision=2469
Paul Weaver [Sun, 20 Sep 2009 04:59:42 +0000 (00:59 -0400)]
Bug #349789:script to print error of not vm name
svn path=/trunk/packages/invirt-remote/; revision=2468
Paul Weaver [Sun, 20 Sep 2009 04:58:52 +0000 (00:58 -0400)]
Bug #349789: added code for vm not listed in remctl
svn path=/trunk/packages/invirt-remote/; revision=2467
Evan Broder [Sun, 16 Aug 2009 03:12:26 +0000 (23:12 -0400)]
Nice the janitorial dds as well as ionicing them.
svn path=/trunk/packages/invirt-remote/; revision=2446
Evan Broder [Wed, 12 Aug 2009 03:01:15 +0000 (23:01 -0400)]
Add a safety check to the janitor to make sure we only delete old_ LV.
svn path=/trunk/packages/invirt-remote/; revision=2438
Evan Broder [Wed, 12 Aug 2009 03:01:07 +0000 (23:01 -0400)]
In the invirt-janitor, ignore errors from the dd.
In the normal case, it's erroring out because of ENOSPC, but its
return code isn't useful enough to make sure that's what happened.
svn path=/trunk/packages/invirt-remote/; revision=2437
Evan Broder [Wed, 12 Aug 2009 02:38:42 +0000 (22:38 -0400)]
In invirt-remote:
* Instead of running all of the disk-wiping dds simultaneously, run them
sequentially using a janitor daemon (LP: #411486).
svn path=/trunk/packages/invirt-remote/; revision=2436
Evan Broder [Wed, 10 Jun 2009 21:47:04 +0000 (17:47 -0400)]
In invirt-remote:
* If a particular VM is being autoinstalled, include that in the
invirt-listvms output.
svn path=/trunk/packages/invirt-remote/; revision=2351
Evan Broder [Sun, 3 May 2009 07:47:27 +0000 (03:47 -0400)]
Don't be quite as ionice to the dds that wipe out deleted LVs.
svn path=/trunk/packages/invirt-remote/; revision=2345
Evan Broder [Sat, 4 Apr 2009 00:04:25 +0000 (20:04 -0400)]
I totally failed to patch invirt-remote-/server/ instead of
invirt-remote-/host/.
svn path=/trunk/packages/invirt-remote/; revision=2292
Evan Broder [Fri, 3 Apr 2009 00:35:36 +0000 (20:35 -0400)]
In invirt-remote:
* availability takes way too long to type.
svn path=/trunk/packages/invirt-remote/; revision=2289
Evan Broder [Thu, 2 Apr 2009 05:48:08 +0000 (01:48 -0400)]
In invirt-remote:
* ionice the dd to wipe out deleted LVs so it doesn't hose the system.
svn path=/trunk/packages/invirt-remote/; revision=2286
Evan Broder [Wed, 18 Mar 2009 23:37:55 +0000 (19:37 -0400)]
In invirt-remote:
* Print errors to stderr on nocreate and nolvm so that the website
actually notices.
svn path=/trunk/packages/invirt-remote/; revision=2264
Greg Price [Tue, 17 Mar 2009 01:27:10 +0000 (21:27 -0400)]
accept /etc/invirt/{nolvm,nocreate} on remote-server
svn path=/trunk/packages/invirt-remote/; revision=2256
Greg Price [Tue, 17 Mar 2009 01:27:05 +0000 (21:27 -0400)]
invirt-remote: enumerate all the subcommands on proxy server
svn path=/trunk/packages/invirt-remote/; revision=2255
Evan Broder [Thu, 12 Mar 2009 21:21:24 +0000 (17:21 -0400)]
Include a CDROM drive in listvms if there is one.
svn path=/trunk/packages/invirt-remote/; revision=2245
Evan Broder [Sat, 28 Feb 2009 02:35:15 +0000 (21:35 -0500)]
Allow anyone on the adminacl to issue web remctls.
svn path=/trunk/packages/invirt-remote/; revision=2234
Evan Broder [Thu, 26 Feb 2009 06:18:05 +0000 (01:18 -0500)]
Add a remctl to find out the availability status of all hosts.
svn path=/trunk/packages/invirt-remote/; revision=2188
Anders Kaseorg [Tue, 17 Feb 2009 10:01:23 +0000 (05:01 -0500)]
Don't confuse {KB, MB, GB} with {KiB, MiB, GiB}.
svn path=/trunk/packages/invirt-remote/; revision=2161
Peter Iannucci [Tue, 17 Feb 2009 07:16:12 +0000 (02:16 -0500)]
Made some changes requested by Broder.
svn path=/trunk/packages/invirt-remote/; revision=2135
Peter Iannucci [Tue, 17 Feb 2009 06:54:26 +0000 (01:54 -0500)]
Added all the other quotas for great win.
svn path=/trunk/packages/invirt-remote/; revision=2134
Peter Iannucci [Tue, 17 Feb 2009 04:52:01 +0000 (23:52 -0500)]
RAM quotas at remctl; RAM quota exception script, table, and usage in -web and -remote-create; /etc/nocreate support
svn path=/trunk/packages/invirt-remote/; revision=2132
Peter Iannucci [Sun, 15 Feb 2009 00:09:26 +0000 (19:09 -0500)]
Fixed missing import
svn path=/trunk/packages/invirt-remote/; revision=2114
Peter Iannucci [Sat, 14 Feb 2009 23:13:55 +0000 (18:13 -0500)]
Modified invirt-availability and invirt-vmcontrol to stat /etc/invirt/nocreate.
svn path=/trunk/packages/invirt-remote/; revision=2113
Peter Iannucci [Fri, 13 Feb 2009 04:26:48 +0000 (23:26 -0500)]
Clean-up suggestions from price. Whitespace fixes.
svn path=/trunk/packages/invirt-remote/; revision=2107
Peter Iannucci [Fri, 13 Feb 2009 04:11:33 +0000 (23:11 -0500)]
Updated changelog.
svn path=/trunk/packages/invirt-remote/; revision=2106
Peter Iannucci [Fri, 13 Feb 2009 03:45:59 +0000 (22:45 -0500)]
Modified invirt-remote-create to use new availability remctl.
svn path=/trunk/packages/invirt-remote/; revision=2105
Peter Iannucci [Fri, 13 Feb 2009 03:42:32 +0000 (22:42 -0500)]
Added remote web availability remctl and script to calculate memory available to new VMs
svn path=/trunk/packages/invirt-remote/; revision=2104
Greg Price [Thu, 5 Feb 2009 18:47:19 +0000 (13:47 -0500)]
in invirt-remote-listvms, ignore another way VMs can disappear
svn path=/trunk/packages/invirt-remote/; revision=2098
Evan Broder [Thu, 5 Feb 2009 08:24:56 +0000 (03:24 -0500)]
For now, revert r2093-2095, which were committed by accident; I'm not
comfortable with them sitting on HEAD when I don't have time to test
them.
svn path=/trunk/packages/invirt-remote/; revision=2097
Evan Broder [Thu, 5 Feb 2009 08:19:28 +0000 (03:19 -0500)]
Always exec instead of fork&exec on the remctl server so that return
codes get passed on.
svn path=/trunk/packages/invirt-remote/; revision=2094
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