-
Notifications
You must be signed in to change notification settings - Fork 2
Closed as not planned
Closed as not planned
Copy link
Description
Bug Description
Hi,
Data team is using Mattermost charm to test PgBouncer K8s charm stability.
The pgbouncer CI test did install Mattermost in the clustered way (two units) and experiencing random crashes::
App Version Status Scale Charm Channel Rev Address Exposed Message
mattermost-k8s .../mattermost:v8.1.3-20.04... error 2 mattermost-k8s latest/stable 27 10.152.183.83 no crash loop backoff: back-off 5m0s restarting failed container=mattermost-k8s pod=mattermost-k8s-69995677fb-7w27h_test...
...
Unit Workload Agent Address Ports Message
mattermost-k8s/0* error idle 10.1.163.213 8065/TCP crash loop backoff: back-off 5m0s restarting failed container=mattermost-k8s pod=mattermost-k8s-69995677fb-7w27h_test...
mattermost-k8s/1 error idle 10.1.163.212 8065/TCP crash loop backoff: back-off 5m0s restarting failed container=mattermost-k8s pod=mattermost-k8s-69995677fb-98tsj_test...
...
We read here, the extra license is required, maybe it is a reason?
For now we are going to test Mattermost in a single unit mode
(it looks like the issue is not reproducible if Mattermost is installed in a single unit mode).
To Reproduce
juju deploy mattermost-k8s -n 2
juju deploy pgbouncer-k8s --trust -n 2
juju deploy postgresql-k8s --trust -n 3
juju deploy self-signed-certificates
juju relate self-signed-certificates postgresql-k8s
juju relate self-signed-certificates pgbouncer-k8s
juju relate pgbouncer-k8s postgresql-k8s
juju relate mattermost-k8s pgbouncer-k8s:db
Environment
Name Version Rev Tracking Publisher Notes
juju 3.6-rc2 28954 3.6/candidate canonical✓ -
microk8s v1.31.2 7371 1.31-strict/stable canonical✓ -
Relevant log output
The juju debug-log has no related logs.
The entire juju status with relations:
Model Controller Cloud/Region Version SLA Timestamp
testpg microk8s microk8s/localhost 3.6-rc2 unsupported 12:38:27+01:00
App Version Status Scale Charm Channel Rev Address Exposed Message
mattermost-k8s .../mattermost:v8.1.3-20.04... error 2 mattermost-k8s latest/stable 27 10.152.183.239 no crash loop backoff: back-off 5m0s restarting failed container=mattermost-k8s pod=mattermost-k8s-dc4c9dcd8-6fwv7_testp...
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 1/edge 345 10.152.183.184 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 459 10.152.183.100 no
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.56 no
Unit Workload Agent Address Ports Message
mattermost-k8s/2* error idle 10.1.61.35 8065/TCP crash loop backoff: back-off 5m0s restarting failed container=mattermost-k8s pod=mattermost-k8s-dc4c9dcd8-6fwv7_testp...
mattermost-k8s/3 error idle 10.1.61.3 8065/TCP crash loop backoff: back-off 5m0s restarting failed container=mattermost-k8s pod=mattermost-k8s-dc4c9dcd8-mgp4n_testp...
pgbouncer-k8s/0* active idle 10.1.61.24
pgbouncer-k8s/1 active idle 10.1.61.4
postgresql-k8s/0* active idle 10.1.61.20 Primary
postgresql-k8s/1 active idle 10.1.61.28
postgresql-k8s/2 active idle 10.1.61.1
self-signed-certificates/0* active idle 10.1.61.21
Integration provider Requirer Interface Type Message
pgbouncer-k8s:db mattermost-k8s:db pgsql regular
pgbouncer-k8s:pgb-peers pgbouncer-k8s:pgb-peers pgb_peers peer
pgbouncer-k8s:upgrade pgbouncer-k8s:upgrade upgrade peer
postgresql-k8s:database pgbouncer-k8s:backend-database postgresql_client regular
postgresql-k8s:database-peers postgresql-k8s:database-peers postgresql_peers peer
postgresql-k8s:restart postgresql-k8s:restart rolling_op peer
postgresql-k8s:upgrade postgresql-k8s:upgrade upgrade peer
self-signed-certificates:certificates pgbouncer-k8s:certificates tls-certificates regular
self-signed-certificates:certificates postgresql-k8s:certificates tls-certificates regular Additional context
Note: two units deployment used to work well in Juju 2.9.51 and Juju 3.4.6 but crashes in Juju 3.6-rc2.
Metadata
Metadata
Assignees
Labels
No labels