← Back to Pull requests

podvm: include procps in Ubuntu images #3383

Merged
s417-lama merged 1 files (1 lines) on Oct 12, 2026 12:41 UTC
View on GitHub
s417-lama s417-lama commented on Oct 09, 2026 14:42 UTC
Author

I encountered extremely slow TCP downloads in an Ubuntu production PodVM on Azure. The same test ran normally with a debug PodVM image.

The production image lacked procps, which provides sysctl. This caused setup-nat-for-imds.sh to fail during network initialization, leaving LRO enabled on eth0. Adding procps allowed initialization to complete and restored normal throughput.

This PR adds procps to the Ubuntu package list.

Testing

Validated the same package addition on v0.23.0 with Ubuntu 26.04.1, kernel 7.0.0-38-generic, and Azure Standard_DC8as_v6 using Peer Pods with VXLAN.

Repeated downloads of an 8 MiB file from an HTTP server in the same VNet showed the following throughput after warmup:

  • Production image without procps: 0.47–0.77 MiB/s

  • Same image with procps added: 243–357 MiB/s
  • The images were built using the default Ubuntu production profile:

    cd src/cloud-api-adaptor/podvm
    sudo env TEE_PLATFORM=az-cvm-vtpm VERIFY_PROVENANCE=yes \
      make podvm-binaries
    sudo make image
    

    Diff: 1 lines (+1 / -0) across 1 files Reviewer: mkulke Review duration: 4198m
    All Vouch review confidence checks passed
    Residual risk 0.02 = Change Risk (0.07) × (1 − Review Confidence (0.79)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.07 · 1 lines diff across 1 files
    0.07
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.68 · 2 substantive comment(s)
    0.68
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    78%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.041
    Real PR Conversation Timeline
    6 items
    mkulke mkulke commented on Oct 11, 2026 12:32 UTC
    Reviewer

    thanks, that looks a major bug. Does the respective systemd unit succeed anyway? if it fails silently we might want to fix that too.

    s417-lama s417-lama commented on Oct 11, 2026 13:01 UTC
    Author

    No, the unit is reported as failed in the PodVM boot logs. The PodVM continues running despite that failure.

    Starting setup-nat-for-imds.service - Setup NAT for IMDS...
    [FAILED] Failed to start setup-nat-for-imds.service - Setup NAT for IMDS.
    See 'systemctl status setup-nat-for-imds.service' for details.
    

    mkulke mkulke commented on Oct 11, 2026 13:12 UTC
    Contributor

    No, the unit is reported as failed in the PodVM boot logs. The PodVM continues running despite that failure.

    >
    > Starting setup-nat-for-imds.service - Setup NAT for IMDS...
    > [FAILED] Failed to start setup-nat-for-imds.service - Setup NAT for IMDS.
    > See 'systemctl status setup-nat-for-imds.service' for details.
    > 

    Thanks for verifying, currently we don't have a way to find those regressions easily. We do plan to add integration tests for the podvm, I am checking for the health of individual coco units, but had ignored this one so far. We have to add it, and possibly assert that there are no failed units at all.

    mkulke mkulke approved these changes on Oct 11, 2026 13:12 UTC
    Approved Reviewer

    Approved these changes.

    bpradipt bpradipt approved these changes on Oct 11, 2026 16:48 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    s417-lama s417-lama
    Labels
    risk: low confidence: 78.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 7.1% (LOW) · Higher = larger blast radius
    7.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 78.7% · Lower = rushed or shallow review
    78.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 2% · Safe to merge
    2%