Skip to content

Race condition in attaching new network interfaces to an instance #1134

@bnaecker

Description

@bnaecker

When attaching new network interfaces to an instance, we first verify that the instance is stopped. This opens up a race window, as the instance might be started after the check, but before we actually run the query to create / attach the new NIC. The already-complicated InsertNetworkInterfaceQuery may be augmented to do this check itself, or we might make use of the new tools for collection attach, if that's less surgery.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions