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

Nagios removal: ImportError: cannot import name StorageObject

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.4.3
    • Fix Version/s: None
    • Component/s: Backend: Ceph
    • Labels:
      None

      Description

      (env)➜  backend git:(master) ✗ ./manage.py install --pre-install
      Reading file /etc/default/openattic
      Reading local settings /home/sebastian/oA-git/backend/settings_local.conf
      2017-08-16 11:47:41,007 6909 install INFO ifconfig.models#__init__ - Current Version: 3.4.3
      Traceback (most recent call last):
        File "./manage.py", line 25, in <module>
          execute_from_command_line(sys.argv)
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
          utility.execute()
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
          self.fetch_command(subcommand).run_from_argv(self.argv)
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
          self.execute(*args, **options.__dict__)
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
          output = self.handle(*args, **options)
        File "/home/sebastian/oA-git/backend/sysutils/management/commands/install.py", line 123, in handle
          self.pre_systemd(**options)
        File "/home/sebastian/oA-git/backend/sysutils/management/commands/install.py", line 67, in pre_systemd
          call_command('pre_install')
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 159, in call_command
          return klass.execute(*args, **defaults)
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
          output = self.handle(*args, **options)
        File "/home/sebastian/oA-git/backend/sysutils/management/commands/pre_install.py", line 33, in handle
          import_module('.management', app_name)
        File "/home/sebastian/oA-git/env/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
          __import__(name)
        File "/home/sebastian/oA-git/backend/volumes/management/__init__.py", line 24, in <module>
          
      ImportError: cannot import name StorageObject
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              swagner Sebastian Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: