Skip to content

spored did not mount the async-created ephemeral FSx after it reached AVAILABLE (no mount, no log lines) — #194 not firing #221

Closed

Description

@scttfrdmn

Summary

On a lagotto-launched instance with ephemeral --fsx-create, the FSx filesystem reached
AVAILABLE but spored did not mount it at /fsx — the mount point stayed empty and the
workload's wait-for-mount loop ran for minutes against an already-AVAILABLE filesystem. I had to
mount it manually (sudo mount -t lustre <dns>@tcp:/<mountname> /fsx) for the job to proceed.

spawn#194 ("spored mounts async-created FSx at runtime") is supposed to handle exactly this.

Evidence (spawn v0.62.0, lagotto v0.47.0)

  • Instance i-0a26ce433fc3cd8e4, tag spawn:fsx-pending = fs-061e0669c2bfffd43.
  • FSx fs-061e... transitioned to AVAILABLE ~10 min after launch.
  • On the instance, 10+ min after AVAILABLE: /fsx not a mountpoint, not in /etc/fstab,
    lustre client present, and journalctl -u spored showed no fsx/lustre/mount log lines at
    all — spored didn't appear to attempt the mount.
  • Manual sudo mount -t lustre fs-061e...@tcp:/ofhjfb4v /fsx succeeded instantly → workload then
    proceeded.

Questions for maintainer

  1. Does spored poll the spawn:fsx-pending filesystem to AVAILABLE and then mount + retag to
    spawn:fsx-id? If so, what's the trigger/interval — it didn't fire within ~10 min here.
  2. Is the mount gated on something that wasn't satisfied (FSx security group allowing the Lustre
    ports from the instance SG; the mount-name lookup; an IAM perm for fsx:DescribeFileSystems
    on the instance role)? A silent no-op suggests a missing permission or an unlogged error path.
  3. Whatever the cause, spored should log the FSx mount attempt/outcome (success, waiting,
    error) — the complete absence of log lines made this undiagnosable without manual poking.

Impact

The async-FSx-mount feature (#194) is what makes ephemeral --fsx-create usable hands-off. If
spored doesn't mount, the workload either hangs waiting or falls back to local scratch (losing the
FSx durability/auto-export that was the whole point). Found while beta-testing the autonomous SAM
path (BuckAI/fieldwork).

Version

spawn v0.62.0, lagotto v0.47.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions