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

RTSLibError: Cannot read a T10 WWN Unit Serial from an unconfigured StorageObject

    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:35,566 - INFO - openattic_systemd#wrapper - [6577/:1.57] Deferring call to /lio::modprobe()
      2016-12-21 09:53:35,567 - INFO - openattic_systemd#loggedfunc - Calling /lio::install_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,567 - INFO - openattic_systemd#wrapper - [6577/:1.57] Deferring call to /lio::install_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,568 - INFO - openattic_systemd#loggedfunc - Calling /lio::saveconfig()
      2016-12-21 09:53:35,568 - INFO - openattic_systemd#wrapper - [6577/:1.57] Deferring call to /lio::saveconfig()
      2016-12-21 09:53:35,569 - INFO - openattic_systemd#loggedfunc - Calling run_queue_background()
      2016-12-21 09:53:35,576 - INFO - openattic_systemd#_run_queue - [9318/:1.57] Incoming Queue Dump:
      2016-12-21 09:53:35,577 - INFO - openattic_systemd#_run_queue - [9318/:1.57] -> /lio::modprobe()
      2016-12-21 09:53:35,577 - INFO - openattic_systemd#_run_queue - [9318/:1.57] -> /lio::install_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,577 - INFO - openattic_systemd#_run_queue - [9318/:1.57] -> /lio::saveconfig()
      2016-12-21 09:53:35,577 - INFO - openattic_systemd#_run_queue - [9318/:1.57] End of queue dump.
      2016-12-21 09:53:35,578 - INFO - openattic_systemd#_run_queue - [9318/:1.57] Acquiring lock '/var/lock/openattic/volume-cf1ec20c-b5c5-4fdc-97ba-a25bde0701b0'...
      2016-12-21 09:53:35,578 - INFO - openattic_systemd#_run_queue - [9318/:1.57] Acquired lock '/var/lock/openattic/volume-cf1ec20c-b5c5-4fdc-97ba-a25bde0701b0'.
      2016-12-21 09:53:35,578 - INFO - openattic_systemd#_run_queue - [9318/:1.57] Executing deferred call to /lio::modprobe()
      2016-12-21 09:53:35,629 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 09:53:35,631 - INFO - openattic_systemd#loggedfunc - Calling /lio::modprobe()
      2016-12-21 09:53:35,631 - INFO - openattic_systemd#wrapper - [6577/:1.63] Deferring call to /lio::modprobe()
      2016-12-21 09:53:35,632 - INFO - openattic_systemd#loggedfunc - Calling /lio::uninstall_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,633 - INFO - openattic_systemd#wrapper - [6577/:1.63] Deferring call to /lio::uninstall_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,634 - INFO - openattic_systemd#loggedfunc - Calling /lio::saveconfig()
      2016-12-21 09:53:35,634 - INFO - openattic_systemd#wrapper - [6577/:1.63] Deferring call to /lio::saveconfig()
      2016-12-21 09:53:35,635 - INFO - openattic_systemd#loggedfunc - Calling run_queue()
      2016-12-21 09:53:35,635 - INFO - openattic_systemd#_run_queue - [6577/:1.63] Incoming Queue Dump:
      2016-12-21 09:53:35,635 - INFO - openattic_systemd#_run_queue - [6577/:1.63] -> /lio::modprobe()
      2016-12-21 09:53:35,635 - INFO - openattic_systemd#_run_queue - [6577/:1.63] -> /lio::uninstall_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,636 - INFO - openattic_systemd#_run_queue - [6577/:1.63] -> /lio::saveconfig()
      2016-12-21 09:53:35,636 - INFO - openattic_systemd#_run_queue - [6577/:1.63] End of queue dump.
      2016-12-21 09:53:35,636 - INFO - openattic_systemd#_run_queue - [6577] No locks were requested for this queue.
      2016-12-21 09:53:35,636 - INFO - openattic_systemd#_run_queue - [6577/:1.63] Executing deferred call to /lio::modprobe()
      2016-12-21 09:53:35,679 - INFO - openattic_systemd#_run_queue - [9318/:1.57] Executing deferred call to /lio::install_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,703 - INFO - openattic_systemd#_run_queue - [6577/:1.63] Executing deferred call to /lio::uninstall_hostacl(dbus.Int32(1))
      2016-12-21 09:53:35,731 - INFO - openattic_systemd#_run_queue - [9318/:1.57] Executing deferred call to /lio::saveconfig()
      2016-12-21 09:53:35,731 - WARNING - openattic_systemd#saveconfig - tcm_full_backup is unavailable.
      2016-12-21 09:53:35,735 - 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/lio/systemapi.py", line 64, in uninstall_hostacl
          models.ProtocolHandler.uninstall_hostacl(hostacl)
        File "/srv/openattic/backend/lio/models.py", line 142, in uninstall_hostacl
          contexts = ProtocolHandler.install_hostacl(hostacl)
        File "/srv/openattic/backend/lio/models.py", line 125, in install_hostacl
          for lunctx in handler.get_luns(tpgctx):
        File "/srv/openattic/backend/lio/models.py", line 204, in get_luns
          if lio_so.wwn == volume_wwn:
        File "/usr/lib/python2.7/dist-packages/rtslib_fb/tcm.py", line 124, in _get_wwn
          + "an unconfigured StorageObject")
      RTSLibError: Cannot read a T10 WWN Unit Serial from an unconfigured StorageObject
      
      2016-12-21 09:53:35,735 - INFO - openattic_systemd#_release_acquired_locks - [6577/:1.63] Releasing acquired locks: None acquired.
      2016-12-21 09:53:35,738 - WARNING - py.warnings#<module> - /srv/openattic/backend/lio/systemapi.py:85: UserWarning: 'rtslib' package name for rtslib-fb is deprecated, please instead import 'rtslib_fb'
        from rtslib.root import RTSRoot
      
      
      

      Another RTSLib Error:

      2016-12-21 10:04:36,794 - INFO - openattic_systemd#loggedfunc - Calling start_queue()
      2016-12-21 10:04:36,795 - INFO - openattic_systemd#loggedfunc - Calling acquire_lock(dbus.String(u'/var/lock/openattic/volume-efb34ad1-5c43-443b-8f79-0fcba67ce4c0'))
      2016-12-21 10:04:36,805 - INFO - openattic_systemd#loggedfunc - Calling /lio::modprobe()
      2016-12-21 10:04:36,805 - INFO - openattic_systemd#wrapper - [6577/:1.91] Deferring call to /lio::modprobe()
      2016-12-21 10:04:36,806 - INFO - openattic_systemd#loggedfunc - Calling /lio::uninstall_hostacl(dbus.Int32(2))
      2016-12-21 10:04:36,806 - INFO - openattic_systemd#wrapper - [6577/:1.91] Deferring call to /lio::uninstall_hostacl(dbus.Int32(2))
      2016-12-21 10:04:36,807 - INFO - openattic_systemd#loggedfunc - Calling /lio::saveconfig()
      2016-12-21 10:04:36,807 - INFO - openattic_systemd#wrapper - [6577/:1.91] Deferring call to /lio::saveconfig()
      2016-12-21 10:04:36,808 - INFO - openattic_systemd#loggedfunc - Calling run_queue()
      2016-12-21 10:04:36,808 - INFO - openattic_systemd#_run_queue - [6577/:1.91] Incoming Queue Dump:
      2016-12-21 10:04:36,808 - INFO - openattic_systemd#_run_queue - [6577/:1.91] -> /lio::modprobe()
      2016-12-21 10:04:36,808 - INFO - openattic_systemd#_run_queue - [6577/:1.91] -> /lio::uninstall_hostacl(dbus.Int32(2))
      2016-12-21 10:04:36,808 - INFO - openattic_systemd#_run_queue - [6577/:1.91] -> /lio::saveconfig()
      2016-12-21 10:04:36,808 - INFO - openattic_systemd#_run_queue - [6577/:1.91] End of queue dump.
      2016-12-21 10:04:36,809 - INFO - openattic_systemd#_run_queue - [6577/:1.91] Acquiring lock '/var/lock/openattic/volume-efb34ad1-5c43-443b-8f79-0fcba67ce4c0'...
      2016-12-21 10:04:36,809 - INFO - openattic_systemd#_run_queue - [6577/:1.91] Acquired lock '/var/lock/openattic/volume-efb34ad1-5c43-443b-8f79-0fcba67ce4c0'.
      2016-12-21 10:04:36,809 - INFO - openattic_systemd#_run_queue - [6577/:1.91] Executing deferred call to /lio::modprobe()
      2016-12-21 10:04:36,855 - INFO - openattic_systemd#_run_queue - [6577/:1.91] Executing deferred call to /lio::uninstall_hostacl(dbus.Int32(2))
      2016-12-21 10:04:36,868 - 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/lio/systemapi.py", line 64, in uninstall_hostacl
          models.ProtocolHandler.uninstall_hostacl(hostacl)
        File "/srv/openattic/backend/lio/models.py", line 142, in uninstall_hostacl
          contexts = ProtocolHandler.install_hostacl(hostacl)
        File "/srv/openattic/backend/lio/models.py", line 125, in install_hostacl
          for lunctx in handler.get_luns(tpgctx):
        File "/srv/openattic/backend/lio/models.py", line 209, in get_luns
          lio_so = rtslib.BlockStorageObject(volume_name, volume_path, volume_wwn)
        File "/usr/lib/python2.7/dist-packages/rtslib_fb/tcm.py", line 670, in __init__
          super(BlockStorageObject, self).__init__(name, 'create')
        File "/usr/lib/python2.7/dist-packages/rtslib_fb/tcm.py", line 52, in __init__
          self._backstore = _Backstore(name, type(self), mode)
        File "/usr/lib/python2.7/dist-packages/rtslib_fb/tcm.py", line 896, in __init__
          (self._plugin, name))
      RTSLibError: Storage object block/gatling_volume exists
      
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: