Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1809 gatling-rest-tests errors
  3. OP-1829

REST-API test oA-systemd doens't respond

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Backend, Backend: API
    • Labels:

      Description

      2016-12-21 09:53:59,932 - INFO - openattic_systemd#loggedfunc - Calling /zfs::zpool_get(dbus.String(u'gatling_zpool'), dbus.String(u'health'))
      2016-12-21 09:54:00,061 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/gatling_zpool'))
      2016-12-21 09:54:00,062 - ERROR - root#acquire_lock - /var/lock/openattic/volume-1db62161-98c1-4aee-a5a5-318b841d4262 has been locked for more than 0 seconds (PID 9679)
      2016-12-21 09:54:00,169 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/gatling_zpool'))
      2016-12-21 09:54:00,169 - ERROR - root#acquire_lock - /var/lock/openattic/volume-1db62161-98c1-4aee-a5a5-318b841d4262 has been locked for more than 0 seconds (PID 9679)
      2016-12-21 09:54:00,311 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/gatling_zpool'))
      2016-12-21 09:54:00,311 - ERROR - root#acquire_lock - /var/lock/openattic/volume-1db62161-98c1-4aee-a5a5-318b841d4262 has been locked for more than 0 seconds (PID 9679)
      2016-12-21 09:54:00,382 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 09:54:00,383 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-d15cbc0e-5fe9-48ea-a077-f69b7617a238'))
      2016-12-21 09:54:00,396 - INFO - openattic_systemd#loggedfunc - Calling /nagios::writeconf()
      2016-12-21 09:54:00,396 - INFO - openattic_systemd#wrapper - [6577/:1.60] Deferring call to /nagios::writeconf()
      2016-12-21 09:54:00,396 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2016-12-21 09:54:00,396 - INFO - openattic_systemd#wrapper - [6577/:1.60] Deferring call to /nagios::restart_service()
      2016-12-21 09:54:00,508 - INFO - openattic_systemd#loggedfunc - Calling /zfs::zfs_destroy_volume(dbus.String(u'gatling_zpool/gatling_clone'))
      2016-12-21 09:54:00,508 - INFO - openattic_systemd#wrapper - [6577/:1.60] Deferring call to /zfs::zfs_destroy_volume(dbus.String(u'gatling_zpool/gatling_clone'))
      2016-12-21 09:54:00,521 - INFO - openattic_systemd#loggedfunc - Calling run_queue()
      2016-12-21 09:54:00,521 - INFO - openattic_systemd#_run_queue - [6577/:1.60] Incoming Queue Dump:
      2016-12-21 09:54:00,521 - INFO - openattic_systemd#_run_queue - [6577/:1.60] -> /nagios::writeconf()
      2016-12-21 09:54:00,521 - INFO - openattic_systemd#_run_queue - [6577/:1.60] -> /nagios::restart_service()
      2016-12-21 09:54:00,521 - INFO - openattic_systemd#_run_queue - [6577/:1.60] -> /zfs::zfs_destroy_volume(dbus.String(u'gatling_zpool/gatling_clone'))
      2016-12-21 09:54:00,521 - INFO - openattic_systemd#_run_queue - [6577/:1.60] End of queue dump.
      2016-12-21 09:54:05,496 - WARNING - py.warnings#<module> - /srv/openattic/backend/volumes/models.py:31: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.
        from django.contrib.contenttypes import generic
      
      2016-12-21 09:54:11,520 - WARNING - py.warnings#<module> - /srv/openattic/backend/volumes/models.py:31: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.
        from django.contrib.contenttypes import generic
      
      2016-12-21 09:54:12,501 - WARNING - py.warnings#<module> - /srv/openattic/backend/volumes/models.py:31: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.
        from django.contrib.contenttypes import generic
      
      2016-12-21 09:54:25,524 - ERROR - exception#custom_handler - Internal Server Error: {u'kwargs': {u'pk': u'42'}, u'args': (), u'request': <rest_framework.request.Request object at 0x7fdfebc2ff90>, u'view': <volumes.restapi.VolumeProxyViewSet object at 0x7fdfebc2fe50>}
      Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 463, in dispatch
          response = handler(request, *args, **kwargs)
        File "/srv/openattic/backend/volumes/restapi.py", line 516, in destroy
          return super(VolumeProxyViewSet, self).destroy(request, args, kwargs)
        File "/srv/openattic/backend/rest/multinode/handlers.py", line 110, in destroy
          return super(RequestHandlers, self).destroy(request, args, kwargs)
        File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 87, in destroy
          self.perform_destroy(instance)
        File "/usr/lib/python2.7/dist-packages/rest_framework/mixins.py", line 91, in perform_destroy
          instance.delete()
        File "/srv/openattic/backend/volumes/models.py", line 284, in delete
          self._delete()
        File "/srv/openattic/backend/systemd/helpers.py", line 121, in __exit__
          get_dbus_object("/").run_queue()
        File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
          return self._proxy_method(*args, **keywords)
        File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
          **keywords)
        File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
          message, timeout)
      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.
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpaduano Paduano, Laura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: