generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcfa681
commit d897bfa
Showing
129 changed files
with
2,788 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:734 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/focal/finos-waltz-k8s-33 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-250 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
pgbouncer-k8s/0 [allocating] waiting: installing agent | ||
pgbouncer-k8s/1 [allocating] waiting: installing agent | ||
pgbouncer-k8s/2 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: agent initialising | ||
postgresql-k8s/1 [allocating] waiting: agent initialising | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
pgbouncer-k8s/0 [executing] unknown: | ||
pgbouncer-k8s/1 [executing] unknown: | ||
pgbouncer-k8s/2 [executing] unknown: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
postgresql-k8s/1 [executing] maintenance: installing charm software | ||
postgresql-k8s/2 [executing] maintenance: installing charm software | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] unknown: | ||
postgresql-k8s/2 [idle] unknown: | ||
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [executing] active: Primary | ||
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
pgbouncer-k8s/0 [idle] blocked: PgBouncer service metrics_server not running: service status = ServiceStatus.INACTIVE | ||
pgbouncer-k8s/1 [idle] blocked: PgBouncer service metrics_server not running: service status = ServiceStatus.INACTIVE | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [executing] waiting: awaiting for member to start | ||
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
finos-waltz/0 [executing] blocked: Waiting for database configuration. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/2 [idle] active: | ||
finos-waltz/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/focal/finos-waltz-k8s-33 | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
another-finos-waltz/0 [allocating] waiting: installing agent | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
finos-waltz/0 [idle] active: | ||
another-finos-waltz/0 [executing] blocked: Waiting for database configuration. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/2 [idle] active: | ||
another-finos-waltz/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
finos-waltz/0 [idle] active: | ||
another-finos-waltz/0 [idle] active: | ||
[32mINFO [0m integration.relations.test_db:test_db.py:113 ['pgbouncer_k8s_user_6_test', 'pgbouncer_k8s_user_7_test'] | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
finos-waltz/0 [idle] active: | ||
another-finos-waltz/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
finos-waltz/0 [idle] active: | ||
another-finos-waltz/0 [idle] active: | ||
[32mINFO [0m integration.relations.test_db:test_db.py:132 {'allowed-subnets': '10.152.183.25/32', 'allowed-units': 'finos-waltz/0', 'database': 'waltz', 'host': 'pgbouncer-k8s-2.pgbouncer-k8s-endpoints.test.svc.cluster.local', 'master': 'host=pgbouncer-k8s-2.pgbouncer-k8s-endpoints.test.svc.cluster.local dbname=waltz port=6464 user=pgbouncer_k8s_user_6_test password=WHJswy8c00pdVvpYHWfUEJVV fallback_application_name=finos-waltz', 'password': 'WHJswy8c00pdVvpYHWfUEJVV', 'port': '6464', 'standbys': 'host=pgbouncer-k8s-1.pgbouncer-k8s-endpoints.test.svc.cluster.local dbname=waltz_standby port=6464 user=pgbouncer_k8s_user_6_test password=WHJswy8c00pdVvpYHWfUEJVV fallback_application_name=finos-waltz', 'state': 'master', 'user': 'pgbouncer_k8s_user_6_test', 'version': '14.11'} | ||
[32mINFO [0m integration.relations.test_db:test_db.py:139 {'allowed-subnets': '10.152.183.227/32', 'allowed-units': 'another-finos-waltz/0', 'database': 'waltz', 'host': 'pgbouncer-k8s-2.pgbouncer-k8s-endpoints.test.svc.cluster.local', 'master': 'host=pgbouncer-k8s-2.pgbouncer-k8s-endpoints.test.svc.cluster.local dbname=waltz port=6464 user=pgbouncer_k8s_user_7_test password=31F9i5f2S7JAmAVaH16K27pD fallback_application_name=another-finos-waltz', 'password': '31F9i5f2S7JAmAVaH16K27pD', 'port': '6464', 'standbys': 'host=pgbouncer-k8s-1.pgbouncer-k8s-endpoints.test.svc.cluster.local dbname=waltz_standby port=6464 user=pgbouncer_k8s_user_7_test password=31F9i5f2S7JAmAVaH16K27pD fallback_application_name=another-finos-waltz', 'state': 'master', 'user': 'pgbouncer_k8s_user_7_test', 'version': '14.11'} | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
finos-waltz/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
finos-waltz/0 [idle] active: | ||
[32mINFO [0m integration.relations.test_db:test_db.py:156 {'databases': {'waltz': 'host=postgresql-k8s-primary.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5', 'waltz_readonly': 'host=postgresql-k8s-replicas.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5', 'waltz_standby': 'host=postgresql-k8s-replicas.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5'}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.test_db:test_db.py:156 {'databases': {'waltz': 'host=postgresql-k8s-primary.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5', 'waltz_readonly': 'host=postgresql-k8s-replicas.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5', 'waltz_standby': 'host=postgresql-k8s-replicas.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5'}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.test_db:test_db.py:156 {'databases': {'waltz': 'host=postgresql-k8s-primary.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5', 'waltz_readonly': 'host=postgresql-k8s-replicas.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5', 'waltz_standby': 'host=postgresql-k8s-replicas.test.svc.cluster.local dbname=waltz port=5432 auth_user=pgbouncer_auth_relation_id_5'}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.relations.test_db:test_db.py:169 {'databases': {}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.test_db:test_db.py:169 {'databases': {}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.test_db:test_db.py:169 {'databases': {}, 'pgbouncer': {'listen_addr': '*', 'listen_port': '6464', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[32mINFO [0m root:helpers.py:120 running query: | ||
SELECT data FROM test; | ||
[32mINFO [0m root:helpers.py:121 {'dbname': 'postgresql_test_app_first_database', 'query': 'SELECT data FROM test;', 'relation-id': 7, 'relation-name': 'first-database', 'readonly': True} | ||
[32mINFO [0m root:helpers.py:124 query results: {'results': '[["some data"]]', 'return-code': 0} |
Oops, something went wrong.