Add charmcraft.yaml debug_mode to charmed-osm 11/11111/8
authorDavid Garcia <david.garcia@canonical.com>
Tue, 17 Aug 2021 09:03:55 +0000 (11:03 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 26 Aug 2021 09:16:01 +0000 (11:16 +0200)
commitd680be4f261d4c580fcdf75abe11cfc29003915d
tree380b66a23cd25e32950db38cc1011b051435fe9c
parent3ddbbd1f6c70306d13db0976e1e6b3bda0c69abd
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>
68 files changed:
installers/charm/build.sh
installers/charm/bundles/osm-ha/bundle.yaml
installers/charm/bundles/osm/bundle.yaml
installers/charm/grafana/charmcraft.yaml [new file with mode: 0644]
installers/charm/grafana/files/default_dashboards.yaml [deleted file]
installers/charm/grafana/files/default_datasources.yaml [deleted file]
installers/charm/grafana/files/kafka_exporter_dashboard.json [deleted file]
installers/charm/grafana/files/mongodb_exporter_dashboard.json [deleted file]
installers/charm/grafana/files/mysql_exporter_dashboard.json [deleted file]
installers/charm/grafana/files/nodes_exporter_dashboard.json [deleted file]
installers/charm/grafana/files/summary_dashboard.json [deleted file]
installers/charm/grafana/src/charm.py
installers/charm/grafana/templates/default_dashboards.yaml [new file with mode: 0644]
installers/charm/grafana/templates/default_datasources.yaml [new file with mode: 0644]
installers/charm/grafana/templates/kafka_exporter_dashboard.json [new file with mode: 0644]
installers/charm/grafana/templates/mongodb_exporter_dashboard.json [new file with mode: 0644]
installers/charm/grafana/templates/mysql_exporter_dashboard.json [new file with mode: 0644]
installers/charm/grafana/templates/nodes_exporter_dashboard.json [new file with mode: 0644]
installers/charm/grafana/templates/summary_dashboard.json [new file with mode: 0644]
installers/charm/grafana/tox.ini
installers/charm/kafka-exporter/charmcraft.yaml [new file with mode: 0644]
installers/charm/kafka-exporter/files/kafka_exporter_dashboard.json [deleted file]
installers/charm/kafka-exporter/src/charm.py
installers/charm/kafka-exporter/templates/kafka_exporter_dashboard.json [new file with mode: 0644]
installers/charm/kafka-exporter/tox.ini
installers/charm/keystone/charmcraft.yaml [new file with mode: 0644]
installers/charm/keystone/tox.ini
installers/charm/lcm/charmcraft.yaml [new file with mode: 0644]
installers/charm/lcm/config.yaml
installers/charm/lcm/src/charm.py
installers/charm/lcm/tox.ini
installers/charm/mon/charmcraft.yaml [new file with mode: 0644]
installers/charm/mon/config.yaml
installers/charm/mon/src/charm.py
installers/charm/mon/tox.ini
installers/charm/mongodb-exporter/charmcraft.yaml [new file with mode: 0644]
installers/charm/mongodb-exporter/files/mongodb_exporter_dashboard.json [deleted file]
installers/charm/mongodb-exporter/src/charm.py
installers/charm/mongodb-exporter/templates/mongodb_exporter_dashboard.json [new file with mode: 0644]
installers/charm/mongodb-exporter/tox.ini
installers/charm/mysqld-exporter/charmcraft.yaml [new file with mode: 0644]
installers/charm/mysqld-exporter/files/mysql_exporter_dashboard.json [deleted file]
installers/charm/mysqld-exporter/src/charm.py
installers/charm/mysqld-exporter/templates/mysql_exporter_dashboard.json [new file with mode: 0644]
installers/charm/mysqld-exporter/tox.ini
installers/charm/nbi/charmcraft.yaml [new file with mode: 0644]
installers/charm/nbi/config.yaml
installers/charm/nbi/src/charm.py
installers/charm/nbi/tox.ini
installers/charm/ng-ui/charmcraft.yaml [new file with mode: 0644]
installers/charm/ng-ui/files/default [deleted file]
installers/charm/ng-ui/src/charm.py
installers/charm/ng-ui/templates/default.template [new file with mode: 0644]
installers/charm/ng-ui/tox.ini
installers/charm/pla/charmcraft.yaml [new file with mode: 0644]
installers/charm/pla/tox.ini
installers/charm/pol/charmcraft.yaml [new file with mode: 0644]
installers/charm/pol/config.yaml
installers/charm/pol/src/charm.py
installers/charm/pol/tox.ini
installers/charm/prometheus/charmcraft.yaml [new file with mode: 0644]
installers/charm/prometheus/tox.ini
installers/charm/ro/charmcraft.yaml [new file with mode: 0644]
installers/charm/ro/config.yaml
installers/charm/ro/src/charm.py
installers/charm/ro/tox.ini
tools/debug/charmed/README.md [new file with mode: 0644]
tools/debug/charmed/prepare_pods.sh [new file with mode: 0755]