db-relation-changed hook fails, connection rejected for database postgress,SSL on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
New
|
Undecided
|
Unassigned |
Bug Description
It looks like the charm moved from revision 32 to 35, and since we have landscape-server failing to deploy on standard solutions-qa stable test deployments with the error:
2019-10-27 07:13:53 DEBUG db-relation-changed Traceback (most recent call last):
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/bin/
2019-10-27 07:13:53 DEBUG db-relation-changed canonical.
2019-10-27 07:13:53 DEBUG db-relation-changed File "/opt/canonical
2019-10-27 07:13:53 DEBUG db-relation-changed _set_two_
2019-10-27 07:13:53 DEBUG db-relation-changed File "/opt/canonical
2019-10-27 07:13:53 DEBUG db-relation-changed store = zstorm.get(name)
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed return self.create(name, default_uri)
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed store = Store(database)
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self._connection = database.
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed return self.connection
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self._raw_
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed raw_connection = psycopg2.
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed conn = _connect(dsn, connection_
2019-10-27 07:13:53 DEBUG db-relation-changed psycopg2.
2019-10-27 07:13:53 DEBUG db-relation-changed FATAL: pg_hba.conf rejects connection for host "10.244.40.202", user "jujuadmin_
2019-10-27 07:13:53 DEBUG db-relation-changed
2019-10-27 07:13:53 DEBUG db-relation-changed Traceback (most recent call last):
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed sys.exit(hook())
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self._run()
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed manager.manage()
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self.reconfigur
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self.fire_
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed callback(self, service_name, event_name)
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self._run(
2019-10-27 07:13:53 DEBUG db-relation-changed File "/var/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed self._subproces
2019-10-27 07:13:53 DEBUG db-relation-changed File "/usr/lib/
2019-10-27 07:13:53 DEBUG db-relation-changed raise CalledProcessEr
2019-10-27 07:13:53 DEBUG db-relation-changed subprocess.
I'll attach the crashdump and bundle.yaml for this deployment
attaching bundle