Skip to content

Missing DrainEvent metadata for SpotITN #104

@gavinbunney

Description

@gavinbunney

The spot instance termination notice endpoint is only populating the timestamp of the event in the DrainEvent struct.

You can see this in the logs:

Got drain event from channel {EventID: Kind:SPOT_ITN Description:Spot ITN received. will be at 2020-03-02T18:20:55Z

The documentation for the notice API also only indicates a time is returned: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#instance-action-metadata

Can you confirm that this is working as expected? If so, will probably need to add another step to fetch more instance metadata during these notices, as at the moment the logs (and webhook notifications) are pretty sparse.

Thanks!

Another example of a webhook notice showing the DrainEvent fields not being populated:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions