Mitchell E Berger [Sat, 2 Feb 2019 21:55:37 +0000 (16:55 -0500)]
Fix autoinstall logic when configured memory is lower than needed
invirt-database: Fix the autoinstall logic so that if we've
increased the memory temporarily for the autoinstall above
the machine's database setting, we also bring maxmem up to
the same level. Otherwise the machine doesn't turn on
because it's requesting to start with more memory than maxmem,
and this failure mode is silent to the user.
Mitchell E Berger [Tue, 26 Jun 2018 02:04:34 +0000 (22:04 -0400)]
Fix XVM's classic networking problem
vif-invirtroute: Kill arpspoof with SIGKILL when we're done. The
version in this distro (which is the latest beta from the
unmaintained upstream) tries to "clean up" when you normally
terminate it. This involves trying to perform an ARP lookup
without interfering to see what the MAC should've been and then
sending replies for that. This appears to cause a race depending
on whether the entry for the machine's old domain (if it's being
rebooted) is listed as <incomplete> in the ARP table or is totally
flushed. If you lose the race, it sends further gratuitous ARPs
telling the router that your MAC is all-zeros because of a bug
where it fails to check for an incomplete ARP entry. This is
believed to cause the bug that has plagued XVM for years where
you sometimes lose off-network connectivity on reboot.
Mitchell E Berger [Fri, 1 Jun 2018 06:16:42 +0000 (02:16 -0400)]
Bump up autoinstall memory to make modern releases work again
Mitchell E Berger [Sun, 27 May 2018 05:45:17 +0000 (01:45 -0400)]
Fix HVMs so they don't only work if the cluster you're on happens to have
hosts with an eth0 that's lucky enough to have an IPv4 address on it due
to random luck having nothing to do with the bridge all the Xen stuff is on.
Mitchell E Berger [Fri, 25 May 2018 07:07:31 +0000 (03:07 -0400)]
Don't pass a src argument to 'ip route del' in case the host's "main IP"
has changed and the route was added with a different src than we expect.
Mitchell E Berger [Fri, 18 May 2018 03:21:01 +0000 (23:21 -0400)]
Implement handling of various actions to perform related to the "other"
set of network parameters, including a minimalistic state machine.
Mitchell E Berger [Thu, 17 May 2018 07:40:45 +0000 (03:40 -0400)]
Typo
Mitchell E Berger [Thu, 17 May 2018 05:55:43 +0000 (01:55 -0400)]
Turn on the relocation server
Mitchell E Berger [Wed, 16 May 2018 07:21:25 +0000 (03:21 -0400)]
Fix changelog
Mitchell E Berger [Wed, 16 May 2018 04:45:01 +0000 (00:45 -0400)]
Use the netmask and gateway specific to the NIC for the VM in question
in the kernel boot line when autoinstalling, instead of parameters from
the global cluster config.
Mitchell E Berger [Tue, 15 May 2018 23:52:55 +0000 (19:52 -0400)]
Fix tabbification of vif-invirtroute
Mitchell E Berger [Tue, 15 May 2018 23:49:39 +0000 (19:49 -0400)]
Support bringing up machines with an "other" address accessible for
smooth renumbering events.
Quentin Smith [Tue, 7 Jan 2014 03:02:21 +0000 (22:02 -0500)]
Fix machine UUID assignment after SQLAlchemy started returning Unicode objects.
Adam Glasgall [Tue, 3 Sep 2013 22:18:32 +0000 (18:18 -0400)]
fix trailing whitespace
Adam Glasgall [Tue, 3 Sep 2013 19:52:58 +0000 (15:52 -0400)]
add long comment to vif-invirtroute explaining the metric trickery
Adam Glasgall [Tue, 3 Sep 2013 01:16:49 +0000 (21:16 -0400)]
fix PVHVM networking
Steven Valdez [Thu, 1 Aug 2013 02:29:20 +0000 (22:29 -0400)]
Fixed invirt-database for NICs
Steven Valdez [Sat, 27 Jul 2013 02:36:09 +0000 (22:36 -0400)]
Added model selection by DB
Adam Glasgall [Tue, 23 Jul 2013 06:53:22 +0000 (02:53 -0400)]
change HVM nic model to pcnet
Adam Glasgall [Mon, 22 Jul 2013 05:09:08 +0000 (01:09 -0400)]
disable PVHVM guests
Quentin Smith [Sun, 21 Jul 2013 18:55:10 +0000 (14:55 -0400)]
Blame glasgall for the wasted version number.
Quentin Smith [Sun, 21 Jul 2013 18:50:05 +0000 (14:50 -0400)]
Non-hotplug events apparently also use vif-setup
Quentin Smith [Sun, 21 Jul 2013 18:29:09 +0000 (14:29 -0400)]
Update vif-invirtroute for Xen 4's scripts.
Quentin Smith [Sun, 21 Jul 2013 18:23:00 +0000 (14:23 -0400)]
Neuter vif-setup (from xl, perhaps?)
Quentin Smith [Sun, 21 Jul 2013 17:15:04 +0000 (13:15 -0400)]
Disable populate-on-demand for HVMs.
Alexander Chernyakhovsky [Sun, 21 Jul 2013 16:49:36 +0000 (12:49 -0400)]
dh7 needs --with config-package
Adam Glasgall [Sun, 21 Jul 2013 05:15:00 +0000 (01:15 -0400)]
fix diversion
Adam Glasgall [Sun, 21 Jul 2013 05:07:15 +0000 (01:07 -0400)]
fix qemu-ifup
Steven Valdez [Sat, 20 Jul 2013 20:47:05 +0000 (16:47 -0400)]
Updating version for precise
Steven Valdez [Fri, 19 Jul 2013 17:25:52 +0000 (13:25 -0400)]
Merged internal_ips change
Peter Iannucci [Tue, 2 Jul 2013 01:51:47 +0000 (21:51 -0400)]
Handle new prodconfig schema
Adam Glasgall [Fri, 7 Jun 2013 01:38:18 +0000 (21:38 -0400)]
fix path to qemu-dm
Alexander Chernyakhovsky [Sat, 1 Jun 2013 01:17:06 +0000 (21:17 -0400)]
Update packaging to dh7
Adam Glasgall [Wed, 8 May 2013 04:07:17 +0000 (00:07 -0400)]
hvmloader moved. update invirt-database accordingly.
Adam Glasgall [Mon, 6 May 2013 23:15:41 +0000 (19:15 -0400)]
re-disable enabling network-bridge. irony.
Adam Glasgall [Sat, 27 Apr 2013 04:23:14 +0000 (00:23 -0400)]
xm was expecting a string and was getting a unistring for machine
name, which resulted in the VM name always being
'invirt-database'. Use passed-in machine_name instead, since that will
be a string. IBTSOCS.
Adam Glasgall [Sat, 27 Apr 2013 02:36:31 +0000 (22:36 -0400)]
add dependency on ethtool
Adam Glasgall [Sat, 27 Apr 2013 01:14:59 +0000 (21:14 -0400)]
SQLAlchemy API updates in invirt-database xen config
Adam Glasgall [Sat, 13 Apr 2013 21:57:32 +0000 (17:57 -0400)]
really fix regexp
Adam Glasgall [Sat, 13 Apr 2013 21:49:24 +0000 (17:49 -0400)]
fix typo
Adam Glasgall [Sat, 13 Apr 2013 21:47:09 +0000 (17:47 -0400)]
correct regexp
Adam Glasgall [Sat, 13 Apr 2013 21:41:33 +0000 (17:41 -0400)]
explicitly enable network-bridge
Adam Glasgall [Mon, 25 Mar 2013 00:32:30 +0000 (20:32 -0400)]
s/// out gunk that breaks mako from xend-config.sxp
Adam Glasgall [Sun, 24 Mar 2013 21:50:23 +0000 (17:50 -0400)]
depend on grub-pc instead of grub
Adam Glasgall [Sun, 24 Mar 2013 21:45:38 +0000 (17:45 -0400)]
replace reference to ubuntu-xen-server with broken-out list of xen packages
Adam Glasgall [Sun, 24 Mar 2013 21:38:25 +0000 (17:38 -0400)]
update xend-config.sxp transformer for newer default config
Adam Glasgall [Fri, 22 Mar 2013 06:30:14 +0000 (23:30 -0700)]
bump Xen dependency
Adam Glasgall [Fri, 22 Mar 2013 06:25:25 +0000 (23:25 -0700)]
bump version for precise
Mitchell E Berger [Sun, 30 Oct 2011 01:53:56 +0000 (21:53 -0400)]
Support multiple NICs on HVMs
Joshua Oreman [Tue, 26 Apr 2011 20:31:22 +0000 (16:31 -0400)]
Version bump
Joshua Oreman [Tue, 26 Apr 2011 20:13:46 +0000 (16:13 -0400)]
Disable proxy_arp on the 'all' interface
Quentin Smith [Wed, 9 Mar 2011 23:18:14 +0000 (18:18 -0500)]
Don't enable proxy arp on every interface, just the public one
Quentin Smith [Mon, 27 Dec 2010 06:21:26 +0000 (01:21 -0500)]
Fix the fucking TSO bug! Also, fix our ARP replies while we are at it.
Quentin Smith [Sun, 26 Dec 2010 22:10:57 +0000 (17:10 -0500)]
Support debian-installer based autoinstallation
Evan Broder [Sun, 21 Mar 2010 21:14:42 +0000 (17:14 -0400)]
Revert "Bump dom0-min-mem so that hopefully we OOM kill less."
OOM conditions were more likely caused by the lack of swap.
This reverts commit r2994
svn path=/trunk/packages/invirt-xen-config/; revision=2995
Evan Broder [Sun, 21 Mar 2010 19:23:56 +0000 (15:23 -0400)]
Bump dom0-min-mem so that hopefully we OOM kill less.
svn path=/trunk/packages/invirt-xen-config/; revision=2994
Greg Brockman [Sun, 31 Jan 2010 23:50:32 +0000 (18:50 -0500)]
Merged in r2821,2824,2827 from hvirt branch.
svn path=/trunk/packages/invirt-xen-config/; revision=2972
Evan Broder [Wed, 27 Jan 2010 04:34:04 +0000 (23:34 -0500)]
Actually kill any references to PARENTPACKAGE in invirt-xen-config.
svn path=/trunk/packages/invirt-xen-config/; revision=2936
Evan Broder [Wed, 27 Jan 2010 04:33:04 +0000 (23:33 -0500)]
FOR THE LOVE OF GOD, don't restart xend when you restart invirt-xen-config.
svn path=/trunk/packages/invirt-xen-config/; revision=2935
Greg Brockman [Mon, 18 Jan 2010 04:32:19 +0000 (23:32 -0500)]
Forgot to close my changelog
svn path=/trunk/packages/invirt-xen-config/; revision=2903
Greg Brockman [Mon, 18 Jan 2010 00:01:43 +0000 (19:01 -0500)]
Changed xen.network -> xen.
svn path=/trunk/packages/invirt-xen-config/; revision=2895
Evan Broder [Sun, 3 Jan 2010 20:38:13 +0000 (15:38 -0500)]
For simplicity, and because we've never used it, tear the IPv6
"support" out of vif-invirtroute.
svn path=/trunk/packages/invirt-xen-config/; revision=2860
Evan Broder [Sun, 3 Jan 2010 20:28:20 +0000 (15:28 -0500)]
Don't create iptables rules in vif-invirtroute - they don't do anything.
svn path=/trunk/packages/invirt-xen-config/; revision=2859
Quentin Smith [Sun, 3 Jan 2010 19:16:51 +0000 (14:16 -0500)]
Increase dom0's scheduling weight
svn path=/trunk/packages/invirt-xen-config/; revision=2857
Greg Brockman [Sat, 2 Jan 2010 00:24:42 +0000 (19:24 -0500)]
Fixd speling eror
svn path=/trunk/packages/invirt-xen-config/; revision=2832
Greg Brockman [Sat, 2 Jan 2010 00:16:17 +0000 (19:16 -0500)]
Added undiverts
svn path=/trunk/packages/invirt-xen-config/; revision=2830
Evan Broder [Sat, 2 Jan 2010 00:07:46 +0000 (19:07 -0500)]
Don't try to start sysvms in the invirt-xen-config init script.
This code just doesn't work. In fact, I've seen it result in 0, 1, or
>1 instances of sysvms running simultaneously, which makes it
officially worthless.
svn path=/trunk/packages/invirt-xen-config/; revision=2829
Greg Brockman [Fri, 1 Jan 2010 23:33:39 +0000 (18:33 -0500)]
Also removed the pinning from rules/install
svn path=/trunk/packages/invirt-xen-config/; revision=2827
Greg Brockman [Fri, 1 Jan 2010 23:29:07 +0000 (18:29 -0500)]
Nuked the pinning of libxen3
svn path=/trunk/packages/invirt-xen-config/; revision=2825
Evan Broder [Tue, 29 Sep 2009 01:26:38 +0000 (21:26 -0400)]
Punt the "moocow" VNC password - it's dumb, and we already have our
own authentication mechanism (that uses real authentication).
svn path=/trunk/packages/invirt-xen-config/; revision=2487
Evan Broder [Mon, 27 Jul 2009 03:36:28 +0000 (23:36 -0400)]
In invirt-xen-config:
* Some of the autoinstallers want a lot of RAM. Give it to them.
svn path=/trunk/packages/invirt-xen-config/; revision=2367
Evan Broder [Fri, 20 Feb 2009 22:40:43 +0000 (17:40 -0500)]
Update invirt-vnc-server and invirt-xen-config to accept the Xen 3.3
packages.
svn path=/trunk/packages/invirt-xen-config/; revision=2179
Greg Price [Tue, 3 Feb 2009 06:42:23 +0000 (01:42 -0500)]
revert r2085
also while I'm touching this code, use run-parts --list rather than glob
svn path=/trunk/packages/invirt-xen-config/; revision=2087
Evan Broder [Mon, 2 Feb 2009 22:32:27 +0000 (17:32 -0500)]
Correctly calculate the lists of both the sysvms to startup and the
Mako templates to render in the invirt-xen-config startup script.
svn path=/trunk/packages/invirt-xen-config/; revision=2085
Greg Price [Sat, 31 Jan 2009 23:40:49 +0000 (18:40 -0500)]
genericize sysvm startup to glob /etc/xen/sysvms/s_*
svn path=/trunk/packages/invirt-xen-config/; revision=2067
Greg Price [Sat, 31 Jan 2009 09:47:50 +0000 (04:47 -0500)]
eth2 -> config.xen.network.iface
svn path=/trunk/packages/invirt-xen-config/; revision=2055
Greg Price [Sat, 31 Jan 2009 02:18:05 +0000 (21:18 -0500)]
move sysvms/* into xvm-prodconfig from invirt-xen-config
svn path=/trunk/packages/invirt-xen-config/; revision=2039
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-xen-config/; revision=1989
Greg Price [Mon, 15 Dec 2008 17:24:35 +0000 (12:24 -0500)]
invirt-xen-config: prune tempfile, subprocess imports from invirt-database
(subprocess! wow, that was a hack. that was also over a year ago, r223.)
svn path=/trunk/packages/invirt-xen-config/; revision=1850
Evan Broder [Wed, 26 Nov 2008 06:28:15 +0000 (01:28 -0500)]
Instead of using whatever comes out of uname, explicitly strip the hostname down to the short form
svn path=/trunk/packages/invirt-xen-config/; revision=1786
Evan Broder [Sun, 23 Nov 2008 00:20:40 +0000 (19:20 -0500)]
Pin libxen3 on the hosts until we're ready to upgrade to Xen 3.3
svn path=/trunk/packages/invirt-xen-config/; revision=1750
Evan Broder [Sun, 16 Nov 2008 04:45:53 +0000 (23:45 -0500)]
Choose what kernel to use for the autoinstaller based on what dom0 is
running
svn path=/trunk/packages/invirt-xen-config/; revision=1680
Evan Broder [Fri, 14 Nov 2008 06:20:06 +0000 (01:20 -0500)]
Pass the front-end interface to vif-invirtroute
svn path=/trunk/packages/invirt-xen-config/; revision=1636
Evan Broder [Fri, 14 Nov 2008 06:20:02 +0000 (01:20 -0500)]
Set the maximum memory to a really high number so we can bump it later
svn path=/trunk/packages/invirt-xen-config/; revision=1635
Evan Broder [Mon, 10 Nov 2008 08:58:08 +0000 (03:58 -0500)]
Fix the sysvm startup lock cleanup
svn path=/trunk/packages/invirt-xen-config/; revision=1591
Evan Broder [Mon, 10 Nov 2008 08:16:05 +0000 (03:16 -0500)]
Use a lock LV when starting sysvms since exclusive LV activation has
useless semantics
svn path=/trunk/packages/invirt-xen-config/; revision=1580
Greg Price [Sat, 1 Nov 2008 02:53:17 +0000 (22:53 -0400)]
simplify some shell code
svn path=/trunk/packages/invirt-xen-config/; revision=1471
Evan Broder [Fri, 31 Oct 2008 18:00:19 +0000 (14:00 -0400)]
Add some additional documentation on how the sysvm disk locking works
svn path=/trunk/packages/invirt-xen-config/; revision=1462
Evan Broder [Fri, 31 Oct 2008 13:53:04 +0000 (09:53 -0400)]
Forgot to actually add the path onto the sysvms for generating the
config files
svn path=/trunk/packages/invirt-xen-config/; revision=1460
Evan Broder [Fri, 31 Oct 2008 13:50:59 +0000 (09:50 -0400)]
Add a typo'd missing paren
svn path=/trunk/packages/invirt-xen-config/; revision=1459
Evan Broder [Fri, 31 Oct 2008 13:47:29 +0000 (09:47 -0400)]
Automatically startup sysvms if they're not running already
svn path=/trunk/packages/invirt-xen-config/; revision=1457
Evan Broder [Fri, 31 Oct 2008 11:46:31 +0000 (07:46 -0400)]
Generate config files for sysvms in invirt-xen-config
svn path=/trunk/packages/invirt-xen-config/; revision=1452
Greg Price [Wed, 29 Oct 2008 05:26:48 +0000 (01:26 -0400)]
don't try to disable tx checksums for HVMs; it errors out
svn path=/trunk/packages/invirt-xen-config/; revision=1426
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-xen-config/; revision=1372
Greg Price [Sun, 26 Oct 2008 01:45:26 +0000 (21:45 -0400)]
clarify invirt-xen-config description, as distinct from invirt-host-master
svn path=/trunk/packages/invirt-xen-config/; revision=1311
Evan Broder [Sun, 26 Oct 2008 01:07:58 +0000 (21:07 -0400)]
sipb-xen-database-common -> invirt-database in invirt-xen-config
svn path=/trunk/packages/invirt-xen-config/; revision=1295
Evan Broder [Sat, 25 Oct 2008 23:11:42 +0000 (19:11 -0400)]
Give invirt-xen-config's init script a less weird description
svn path=/trunk/packages/invirt-xen-config/; revision=1280
Evan Broder [Sat, 25 Oct 2008 23:07:45 +0000 (19:07 -0400)]
Close the invirt-xen-config changelog entry
svn path=/trunk/packages/invirt-xen-config/; revision=1278
Evan Broder [Sat, 25 Oct 2008 23:07:00 +0000 (19:07 -0400)]
Another typo in invirt-xen-config's init script
svn path=/trunk/packages/invirt-xen-config/; revision=1277
Evan Broder [Sat, 25 Oct 2008 23:03:22 +0000 (19:03 -0400)]
Fix invirt-xen-config's init script
svn path=/trunk/packages/invirt-xen-config/; revision=1275