generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 4
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
4d78185
commit 13ac5dd
Showing
121 changed files
with
3,494 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,159 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:734 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-72 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/data-integrator-27 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-401 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-0 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[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: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
data-integrator/1 [allocating] waiting: waiting for machine | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
pgbouncer (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
data-integrator/1 [allocating] waiting: waiting for machine | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
pgbouncer (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
data-integrator/1 [allocating] waiting: waiting for machine | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
pgbouncer (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
data-integrator/1 [allocating] waiting: waiting for machine | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
pgbouncer (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
data-integrator/1 [allocating] waiting: waiting for machine | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
pgbouncer (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: agent initialising | ||
data-integrator/0 [executing] maintenance: installing charm software | ||
data-integrator/1 [executing] maintenance: installing charm software | ||
postgresql/0 [allocating] waiting: agent initialising | ||
postgresql/1 [allocating] waiting: agent initialising | ||
pgbouncer/0 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] maintenance: installing PostgreSQL | ||
pgbouncer/0 [executing] maintenance: Installing and configuring PgBouncer | ||
pgbouncer/1 [executing] maintenance: Installing and configuring PgBouncer | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
pgbouncer/0 [executing] waiting: Waiting to start PgBouncer | ||
pgbouncer/1 [executing] waiting: Waiting to start PgBouncer | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
pgbouncer/0 [idle] waiting: waiting for backend-database relation to connect | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
pgbouncer/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [idle] blocked: Please relate the data-integrator with the desired product | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
pgbouncer/0 [idle] blocked: waiting for backend database relation to initialise | ||
pgbouncer/1 [idle] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
data-integrator/1 [executing] active: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
pgbouncer/0 [executing] active: | ||
pgbouncer/1 [executing] maintenance: Reloading Pgbouncer | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] active: |
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,56 @@ | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app (waiting for exactly 1 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/5 [idle] active: | ||
another-application/0 [idle] active: | ||
another-postgresql/0 [idle] active: | ||
another-postgresql/1 [idle] active: Primary | ||
another-pgbouncer/2 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:341 {'databases': {'postgresql_test_app_first_database': 'host=10.212.209.185 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_first_database_readonly': 'host=10.212.209.36 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6'}, 'pgbouncer': {'listen_addr': '127.0.0.1', 'listen_port': '6432', 'logfile': '/var/snap/charmed-postgresql/common/var/log/pgbouncer/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/tmp/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer', 'auth_type': 'md5', 'user': 'snap_daemon', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/tmp/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_6.get_auth($1)', 'auth_file': '/var/snap/charmed-postgresql/current/etc/pgbouncer/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:343 Checking connection for postgresql-test-app/1 | ||
[32mINFO [0m root:helpers.py:77 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('ff3dd598-a0ab-4096-8cc1-ce297133612d');SELECT data FROM quick_test WHERE data = 'ff3dd598-a0ab-4096-8cc1-ce297133612d'; | ||
[32mINFO [0m root:helpers.py:78 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('ff3dd598-a0ab-4096-8cc1-ce297133612d');SELECT data FROM quick_test WHERE data = 'ff3dd598-a0ab-4096-8cc1-ce297133612d';", 'relation-id': 17, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:81 query results: {'results': '[["ff3dd598-a0ab-4096-8cc1-ce297133612d"]]', 'return-code': 0} | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/2 [executing] active: received database credentials of the first database | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql-test-app/1 [idle] active: received database credentials of the first database | ||
postgresql-test-app/2 [idle] active: received database credentials of the second database | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
pgbouncer/5 [idle] active: | ||
pgbouncer/10 [executing] active: | ||
another-application/0 [idle] active: | ||
another-postgresql/0 [idle] active: | ||
another-postgresql/1 [idle] active: Primary | ||
another-pgbouncer/2 [idle] active: | ||
another-pgbouncer/6 [executing] blocked: waiting for backend database relation to initialise | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
pgbouncer/10 [idle] active: | ||
another-pgbouncer/6 [idle] active: | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:355 {'databases': {'postgresql_test_app_first_database': 'host=10.212.209.185 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6', 'postgresql_test_app_first_database_readonly': 'host=10.212.209.36 dbname=postgresql_test_app_first_database port=5432 auth_user=pgbouncer_auth_relation_6'}, 'pgbouncer': {'listen_addr': '127.0.0.1', 'listen_port': '6432', 'logfile': '/var/snap/charmed-postgresql/common/var/log/pgbouncer/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/tmp/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer', 'auth_type': 'md5', 'user': 'snap_daemon', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/tmp/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_6.get_auth($1)', 'auth_file': '/var/snap/charmed-postgresql/current/etc/pgbouncer/pgbouncer/userlist.txt'}} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:357 Checking connection for postgresql-test-app/1 | ||
[32mINFO [0m root:helpers.py:77 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('b3416ae0-7fa3-429d-a761-2528c8ca6309');SELECT data FROM quick_test WHERE data = 'b3416ae0-7fa3-429d-a761-2528c8ca6309'; | ||
[32mINFO [0m root:helpers.py:78 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('b3416ae0-7fa3-429d-a761-2528c8ca6309');SELECT data FROM quick_test WHERE data = 'b3416ae0-7fa3-429d-a761-2528c8ca6309';", 'relation-id': 17, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:81 query results: {'results': '[["b3416ae0-7fa3-429d-a761-2528c8ca6309"]]', 'return-code': 0} | ||
[32mINFO [0m integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:357 Checking connection for postgresql-test-app/2 | ||
[32mINFO [0m root:helpers.py:77 running query: | ||
CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('273eff89-f615-47ce-ace3-d8860d1dcaaa');SELECT data FROM quick_test WHERE data = '273eff89-f615-47ce-ace3-d8860d1dcaaa'; | ||
[32mINFO [0m root:helpers.py:78 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE TABLE IF NOT EXISTS quick_test(data TEXT);INSERT INTO quick_test(data) VALUES('273eff89-f615-47ce-ace3-d8860d1dcaaa');SELECT data FROM quick_test WHERE data = '273eff89-f615-47ce-ace3-d8860d1dcaaa';", 'relation-id': 17, 'relation-name': 'first-database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:81 query results: {'results': '[["273eff89-f615-47ce-ace3-d8860d1dcaaa"]]', 'return-code': 0} |
Oops, something went wrong.