generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 12
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
67dce02
commit a5066e0
Showing
239 changed files
with
5,209 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,167 @@ | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:29 Clearing continuous writes | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:32 Starting continuous writes | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:156 Get leader unit | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:162 Run pre-upgrade-check action | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:166 Refresh with previous charm | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:169 Wait for upgrade to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] blocked: ready to rollback application | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [idle] blocked: upgrade failed. Check logs for rollback instruction | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: upgrading snap... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: starting services... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: starting services... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: starting services... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: starting services... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: starting services... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [idle] waiting: other units upgrading first... | ||
mysql/2 [executing] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] waiting: other units upgrading first... | ||
mysql/1 [executing] maintenance: starting services... | ||
mysql/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: starting services... | ||
mysql/1 [idle] maintenance: upgrade completed | ||
mysql/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:176 Ensure continuous_writes after rollback procedure | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:343 Ensure continuous writes are incrementing | ||
[32mINFO [0m integration.helpers:helpers.py:485 Retrieving primary unit | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=44207 on unit mysql/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=44209 on unit mysql/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=44211 on unit mysql/2 | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:37 Clearing continuous writes | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.5.4 unsupported 01:48:48Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
mysql 8.0.34-0ubun... active 3 mysql 1 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
mysql-test-app/0* active idle 3 10.226.242.244 | ||
mysql/0* active idle 0 10.226.242.216 3306,33060/tcp | ||
mysql/1 active idle 1 10.226.242.194 3306,33060/tcp | ||
mysql/2 active idle 2 10.226.242.89 3306,33060/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.226.242.216 juju-88deec-0 [email protected] Running | ||
1 started 10.226.242.194 juju-88deec-1 [email protected] Running | ||
2 started 10.226.242.89 juju-88deec-2 [email protected] Running | ||
3 started 10.226.242.244 juju-88deec-3 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
machine-0: 01:35:35 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:35:35 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-0: 01:35:36 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:35:37 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:35:37 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-2: 01:35:37 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:35:40 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:35:40 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-test-app-0: 01:35:40 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:35:41 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:35:41 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-1: 01:35:42 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-mysql-2: 01:41:06 CRITICAL unit.mysql/2.juju-log upgrade:1: Upgrade failed, follow the instructions below to rollback: | ||
1. Re-run `pre-upgrade-check` action on the leader unit to enter 'recovery' state | ||
2. Run `juju refresh` to the previously deployed charm revision or local charm file | ||
unit-mysql-2: 01:44:29 ERROR unit.mysql/2.juju-log upgrade:1: Failed to start mysqld | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/mysql_vm_helpers.py", line 617, in start_mysqld | ||
self.wait_until_mysql_connection() | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 289, in wrapped_f | ||
return self(f, *args, **kw) | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 379, in __call__ | ||
do = self.iter(retry_state=retry_state) | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 325, in iter | ||
raise retry_exc.reraise() | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 158, in reraise | ||
raise self.last_attempt.result() | ||
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result | ||
return self.__get_result() | ||
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result | ||
raise self._exception | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 382, in __call__ | ||
result = fn(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/mysql_vm_helpers.py", line 379, in wait_until_mysql_connection | ||
raise MySQLServiceNotRunningError("MySQL socket file not found") | ||
charms.mysql.v0.mysql.MySQLServiceNotRunningError: MySQL socket file not found | ||
unit-mysql-2: 01:44:40 ERROR unit.mysql/2.juju-log upgrade:1: Failed to uninstall MySQL on attempt=1 | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/mysql_vm_helpers.py", line 617, in start_mysqld | ||
self.wait_until_mysql_connection() | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 289, in wrapped_f | ||
return self(f, *args, **kw) | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 379, in __call__ | ||
do = self.iter(retry_state=retry_state) | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 325, in iter | ||
raise retry_exc.reraise() | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 158, in reraise | ||
raise self.last_attempt.result() | ||
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result | ||
return self.__get_result() | ||
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result | ||
raise self._exception | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/venv/tenacity/__init__.py", line 382, in __call__ | ||
result = fn(*args, **kwargs) | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/mysql_vm_helpers.py", line 379, in wait_until_mysql_connection | ||
raise MySQLServiceNotRunningError("MySQL socket file not found") | ||
charms.mysql.v0.mysql.MySQLServiceNotRunningError: MySQL socket file not found | ||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/upgrade.py", line 199, in _on_upgrade_granted | ||
self.charm._mysql.start_mysqld() | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/mysql_vm_helpers.py", line 625, in start_mysqld | ||
raise MySQLStartMySQLDError(e.message) | ||
charms.mysql.v0.mysql.MySQLStartMySQLDError: MySQL socket file not found | ||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-2/charm/src/mysql_vm_helpers.py", line 225, in uninstall_mysql | ||
subprocess.run(["snap", "remove", "charmed-mysql"], check=True) | ||
File "/usr/lib/python3.10/subprocess.py", line 526, in run | ||
raise CalledProcessError(retcode, process.args, | ||
subprocess.CalledProcessError: Command '['snap', 'remove', 'charmed-mysql']' returned non-zero exit status 1. | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting main... |
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,54 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/ubuntu-advantage-133 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:mysql-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:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] waiting: agent initialising | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage (not enough units yet - 0/1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] waiting: Waiting to start MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
ubuntu-advantage/0 [executing] maintenance: Configuring | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql-test-app/0 [executing] waiting: | ||
ubuntu-advantage/0 [idle] active: Attached (esm-apps,esm-infra) |
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,2 @@ | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:83 Get leader unit | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:87 Run pre-upgrade-check action |
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,13 @@ | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] waiting: | ||
mysql-test-app/1 [idle] waiting: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] active: | ||
mysql-test-app/1 [idle] 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,41 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:mysql-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql/1 [executing] maintenance: Installing MySQL | ||
mysql/2 [executing] maintenance: Installing MySQL | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] maintenance: Setting up cluster node | ||
mysql/1 [executing] maintenance: Setting up cluster node | ||
mysql/2 [executing] maintenance: Setting up cluster node | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] waiting: waiting to join the cluster. | ||
mysql/1 [executing] maintenance: joining the cluster | ||
mysql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql/0 [executing] active: | ||
mysql/1 [idle] active: |
Oops, something went wrong.