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

Logical volume "protractor_test_snap" already exists in volume group "vg-test01"

    XMLWordPrintable

    Details

      Description

      2017-01-03 10:47:31,850 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Acquiring lock '/var/lock/openattic/volume-015d0b77-2c13-4e60-ba76-68e32fa2bfbe'...
      2017-01-03 10:47:31,850 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Acquired lock '/var/lock/openattic/volume-015d0b77-2c13-4e60-ba76-68e32fa2bfbe'.
      2017-01-03 10:47:31,851 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Acquiring lock '/var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee'...
      2017-01-03 10:47:31,851 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Acquired lock '/var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee'.
      2017-01-03 10:47:31,851 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Executing deferred call to /nagios::writeconf()
      2017-01-03 10:47:31,858 - ERROR - root#acquire_lock - /var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee has been locked for more than 0 seconds (PID 17670)
      2017-01-03 10:47:31,895 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Executing deferred call to /nagios::restart_service()
      2017-01-03 10:47:31,913 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `service nagios3 reload`
      2017-01-03 10:47:31,975 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Executing deferred call to /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'protractor_testvol_block'), dbus.Int32(100), dbus.String(u''))
      2017-01-03 10:47:32,011 - ERROR - root#acquire_lock - /var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee has been locked for more than 0 seconds (PID 17670)
      2017-01-03 10:47:32,047 - INFO - openattic_systemd#loggedfunc - Calling /volumes::fs_stat(dbus.String(u'/media/tank'))
      2017-01-03 10:47:32,277 - INFO - openattic_systemd#_run_queue - [17670/:1.40] Executing deferred call to /lvm::lvchange(dbus.String(u'/dev/vg-test01/protractor_testvol_block'), dbus.Boolean(True))
      2017-01-03 10:47:32,310 - INFO - openattic_systemd#_release_acquired_locks - [17670/:1.40] Releasing acquired lock '/var/lock/openattic/volume-015d0b77-2c13-4e60-ba76-68e32fa2bfbe'.
      2017-01-03 10:47:32,310 - INFO - openattic_systemd#_release_acquired_locks - [17670/:1.40] Releasing acquired lock '/var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee'.
      2017-01-03 10:47:34,613 - INFO - openattic_systemd#loggedfunc - Calling /lvm::vgs()
      2017-01-03 10:47:35,131 - INFO - openattic_systemd#loggedfunc - Calling /lvm::vgs()
      2017-01-03 10:47:36,717 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2017-01-03 10:47:36,725 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-4f72dd7a-9935-4ea1-8c86-893af0de0d1e'))
      2017-01-03 10:47:36,726 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee'))
      2017-01-03 10:47:36,732 - INFO - openattic_systemd#loggedfunc - Calling /lvm::vgs()
      2017-01-03 10:47:36,746 - INFO - openattic_systemd#loggedfunc - Calling /nagios::writeconf()
      2017-01-03 10:47:36,746 - INFO - openattic_systemd#wrapper - [3815/:1.53] Deferring call to /nagios::writeconf()
      2017-01-03 10:47:36,747 - INFO - openattic_systemd#loggedfunc - Calling /nagios::restart_service()
      2017-01-03 10:47:36,747 - INFO - openattic_systemd#wrapper - [3815/:1.53] Deferring call to /nagios::restart_service()
      2017-01-03 10:47:36,748 - INFO - openattic_systemd#loggedfunc - Calling /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'protractor_test_snap'), dbus.Int32(100), dbus.String(u'/dev/vg-test01/protractor_testvol_block'))
      2017-01-03 10:47:36,749 - INFO - openattic_systemd#wrapper - [3815/:1.53] Deferring call to /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'protractor_test_snap'), dbus.Int32(100), dbus.String(u'/dev/vg-test01/protractor_testvol_block'))
      2017-01-03 10:47:36,754 - INFO - openattic_systemd#loggedfunc - Calling run_queue_background()
      2017-01-03 10:47:36,757 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Incoming Queue Dump:
      2017-01-03 10:47:36,759 - INFO - openattic_systemd#_run_queue - [17760/:1.53] -> /nagios::writeconf()
      2017-01-03 10:47:36,759 - INFO - openattic_systemd#_run_queue - [17760/:1.53] -> /nagios::restart_service()
      2017-01-03 10:47:36,759 - INFO - openattic_systemd#_run_queue - [17760/:1.53] -> /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'protractor_test_snap'), dbus.Int32(100), dbus.String(u'/dev/vg-test01/protractor_testvol_block'))
      2017-01-03 10:47:36,759 - INFO - openattic_systemd#_run_queue - [17760/:1.53] End of queue dump.
      2017-01-03 10:47:36,759 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Acquiring lock '/var/lock/openattic/volume-4f72dd7a-9935-4ea1-8c86-893af0de0d1e'...
      2017-01-03 10:47:36,760 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Acquired lock '/var/lock/openattic/volume-4f72dd7a-9935-4ea1-8c86-893af0de0d1e'.
      2017-01-03 10:47:36,760 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Acquiring lock '/var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee'...
      2017-01-03 10:47:36,760 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Acquired lock '/var/lock/openattic/volume-5fc58881-3db4-4ff6-a99c-6b8b574bd0ee'.
      2017-01-03 10:47:36,760 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Executing deferred call to /nagios::writeconf()
      2017-01-03 10:47:36,767 - INFO - openattic_systemd#loggedfunc - Calling /lvm::lvs()
      2017-01-03 10:47:36,769 - ERROR - root#acquire_lock - /var/lock/openattic/volume-4f72dd7a-9935-4ea1-8c86-893af0de0d1e has been locked for more than 0 seconds (PID 17760)
      2017-01-03 10:47:36,804 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Executing deferred call to /nagios::restart_service()
      2017-01-03 10:47:36,820 - INFO - openattic_systemd#service_command - service_command(nagios3): invoking `service nagios3 reload`
      2017-01-03 10:47:36,871 - INFO - openattic_systemd#_run_queue - [17760/:1.53] Executing deferred call to /lvm::lvcreate(dbus.String(u'vg-test01'), dbus.String(u'protractor_test_snap'), dbus.Int32(100), dbus.String(u'/dev/vg-test01/protractor_testvol_block'))
      2017-01-03 10:47:36,915 - ERROR - openattic_systemd#invoke - > "/sbin/lvcreate" "-s" "/dev/vg-test01/protractor_testvol_block" "-L" "100M" "-n" "protractor_test_snap"
      E   Logical volume "protractor_test_snap" already exists in volume group "vg-test01"
      2017-01-03 10:47:36,916 - 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/protractor_testvol_block" "-L" "100M" "-n" "protractor_test_snap" failed:   Logical volume "protractor_test_snap" already exists in volume group "vg-test01"
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: