You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Foreground sweeps silently drop --fsx-create, --fsx-recall and --vpc (without --subnet) #1366
Found while fixing #1353 (detached sweep members dropping RunInstances settings). A foreground sweep (spawn launch --param-file ... --no-detach) accepts these flags and drops them silently too:
--fsx-create (with --fsx-lifecycle/--fsx-ttl/--fsx-storage-capacity/--fsx-s3-bucket): no filesystem is created and nothing warns. buildLaunchConfig (cmd/launch_config.go:343) copies the flags onto the sweep's base config, but the only code that creates an FSx is in cmd/launch_single.go (around line 447 and 605). launchParameterSweep (cmd/launch_sweep.go) never reads FSxLustreCreate, and Client.Launch does not either.
--fsx-recall: same. FSxLustreRecall is looked up only on the single-instance path.
--vpc without --subnet: Client.Launch reads VPCID only for the multi-card-EFA subnet lookup. The single-instance path uses it to resolve and validate the VPC and its security group (cmd/launch_single.go:1247, :1274, :1310). A sweep member with no subnet lands in the region's default VPC.
Evidence is a code trace on main at 5246f02 (grep -rn "FSxLustreCreate\|FSxLustreRecall\|\.VPCID" cmd pkg/aws/client.go). Not run on AWS.
#1353's PR refuses all three at --detach and names --no-detach as the alternative. That advice is wrong for these three, because the foreground path drops them as well. Either refuse them on the foreground sweep path too, or wire them in: create the FSx once for the sweep with the single path's lifecycle contract, and resolve the subnet from the VPC.
Activity
fix(sweep): name the real remedy when a detached sweep refuses a sett…
fix(sweep): carry every RunInstances setting to detached sweep member…
fix(launch): accept the deprecated, inert --cartesian on sweeps (#1366)
fix(launch): parameter sweeps carry or refuse every launch flag (#1366)
fix(launch): accept the deprecated, inert --cartesian on sweeps (#1366)
fix(launch): parameter sweeps carry or refuse every launch flag (#1366)…