Skip to content

fleet coord hosts: a CreateFleet retry after a lost answer can carry a different instance type #1329

Open

Description

@ejc3

From the review of #1328. If a CreateFleet succeeds but its answer is lost, and the host template's instance type changes and the 5-minute type cache expires before the retry, the retry sends a different InstanceType with the original ClientToken and EC2 answers IdempotentParameterMismatch. reconcile() keeps the token on errors, so that region launches nothing until a restart or power change. Fix: keep the request parameters with the pending token and resend them unchanged, or drop the token on IdempotentParameterMismatch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions