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

REST-API test SystemError: 'Snapshot origin LV not found in Volume group' / 'Failed to find Logical Volume'

    XMLWordPrintable

    Details

      Description

      2016-12-21 10:18:19,145 - INFO - openattic_systemd#loggedfunc - Calling /lvm::vgs()
      2016-12-21 10:18:19,148 - INFO - openattic_systemd#loggedfunc - Calling /lvm::lvs()
      2016-12-21 10:18:27,273 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 10:18:27,281 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635'))
      2016-12-21 10:18:27,282 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-f084ddb4-60c2-439b-b672-a71977c3f0d0'))
      2016-12-21 10:18:27,289 - INFO - openattic_systemd#loggedfunc - Calling /lvm::vgs()
      2016-12-21 10:18:27,304 - INFO - openattic_systemd#loggedfunc - Calling /nagios::writeconf()
      2016-12-21 10:18:27,305 - INFO - openattic_systemd#wrapper - [6577/:1.56] Deferring call to /nagios::writeconf()
      2016-12-21 10:18:27,305 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2016-12-21 10:18:27,305 - INFO - openattic_systemd#wrapper - [6577/:1.56] Deferring call to /nagios::restart_service()
      2016-12-21 10:18:27,306 - INFO - openattic_systemd#loggedfunc - Calling /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'volume_snapshot_made_by_gatling'), dbus.Int32(1000), dbus.String(u'/dev/vg-test01/gatling_volume'))
      2016-12-21 10:18:27,306 - INFO - openattic_systemd#wrapper - [6577/:1.56] Deferring call to /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'volume_snapshot_made_by_gatling'), dbus.Int32(1000), dbus.String(u'/dev/vg-test01/gatling_volume'))
      2016-12-21 10:18:27,311 - INFO - openattic_systemd#loggedfunc - Calling run_queue_background()
      2016-12-21 10:18:27,324 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Incoming Queue Dump:
      2016-12-21 10:18:27,325 - INFO - openattic_systemd#_run_queue - [18143/:1.56] -> /nagios::writeconf()
      2016-12-21 10:18:27,330 - INFO - openattic_systemd#loggedfunc - Calling /lvm::lvs()
      2016-12-21 10:18:27,331 - INFO - openattic_systemd#_run_queue - [18143/:1.56] -> /nagios::restart_service()
      2016-12-21 10:18:27,331 - INFO - openattic_systemd#_run_queue - [18143/:1.56] -> /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'volume_snapshot_made_by_gatling'), dbus.Int32(1000), dbus.String(u'/dev/vg-test01/gatling_volume'))
      2016-12-21 10:18:27,331 - INFO - openattic_systemd#_run_queue - [18143/:1.56] End of queue dump.
      2016-12-21 10:18:27,332 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Acquiring lock '/var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635'...
      2016-12-21 10:18:27,332 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Acquired lock '/var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635'.
      2016-12-21 10:18:27,332 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Acquiring lock '/var/lock/openattic/volume-f084ddb4-60c2-439b-b672-a71977c3f0d0'...
      2016-12-21 10:18:27,332 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Acquired lock '/var/lock/openattic/volume-f084ddb4-60c2-439b-b672-a71977c3f0d0'.
      2016-12-21 10:18:27,332 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Executing deferred call to /nagios::writeconf()
      2016-12-21 10:18:27,333 - ERROR - root#acquire_lock - /var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635 has been locked for more than 0 seconds (PID 18143)
      2016-12-21 10:18:27,408 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Executing deferred call to /nagios::restart_service()
      2016-12-21 10:18:27,444 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `systemctl reload-or-restart nagios3`
      2016-12-21 10:18:27,559 - INFO - openattic_systemd#_run_queue - [18143/:1.56] Executing deferred call to /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'volume_snapshot_made_by_gatling'), dbus.Int32(1000), dbus.String(u'/dev/vg-test01/gatling_volume'))
      2016-12-21 10:18:27,592 - ERROR - openattic_systemd#invoke - > "/sbin/lvcreate" "-s" "/dev/vg-test01/gatling_volume" "-L" "1000M" "-n" "volume_snapshot_made_by_gatling"
      E   Snapshot origin LV gatling_volume not found in Volume group vg-test01.
      2016-12-21 10:18:27,593 - 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/lvm/systemapi.py", line 145, in lvcreate
          invoke(cmd)
        File "/srv/openattic/backend/systemd/procutils.py", line 116, in invoke
          raise SystemError("%s failed: %s" % (cmdline, procerr))
      SystemError: "/sbin/lvcreate" "-s" "/dev/vg-test01/gatling_volume" "-L" "1000M" "-n" "volume_snapshot_made_by_gatling" failed:   Snapshot origin LV gatling_volume not found in Volume group vg-test01.
      
      

      Another SystemError is:

      016-12-21 10:18:35,431 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 10:18:35,432 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635'))
      2016-12-21 10:18:35,447 - INFO - openattic_systemd#loggedfunc - Calling /nagios::writeconf()
      2016-12-21 10:18:35,447 - INFO - openattic_systemd#wrapper - [6577/:1.56] Deferring call to /nagios::writeconf()
      2016-12-21 10:18:35,448 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2016-12-21 10:18:35,448 - INFO - openattic_systemd#wrapper - [6577/:1.56] Deferring call to /nagios::restart_service()
      2016-12-21 10:18:35,459 - INFO - openattic_systemd#loggedfunc - Calling /lvm::lvremove(dbus.String(u'/dev/vg-test01/volume_snapshot_made_by_gatling'))
      2016-12-21 10:18:35,459 - INFO - openattic_systemd#wrapper - [6577/:1.56] Deferring call to /lvm::lvremove(dbus.String(u'/dev/vg-test01/volume_snapshot_made_by_gatling'))
      2016-12-21 10:18:35,472 - INFO - openattic_systemd#loggedfunc - Calling run_queue()
      2016-12-21 10:18:35,472 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Incoming Queue Dump:
      2016-12-21 10:18:35,472 - INFO - openattic_systemd#_run_queue - [6577/:1.56] -> /nagios::writeconf()
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] -> /nagios::restart_service()
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] -> /lvm::lvremove(dbus.String(u'/dev/vg-test01/volume_snapshot_made_by_gatling'))
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] End of queue dump.
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Acquiring lock '/var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635'...
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Acquired lock '/var/lock/openattic/volume-84b94295-bc96-4bec-b81d-17f808d57635'.
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Acquiring lock '/var/lock/openattic/volume-f084ddb4-60c2-439b-b672-a71977c3f0d0'...
      2016-12-21 10:18:35,473 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Acquired lock '/var/lock/openattic/volume-f084ddb4-60c2-439b-b672-a71977c3f0d0'.
      2016-12-21 10:18:35,474 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Executing deferred call to /nagios::writeconf()
      2016-12-21 10:18:35,505 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Executing deferred call to /nagios::restart_service()
      2016-12-21 10:18:35,535 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `systemctl reload-or-restart nagios3`
      2016-12-21 10:18:35,621 - INFO - openattic_systemd#_run_queue - [6577/:1.56] Executing deferred call to /lvm::lvremove(dbus.String(u'/dev/vg-test01/volume_snapshot_made_by_gatling'))
      2016-12-21 10:18:35,638 - ERROR - openattic_systemd#invoke - > "/sbin/lvremove" "-f" "/dev/vg-test01/volume_snapshot_made_by_gatling"
      E   Failed to find logical volume "vg-test01/volume_snapshot_made_by_gatling"
      2016-12-21 10:18:35,638 - 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/lvm/systemapi.py", line 187, in lvremove
          invoke(["/sbin/lvremove", '-f', device])
        File "/srv/openattic/backend/systemd/procutils.py", line 116, in invoke
          raise SystemError("%s failed: %s" % (cmdline, procerr))
      SystemError: "/sbin/lvremove" "-f" "/dev/vg-test01/volume_snapshot_made_by_gatling" failed:   Failed to find logical volume "vg-test01/volume_snapshot_made_by_gatling"
      
      

        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: