Move more system functonality into PVC #136
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a very open-ended task to pave the way for eventual hot add/remove of nodes.
Move more things that are currently statically managed by Ansible into the PVC configuration. For instance, off the top of my head:
Ceph monitor and manager configurations. We already basically handle OSDs, so generating
ceph.conf
and such shouldn't be too difficult.Libvirt configuration can be handled in Zookeeper.
Patroni could feature more integration to more tightly couple it to PVC node daemons (rather than relying on
patronictl
external calls).Even Zookeeper could be managed dynamically, since Kazoo can hot-update the configuration. Or at least manage/write
zoo.conf
.I think 3 is a good place to start, since it's also a Python application and should have a direct API to handle this.
Definitely ties into #128. I think refactoring pretty much the entire node daemon from scratch with lessons learned is a good idea long-term.
Revisiting this thought. After thinking more, as nice as internalizing these daemons might seem, I think from an administration perspective leaving them external is the right call at least until v2.
The biggest hurdle will be the Zookeeper bootstrap problem. Since the data is held in the Zookeeper database, and the Zookeeper database needs to know its peers to start, this seems like it would need external config anyways to function properly. On the other side, reviewing Zookeper's manual there is the ability to hot add and remove nodes, so perhaps it's possible.
In any case I'm going to close this one in favour of other more specific implementation ideas.