Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-887

[AWS] Installation failures on AWS: Error launching source instance: InvalidNetworkInterface.InUse: Interface: [eni-xxx] in use.

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Many AWS CI jobs failed with error: Error: Error launching source instance: InvalidNetworkInterface.InUse: Interface: [eni-0bb58a7cfc293106b] in use.
      
      Errors from: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy/1564621834614214656
      time="2022-08-30T15:25:18Z" level=debug msg="module.masters.aws_instance.master[1]: Still creating... [39m51s elapsed]"time="2022-08-30T15:25:28Z" level=debug msg="module.masters.aws_instance.master[1]: Still creating... [40m1s elapsed]"time="2022-08-30T15:25:38Z" level=debug msg="module.masters.aws_instance.master[1]: Still creating... [40m11s elapsed]"time="2022-08-30T15:25:45Z" level=errortime="2022-08-30T15:25:45Z" level=error msg="Error: Error launching source instance: InvalidNetworkInterface.InUse: Interface: [eni-0bb58a7cfc293106b] in use."time="2022-08-30T15:25:45Z" level=error msg="\tstatus code: 400, request id: d5f44cab-937a-4a0b-a9bb-bff4979c4aa4"time="2022-08-30T15:25:45Z" level=errortime="2022-08-30T15:25:45Z" level=error msg="  with module.masters.aws_instance.master[1],"time="2022-08-30T15:25:45Z" level=error msg="  on master/main.tf line 129, in resource \"aws_instance\" \"master\":"time="2022-08-30T15:25:45Z" level=error msg=" 129: resource \"aws_instance\" \"master\" {"time="2022-08-30T15:25:45Z" level=errortime="2022-08-30T15:25:45Z" level=error msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failure applying terraform for \"cluster\" stage: failed to create cluster: failed to apply Terraform: exit status 1\n\nError: Error launching source instance: InvalidNetworkInterface.InUse: Interface: [eni-0bb58a7cfc293106b] in use.\n\tstatus code: 400, request id: d5f44cab-937a-4a0b-a9bb-bff4979c4aa4\n\n  with module.masters.aws_instance.master[1],\n  on master/main.tf line 129, in resource \"aws_instance\" \"master\":\n 129: resource \"aws_instance\" \"master\" {\n\n"

      Version-Release number of selected component (if applicable):

      4.7-4.12

      How reproducible:

      Occasionally happened, searching logs in CI pipeline via https://search.ci.openshift.org/?search=InvalidNetworkInterface&maxAge=168h&context=1&type=build-log&name=.*4%5C.12.*aws.*&excludeName=.*upgrade.*&maxMatches=5&maxBytes=20971520&groupBy=job

      Steps to Reproduce:

      1. All kinds of AWS IPI installations can encounter this error. 

      Actual results:

      Error launching source instance: InvalidNetworkInterface.InUse: Interface: [eni-0bb58a7cfc293106b] in use.

      Expected results:

      Cluster install succeeds.

      Additional info:

      The error occurred in versions from 4.7 - 4.12:
      
      4.12 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy/1564621834614214656
      
      4.11 https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_oadp-operator/782/pull-ci-openshift-oadp-operator-master-4.11-operator-e2e-aws/1564638491915063296
      
      4.10 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.10-e2e-aws-csi/1565454897535520768
      
      4.9 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.9-e2e-aws/1565409786575458304
      
      4.8 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.8-e2e-aws-driver-toolkit/1564759515306397696
      
      4.7 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.7-e2e-aws-serial/1564294210822082560
      
      There is a similar Bug 2029555, which had been closed with `CLOSED WONTFIX`. 

            rdossant Rafael Fonseca dos Santos
            yunjiang-1 Yunfei Jiang
            Yunfei Jiang Yunfei Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: