Code review comment for ~dmitriis/charm-telegraf/+git/telegraf-charm:master

Revision history for this message
Stuart Bishop (stub) wrote :

In addition, the PostgreSQL relation fails with a replicated deployment. If there are two or more PostgreSQL units, then a relation that declares itself container scoped will fail (which was the case when the postgresql relation was first added to the telegraf charm). The standby PostgreSQL units need to see the settings the master unit has made on the relation to copy them, and this fails because the master unit is not visible and relation-get fails:

ERROR cannot read settings for unit "postgresql/1" in relation "telegraf:postgresql postgresql:db-admin": settings not found

« Back to merge proposal