Why option "mon_leveldb_log = /dev/null" is not working in Hammer release ?

Solution Verified - Updated -

Environment

  • Red Hat Ceph Storage 1.3.x
  • Upstream hammer

Issue

  • Why option mon_leveldb_log = /dev/null is not working in Hammer release ?
  • mon_leveldb_log = /dev/null is enabled still LOG file is getting created in MONs store.db.

Resolution

  • Please modify hammer deployments from :
[mon]
mon_leveldb_log = /dev/null

To

[mon]
leveldb_log=/dev/null

Root Cause

  • mon_leveldb_log was used in firefly and it had higher priority than that of leveldb_log when it comes to the leveldb in monitor store. But this option mon_leveldb_log was removed in hammer.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments