Add charmcraft.yaml debug_mode to charmed-osm
- Added a debug_mode option to lcm, mon, nbi, pol, and ro charms
- Added a script to prepare pods for debugging:
- setup .ssh/config to easily ssh from vscode to the pods
- Added a README that explains how to prepare the environment for
testing
Change-Id: Ieb56b565c15e61c68ad000b60897abd27e1eeb0e
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/installers/charm/mongodb-exporter/src/charm.py b/installers/charm/mongodb-exporter/src/charm.py
index f4c232a..ad596c3 100755
--- a/installers/charm/mongodb-exporter/src/charm.py
+++ b/installers/charm/mongodb-exporter/src/charm.py
@@ -144,7 +144,7 @@
if self.unit.is_leader():
self.dashboard_target.publish_info(
name="osm-mongodb",
- dashboard=Path("files/mongodb_exporter_dashboard.json").read_text(),
+ dashboard=Path("templates/mongodb_exporter_dashboard.json").read_text(),
)
def _check_missing_dependencies(self, config: ConfigModel):