[Bug] Unable to create an cross-cluster replication
Hey there! 👋 Thanks for taking the time to report this bug — we appreciate it!
Please keep in mind: PegaProx is developed and maintained entirely by volunteers in our free time. We do our best, but we can't work magic 🪄 — please be patient, we'll get to your issue as soon as we can.
Want to help keep PegaProx alive?
- ⭐ Star the project — it's free and helps a lot!
- 💖 Become a Sponsor — helps us dedicate more time to development
- 🤝 Contributing code or docs is always welcome too!
Describe the bug
When creating an cross-cluster replication job via Datacenter ==> Replication ==> Snapshot Replication ==> Add, the target node does not appear in the list.
However, when I go to the Resources menu ==> Select VM ==> Configure ==> Replication ==> Cross-Cluster Replication, I can select the target node without any issues and confirm the creation.
Steps to Reproduce
- Menu Datacenter ==> Replication ==> Snapshot Replication ==> Add
- Select VM
- The Target Node menu is empty
Expected behavior
The target node should appear in the list.
Environment
- PegaProx Version : 0.9.6.1
- Installation Method : Pre-Deployed VM Images
- OS : Debian 13
- Behind Reverse Proxy? : No
- UI? : Corporate Layout
Logs
Screenshots
Datacenter ==> Replication ==> Snapshot Replication ==> Add :
Resources menu ==> Select VM ==> Configure ==> Replication ==> Cross-Cluster Replication :
Checklist
- [x] I have searched existing issues to make sure this is not a duplicate
- [x] I am using the latest version of PegaProx
Hi @isinok ,
I'm quite confused now I see #321 also there?
Hello @MrMasterbay These are two different issues. As explained in this post: “However, when I go to the Resources menu ==> Select VM ==> Configure ==> Replication ==> Cross-Cluster Replication, I can select the target node without any issues and confirm the creation”
Since I was still able to create the replication job through that menu, I was able to test it and discover the other bug.
Sorry if the two posts caused any confusion.
Thank you in advance. Have a great day.
Ah I see @isinok ,
no worries probably just didn't register it really. Will look into that.
Hey @isinok,
sorry for the delayed follow-up on this one. Both of your reports (this and #321) landed in the 0.9.7 release I just pushed out.
For this specific case (target-node dropdown empty under Datacenter → Replication → Snapshot Replication → Add): that screen is actually for intra-cluster replication only — it looks for another node in the same cluster to replicate to. Since you only have one node per cluster there, the list was empty and silent, which was confusing. In 0.9.7 we now show a yellow hint there pointing you at the Cross-Cluster tab (VM → Configure → Replication → Cross-Cluster) — which is the one that actually worked for you.
Could you update to 0.9.7 when you have a moment and let us know if the hint shows up correctly and the workflow feels clearer? I'll leave this open and self-assigned until you confirm.
Cheers, Marcus
Hi! Thanks for your feedback and quick correction! I do see the “noOtherNodeForRepl” message, but there's no link to the “Cross-Cluster” tab.
I think it would also be a good idea to remove the “+ Cross-Cluster” label from the Snapshot Replication table and add a third table, such as Cross-Cluster Replication. What do you think?
Thank you so much for all your hard work!
Have a great day.
Hi @isinok — fair point on both counts, thanks for pushing back on this.
On the clickable link: the Cross-Cluster tab is VM-scoped (it lives under VM → Configure → Replication), so the hint can't deep-link to it without first picking a specific VM. What we could do is make the hint text render as a button that opens a small VM picker and then jumps to the right tab. That's more code than I can squeeze in today, but I'll put it on the list.
The table-split idea (dedicated "Cross-Cluster Replication" table instead of the +Cross-Cluster label in the snapshot table) I actually like a lot — it matches user mental model better and the two replication types behave quite differently under the hood anyway. Assigning to @MrMasterbay for the UX call on that, since it'll touch a fair bit of the Replication page layout.
Have a good one!