Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1572

Add check for ceph.conf read permissions to the Ceph backend

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.14
    • Fix Version/s: 2.0.15
    • Component/s: CLI, Monitoring: Nagios
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Sprint 17

      Description

      Many users currently fail to get the Ceph Nagios plugins up and running because of permission problems.

      Since the Nagios plugins use the Django ceph modules to obtain this information, would it be possible to add a check code that determines if the Ceph keyring and configuration file is actually readable by the current user and prints out an appropriate error message?

      The check_cephcluster plugin does not log into the openattic.log file because Django is not initialized there.
      For fixing this add the following lines:
      import django
      if django.VERSION[:2] >= (1, 7):
      django.setup()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tdehler Dehler, Tatjana
              Reporter:
              lgrimmer Grimmer, Lenz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: