Skip to content

Add a second compute worker to the dfw lab site #1459

Closed

Description

@privateip

Parent: Deliver Galactic Worker with Local and Fabric delivery for tenant services

Deliverable

A second compute worker in the dfw site of the containerlab lab, so two compute workers share one cell. Worker resolves claim destinations only within its own cell (docs/worker/contract.md, trusted sources). Today each lab site has one compute worker, so no claim can span two workers. This Task adds that topology, which #1438 needs for its NLB placements across two workers and #1442 needs for qualification.

Cross-cell destinations stay out of scope for this epic.

Work items

  • Add a compute-labelled worker to deploy/containerlab/node_files/dfw/config.yaml (galactic.datumapis.com/node: compute), plus its fabric links, FRR config, locator and addresses in gvpc.clab.yaml and the related node files, following deploy/containerlab/AGENTS.md. Overlays patch copies of config/ manifests and never fork them.
  • Extend the ns80 fixture so each VPC has a guest on both dfw compute workers, keeping the overlapping addressing.
  • Update deploy/containerlab/docs/ and the baseline docs to describe the new node. If the baseline reference changes, update baseline/reference-results.json from two identical runs.
  • Keep the Cilium device pin (eth0 bond+) on the new node.

Dependencies

None. Can start now.

Acceptance

  • From a clean lab, task deploy brings up the new worker, and strict task verify (every check) and verify:ns80 pass.
  • Run under the containerlab manager, with Worker running on both dfw compute workers, a claim from one of them toward a guest on the other resolves to Fabric with forward and return readiness. A claim toward a guest on its own node resolves to Local. The PR records the Worker status output for both claims.
  • task baseline:twice passes and matches the committed reference.
  • The delivering PR targets integration/galactic-worker, carries this evidence and says Fixes datum-cloud/galactic#1459. GitHub does not auto-close from a non-default base, so close this issue explicitly when the PR merges, and record the PR and merged SHA.

Activity

  1. added theissue type on Nov 19, 2026
  2. self-assigned this
    on Nov 19, 2026
  3. privateip commented on Nov 19, 2026

    @privateip
    ContributorAuthor

    Verdict

    Valid. Each containerlab site has one compute worker today, so no claim can span two workers in one cell. Checked against integration/galactic-worker at ca34660.

    Approved plan

    New node: dfw-worker4. Kind names workers in declaration order, so appending one keeps dfw-worker2 and dfw-worker3 as they are.

    • Labels node=compute, galactic=router, fabric=router, plus a lab-only taint lab.galactic.datumapis.com/compute=secondary:NoSchedule. Without the taint, existing dfw tenant fixtures could schedule onto the new node. Every Galactic DaemonSet and Cilium tolerate all taints, so node agents still run there.
    • Delivery Node-ID 0x1004 (BGPRouter nodeID 4100). The node originates its own 2001:db8:ff01:1004::/64, and dfw-worker keeps the site /48. Loopbacks fc00:0:d::1/128 and 10.255.255.9/32.
    • Dual-homed like dfw-worker. bond0 goes to a new bond2 on dfw-worker2 (2001:db8:1:14::/64, 10.1.14.0/24). bond1 goes to a new bond2 on dfw-worker3 (2001:db8:1:15::/64, 10.1.15.0/24). Each bond pairs two members with MTU 1500.
    • FRR: iBGP to both edge nodes in both families. The edge nodes add the neighbors as route-reflector clients with next-hop-self force. The node also gets a route-reflector BGPPeer and fabric-topology endpoints.
    • Edge datapath lists gain bond2: NAT uplinks, the gateway's internal interfaces and, on the two dfw edge nodes only, the CNI eBPF interface list. An edge node's usid_ingress decaps traffic for its own locator, such as Edge attachments and edge-node tenant pods, and from dfw-worker4 that traffic arrives on bond2. The cluster-wide list cannot name bond2, because attaching to an absent interface is fatal, so the dfw overlay sets the list per node. The XDP pass-through program loads on the new node's edge-facing members. The Cilium device pin eth0 bond+ is unchanged.

    Fixture: ns80 in dfw gains guest-a2 and guest-b2 on dfw-worker4. They use their own attachments, and both VPCs share fd20:80:ff01::2:0:0, so the overlap is kept. The original guests are pinned to dfw-worker. verify-ns80.sh gains a check between the two dfw guests in each VPC.

    Baseline: the observation selects the original guests by exact label, so the reference should not change. task baseline:twice confirms it, and the reference is regenerated from two identical runs if it does change.

    Evidence: from a clean lab, task deploy, strict task verify, verify:ns80, task baseline:twice and task handoff:twice. Then Worker runs on both dfw compute workers. A claim toward a guest on the claiming node should resolve to Local. A claim toward a guest on the other node should resolve to Fabric with forward and return readiness. The PR records the Worker status for both.

  4. privateip commented on Nov 19, 2026

    @privateip
    ContributorAuthor

    Implementation is in #1460 (draft). It differs from the plan above in three places:

    • The new attachments are 84 (VPC 80) and 85 (VPC 81), not 82 and 83, because ns80-tap already uses 82 in both VPCs.
    • ns80's four dfw attachments are now applied with their addresses in spec.interface.addresses. Worker reads a destination's addresses only from there, so without them a Fabric claim reports DestinationAddressUnknown. Only Worker and the gateway's backend rules read the field, and no NetworkService selects ns80, so the baseline is unaffected.
    • The Looking Glass qualification's router list includes dfw-worker4. It expects one observation per dfw router.

    The edge nodes do need usid_ingress on bond2. The PR adds it on those two nodes alone, and a comment there gives the code path.

  5. privateip commented on Nov 19, 2026

    @privateip
    ContributorAuthor

    Delivered by #1460, merged into integration/galactic-worker as 0967308. GitHub doesn't close issues from a non-default base, so this closes it by hand.

    The lab's dfw site now has a second compute worker. From a fresh deploy, a claim on either dfw worker resolved the other worker's guest to Fabric, with forward and return ready, and its own guest to Local, in both ns80 VPCs. Strict task verify, verify:ns80, task baseline:twice (reference unchanged) and task handoff:twice passed. The evidence comment has the Worker status for both claims.

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