Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] mgr/cephadm: Use Dashboard's credtials for grafana.ini #42245

Closed

Conversation

sebastian-philipp
Copy link
Contributor

This avoids any additional persistent state.

Fixes: https://tracker.ceph.com/issues/48291

Signed-off-by: Sebastian Wagner sewagner@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

This avoids any additional persistent state.

Fixes: https://tracker.ceph.com/issues/48291

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
@sebastian-philipp sebastian-philipp requested a review from a team as a code owner July 8, 2021 14:30
@sebastian-philipp sebastian-philipp changed the title mgr/cephadm: Use Dashboard's credtials for grafana.ini [POC] mgr/cephadm: Use Dashboard's credtials for grafana.ini Jul 8, 2021
@alfonsomthd alfonsomthd requested a review from pcuzner July 8, 2021 15:37
Comment on lines +59 to +64
user = self.mgr.check_mon_command({
'prefix': 'dashboard get-grafana-api-username'
}).stdout
password = self.mgr.check_mon_command({
'prefix': 'dashboard get-grafana-api-password'
}).stdout
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me check if we can drop the Grafana credentials: they were needed before cephadm, but given the Grafana dashboards are now 'injected' during container build, perhaps we can avoid this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that would be even better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants