Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1891

Need to verify that network interface is deleted before removing security group

    XMLWordPrintable

    Details

    • Type: Task
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Sometime tests for stateful_set module fail during security group termination logging  "DependencyViolation: DeleteSecurityGroup operation has a dependent object" even if associated instances have been terminated.

      As it was explored the most possible reason is that network interfaces attached to some terminated instance still available and have association with security group which is going to be removed.

      Suggested fix:

      • during ec2 instance termination detach it from the interface
      • during security group termination filter and delete all network interfaces that linked with the group and don't have ec2 instances attachment

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              andkononykhin Andrey Kononykhin
              Watchers:
              Andrey Kononykhin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: