Skip to content

galactic-nat reports bond members instead of its uplinks in transport diagnostics #1547

Done

Description

@privateip

Parent: #1399

Observed

In the #1405 lab run on the epic branch (cell C1), galactic-nat reported its bond members eth1, eth2, eth3 and eth4 as unassigned sides in galactic_transport_side_info and its log. galactic-gateway reported the logical interfaces bond0 and bond1 correctly.

Expected

Contract §8 (Diagnostics) and acceptance row V17 require each component to report the logical interface it was pointed at (for example bond0), with its side, mode and VLAN ID. Members are not sides.

Work items

  • Resolve and report galactic-nat's sides from its configured logical uplinks through internal/plumbing/transport, before bond expansion, not from the expanded members.

Acceptance

Activity

  1. added theissue type on Dec 1, 2026
  2. privateip commented on Dec 1, 2026

    @privateip
    ContributorAuthor

    Confirmed on epic/1399-vlan-transport (a526d86): natDatapath.syncVLANEgress resolves the list natattach.ResolveUplinks returns, which has already expanded each bond to its members (bond.XDPTargets), so a bond uplink is reported as its members.

    Plan (one PR with #1546): split natattach.ResolveUplinks into the logical selection (the override, or auto-detection) and the hook-target expansion. galactic-nat resolves, validates and reports the logical uplinks through internal/plumbing/transport, and fills vlan_egress from them. Only XDP attachment and the uplink sysctls use the expanded members. A unit test with a bond uplink checks that galactic_transport_side_info carries the bond and none of its members.

  3. self-assigned this
    on Dec 1, 2026
  4. privateip commented on Dec 1, 2026

    @privateip
    ContributorAuthor

    Fixed by #1548, merged into the epic branch epic/1399-vlan-transport as c72a7e9. Unit tests and real-kernel root tests in CI cover it. The lab check (V17/V18) runs in #1405's smoke pass. Closed by hand because Fixes only fires when the epic branch merges into main.

  5. added a commit that references this issue on Dec 2, 2026
    30529fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions