Skip to content

openshift-install cluster delete fails DependencyViolation: resource sg-0d577e26d576aaXXX has a dependent object #836

Closed

Description

@jeremyeder

Version

$ openshift-install version
# ./openshift-install-linux-amd64 version
./openshift-install-linux-amd64 v0.5.0
Terraform v0.11.10

Platform (aws|libvirt|openstack):

AWS

What happened?

Installs are failing. Deletes are failing. I think installs are failing because deletes are not totally cleaning things up.

What you expected to happen?

Install to work.

How to reproduce it (as minimally and precisely as possible)?

I believe it was caused by creating a cluster and then creating again before deleting? Don't have a clear reproducer at the moment.

Activity

  1. jeremyeder commented on Dec 7, 2018

    @jeremyeder
    Author

    I found stray load balancers and security groups.

  2. jeremyeder commented on Dec 7, 2018

    @jeremyeder
    Author

    I was able to delete all the load balancers.

    I tried to delete all the security groups, but they all roll up as dependencies to sg-0d577e26d576aabc9. That cannot be deleted because it has ENIs still attached. I do not have permission to delete this ENI:

    image

  3. jeremyeder commented on Dec 7, 2018

    @jeremyeder
    Author

    Using a different OPENSHIFT_INSTALL_CLUSTER_NAME and --dir let me at least unblock.

  4. crawford commented on Jan 4, 2019

    @crawford
    Contributor

    Is this still an issue with the latest installer?

  5. jeremyeder commented on Jan 5, 2019

    @jeremyeder
    Author

    At least I haven't seen this in a few weeks.

  6. cuppett commented on Jan 10, 2019

    @cuppett
    Member

    I've been able to create/delete the same cluster (name, account, region) multiple times since the break. The simple case is okay. I didn't deploy any apps though, so I don't know about user-provided LoadBalancer services and how well those are lifecycled.

  7. eparis commented on Feb 19, 2019

    @eparis
    Member

    ELBs create by service type loadbalancer are no tagged appropriately and will be cleaned up by destroy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions