nixops-aws
nixops-aws copied to clipboard
Critical error: impossible to do deployments on machines with multiple ENIs
I think this happened during the update of security groups on a machine with multiple ENIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html) attached:
<Response><Errors><Error><Code>InvalidInstanceID</Code><Message>There are multiple interfaces attached to instance 'i-<snip>'. Please specify an interface ID for the operation instead.</Message></Error></Errors>
@AmineChikhaoui Would appreciate it if you could fix this one. Just pinging you, because you seem to be the most responsive. Just let me know if you consider this spam.
Hm interesting, @coretemp can you also attach the stacktrace (with nixops deploy --debug) to get an idea which exact API call is triggering this ? Thanks
Sure, will do that when I see it again. I tried to look at the obvious candidates for this, but wasn't able to find a good reason for it either.
https://github.com/NixOS/nixops/issues/914 is an even more important issue for me, because it means I need to destroy a machine first before I can deploy a new one, which 1) costs money 2) is slower (and thus costs time).