Merge ~silverdrake11/landscape-bundles:scalable-edge into landscape-bundles:scalable-edge

Proposed by Kevin Nasto
Status: Needs review
Proposed branch: ~silverdrake11/landscape-bundles:scalable-edge
Merge into: landscape-bundles:scalable-edge
Diff against target: 20 lines (+5/-0)
1 file modified
bundle.yaml (+5/-0)
Reviewer Review Type Date Requested Status
Spencer Runde Pending
Review via email: mp+466705@code.launchpad.net

Commit message

Updated rabbitmq charm option to prevent timeouts and update new postgres charm options

To post a comment you must log in.
Revision history for this message
Spencer Runde (spencerrunde) wrote :

After restarting Landscape and Postgres units, do you find that you get 503s due to schema check failures? Restarting the Landscape services inside the unit with `systemctl restart landscape*` fixes it, and I can verify that the Postgres connections aren't saturated.

Perhaps this is just a quality-of-life issue around waiting for the Postgres unit to come up before running schema checks. I've also noticed that the failed schema check results in `active (exited)` for the systemd processes, which doesn't properly reflect a failed state in juju for the Landscape unit.

Revision history for this message
Kevin Nasto (silverdrake11) wrote :

I haven't encountered the issue before. What do you mean after restarting the Landscape and Postgres units? Like running "lxc restart" or sudo reboot?

Revision history for this message
Spencer Runde (spencerrunde) wrote :

Right, `lxc restart` is how I did it.

Unmerged commits

f48db91... by Kevin Nasto

Rabbitmq timeout issue and new postgres charm options

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/bundle.yaml b/bundle.yaml
2index a56d9d1..ea516b7 100644
3--- a/bundle.yaml
4+++ b/bundle.yaml
5@@ -25,10 +25,15 @@ applications:
6 channel: 14/edge
7 num_units: 1
8 constraints: mem=2048
9+ options:
10+ plugin_plpython3u_enable: True
11+ experimental_max_connections: 500
12 rabbitmq-server:
13 channel: latest/edge
14 charm: ch:rabbitmq-server
15 num_units: 1
16+ options:
17+ consumer-timeout: 259200000
18 relations:
19 - [landscape-server, rabbitmq-server]
20 - [landscape-server, haproxy]

Subscribers

People subscribed via source and target branches

to all changes: