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
mgr/cephadm: introduce centralized logging in Dashboard using Loki and Promtail #44751
mgr/cephadm: introduce centralized logging in Dashboard using Loki and Promtail #44751
Conversation
30b0b99
to
0266d7e
Compare
0266d7e
to
e6dc571
Compare
8e3907d
to
59063e6
Compare
|
jenkins test make check |
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
0cee300
to
bb65adf
Compare
Signed-off-by: Avan Thakkar <athakkar@redhat.com> Co-authored-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
e1cb4ba
to
ba6efa1
Compare
|
jenkins test windows |
|
|
jenkins test windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are typos on 5th and 6th commit messages.
"grps -> grpc" and "liniting -> linting"
|
jenkins test windows |
ba6efa1
to
8d30828
Compare
8d30828
to
451f6ff
Compare
|
@adk3798 please correct me if I'm wrong but having a look to the changes it doesn't seem that this PR is adding them to the services that are upgraded (as part of the ceph orch upgrade). Is this OK? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avanthakkar you need to add the new services to the list in ceph/src/pybind/mgr/cephadm/utils.py otherwise they will not be redeployed during an upgrade (you will end up with an upgraded cluster but with old daemons running)
MONITORING_STACK_TYPES = ['node-exporter', 'prometheus', 'alertmanager', 'grafana']
It would be good also to test an upgrade where you basically start from a cluster the contains the new daemons towards a version where they are present also to make sure nothing is broken and to ensure that the new services are redeployed correctly after the upgrade.
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
451f6ff
to
4690238
Compare
Thanks @rkachach , Done. |
|
jenkins test make check |
Fixes: https://tracker.ceph.com/issues/54502 Signed-off-by: Tatjana Dehler <tdehler@suse.com> (cherry picked from commit 4f14993) Conflicts: src/pybind/mgr/cephadm/services/monitoring.py Fixed conflict because ceph#44751 has not been backported to pacific (yet).
Fixes: https://tracker.ceph.com/issues/54502 Signed-off-by: Tatjana Dehler <tdehler@suse.com> (cherry picked from commit 4f14993) Conflicts: src/pybind/mgr/cephadm/services/monitoring.py Fixed conflict because ceph#44751 has not been backported to pacific (yet).
Fixes: https://tracker.ceph.com/issues/54502 Signed-off-by: Tatjana Dehler <tdehler@suse.com> (cherry picked from commit 4f14993) Conflicts: src/pybind/mgr/cephadm/services/monitoring.py Fixed conflict because ceph#44751 has not been backported to quincy (yet).
Fixes: https://tracker.ceph.com/issues/54502 Signed-off-by: Tatjana Dehler <tdehler@suse.com> (cherry picked from commit 4f14993) Conflicts: src/pybind/mgr/cephadm/services/monitoring.py Fixed conflict because ceph#44751 has not been backported to pacific (yet).
Goal of this PR is to introduce centralize logging by installing two new monitoring containers (Loki & Promtail) in the orchestrator.
Fixes: https://tracker.ceph.com/issues/50491
Recording:
Screencast.from.03-02-2022.05.36.18.PM.mp4
https://user-images.githubusercontent.com/23611106/156360646-907396f3-d07e-4ff5-9e0c-eb4eb6346892.mp4
Steps to configure -
ceph config set global log_to_file true
ceph config set global mon_cluster_log_to_file true
Co-authored-by: Avan Thakkar athakkar@redhat.com
Co-authored-by: Aashish Sharma aasharma@redhat.com
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox