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

The size of an rbd seems unlimited

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.17
    • Fix Version/s: None
    • Component/s: Backend: API, Backend: Ceph
    • Labels:

      Description

      I can create a rbd with a huge size. As long as the size is beneath 1 PB. I've created an rbd with a size of 0.9 Pb ~ 925 TB. When I tried creating one with 1 PB I got this error message "error removing image".

      The log shows both cases and in both cases librados erros apear in the openattic.log.

      2017-02-08 08:15:00,809 - ERROR - ceph.librados#undo_transaction - Will now undo steps performed.
      Traceback (most recent call last):
      File "/srv/openattic/backend/ceph/librados.py", line 322, in undo_transaction
      yield undo_context
      File "/srv/openattic/backend/ceph/models.py", line 861, in save
      diff, original = self.get_modified_fields()
      File "/srv/openattic/backend/nodb/models.py", line 448, in get_modified_fields
      original = self.__class__.objects.get(**kwargs)
      File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
      return self.get_queryset().get(*args, **kwargs)
      File "/srv/openattic/backend/nodb/models.py", line 212, in get
      filtered_data.query))
      DoesNotExist: CephRbd matching query "<NoDbQuery q=(AND: ('pk', u'rbd/e2eSizeError')), ordering=[]>" does not exist.
      2017-02-08 08:15:00,967 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
      self.object = serializer.save(force_insert=True)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 595, in save
      self.save_object(self.object, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1037, in save_object
      obj.save(**kwargs)
      File "/srv/openattic/backend/ceph/models.py", line 882, in save
      self._update_nagios_configs()
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
      File "/srv/openattic/backend/ceph/librados.py", line 332, in undo_transaction
      undo_closure()
      File "/srv/openattic/backend/ceph/librados.py", line 296, in <lambda>
      stack.append(lambda: undo(runner))
      File "/srv/openattic/backend/ceph/librados.py", line 286, in undo
      next(runner)
      File "/srv/openattic/backend/ceph/librados.py", line 828, in create
      self.remove(pool_name, image_name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageNotFound: error removing image
      2017-02-08 08:15:16,055 - ERROR - ceph.librados#undo_transaction - Will now undo steps performed.
      Traceback (most recent call last):
      File "/srv/openattic/backend/ceph/librados.py", line 322, in undo_transaction
      yield undo_context
      File "/srv/openattic/backend/ceph/models.py", line 861, in save
      diff, original = self.get_modified_fields()
      File "/srv/openattic/backend/nodb/models.py", line 448, in get_modified_fields
      original = self.__class__.objects.get(**kwargs)
      File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
      return self.get_queryset().get(*args, **kwargs)
      File "/srv/openattic/backend/nodb/models.py", line 212, in get
      filtered_data.query))
      DoesNotExist: CephRbd matching query "<NoDbQuery q=(AND: ('pk', u'rbd/e2eSizeErrord')), ordering=[]>" does not exist.
      2017-02-08 08:15:16,082 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
      self.object = serializer.save(force_insert=True)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 595, in save
      self.save_object(self.object, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1037, in save_object
      obj.save(**kwargs)
      File "/srv/openattic/backend/ceph/models.py", line 882, in save
      self._update_nagios_configs()
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
      File "/srv/openattic/backend/ceph/librados.py", line 332, in undo_transaction
      undo_closure()
      File "/srv/openattic/backend/ceph/librados.py", line 296, in <lambda>
      stack.append(lambda: undo(runner))
      File "/srv/openattic/backend/ceph/librados.py", line 286, in undo
      next(runner)
      File "/srv/openattic/backend/ceph/librados.py", line 828, in create
      self.remove(pool_name, image_name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageNotFound: error removing image
      2017-02-08 08:15:29,637 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/tank/.snapshots'))
      2017-02-08 08:15:33,625 - ERROR - ceph.librados#undo_transaction - Will now undo steps performed.
      Traceback (most recent call last):
      File "/srv/openattic/backend/ceph/librados.py", line 322, in undo_transaction
      yield undo_context
      File "/srv/openattic/backend/ceph/models.py", line 861, in save
      diff, original = self.get_modified_fields()
      File "/srv/openattic/backend/nodb/models.py", line 448, in get_modified_fields
      original = self.__class__.objects.get(**kwargs)
      File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
      return self.get_queryset().get(*args, **kwargs)
      File "/srv/openattic/backend/nodb/models.py", line 212, in get
      filtered_data.query))
      DoesNotExist: CephRbd matching query "<NoDbQuery q=(AND: ('pk', u'rbd/e2eSizeErrord')), ordering=[]>" does not exist.
      2017-02-08 08:15:33,655 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
      self.object = serializer.save(force_insert=True)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 595, in save
      self.save_object(self.object, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1037, in save_object
      obj.save(**kwargs)
      File "/srv/openattic/backend/ceph/models.py", line 882, in save
      self._update_nagios_configs()
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
      File "/srv/openattic/backend/ceph/librados.py", line 332, in undo_transaction
      undo_closure()
      File "/srv/openattic/backend/ceph/librados.py", line 296, in <lambda>
      stack.append(lambda: undo(runner))
      File "/srv/openattic/backend/ceph/librados.py", line 286, in undo
      next(runner)
      File "/srv/openattic/backend/ceph/librados.py", line 828, in create
      self.remove(pool_name, image_name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageNotFound: error removing image
      2017-02-08 08:15:59,828 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/tank'))
      2017-02-08 08:16:26,164 - ERROR - ceph.librados#undo_transaction - Will now undo steps performed.
      Traceback (most recent call last):
      File "/srv/openattic/backend/ceph/librados.py", line 322, in undo_transaction
      yield undo_context
      File "/srv/openattic/backend/ceph/models.py", line 861, in save
      diff, original = self.get_modified_fields()
      File "/srv/openattic/backend/nodb/models.py", line 448, in get_modified_fields
      original = self.__class__.objects.get(**kwargs)
      File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
      return self.get_queryset().get(*args, **kwargs)
      File "/srv/openattic/backend/nodb/models.py", line 212, in get
      filtered_data.query))
      DoesNotExist: CephRbd matching query "<NoDbQuery q=(AND: ('pk', u'rbd/tooobig')), ordering=[]>" does not exist.
      2017-02-08 08:16:26,190 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
      self.object = serializer.save(force_insert=True)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 595, in save
      self.save_object(self.object, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1037, in save_object
      obj.save(**kwargs)
      File "/srv/openattic/backend/ceph/models.py", line 882, in save
      self._update_nagios_configs()
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
      File "/srv/openattic/backend/ceph/librados.py", line 332, in undo_transaction
      undo_closure()
      File "/srv/openattic/backend/ceph/librados.py", line 296, in <lambda>
      stack.append(lambda: undo(runner))
      File "/srv/openattic/backend/ceph/librados.py", line 286, in undo
      next(runner)
      File "/srv/openattic/backend/ceph/librados.py", line 828, in create
      self.remove(pool_name, image_name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageNotFound: error removing image
      2017-02-08 08:16:32,206 - INFO - openattic_systemd#loggedfunc - Calling ping()
      2017-02-08 08:17:28,936 - WARNING - ceph.models#save - Tried to set features, but they should already match. ['deep-flatten', 'exclusive-lock', 'layering', 'object-map', 'fast-diff'] != None
      2017-02-08 08:17:28,936 - WARNING - ceph.models#save - Tried to set "old_format" to "True" on rbd "tooobig", which is not supported
      2017-02-08 08:17:28,940 - INFO - openattic_systemd#loggedfunc - Calling /ceph::remove_nagios_configs(dbus.Array([dbus.String(u'rbd')], signature=dbus.Signature('s')))
      2017-02-08 08:17:28,942 - INFO - openattic_systemd#loggedfunc - Calling /ceph::write_rbd_nagios_configs()
      2017-02-08 08:17:32,506 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2017-02-08 08:17:32,530 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `service nagios3 reload`
      2017-02-08 08:17:33,178 - WARNING - py.warnings#set_performance_data_options - /srv/openattic/backend/ceph/models.py:189: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      logger.error('Set performance_data_options failed: {}'.format(e.message))
      
      2017-02-08 08:17:33,178 - ERROR - ceph.models#set_performance_data_options - Set performance_data_options failed: XML file '/var/lib/pnp4nagios/perfdata/dev-sm-godzilla.oa.master.dns/Check_CephRbd_f0946914-6ce7-4129-9051-bd5e9de2d4dc_rbd_tooobig.xml' could not be found.
      2017-02-08 08:17:33,951 - ERROR - ceph.models#set_performance_data_options - Set performance_data_options failed: XML file '/var/lib/pnp4nagios/perfdata/dev-sm-godzilla.oa.master.dns/Check_CephRbd_f0946914-6ce7-4129-9051-bd5e9de2d4dc_rbd_tooobig.xml' could not be found.
      2017-02-08 08:17:37,568 - INFO - taskqueue.models#transition - Task Transition: Not Started -> Running
      2017-02-08 08:17:37,571 - INFO - taskqueue.models#run_once - Running 6283: ceph.tasks.get_rbd_performance_data with [u'f0946914-6ce7-4129-9051-bd5e9de2d4dc', u'rbd', u'tooobig'], {}. Estimated: None
      2017-02-08 08:17:39,580 - INFO - taskqueue.models#finish_task - Task finished: ({u'used_size': 0, u'name': u'tooobig', u'provisioned_size': 11258999068426}, 2005.5)
      2017-02-08 08:17:39,580 - INFO - taskqueue.models#transition - Task Transition: Running -> Finished
      2017-02-08 08:17:57,556 - INFO - openattic_systemd#loggedfunc - Calling /ceph::remove_nagios_configs(dbus.Array([dbus.String(u'rbd')], signature=dbus.Signature('s')))
      2017-02-08 08:17:57,557 - INFO - openattic_systemd#loggedfunc - Calling /ceph::write_rbd_nagios_configs()
      2017-02-08 08:17:59,902 - INFO - taskqueue.models#transition - Task Transition: Not Started -> Running
      2017-02-08 08:17:59,906 - INFO - taskqueue.models#run_once - Running 6284: ceph.tasks.get_rbd_performance_data with [u'f0946914-6ce7-4129-9051-bd5e9de2d4dc', u'rbd', u'tooobig'], {}. Estimated: None
      2017-02-08 08:17:59,950 - INFO - taskqueue.models#finish_task - Task finished: ({}, 42.59)
      2017-02-08 08:17:59,951 - INFO - taskqueue.models#transition - Task Transition: Running -> Finished
      2017-02-08 08:17:59,953 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2017-02-08 08:17:59,971 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `service nagios3 reload`
      2017-02-08 08:18:43,570 - WARNING - ceph.models#save - Tried to set features, but they should already match. ['deep-flatten', 'exclusive-lock', 'layering', 'object-map', 'fast-diff'] != None
      2017-02-08 08:18:43,570 - WARNING - ceph.models#save - Tried to set "old_format" to "True" on rbd "tooobig", which is not supported
      2017-02-08 08:18:43,576 - INFO - openattic_systemd#loggedfunc - Calling /ceph::remove_nagios_configs(dbus.Array([dbus.String(u'rbd')], signature=dbus.Signature('s')))
      2017-02-08 08:18:43,577 - INFO - openattic_systemd#loggedfunc - Calling /ceph::write_rbd_nagios_configs()
      2017-02-08 08:18:46,933 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2017-02-08 08:18:46,955 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `service nagios3 reload`
      2017-02-08 08:18:47,552 - WARNING - py.warnings#set_performance_data_options - /srv/openattic/backend/ceph/models.py:189: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      logger.error('Set performance_data_options failed: {}'.format(e.message))
      
      2017-02-08 08:18:47,552 - ERROR - ceph.models#set_performance_data_options - Set performance_data_options failed: XML file '/var/lib/pnp4nagios/perfdata/dev-sm-godzilla.oa.master.dns/Check_CephRbd_f0946914-6ce7-4129-9051-bd5e9de2d4dc_rbd_tooobig.xml' could not be found.
      2017-02-08 08:18:48,174 - WARNING - py.warnings#set_performance_data_options - /srv/openattic/backend/ceph/models.py:189: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      logger.error('Set performance_data_options failed: {}'.format(e.message))
      
      2017-02-08 08:18:48,175 - ERROR - ceph.models#set_performance_data_options - Set performance_data_options failed: XML file '/var/lib/pnp4nagios/perfdata/dev-sm-godzilla.oa.master.dns/Check_CephRbd_f0946914-6ce7-4129-9051-bd5e9de2d4dc_rbd_tooobig.xml' could not be found.
      2017-02-08 08:18:52,569 - INFO - taskqueue.models#transition - Task Transition: Not Started -> Running
      2017-02-08 08:18:52,573 - INFO - taskqueue.models#run_once - Running 6285: ceph.tasks.get_rbd_performance_data with [u'f0946914-6ce7-4129-9051-bd5e9de2d4dc', u'rbd', u'tooobig'], {}. Estimated: None
      2017-02-08 08:20:54,760 - ERROR - dbus.proxies#_introspect_error_handler - Introspect error on :1.66581:/volumes: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
      2017-02-08 08:21:24,825 - ERROR - dbus.proxies#_introspect_error_handler - Introspect error on :1.66581:/volumes: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
      2017-02-08 08:21:30,052 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 194, in destroy
      obj.delete()
      File "/srv/openattic/backend/ceph/models.py", line 886, in delete
      api.remove(self.pool.name, self.name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageBusy: error removing image
      2017-02-08 08:21:32,210 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 194, in destroy
      obj.delete()
      File "/srv/openattic/backend/ceph/models.py", line 886, in delete
      api.remove(self.pool.name, self.name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 271, in call_librados
      '({} sec).'.format(p.name, p.pid, timeout))
      ExternalCommandError: Process LibradosProcess-15 with ID 30314 terminated because of timeout (30 sec).
      2017-02-08 08:21:35,948 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 194, in destroy
      obj.delete()
      File "/srv/openattic/backend/ceph/models.py", line 886, in delete
      api.remove(self.pool.name, self.name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageBusy: error removing image
      2017-02-08 08:21:45,574 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 194, in destroy
      obj.delete()
      File "/srv/openattic/backend/ceph/models.py", line 886, in delete
      api.remove(self.pool.name, self.name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageBusy: error removing image
      2017-02-08 08:21:51,157 - WARNING - py.warnings#set_performance_data_options - /srv/openattic/backend/ceph/models.py:189: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      logger.error('Set performance_data_options failed: {}'.format(e.message))
      
      2017-02-08 08:21:51,158 - ERROR - ceph.models#set_performance_data_options - Set performance_data_options failed: XML file '/var/lib/pnp4nagios/perfdata/dev-sm-godzilla.oa.master.dns/Check_CephRbd_f0946914-6ce7-4129-9051-bd5e9de2d4dc_rbd_tooobig.xml' could not be found.
      2017-02-08 08:21:55,101 - ERROR - dbus.proxies#_introspect_error_handler - Introspect error on :1.66581:/volumes: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
      2017-02-08 08:22:06,464 - ERROR - ceph.librados#undo_transaction - Will now undo steps performed.
      Traceback (most recent call last):
      File "/srv/openattic/backend/ceph/librados.py", line 322, in undo_transaction
      yield undo_context
      File "/srv/openattic/backend/ceph/models.py", line 861, in save
      diff, original = self.get_modified_fields()
      File "/srv/openattic/backend/nodb/models.py", line 448, in get_modified_fields
      original = self.__class__.objects.get(**kwargs)
      File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
      return self.get_queryset().get(*args, **kwargs)
      File "/srv/openattic/backend/nodb/models.py", line 212, in get
      filtered_data.query))
      DoesNotExist: CephRbd matching query "<NoDbQuery q=(AND: ('pk', u'rbd/vlaksl')), ordering=[]>" does not exist.
      2017-02-08 08:22:06,537 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
      self.object = serializer.save(force_insert=True)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 595, in save
      self.save_object(self.object, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1037, in save_object
      obj.save(**kwargs)
      File "/srv/openattic/backend/ceph/models.py", line 882, in save
      self._update_nagios_configs()
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
      File "/srv/openattic/backend/ceph/librados.py", line 332, in undo_transaction
      undo_closure()
      File "/srv/openattic/backend/ceph/librados.py", line 296, in <lambda>
      stack.append(lambda: undo(runner))
      File "/srv/openattic/backend/ceph/librados.py", line 286, in undo
      next(runner)
      File "/srv/openattic/backend/ceph/librados.py", line 828, in create
      self.remove(pool_name, image_name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageNotFound: error removing image
      2017-02-08 08:22:16,240 - ERROR - ceph.librados#undo_transaction - Will now undo steps performed.
      Traceback (most recent call last):
      File "/srv/openattic/backend/ceph/librados.py", line 322, in undo_transaction
      yield undo_context
      File "/srv/openattic/backend/ceph/models.py", line 861, in save
      diff, original = self.get_modified_fields()
      File "/srv/openattic/backend/nodb/models.py", line 448, in get_modified_fields
      original = self.__class__.objects.get(**kwargs)
      File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
      return self.get_queryset().get(*args, **kwargs)
      File "/srv/openattic/backend/nodb/models.py", line 212, in get
      filtered_data.query))
      DoesNotExist: CephRbd matching query "<NoDbQuery q=(AND: ('pk', u'rbd/vlaksl')), ordering=[]>" does not exist.
      2017-02-08 08:22:16,305 - ERROR - exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 400, in dispatch
      response = handler(request, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 54, in create
      self.object = serializer.save(force_insert=True)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 595, in save
      self.save_object(self.object, **kwargs)
      File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 1037, in save_object
      obj.save(**kwargs)
      File "/srv/openattic/backend/ceph/models.py", line 882, in save
      self._update_nagios_configs()
      File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
      File "/srv/openattic/backend/ceph/librados.py", line 332, in undo_transaction
      undo_closure()
      File "/srv/openattic/backend/ceph/librados.py", line 296, in <lambda>
      stack.append(lambda: undo(runner))
      File "/srv/openattic/backend/ceph/librados.py", line 286, in undo
      next(runner)
      File "/srv/openattic/backend/ceph/librados.py", line 828, in create
      self.remove(pool_name, image_name)
      File "/srv/openattic/backend/ceph/librados.py", line 836, in remove
      self._call_librados(_action)
      File "/srv/openattic/backend/ceph/librados.py", line 919, in _call_librados
      return call_librados(self.fsid, func, timeout)
      File "/srv/openattic/backend/ceph/librados.py", line 266, in call_librados
      raise res
      ImageNotFound: error removing image

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pnawracay Nawracay, Patrick
              Reporter:
              sgmueller Stephan Müller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: