RamenDR / ramen

Apache License 2.0
72 stars 52 forks source link

Configure rbd-mirror debug logs dynamically #1346

Closed nirs closed 3 months ago

nirs commented 4 months ago

Configure rbd-mirror debug logs dynamically

With our current configuration, the rbd-mirror-peer log is not created. Iilya thinks[1] that this may be caused by the way we configure using rook-config-override. Let's try to configure in the same way as ocs-operator, using ceph config set commands[2].

With this configuration, the rbd-mirror-peer log is created:

    $ minikube ssh -p dr1 'ls /data/rook/rook-ceph/log'
    9e67de2a-c3eb-4a06-a8b5-444bff716362-client.rbd-mirror-peer.log  ceph-client.rbd-mirror.a.log  ceph-volume.log

[1] https://tracker.ceph.com/issues/65487?issue_count=296&issue_position=1&next_issue_id=65481#note-12 [2] https://github.com/red-hat-storage/ocs-operator/commit/e39bb415485df8efcfbf8ddee08f545972e7b064

Status