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

No Ceph cluster performance graphs are displayed on the Ceph dashboard

    XMLWordPrintable

    Details

      Description

      After a fresh installation on Ubuntu Linux (and likely other Linux distributions as well), the Ceph Cluster Status Dashboard does not display any Cluster performance data.

      If you try to execute the plugin as Nagios user you receive the following error:

      nagios@demooa04:/usr/lib/nagios/plugins$ ./check_cephcluster e90a0c5a-5caa-405a-bc09-a7cfd1874243
      Traceback (most recent call last):
        File "./check_cephcluster", line 123, in <module>
          main()
        File "./check_cephcluster", line 108, in main
          from ceph.models import CephCluster
        File "/usr/share/openattic/ceph/models.py", line 28, in <module>
          from django.contrib.auth.models import User
        File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 6, in <module>
          from django.middleware.csrf import rotate_token
        File "/usr/lib/python2.7/dist-packages/django/middleware/csrf.py", line 14, in <module>
          from django.utils.cache import patch_vary_headers
        File "/usr/lib/python2.7/dist-packages/django/utils/cache.py", line 26, in <module>
          from django.core.cache import get_cache
        File "/usr/lib/python2.7/dist-packages/django/core/cache/__init__.py", line 69, in <module>
          if DEFAULT_CACHE_ALIAS not in settings.CACHES:
        File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
          self._setup(name)
        File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 50, in _setup
          self._configure_logging()
        File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 80, in _configure_logging
          logging_config_func(self.LOGGING)
        File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
          dictConfigClass(config).configure()
        File "/usr/lib/python2.7/logging/config.py", line 576, in configure
          '%r: %s' % (name, e))
      ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/openattic/openattic.log'
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h