Skip to content
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

[IaC] Cannot access DBs with passwords from K8S secrets #3391

Closed
vijayg10 opened this issue Jun 21, 2023 · 1 comment
Closed

[IaC] Cannot access DBs with passwords from K8S secrets #3391

vijayg10 opened this issue Jun 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working or it has wrong behavior on a Mojaloop Core service oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it

Comments

@vijayg10
Copy link

Summary:
After deploying IaC sandbox, everything worked fine initially. On the second day, I couldn't able to connect to databases (all the databases) using the passwords from K8S secrets.

Severity:
(Low, Medium, High)

Priority:
(Critical, Medium, Low)

Expected Behavior

Steps to Reproduce

  1. Connect to K8S in IaC sandbox env
  2. Get the mysql root password from the k8s secret mysql-central-ledger-secret in mojaloop namespace
  3. Access console for the pod central-ledger-db-primary-0 in mojaloop namespace
  4. Execute the command mysql -uroot -p and enter the root password
  5. It responds with error ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
  6. This process used to work initially

Specifications

  • Component (if known): IaC Sandbox
  • Version: IaC - v4.0.2, mojaloop - v15.0.0
  • Bug found/raised by: @vijayg10

Notes:

  • Severity when opened:
  • Priority when opened:
@vijayg10 vijayg10 added the bug Something isn't working or it has wrong behavior on a Mojaloop Core service label Jun 21, 2023
@vijayg10 vijayg10 self-assigned this Jun 21, 2023
@vijayg10 vijayg10 added the oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it label Jun 21, 2023
@mdebarros mdebarros changed the title IaC - Can not access DBs with passwords from K8S secrets [IaC] Cannot access DBs with passwords from K8S secrets Jun 21, 2023
@vijayg10
Copy link
Author

This is completed and the pR is mojaloop/iac-aws-platform#89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or it has wrong behavior on a Mojaloop Core service oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it
Projects
None yet
Development

No branches or pull requests

2 participants