project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] - Site Recovery - network mapping

Open blackshocks opened this issue 7 months ago • 5 comments

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

Site Recovery: Other network bridges not visible for selection under network mappings

Steps to Reproduce

  1. Open Site Recovery
  2. Click on Network Mappings
  3. Only vmbr0 is available to select

Expected behavior

Should show all available bridges, including SDNs.

Environment

  • PegaProx Version:Beta 0.9.7
  • Installation Method:LXC
  • OS:Debian 13.1-2 CT
  • Browser:Firefox 149.0
  • Behind Reverse Proxy? No
  • UI? Modern

Logs


Screenshots

Image Image

The SDN below is mapped to the ovsbmbr0 OVS bridge:

Image

Checklist

  • [x] I have searched existing issues to make sure this is not a duplicate
  • [x] I am using the latest version of PegaProx

blackshocks avatar Apr 20 '26 07:04 blackshocks

Hey @blackshocks, thanks for the detailed report and the screenshots — that's really helpful.

The bridge list in Site Recovery is currently sourced from the same path PVE itself uses for the node's network config (/nodes/<node>/network). OVS bridges and plain Linux bridges should come through that, but SDN zones / vnets have their own endpoint (/cluster/sdn/vnets etc.) that we don't currently read there.

Could you confirm which type exactly you're expecting to see in the dropdown:

  • a regular OVS bridge (e.g. ovsbmbr0 on the node's /etc/network/interfaces), or
  • an SDN vnet (defined under Datacenter → SDN)?

We'll look into it once I know which path we're dealing with. And while we're on it: happens on the source side of the mapping too, or only the target dropdown?

mkellermann97 avatar Apr 20 '26 09:04 mkellermann97

Quick update @blackshocks — took another look at this and confirmed the bug on our side.

The network mapping dropdown was built with a filter that only accepted entries with type === 'bridge' (plain Linux bridges) or a vmbr* interface name. OVSBridge entries and SDN vnets never made it through the filter, so they looked "missing" even though the underlying data was there.

Fix in the working tree:

  • filter now also picks up type === 'OVSBridge'
  • separately fetches /cluster/sdn/vnets and merges those into the list
  • entries get a small type hint appended: (OVS) for OVS bridges, (SDN/<zone>) for SDN vnets, so you can tell at a glance which is which

Not pushed yet — I'll bundle it into the next drop. Will ping this thread when it's in a release you can update to.

mkellermann97 avatar Apr 20 '26 16:04 mkellermann97

Great, will test when the update is ready.

blackshocks avatar Apr 22 '26 10:04 blackshocks

👍 — it'll ride in the next drop. I'll drop a note on this thread once the release tag is up so you know when to grab it.

mkellermann97 avatar Apr 22 '26 19:04 mkellermann97

Fixed in v0.9.7.1 — OVS bridges and SDN vnets now show up in the Site Recovery network mapping dropdown alongside the regular Linux bridges.

MrMasterbay avatar Apr 26 '26 19:04 MrMasterbay