GithubHelp home page GithubHelp logo

Comments (8)

dgoodwin avatar dgoodwin commented on July 29, 2024

@elad661 can you take a look in AWS console and see if you can figure out what's blocking deletion of these objects?

@joelddiaz can you take a look? This keeps popping up, I think I've seen it a few times.

from hive.

elad661 avatar elad661 commented on July 29, 2024

I don't have access to the AWS console. Maybe @cben can help?

from hive.

elad661 avatar elad661 commented on July 29, 2024

@dgoodwin looks like this EIP ID is used for the VPC's NAT Gateway. I don't know why the NAT Gateway is not being deleted.

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

@elad661 is the EIP tagged with the tectonicClusterID tag?

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

@elad661 and while we're at it, is the NAT Gateway tagged with tectonicClusterID?

from hive.

elad661 avatar elad661 commented on July 29, 2024

@joelddiaz the EIP is tagged, the network interface it's attached to is not, and the NAT gateway is not tagged either.

This might've been a race condition in which those resources were created but not tagged yet, and then deprovisioning was triggered.

How do you suggest we avoid such cases from our side? Should we disallow deprovisioning before the cluster is fully provisioned? or will Hive be changed to become more robust?

from hive.

joelddiaz avatar joelddiaz commented on July 29, 2024

It's okay for the network interface to be untagged as we delete them based on being attached to a particular EIP ( https://github.com/openshift/hive/blob/master/contrib/pkg/awstagdeprovision/awstagdeprovision.go#L588-L597 ).

The untagged NAT Gateways would be a problem as they are found via their tagging. We've been dumping all the objects that are untagged as dependencies in the VPC deletion path ( https://github.com/openshift/hive/blob/master/contrib/pkg/awstagdeprovision/awstagdeprovision.go#L450-L476 ).

I do worry a little bit about having to care about the ordering of the deletions that are piling up in the VPC code path though...

from hive.

dgoodwin avatar dgoodwin commented on July 29, 2024

This should be resolved now.

from hive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.