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

Add integration tests with mysql-router(-k8s) <> data-integrator #14

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

taurus-forever
Copy link
Contributor

No description provided.

@taurus-forever
Copy link
Contributor Author

My local test results doesn't match GH runner results:

INFO     juju.model:model.py:2530 Waiting for model:
  mysql-k8s/0 [executing] active: Unit is ready: Mode: RW
  mysql-router-k8s/0 [executing] waiting: 
  mysql-test-app/0 [idle] waiting: 
INFO     juju.model:model.py:2530 Waiting for model:
  mysql-router-k8s/0 [idle] error: hook failed: "mysql-router-peers-relation-changed"
  mysql-test-app/0 [idle] waiting: 
INFO     juju.model:model.py:2530 Waiting for model:
  mysql-router-k8s/0 [idle] error: hook failed: "mysql-router-peers-relation-changed"
  mysql-test-app/0 [idle] waiting: 
INFO     juju.model:model.py:2530 Waiting for model:
  mysql-router-k8s/0 [idle] waiting: 
  mysql-test-app/0 [idle] waiting: 

@taurus-forever taurus-forever force-pushed the alutay/add_more_tests branch 2 times, most recently from c5b1429 to 4cf1e01 Compare March 10, 2023 12:05
@paulomach
Copy link

paulomach commented Mar 13, 2023

mysql-router VM needs to be bumped to jammy. Task DPE-1488

@taurus-forever
Copy link
Contributor Author

taurus-forever commented Jun 30, 2023

data-integrator with mysql-router makes no sense due to the socket in databag:

ubuntu@taurus-dev:~$ juju run-action data-integrator/0 get-credentials --wait
unit-data-integrator-0:
  UnitId: data-integrator/0
  id: "17"
  results:
    mysql:
      database: teetete
      endpoints: file:///var/snap/charmed-mysql/common/run/mysqlrouter/mysql.sock
      password: wMBSU1NaVMiYfsqlcY3rCkbB
      read-only-endpoints: file:///var/snap/charmed-mysql/common/run/mysqlrouter/mysqlro.sock
      username: relation-14-15
    ok: "True"

@dragomirp can you please remind me, how does it work for pgbouncer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants