Giter Site home page Giter Site logo

Failing to start ConsoleMe about consoleme HOT 6 CLOSED

netflix avatar netflix commented on August 15, 2024
Failing to start ConsoleMe

from consoleme.

Comments (6)

castrapel avatar castrapel commented on August 15, 2024

Thank you for this issue!

I think this is because you're deploying to a region that isn't considered your "active region" in ConsoleMe.

Since ConsoleMe's celery tasks don't want to exhaust your rate limits by querying IAM, AWS config, and other services in every one of your regions, we only query in your "active region" as defined in your ConsoleMe configuration under the key: celery.active_region

If you're using this file, try a line like the following to your configuration, substituting us-east-1 for the region you are deploying in. I'd recommend first doing this in your instance and re-running cloud-init to make sure it works:

celery:
  active_region: us-east-1

I will look into modifying the default terraform configuration to have this pre-configured for the region the user is deploying in. A better option might be to always default the active region to the current region consoleme is deployed in, if it is left unconfigured.

from consoleme.

yi2020 avatar yi2020 commented on August 15, 2024

For reference, this is what I'm working on: #264 (you can see if maybe I broke something in there, especially the user_data)

from consoleme.

yi2020 avatar yi2020 commented on August 15, 2024

@castrapel I'm actually doing everything in us-east-1.

from consoleme.

castrapel avatar castrapel commented on August 15, 2024

It looks like we still don't have defaults specified in that Terraform config. I think the fix is to modify terraform/central-account/templates/example_config_terraform.yaml and add those lines:

celery:
  active_region: us-east-1

from consoleme.

castrapel avatar castrapel commented on August 15, 2024

Also feel free to join our Discord channel, if it would help I'd be happy to hop on a Zoom with you for some pair debugging. I'd bet we'd get some good notes and fixes in the process:

https://discord.gg/nQVpNGGkYu

from consoleme.

castrapel avatar castrapel commented on August 15, 2024

This is fixed in #264 .

Once merged, #8785 will add more enhancements to the flow.

from consoleme.

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.