Joshua Boniface
aee130f65f
Handle the starting of all daemons better
2019-03-17 01:45:17 -04:00
Joshua Boniface
f38ab856c2
Move config of local networks before ZK init
...
Otherwise, ZK will fail to start properly
2019-03-17 00:53:11 -04:00
Joshua Boniface
33070ba4c5
Correct another typo
2019-03-17 00:40:23 -04:00
Joshua Boniface
7a1a29c3fd
Correct typo in gateways
2019-03-17 00:39:08 -04:00
Joshua Boniface
3aa8223504
Add support for upstream default gateway
2019-03-17 00:36:19 -04:00
Joshua Boniface
2782120f94
Correct missing netmask with by-id
2019-03-16 23:27:51 -04:00
Joshua Boniface
946442ae38
Add support for bridge-only VNIs
2019-03-15 13:54:11 -04:00
Joshua Boniface
d90fb07240
Move to YAML config and allow split functions
...
1. Move to a YAML-based configuration format instead of the original
INI-based configuration to facilitate better organization and
readability.
2. Modify the daemon to be able to operate in several modes based
on configuration flags. Either networking or storage functions
can be disabled using the configuration, allowing the PVC system
to be used only for hypervisor management if required.
2019-03-11 01:47:40 -04:00
Joshua Boniface
f172574d3a
Disable debug mode
2018-11-27 22:19:42 -05:00
Joshua Boniface
a270770ec2
Add debug mode and fix bug
2018-11-27 22:15:19 -05:00
Joshua Boniface
4eaf3f7de3
Correct bug in write locking
2018-11-27 21:30:30 -05:00
Joshua Boniface
0c7705e70f
Fix missing variable
2018-11-27 21:26:12 -05:00
Joshua Boniface
b8a5073a35
Move OSD handling to CephInstance file
2018-11-23 20:05:07 -05:00
Joshua Boniface
52a9a0e075
Improve fence locking; use consistent ZK lock names
2018-11-20 21:21:23 -05:00
Joshua Boniface
6add44936a
Clean up some commented code
2018-11-20 21:07:31 -05:00
Joshua Boniface
8737124b36
Add cluster bridge interface
2018-11-18 18:31:02 -05:00
Joshua Boniface
37a0432281
Add cluster bridge on startup
2018-11-18 17:58:06 -05:00
Joshua Boniface
a421bde679
Fix up a few more bugs
2018-11-18 17:29:35 -05:00
Joshua Boniface
1f58d61cb0
Rewrite DNSAggregatorInstance to handle DNS well
...
Trying to directly AXFR from dnsmasq is a mess, since their zone is
barely compliant with spec, it doesn't support notifies, and it is
generally really messy.
This implements an advanced "AXFR parser" system, which looks at the
results of an AXFR from the local dnsmasq instances per-network, and
updates the real replicated MariaDB pdns backend cluster with the
changed data. This allows a sensible, transferable zone with its own
SOA that is dynamically reconfigured as hosts come and go from the
dnsmasq zone.
2018-11-18 16:45:52 -05:00
Joshua Boniface
b1d0b6e62f
Fix up the remaining DHCPv6 setup
2018-11-18 00:55:34 -05:00
Joshua Boniface
4c1e1b4622
Make everything work with dual-stack
2018-11-14 00:26:52 -05:00
Joshua Boniface
a2f4102cb5
Add crush weight and reweight output
2018-11-01 23:17:38 -04:00
Joshua Boniface
9fcce4b09a
Support setting a CRUSH weight on new OSDs
2018-11-01 23:03:27 -04:00
Joshua Boniface
2ea8a14ba4
Support OSD out/in and commands
2018-11-01 22:08:11 -04:00
Joshua Boniface
99fcb21e3b
Support adding and removing Ceph pools
2018-10-31 23:38:17 -04:00
Joshua Boniface
3e4a6086d5
Finish up Ceph OSD removal, add locking to commands
2018-10-30 22:41:44 -04:00
Joshua Boniface
89a3e0c7ee
Rename some entries for consistency
2018-10-30 09:17:41 -04:00
Joshua Boniface
bfbe9188ce
Finish setup of Ceph OSD addition and basic management
2018-10-29 17:51:25 -04:00
Joshua Boniface
939532c293
Show ceph health status in keepalive message
2018-10-27 18:24:27 -04:00
Joshua Boniface
4422eb8941
Write Ceph status data to ZK
2018-10-27 18:04:55 -04:00
Joshua Boniface
0c67812fc2
Fix shutdown secondary bug
2018-10-27 16:33:29 -04:00
Joshua Boniface
d727f91c06
Fix typo
2018-10-25 23:38:49 -04:00
Joshua Boniface
3e2a6b8e80
Better handle termination; remove cluster info from keepalive printout
2018-10-25 22:21:40 -04:00
Joshua Boniface
fd27d3f544
Add and remove dnsaggregator nets on primary change
2018-10-25 22:09:32 -04:00
Joshua Boniface
2cdd98d0f1
I do have to restart Kazoo during the SUSPENDED fail
2018-10-22 23:11:04 -04:00
Joshua Boniface
6b5fa3d50b
Move Zookeeper update out of NodeInstance and into the main Daemon
2018-10-22 21:01:59 -04:00
Joshua Boniface
bfd42b5a7b
Make primary watching happen in the daemon not the Node object
2018-10-21 22:08:23 -04:00
Joshua Boniface
187a572c13
Make a whole bunch of things work
2018-10-17 20:05:22 -04:00
Joshua Boniface
87d1c7513e
Add floating IPs and better termination of daemons
2018-10-17 00:23:43 -04:00
Joshua Boniface
c13a4e84af
Add DNS aggregator via PowerDNS and sqlite3
2018-10-15 21:09:40 -04:00
Joshua Boniface
a3b1445bf1
Support configuring upstream interface on coordinators
2018-10-14 21:58:19 -04:00
Joshua Boniface
709be9fbba
Explicitly stop dnsmasq service on startup
2018-10-14 18:38:23 -04:00
Joshua Boniface
3bbff271a0
Reorganize sysctl commands; fix bug with rp_filtering on vni_dev
2018-10-14 11:00:31 -04:00
Joshua Boniface
b0a4ca97bf
Typo in this_node reference
2018-10-14 03:02:47 -04:00
Joshua Boniface
5337e8242d
Add sysctl tweaks on daemon startup
2018-10-14 02:58:02 -04:00
Joshua Boniface
f198f62563
Massive rejigger into single daemon
...
Completely restructure the daemon code to move the 4 discrete daemons
into a single daemon that can be run on every hypervisor. Introduce the
idea of a static list of "coordinator" nodes which are configured at
install time to run Zookeeper and FRR in router mode, and which are
allowed to take on client network management duties (gateway, DHCP, DNS,
etc.) while also allowing them to run VMs (i.e. no dedicated "router"
nodes required).
2018-10-14 02:40:54 -04:00