Skip to content

pipeline: efa_enabled attaches no EFA interface, and stream handoff between stages in different regions cannot connect #956

Closed

Description

@scttfrdmn

Found while fixing #929 (PR on branch fix/929). Found by reading the code; not reproduced against AWS.

  1. efa_enabled attaches no EFA. In lambda/pipeline-orchestrator/main.go, buildStageRunInstancesInput handles efa_enabled: true only by adding the cluster placement group. It sets no NetworkInterfaces with InterfaceType: efa, so the instances get an ENA interface only, and fi_info -p efa finds nothing. EFA also requires a security group that allows all traffic to and from itself; the pipeline's group opens only tcp 50000-60000 and 22, and only for streaming pipelines. spawn launch --efa (pkg/aws) already builds the EFA interface; the pipeline path does not reuse it.

  2. Streaming between stages in different regions cannot connect. Since pipeline: streaming security group and EFA placement group are created in the Lambda's region, not the stages' region #929 each region has its own pipeline security group, and the ingress rule references that group. A stage in eu-west-1 streaming to one in us-west-2 crosses VPCs (default VPCs, private IPs), and nothing peers them or opens a public path. pkg/pipeline peer discovery publishes the peers' IPs anyway. Before pipeline: streaming security group and EFA placement group are created in the Lambda's region, not the stages' region #929 such a pipeline failed at launch, so this is the next wall rather than a regression.

Suggested: reuse the spawn launch --efa interface construction for EFA stages and give the group an all-traffic self rule. Reject stream-mode data_input/data_output between stages in different regions at spawn pipeline validate until cross-region networking exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions