Skip to content

Show the cluster on the web interface - #3864

Open
DL6ER wants to merge 2 commits into
developmentfrom
new/cluster
Open

DL6ER wants to merge 2 commits into
developmentfrom
new/cluster

Conversation

@DL6ER

@DL6ER DL6ER commented Sep 5, 2026 •

Copy link
Copy Markdown
Member

Thank you for your contribution to the Pi-hole Community!

Please read the comments below to help us consider your Pull Request.

We are all volunteers and completing the process outlined will help us review your commits quicker.

Please make sure you

  1. Base your code and PRs against the repositories developmental branch.
  2. Sign Off all commits as we enforce the DCO for all contributions
  3. Sign all your commits as they must have verified signatures
  4. File a pull request for any change that requires changes to our documentation at our documentation repo

What does this PR aim to accomplish?:

The HA cluster page for FTL's native clustering (pi-hole/FTL#3069).

How does this PR accomplish the above?:

The page covers joining a cluster found on the network or creating the first one, the topology as every node reports it (a line is what both ends say about it), per-node fingerprints of the configuration and the lists with the reason for any difference, the DHCP failover switch and the virtual IP address with a suggestion for a free one, and leaving.

gravity.js also learns to say when a rebuild is already running - FTL answers 409 there now, because a cluster peer can be the one who started it.

Link documentation PRs if any are needed to support this PR:

pi-hole/docs#1429


By submitting this pull request, I confirm the following:

  1. I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
  2. I have commented my proposed changes within the code and I have tested my changes.
  3. I am willing to help maintain this change if there are issues with it later.
  4. It is compatible with the EUPL 1.2 license
  5. I have squashed any insignificant commits. (git rebase)
  6. I have checked that another pull request for this purpose does not exist.
  7. I have considered, and confirmed that this submission will be valuable to others.
  8. I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  9. I give this submission freely, and claim no ownership to its content.

  • I have read the above and my PR is ready for review. Check this box to confirm

@DL6ER
DL6ER force-pushed the new/cluster branch 2 times, most recently from 14145f4 to 5b8b93b Compare September 9, 2026 18:07
@DL6ER
DL6ER marked this pull request as ready for review October 17, 2026 18:54
@DL6ER
DL6ER requested a review from a team as a code owner October 17, 2026 18:54
Copilot AI balanced review requested due to automatic review settings October 17, 2026 18:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

A page for the HA cluster: a card per node with what it is doing and
whether it can be reached, a topology drawing of who can see whom, the
settings that differ between nodes and why, and the forms for creating a
cluster, joining one and leaving.

Says what this node can see rather than more than it knows - a node it
cannot poll reports nothing about the virtual address, and the page says
so instead of claiming the address is nowhere.

Also tells the gravity page why a rebuild it did not start is running,
which on a cluster is whenever a peer's lists changed.

Signed-off-by: DL6ER <dl6er@dl6er.de>
FTL refuses a join without the fingerprint of the node being joined unless `cluster.tls.ca` is set, as nothing else checks that certificate. The form now says so, and the node's own fingerprint card no longer calls it optional.

Signed-off-by: DL6ER <dl6er@dl6er.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants