If create runs while state already has a server_id, it deploys a second VM and overwrites the first one in state. The first is then orphaned, still running and no longer tracked.
Guarding on state[:server_id] and returning early would fix it.
Prior art: #32 does this.
If
createruns while state already has aserver_id, it deploys a second VM and overwrites the first one in state. The first is then orphaned, still running and no longer tracked.Guarding on
state[:server_id]and returning early would fix it.Prior art: #32 does this.