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

REST-API test 'No such file ore directory'

    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

      016-12-21 10:15:47,692 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 10:15:47,696 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-e9bd48c3-0b36-4c0a-9b1d-0b2af30a9de1'))
      2016-12-21 10:15:47,697 - INFO - openattic_systemd#loggedfunc - Calling discard_queue()
      2016-12-21 10:15:47,697 - INFO - openattic_systemd#_release_acquired_locks - [6577/:1.53] Releasing acquired locks: None acquired.
      2016-12-21 10:15:47,732 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 10:15:47,733 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-e9bd48c3-0b36-4c0a-9b1d-0b2af30a9de1'))
      2016-12-21 10:15:47,744 - INFO - openattic_systemd#loggedfunc - Calling /btrfs::delete_subvolume(dbus.String(u'/media/gatling_btrfs/gatling_volume'))
      2016-12-21 10:15:47,744 - INFO - openattic_systemd#wrapper - [6577/:1.92] Deferring call to /btrfs::delete_subvolume(dbus.String(u'/media/gatling_btrfs/gatling_volume'))
      2016-12-21 10:15:47,755 - INFO - openattic_systemd#loggedfunc - Calling /nagios::writeconf()
      2016-12-21 10:15:47,755 - INFO - openattic_systemd#wrapper - [6577/:1.92] Deferring call to /nagios::writeconf()
      2016-12-21 10:15:47,755 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2016-12-21 10:15:47,755 - INFO - openattic_systemd#wrapper - [6577/:1.92] Deferring call to /nagios::restart_service()
      2016-12-21 10:15:47,761 - INFO - openattic_systemd#loggedfunc - Calling /volumes::write_fstab(dbus.Boolean(True), dbus.Int32(24))
      2016-12-21 10:15:47,761 - INFO - openattic_systemd#wrapper - [6577/:1.92] Deferring call to /volumes::write_fstab(dbus.Boolean(True), dbus.Int32(24))
      2016-12-21 10:15:47,775 - INFO - openattic_systemd#loggedfunc - Calling run_queue()
      2016-12-21 10:15:47,775 - INFO - openattic_systemd#_run_queue - [6577/:1.92] Incoming Queue Dump:
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] -> /btrfs::delete_subvolume(dbus.String(u'/media/gatling_btrfs/gatling_volume'))
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] -> /nagios::writeconf()
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] -> /nagios::restart_service()
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] -> /volumes::write_fstab(dbus.Boolean(True), dbus.Int32(24))
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] End of queue dump.
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] Acquiring lock '/var/lock/openattic/volume-e9bd48c3-0b36-4c0a-9b1d-0b2af30a9de1'...
      2016-12-21 10:15:47,776 - INFO - openattic_systemd#_run_queue - [6577/:1.92] Acquired lock '/var/lock/openattic/volume-e9bd48c3-0b36-4c0a-9b1d-0b2af30a9de1'.
      2016-12-21 10:15:47,777 - INFO - openattic_systemd#_run_queue - [6577/:1.92] Executing deferred call to /btrfs::delete_subvolume(dbus.String(u'/media/gatling_btrfs/gatling_volume'))
      2016-12-21 10:15:47,790 - ERROR - openattic_systemd#invoke - > "btrfs" "subvolume" "delete" "/media/gatling_btrfs/gatling_volume"
      E ERROR: cannot access subvolume /media/gatling_btrfs/gatling_volume: No such file or directory
      2016-12-21 10:15:47,790 - ERROR - openattic_systemd#_run_queue - Received error:
      Traceback (most recent call last):
        File "/srv/openattic/backend/systemd/management/commands/runsystemd.py", line 117, in _run_queue
          func(scope, *args, **kwargs)
        File "/srv/openattic/backend/btrfs/systemapi.py", line 46, in delete_subvolume
          invoke(["btrfs", "subvolume", "delete", path])
        File "/srv/openattic/backend/systemd/procutils.py", line 116, in invoke
          raise SystemError("%s failed: %s" % (cmdline, procerr))
      SystemError: "btrfs" "subvolume" "delete" "/media/gatling_btrfs/gatling_volume" failed: ERROR: cannot access subvolume /media/gatling_btrfs/gatling_volume: No such file or directory
      
      

      Another one:

      2016-12-21 10:18:53,752 - INFO - openattic_systemd#wrapper - [6577/:1.48] Deferring call to /volumes::write_fstab(dbus.Boolean(False), dbus.Int32(0))
      2016-12-21 10:18:53,752 - INFO - openattic_systemd#loggedfunc - Calling run_queue_background()
      2016-12-21 10:18:53,766 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Incoming Queue Dump:
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /nagios::restart_service()
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'gatling_clone'), dbus.Int32(1000), dbus.String(u''))
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /lvm::lvchange(dbus.String(u'/dev/vg-test01/gatling_clone'), dbus.Boolean(True))
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /volumes::dd(dbus.String(u'/dev/vg-test01/gatling_volume'), dbus.String(u'/dev/vg-test01/gatling_clone'), dbus.Int32(1000), dbus.String(u'1M'))
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /nagios::writeconf()
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /nagios::restart_service()
      2016-12-21 10:18:53,767 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /volumes::xfs_set_uuid(dbus.String(u'/dev/vg-test01/gatling_clone'), dbus.String(u'generate'))
      2016-12-21 10:18:53,768 - INFO - openattic_systemd#_run_queue - [18668/:1.48] -> /volumes::write_fstab(dbus.Boolean(False), dbus.Int32(0))
      2016-12-21 10:18:53,768 - INFO - openattic_systemd#_run_queue - [18668/:1.48] End of queue dump.
      2016-12-21 10:18:53,768 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Acquiring lock '/var/lock/openattic/volume-e1c3a065-b423-4fbf-a76a-2a09f27f4c4b'...
      2016-12-21 10:18:53,769 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Acquired lock '/var/lock/openattic/volume-e1c3a065-b423-4fbf-a76a-2a09f27f4c4b'.
      2016-12-21 10:18:53,769 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Acquiring lock '/var/lock/openattic/volume-65741496-4290-4ec2-a4c8-9484264a8892'...
      2016-12-21 10:18:53,769 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/gatling_clone'))
      2016-12-21 10:18:53,770 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Acquired lock '/var/lock/openattic/volume-65741496-4290-4ec2-a4c8-9484264a8892'.
      2016-12-21 10:18:53,770 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Executing deferred call to /nagios::restart_service()
      2016-12-21 10:18:53,770 - ERROR - root#acquire_lock - /var/lock/openattic/volume-65741496-4290-4ec2-a4c8-9484264a8892 has been locked for more than 0 seconds (PID 18668)
      2016-12-21 10:18:53,807 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `systemctl reload-or-restart nagios3`
      2016-12-21 10:18:53,896 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Executing deferred call to /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'gatling_clone'), dbus.Int32(1000), dbus.String(u''))
      2016-12-21 10:18:54,030 - WARNING - py.warnings#get_cache - /srv/openattic/backend/lvm/systemapi.py:146: RemovedInDjango19Warning: 'get_cache' is deprecated in favor of 'caches'.
        get_cache("systemd").delete_many(["/sbin/lvs", "/sbin/vgs"])
      
      2016-12-21 10:18:54,157 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Executing deferred call to /lvm::lvchange(dbus.String(u'/dev/vg-test01/gatling_clone'), dbus.Boolean(True))
      2016-12-21 10:18:54,191 - INFO - openattic_systemd#_run_queue - [18668/:1.48] Executing deferred call to /volumes::dd(dbus.String(u'/dev/vg-test01/gatling_volume'), dbus.String(u'/dev/vg-test01/gatling_clone'), dbus.Int32(1000), dbus.String(u'1M'))
      2016-12-21 10:18:54,203 - ERROR - openattic_systemd#invoke - > "/bin/dd" "if=/dev/vg-test01/gatling_volume" "of=/dev/vg-test01/gatling_clone" "count=1000" "bs=1M" "conv=fdatasync"
      E /bin/dd: failed to open '/dev/vg-test01/gatling_volume': No such file or directory
      2016-12-21 10:18:54,203 - ERROR - openattic_systemd#_run_queue - Received error:
      Traceback (most recent call last):
        File "/srv/openattic/backend/systemd/management/commands/runsystemd.py", line 117, in _run_queue
          func(scope, *args, **kwargs)
        File "/srv/openattic/backend/volumes/systemapi.py", line 35, in dd
          'conv=fdatasync'])
        File "/srv/openattic/backend/systemd/procutils.py", line 116, in invoke
          raise SystemError("%s failed: %s" % (cmdline, procerr))
      SystemError: "/bin/dd" "if=/dev/vg-test01/gatling_volume" "of=/dev/vg-test01/gatling_clone" "count=1000" "bs=1M" "conv=fdatasync" failed: /bin/dd: failed to open '/dev/vg-test01/gatling_volume': No such file or directory
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: