Jump to content
Welcome to our new Citrix community!
  • 0

iscsi Storage repository is not available


Maxim Chernov

Question

in xencenter i've got this message: A storage repository could not be attached when server (servername) started.
if click to repair got this message: The storage repository is not available.
SMLog:
ec 20 16:36:18 xen-epsilon SM: [12733] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000a8b9f759e3bf6dd829b
Dec 20 16:36:18 xen-epsilon SM: [12733] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000a8b9f759e3bf6dd829b
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:18 xen-epsilon SM: [12733] LVMCache created for VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873
Dec 20 16:36:18 xen-epsilon SM: [12733] ['/sbin/vgs', 'VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873']
Dec 20 16:36:18 xen-epsilon SM: [12733] FAILED in util.pread: (rc 5) stdout: '', stderr: ' Volume group "VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873" not found
Dec 20 16:36:18 xen-epsilon SM: [12733] Cannot process volume group VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873
Dec 20 16:36:18 xen-epsilon SM: [12733] '
Dec 20 16:36:18 xen-epsilon SM: [12733] LVMCache: will initialize now
Dec 20 16:36:18 xen-epsilon SM: [12733] LVMCache: refreshing
Dec 20 16:36:18 xen-epsilon SM: [12733] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873']
Dec 20 16:36:18 xen-epsilon SM: [12733] FAILED in util.pread: (rc 5) stdout: '', stderr: ' Volume group "VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873" not found
Dec 20 16:36:18 xen-epsilon SM: [12733] Cannot process volume group VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873
Dec 20 16:36:18 xen-epsilon SM: [12733] '
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:18 xen-epsilon SM: [12733] sr_attach {'sr_uuid': 'd655dec2-4f03-b522-5170-13bfe677e873', 'subtask_of': 'DummyRef:|d83fd71e-ac32-45f5-a6e9-516d9ab6ed9d|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:c9dcf1f7-428c-4c3f-9cf6-7a73e76cfb68', 'session_ref': 'OpaqueRef:883f0b5a-8872-4242-bc6f-8bfb1f0439ba', 'device_config': {'target': '192.168.2.201', 'chapuser': 'user', 'targetIQN': 'iscsi.xenstore.cml2.local:iscsi', 'SRmaster': 'true', 'device': '/dev/disk/by-id/scsi-36589cfc000000a8b9f759e3bf6dd829b', 'chappassword': '******', 'SCSIid': '36589cfc000000a8b9f759e3bf6dd829b', 'port': '3260'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:b7f6654f-0cb8-4386-ac81-e3ada7c90684', 'local_cache_sr': '3a2586d1-3ec3-adbd-e187-f8d5988ee3bd'}
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:18 xen-epsilon SM: [12733] RESET for SR d655dec2-4f03-b522-5170-13bfe677e873 (master: True)
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:18 xen-epsilon SM: [12733] set_dirty 'OpaqueRef:b7f6654f-0cb8-4386-ac81-e3ada7c90684' failed (flag already set?)
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 20 16:36:18 xen-epsilon SM: [12733] ]]
Dec 20 16:36:18 xen-epsilon SM: [12733] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] _testHost: Testing host/port: 192.168.2.201,3260
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 20 16:36:18 xen-epsilon SM: [12733] ]]
Dec 20 16:36:18 xen-epsilon SM: [12733] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] _testHost: Testing host/port: 192.168.2.201,3260
Dec 20 16:36:18 xen-epsilon SM: [12733] Logging in to [192.168.2.201:3260]
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] Keep the current replacement_timout value: 144.
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:18 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Dec 20 16:36:23 xen-epsilon SM: [12733] pread SUCCESS
Dec 20 16:36:23 xen-epsilon SM: [12733] ['12']
Dec 20 16:36:23 xen-epsilon SM: [12733] PATHDICT: key 192.168.2.201:3260: {'path': '/dev/iscsi/iscsi.xenstore.cml2.local:iscsi/192.168.2.201:3260', 'ipaddr': '192.168.2.201', 'port': 3260L}
Dec 20 16:36:23 xen-epsilon SM: [12733] IQN match. Incrementing sessions to 1
Dec 20 16:36:23 xen-epsilon SM: [12733] Set scheduler to [noop] on dev [sdc]
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: released /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: closed /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:23 xen-epsilon SM: [12733] LVMCache created for VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873
Dec 20 16:36:23 xen-epsilon SM: [12733] ['/sbin/vgs', 'VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873']
Dec 20 16:36:23 xen-epsilon SM: [12733] pread SUCCESS
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:23 xen-epsilon SM: [12733] LVMCache: will initialize now
Dec 20 16:36:23 xen-epsilon SM: [12733] LVMCache: refreshing
Dec 20 16:36:23 xen-epsilon SM: [12733] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873']
Dec 20 16:36:23 xen-epsilon SM: [12733] pread SUCCESS
Dec 20 16:36:23 xen-epsilon SM: [12733] ['/sbin/lvchange', '-ay', '/dev/VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873/clone_df69913c-f3fa-45a2-a02d-ce3565496490_1']
Dec 20 16:36:23 xen-epsilon SM: [12733] pread SUCCESS
Dec 20 16:36:23 xen-epsilon SM: [12733] ['/sbin/lvchange', '-an', '/dev/VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873/clone_df69913c-f3fa-45a2-a02d-ce3565496490_1']
Dec 20 16:36:23 xen-epsilon SM: [12733] pread SUCCESS
Dec 20 16:36:23 xen-epsilon SM: [12733] ['/sbin/dmsetup', 'status', 'VG_XenStorage--d655dec2--4f03--b522--5170--13bfe677e873-clone_df69913c--f3fa--45a2--a02d--ce3565496490_1']
Dec 20 16:36:23 xen-epsilon SM: [12733] pread SUCCESS
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: released /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 20 16:36:23 xen-epsilon SM: [12733] lock: acquired /var/lock/sm/iscsiadm/running
Dec 20 16:36:24 xen-epsilon SM: [12733] lock: released /var/lock/sm/iscsiadm/running
Dec 20 16:36:24 xen-epsilon SM: [12733] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 20 16:36:24 xen-epsilon SM: [12733] ]]
Dec 20 16:36:24 xen-epsilon SM: [12733] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 20 16:36:24 xen-epsilon SM: [12733] lock: closed /var/lock/sm/iscsiadm/running
Dec 20 16:36:24 xen-epsilon SM: [12733] Raising exception [47, The SR is not available [opterr=Failed to read from journal clone_df69913c-f3fa-45a2-a02d-ce3565496490_1]]
Dec 20 16:36:24 xen-epsilon SM: [12733] lock: released /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr
Dec 20 16:36:24 xen-epsilon SM: [12733] ***** generic exception: sr_attach: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=Failed to read from journal clone_df69913c-f3fa-45a2-a02d-ce3565496490_1]
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 110, in run
Dec 20 16:36:24 xen-epsilon SM: [12733] return self._run_locked(sr)
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Dec 20 16:36:24 xen-epsilon SM: [12733] rv = self._run(sr, target)
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 349, in _run
Dec 20 16:36:24 xen-epsilon SM: [12733] return sr.attach(self.params['sr_uuid'])
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/LVMoISCSISR", line 520, in attach
Dec 20 16:36:24 xen-epsilon SM: [12733] raise xs_errors.XenError("SRUnavailable", opterr=inst)
Dec 20 16:36:24 xen-epsilon SM: [12733]
Dec 20 16:36:24 xen-epsilon SM: [12733] ***** LVHD over iSCSI: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=Failed to read from journal clone_df69913c-f3fa-45a2-a02d-ce3565496490_1]
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 372, in run
Dec 20 16:36:24 xen-epsilon SM: [12733] ret = cmd.run(sr)
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 110, in run
Dec 20 16:36:24 xen-epsilon SM: [12733] return self._run_locked(sr)
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Dec 20 16:36:24 xen-epsilon SM: [12733] rv = self._run(sr, target)
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/SRCommand.py", line 349, in _run
Dec 20 16:36:24 xen-epsilon SM: [12733] return sr.attach(self.params['sr_uuid'])
Dec 20 16:36:24 xen-epsilon SM: [12733] File "/opt/xensource/sm/LVMoISCSISR", line 520, in attach
Dec 20 16:36:24 xen-epsilon SM: [12733] raise xs_errors.XenError("SRUnavailable", opterr=inst)
Dec 20 16:36:24 xen-epsilon SM: [12733]
Dec 20 16:36:24 xen-epsilon SM: [12733] lock: closed /var/lock/sm/d655dec2-4f03-b522-5170-13bfe677e873/sr

Link to comment

15 answers to this question

Recommended Posts

  • 0
22 hours ago, Tobias Kreidl said:

You might try running an iscsiadm discovery process once again to see if it "wakes up". Are you using multipathing?

Is this a standalone server or are you talking about a pool?

 

-=Tobias

 

xe sr-probe type=lvmoiscsi device-config:target=192.168.2.201 device-config:targetIQN=iscsi.xenstore.cml2.local:iscsi device-config:SCSIid: 36589cfc000000a8b9f759e3bf6dd829b
Error code: SR_BACKEND_FAILURE_107
Error parameters: , The SCSIid parameter is missing or incorrect, <?xml version="1.0" ?>
<iscsi-target>
        <LUN>
                <vendor>FreeNAS</vendor>
                <serial>ac1f6b401b3800</serial>
                <LUNid>0</LUNid>
                <size>21990232555520</size>
                <SCSIid>36589cfc000000a8b9f759e3bf6dd829b</SCSIid>
        </LUN>
</iscsi-target>

 

 xe sr-list type=lvmoiscsi
uuid ( RO)                : d655dec2-4f03-b522-5170-13bfe677e873
          name-label ( RW): iSCSI 20T
    name-description ( RW): iSCSI SR [192.168.2.201 (iscsi.xenstore.cml2.local:iscsi; LUN 0: ac1f6b401b3800: 20480 GB (FreeNAS))]
                host ( RO): xen-alpha
                type ( RO): lvmoiscsi
        content-type ( RO):
        
xe pbd-list sr-uuid=d655dec2-4f03-b522-5170-13bfe677e873
uuid ( RO)                  : ebb951d6-ff4b-6ee9-8ec7-4eec9c33c67d
             host-uuid ( RO): 0946e592-0421-4a48-a6f6-8092aba69102
               sr-uuid ( RO): d655dec2-4f03-b522-5170-13bfe677e873
         device-config (MRO): target: 192.168.2.201; port: 3260; targetIQN: iscsi.xenstore.cml2.local:iscsi; SCSIid: 36589cfc000000a8b9f759e3bf6dd829b; chapuser: user; chappassword_secret: 1c85a760-e016-9dc2-1616-771de3fb8d14
    currently-attached ( RO): false

 

I try iscsiadm -m node --loginall=all

then  iscsiadm -m session -P 3

iSCSI Transport Class version 2.0-870
version 6.2.0.873-30
Target: iscsi.xenstore.cml2.local:iscsi (non-flash)
        Current Portal: 192.168.2.201:3260,1
        Persistent Portal: 192.168.2.201:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2018-04.com.example:6214c7de
                Iface IPaddress: 192.168.2.72
                Iface HWaddress: <empty>
                Iface Netdev: <empty>
                SID: 11
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 144
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: user
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 131072
                FirstBurstLength: 131072
                MaxBurstLength: 16776192
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 20 State: running
                scsi20 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdc          State: running

then

xe pbd-plug uuid=ebb951d6-ff4b-6ee9-8ec7-4eec9c33c67d
There was an SR backend failure.
status: non-zero exit
stdout:
stderr: Traceback (most recent call last):
  File "/opt/xensource/sm/LVMoISCSISR", line 590, in <module>
    SRCommand.run(LVHDoISCSISR, DRIVER_INFO)
  File "/opt/xensource/sm/SRCommand.py", line 351, in run
    sr = driver(cmd, cmd.sr_uuid)
  File "/opt/xensource/sm/SR.py", line 147, in __init__
    self.load(sr_uuid)
  File "/opt/xensource/sm/LVMoISCSISR", line 320, in load
    LVHDSR.LVHDSR.load(self, sr_uuid)
  File "/opt/xensource/sm/LVHDSR.py", line 199, in load
    self._undoAllJournals()
  File "/opt/xensource/sm/LVHDSR.py", line 1131, in _undoAllJournals
    self._undoAllInflateJournals()
  File "/opt/xensource/sm/LVHDSR.py", line 1140, in _undoAllInflateJournals
    entries = self.journaler.getAll(lvhdutil.JRN_INFLATE)
  File "/opt/xensource/sm/journaler.py", line 120, in getAll
    entries = self._getAllEntries()
  File "/opt/xensource/sm/journaler.py", line 161, in _getAllEntries
    % lvName)
journaler.JournalerException: Failed to read from journal clone_df69913c-f3fa-45a2-a02d-ce3565496490_1

 

 

 

what is the journal clone_df69913c-f3fa-45a2-a02d-ce3565496490_1?

It is the pool with one host (now).

 

 

 

Edited by compmechlab
mistype
Link to comment
  • 0

iscsiadm -m discovery -t sendtargets -p 192.168.2.201
iscsiadm: Login failed to authenticate with target
iscsiadm: discovery login to 192.168.2.201 rejected: initiator failed authorization

iscsiadm: Could not perform SendTargets discovery: iSCSI login failed due to authorization failure
iscsiadm -m node --loginall=automatic
Logging in to [iface: default, target: iscsi.xenstore.cml2.local:iscsi, portal: 192.168.2.201,3260] (multiple)
Login to [iface: default, target: iscsi.xenstore.cml2.local:iscsi, portal: 192.168.2.201,3260] successful.
scsiadm -m session
tcp: [14] 192.168.2.201:3260,1 iscsi.xenstore.cml2.local:iscsi (non-flash)

Link to comment
  • 0
4 minutes ago, Tobias Kreidl said:

You're definitely not communicating with the storage device. Can you at least ping it?

 

Might the IQN have changed meanwhile?

 

-=Tobias


PING 192.168.2.201 (192.168.2.201) 56(84) bytes of data.
64 bytes from 192.168.2.201: icmp_seq=1 ttl=64 time=0.257 ms
64 bytes from 192.168.2.201: icmp_seq=2 ttl=64 time=0.269 ms
64 bytes from 192.168.2.201: icmp_seq=3 ttl=64 time=0.256 ms
64 bytes from 192.168.2.201: icmp_seq=4 ttl=64 time=0.265 ms
^C
--- 192.168.2.201 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.256/0.261/0.269/0.020 ms

 

No, IQN shouldn't have changed.

Link to comment
  • 0

Thank you Tobias Kreidl, thank you Alan Lantz.

Help for me lvremove '/dev/VG_XenStorage-d655dec2-4f03-b522-5170-13bfe677e873/clone_df69913c-f3fa-45a2-a02d-ce3565496490_1' with  --config global{metadata_read_only=0},

 

On 21.12.2018 at 4:00 PM, Maxim Chernov said:

journaler.JournalerException: Failed to read from journal clone_df69913c-f3fa-45a2-a02d-ce3565496490_1

 

and Repair store in Xencenter.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...