Coder Social home page Coder Social logo

Comments (4)

dgraeber avatar dgraeber commented on August 11, 2024

@manojrajpurohit
It appears that the Security Group tied to the Opensearch Deployment has a reference to some entity that has not been removed from it yet(?). Can you please go into the account, find the referred to SG and see what resources are using it by trying to manually deleting the SG. Once you are able to delete the SG, rerun seedfarmer apply

from autonomous-driving-data-framework.

dgraeber avatar dgraeber commented on August 11, 2024

@manojrajpurohit Also - check if the stack has the Opensearch proxy has been deployed and not destroyed. I would like to know how the customer got here (i.e. they had a deployment and wanted to swap out OpenSearch, they were trying to delete the entire deployment, etc).

from autonomous-driving-data-framework.

manojrajpurohit avatar manojrajpurohit commented on August 11, 2024

Indeed the security group was used in Network Interface. I guess these Network Interface were created as part of modules/demo-only/opensearch-proxy/
So I did the following

  1. commented manifests/ros-image-demo/integration-modules.yaml in deployment.yaml and executed seedfarmer, thus, modules/demo-only/opensearch-proxy/ and modules/integration/ddb-to-opensearch/ stacks were deleted
  2. deleted opensearch stack from CloudFormation console. Was able to delete it this time.
  3. Commented opensearch in manifest and rerun seedfarmer - deployment failed (I thought this was required to put seedfarmer in right state since I had deleted opensearch from console)
  4. Included opensearch , modules/demo-only/opensearch-proxy/ and modules/integration/ddb-to-opensearch/ in manifest and rerun seedfarmer - all 3 stacks are successfully created

so I was somehow able to fix this issue.

However, I think, the point to remember is after deploying opensearch, opensearch proxy and ddb-to-opensearch, we should not try to remove opensearch alone , rather all 3 should be removed. I am not sure if this understanding is correct. But if this is correct then I am wondering whether there is a way to hard specify dependency check between stacks.

Anyways closing closing this bug now.

from autonomous-driving-data-framework.

dgraeber avatar dgraeber commented on August 11, 2024

Yes...it sounds like you deleted a module that had other modules dependent on it. Currently, seedfarmer does not manage dependencies, so it will let you delete a module even if other modules are referencing it. For now, rule of thumb is to verify module references before removing them from a manifest, and we are exploring ways to mitigate the event you incurred.

from autonomous-driving-data-framework.

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.