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

lio.systemapi.SystemD#saveconfig may no longer be able to save the config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.16
    • Fix Version/s: None
    • Labels:

      Description

      I just stumbled across this log output:

      2016-10-24 17:51:48,481 - INFO - Calling start_queue()
      2016-10-24 17:51:48,487 - INFO - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'))
      2016-10-24 17:51:48,506 - INFO - Calling /nagios::writeconf()
      2016-10-24 17:51:48,506 - INFO - [9513/:1.7209] Deferring call to /nagios::writeconf()
      2016-10-24 17:51:48,507 - INFO - Calling /nagios::restart_service()
      2016-10-24 17:51:48,507 - INFO - [9513/:1.7209] Deferring call to /nagios::restart_service()
      2016-10-24 17:51:48,510 - INFO - Calling /ceph::rbd_create(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'), dbus.Int32(35840))
      2016-10-24 17:51:48,510 - INFO - [9513/:1.7209] Deferring call to /ceph::rbd_create(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'), dbus.Int32(35840))
      2016-10-24 17:51:48,511 - INFO - Calling /ceph::rbd_map(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'))
      2016-10-24 17:51:48,512 - INFO - [9513/:1.7209] Deferring call to /ceph::rbd_map(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'))
      2016-10-24 17:51:48,513 - INFO - Calling run_queue_background()
      2016-10-24 17:51:48,532 - INFO - [21943/:1.7209] Incoming Queue Dump:
      2016-10-24 17:51:48,532 - INFO - [21943/:1.7209] -> /nagios::writeconf()
      2016-10-24 17:51:48,532 - INFO - [21943/:1.7209] -> /nagios::restart_service()
      2016-10-24 17:51:48,533 - INFO - Calling /ceph::status(dbus.String(u'ceph'))
      2016-10-24 17:51:48,533 - INFO - [21943/:1.7209] -> /ceph::rbd_create(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'), dbus.Int32(35840))
      2016-10-24 17:51:48,533 - INFO - [21943/:1.7209] -> /ceph::rbd_map(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'))
      2016-10-24 17:51:48,533 - INFO - [21943/:1.7209] End of queue dump.
      2016-10-24 17:51:48,533 - INFO - [21943/:1.7209] Acquiring lock '/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'...
      2016-10-24 17:51:48,533 - INFO - [21943/:1.7209] Acquired lock '/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'.
      2016-10-24 17:51:48,533 - INFO - [21943/:1.7209] Executing deferred call to /nagios::writeconf()
      2016-10-24 17:51:48,560 - INFO - [21943/:1.7209] Executing deferred call to /nagios::restart_service()
      2016-10-24 17:51:48,584 - INFO - service_command(icinga): calling systemd(1)
      2016-10-24 17:51:48,584 - INFO - [21943/:1.7209] Executing deferred call to /ceph::rbd_create(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'), dbus.Int32(35840))
      2016-10-24 17:51:49,220 - INFO - Calling start_queue()
      2016-10-24 17:51:49,222 - INFO - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'))
      2016-10-24 17:51:49,223 - INFO - Calling /lio::modprobe()
      2016-10-24 17:51:49,223 - INFO - [9513/:1.4993] Deferring call to /lio::modprobe()
      2016-10-24 17:51:49,223 - INFO - Calling /lio::install_hostacl(dbus.Int32(1))
      2016-10-24 17:51:49,223 - INFO - [9513/:1.4993] Deferring call to /lio::install_hostacl(dbus.Int32(1))
      2016-10-24 17:51:49,224 - INFO - Calling /lio::saveconfig()
      2016-10-24 17:51:49,224 - INFO - [9513/:1.4993] Deferring call to /lio::saveconfig()
      2016-10-24 17:51:49,225 - INFO - Calling run_queue_background()
      2016-10-24 17:51:49,236 - INFO - [21987/:1.4993] Incoming Queue Dump:
      2016-10-24 17:51:49,236 - INFO - [21987/:1.4993] -> /lio::modprobe()
      2016-10-24 17:51:49,237 - INFO - [21987/:1.4993] -> /lio::install_hostacl(dbus.Int32(1))
      2016-10-24 17:51:49,237 - INFO - [21987/:1.4993] -> /lio::saveconfig()
      2016-10-24 17:51:49,237 - INFO - [21987/:1.4993] End of queue dump.
      2016-10-24 17:51:49,237 - INFO - [21987/:1.4993] Acquiring lock '/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'...
      2016-10-24 17:51:49,957 - INFO - [21943/:1.7209] Executing deferred call to /ceph::rbd_map(dbus.String(u'ceph'), dbus.String(u'volumes'), dbus.String(u'mongodb-iscsi-1'))
      2016-10-24 17:51:50,008 - INFO - [21943/:1.7209] Releasing acquired lock '/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'.
      2016-10-24 17:51:50,239 - INFO - [21987/:1.4993] Acquired lock '/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'.
      2016-10-24 17:51:50,239 - INFO - [21987/:1.4993] Executing deferred call to /lio::modprobe()
      2016-10-24 17:51:50,307 - INFO - [21987/:1.4993] Executing deferred call to /lio::install_hostacl(dbus.Int32(1))
      2016-10-24 17:51:50,319 - INFO - [21987/:1.4993] Executing deferred call to /lio::saveconfig()
      2016-10-24 17:51:50,319 - WARNING - tcm_full_backup is unavailable.
      2016-10-24 17:51:50,329 - WARNING - RTSRoot.save_to_file is unavailable.
      2016-10-24 17:51:50,330 - WARNING - CliConfig.save_running_config is unavailable.
      2016-10-24 17:51:50,330 - ERROR - Received error:
      Traceback (most recent call last):
        File "/usr/share/openattic/systemd/management/commands/runsystemd.py", line 113, in _run_queue
          func(scope, *args, **kwargs)
        File "/usr/share/openattic/lio/systemapi.py", line 103, in saveconfig
          "Config cannot be saved because none of the ways we know of are available on your system. "
      SystemError: Config cannot be saved because none of the ways we know of are available on your system. This is likely a bug. Please contact the openATTIC team at http://open-attic.org.
      
      2016-10-24 17:51:50,331 - INFO - [21987/:1.4993] Releasing acquired lock '/var/lock/openattic/volume-1f03c229-c27d-4bc8-9186-11d5afac5950'.
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: