Closed gustavosr98 closed 1 year ago
Hi, can you retry with setting the series of the charm to jammy? That should solve at least the psycopg2 exception.
Thanks @dragomirp that seems to have solved that issue.
I am seeing now something else probably not related. Third unit seem to be stuck awaiting for something to happen.
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
pg lxd localhost/localhost 2.9.42 unsupported 14:45:11-05:00
App Version Status Scale Charm Channel Rev Exposed Message
pg-j active 3 postgresql edge 281 no
Unit Workload Agent Machine Public address Ports Message
pg-j/0* active idle 0 10.46.90.43 Primary
pg-j/1 active idle 1 10.46.90.120
pg-j/2 waiting idle 2 10.46.90.44 awaiting for member to start
Machine State Address Inst id Series AZ Message
0 started 10.46.90.43 juju-dfa824-0 jammy Running
1 started 10.46.90.120 juju-dfa824-1 jammy Running
2 started 10.46.90.44 juju-dfa824-2 jammy Running
$ juju show-status-log pg-j/2
Time Type Status Message
28 Mar 2023 14:16:15-05:00 juju-unit executing running restart-relation-changed hook for pg-j/1
28 Mar 2023 14:16:15-05:00 workload waiting awaiting passwords generation
28 Mar 2023 14:16:16-05:00 juju-unit idle
28 Mar 2023 14:16:24-05:00 juju-unit executing running database-peers-relation-changed hook
28 Mar 2023 14:16:25-05:00 juju-unit executing running database-peers-relation-changed hook for pg-j/0
28 Mar 2023 14:16:25-05:00 workload waiting awaiting for cluster to start
28 Mar 2023 14:16:26-05:00 juju-unit idle
28 Mar 2023 14:16:30-05:00 juju-unit executing running database-peers-relation-changed hook
28 Mar 2023 14:18:39-05:00 juju-unit executing running database-peers-relation-changed hook for pg-j/0
28 Mar 2023 14:18:41-05:00 juju-unit executing running database-peers-relation-changed hook for pg-j/1
28 Mar 2023 14:18:43-05:00 juju-unit idle
28 Mar 2023 14:29:18-05:00 juju-unit executing running action get-password
28 Mar 2023 14:29:20-05:00 juju-unit idle
28 Mar 2023 14:38:07-05:00 juju-unit executing running action juju-run
28 Mar 2023 14:38:07-05:00 juju-unit idle
28 Mar 2023 14:38:13-05:00 juju-unit executing running action juju-run
28 Mar 2023 14:38:13-05:00 juju-unit idle
28 Mar 2023 14:38:22-05:00 juju-unit executing running action juju-run
28 Mar 2023 14:38:22-05:00 juju-unit idle
28 Mar 2023 14:42:07-05:00 workload waiting awaiting for member to start
Would you like me to open a different issue for this?
Bug Description
I am not able to deploy charm on top of local LXD
To Reproduce
Environment
Cloud: LXD Juju: 2.9.34 (Client and Controller) Postgresql charm: latest/edge (rev 281)
Revelant log output