-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help Needed Urgently!! Unable to attach policy for the newly created role from ConsoleMe dashboard #9101
Comments
Hi @akshataashok, it looks like you're running ConsoleMe in the cloud without authentication or network security group (A.K.A. Firewall) rules. Please make sure to restrict ConsoleMe so that only you and your team can access it, and consider using either OIDC, SAML, or ALB Auth to authenticate your users, which is discussed in more detail here. Now it looks like you're running the default Docker development configuration here which specifies your DynamoDB endpoint as Alternatively, it might be easier to deploy with Terraform (here). When I have time, I hope to document an ECS deployment method that will make the process clearer. |
Hi, Kindly request you to suggest for this. |
There's initialize_dynamodb_oss.py that can set up your dynamo tables for you, and initialize_redis_oss.py that can help with pre-populating your Redis cache. The static configuration files shouldn't change too often after you have a stable configuration. Stopping and restarting the containers is the easiest way to get the latest configuration changes. However, your Dynamic configuration changes should automatically load within 1 minute of making the change. The error you are seeing indicates that ConsoleMe couldn't find the cached credential authorization mapping in Redis. If you have configuration values set for "generate_and_store_credential_authorization_mapping.s3.bucket" and "generate_and_store_credential_authorization_mapping.s3.file", it will also check that location. You can set these configuration values and try reinitializing your redis cache (initialize_redis_oss.py), which should save the file to S3 and it will be retrievable in your web request. But what I don't know is why your Redis data is disappearing. When you restart your docker containers, you're literally just running Did you manually create your role credential authorization mapping? If so, the celery task here runs every 5 minutes and will overwrite it. |
Hi, Then I started getting the roles and policies data visible in ConsoleMe dashboard. However I noticed that the data is available in the dashboard only for ~10mins after which the page becomes blank. If I restart the containers by running docker-compose -f docker-compose-dockerhub.yaml -f docker-compose-dependencies.yaml down But I could say the data is available in the DB which we could see and there's no data loss. My doubt here is as you mentioned we have |
Hi, b0774dff8e50 consoleme/consoleme "bash -c ' python sc…" 3 hours ago Up 4 minutes 8081/tcp consoleme_consoleme-celery_1 |
Hmm, could you print the container logs for the celery container when it crashes? |
Hello, On a high level the initial error says the below: |
Hey @akshataashok, although your logs show a different error than mine. I also had a similar issue with celery stopping after a while. Can you just ensure if your EC2 is not publicly accessible. Link to article - redis/redis#6420 |
Help Needed Urgently!!
Hi Team, I have launched ConsoleMe and created a role. When I am trying to update the inline policy for the newly created role I am getting the below error. I have followed docker way of installation of ConsoleMe.
Kindly suggest here.
Also when I try to save the policy I get below error.
The text was updated successfully, but these errors were encountered: