Advertisement
Guest User

iscsi after new virt

a guest
Jan 4th, 2015
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1. # systemctl status iscsi
  2. iscsi.service - Login and scanning of iSCSI devices
  3. Loaded: loaded (/usr/lib/systemd/system/iscsi.service; enabled)
  4. Active: failed (Result: exit-code) since Sun 2015-01-04 16:04:25 GMT; 38min ago
  5. Docs: man:iscsid(8)
  6. man:iscsiadm(8)
  7. Process: 1172 ExecStart=/sbin/iscsiadm -m node --loginall=automatic (code=exited, status=24)
  8. Process: 1042 ExecStart=/usr/libexec/iscsi-mark-root-nodes (code=exited, status=0/SUCCESS)
  9. Main PID: 1172 (code=exited, status=24)
  10.  
  11. Jan 04 16:03:36 discostack.penguinpowered.org iscsi-mark-root-nodes[1042]: iscsiadm: No active sessions.
  12. Jan 04 16:04:25 discostack.penguinpowered.org iscsiadm[1172]: iscsiadm: Could not login to [iface: default, target: iqn.2010-10.org.openstack:volume-e764f202-b414-424f-b02a-595f797b6b9c, portal: 192.168.10.34,3260].
  13. Jan 04 16:04:25 discostack.penguinpowered.org iscsiadm[1172]: iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure)
  14. Jan 04 16:04:25 discostack.penguinpowered.org iscsiadm[1172]: iscsiadm: Could not log into all portals
  15. Jan 04 16:04:25 discostack.penguinpowered.org iscsiadm[1172]: Logging in to [iface: default, target: iqn.2010-10.org.openstack:volume-e764f202-b414-424f-b02a-595f797b6b9c, portal: 192.168.10.34,3260] (multiple)
  16. Jan 04 16:04:25 discostack.penguinpowered.org systemd[1]: iscsi.service: main process exited, code=exited, status=24/n/a
  17. Jan 04 16:04:25 discostack.penguinpowered.org systemd[1]: Failed to start Login and scanning of iSCSI devices.
  18. Jan 04 16:04:25 discostack.penguinpowered.org systemd[1]: Unit iscsi.service entered failed state.
  19.  
  20. --------------------
  21.  
  22. # systemctl status iscsid
  23. iscsid.service - Open-iSCSI
  24. Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled)
  25. Active: active (running) since Sun 2015-01-04 16:03:39 GMT; 39min ago
  26. Docs: man:iscsid(8)
  27. man:iscsiadm(8)
  28. Process: 1210 ExecStart=/usr/sbin/iscsid (code=exited, status=0/SUCCESS)
  29. Main PID: 1399 (iscsid)
  30. CGroup: /system.slice/iscsid.service
  31. ├─1398 /usr/sbin/iscsid
  32. └─1399 /usr/sbin/iscsid
  33.  
  34. Jan 04 16:04:06 discostack.penguinpowered.org iscsid[1398]: connect to 192.168.10.34:3260 failed (Connection refused)
  35. Jan 04 16:04:10 discostack.penguinpowered.org iscsid[1398]: connect to 192.168.10.34:3260 failed (Connection refused)
  36. Jan 04 16:04:13 discostack.penguinpowered.org iscsid[1398]: connect to 192.168.10.34:3260 failed (Connection refused)
  37. Jan 04 16:04:17 discostack.penguinpowered.org iscsid[1398]: connect to 192.168.10.34:3260 failed (Connection refused)
  38. Jan 04 16:04:21 discostack.penguinpowered.org iscsid[1398]: connect to 192.168.10.34:3260 failed (Connection refused)
  39. Jan 04 16:04:25 discostack.penguinpowered.org iscsid[1398]: Could not set session1 priority. READ/WRITE throughout and latency could be affected.
  40. Jan 04 16:04:25 discostack.penguinpowered.org iscsid[1398]: conn 0 login rejected: initiator failed authorization with target
  41. Jan 04 16:04:25 discostack.penguinpowered.org iscsid[1398]: Connection1:0 to [target: iqn.2010-10.org.openstack:volume-e764f202-b414-424f-b02a-595f797b6b9c, portal: 192.168.10.34,3260] through [iface: default] is shutdown.
  42. Jan 04 16:41:32 discostack.penguinpowered.org iscsid[1398]: Could not set session2 priority. READ/WRITE throughout and latency could be affected.
  43. Jan 04 16:41:33 discostack.penguinpowered.org iscsid[1398]: Connection2:0 to [target: iqn.2010-10.org.openstack:volume-e6ff3926-f297-4866-b463-3d8b9562d029, portal: 192.168.10.34,3260] through [iface: default] is operational now
  44.  
  45. --------------------
  46.  
  47. # targetcli ls
  48. o- / ......................................................................................................................... [...]
  49. o- backstores .............................................................................................................. [...]
  50. | o- block .................................................................................................. [Storage Objects: 2]
  51. | | o- iqn.2010-10.org.openstack:volume-e6ff3926-f297-4866-b463-3d8b9562d029 [/dev/cinder-volumes/volume-e6ff3926-f297-4866-b463-3d8b9562d029 (1.0GiB) write-thru activated]
  52. | | o- iqn.2010-10.org.openstack:volume-e764f202-b414-424f-b02a-595f797b6b9c [/dev/cinder-volumes/volume-e764f202-b414-424f-b02a-595f797b6b9c (1.0GiB) write-thru activated]
  53. | o- fileio ................................................................................................. [Storage Objects: 0]
  54. | o- pscsi .................................................................................................. [Storage Objects: 0]
  55. | o- ramdisk ................................................................................................ [Storage Objects: 0]
  56. o- iscsi ............................................................................................................ [Targets: 2]
  57. | o- iqn.2010-10.org.openstack:volume-e6ff3926-f297-4866-b463-3d8b9562d029 ............................................. [TPGs: 1]
  58. | | o- tpg1 .......................................................................................... [no-gen-acls, auth per-acl]
  59. | | o- acls .......................................................................................................... [ACLs: 1]
  60. | | | o- iqn.1994-05.com.redhat:4fc3b5297ef1 ...................................................... [1-way auth, Mapped LUNs: 1]
  61. | | | o- mapped_lun0 ................. [lun0 block/iqn.2010-10.org.openstack:volume-e6ff3926-f297-4866-b463-3d8b9562d029 (rw)]
  62. | | o- luns .......................................................................................................... [LUNs: 1]
  63. | | | o- lun0 [block/iqn.2010-10.org.openstack:volume-e6ff3926-f297-4866-b463-3d8b9562d029 (/dev/cinder-volumes/volume-e6ff3926-f297-4866-b463-3d8b9562d029)]
  64. | | o- portals .................................................................................................... [Portals: 1]
  65. | | o- 0.0.0.0:3260 ..................................................................................................... [OK]
  66. | o- iqn.2010-10.org.openstack:volume-e764f202-b414-424f-b02a-595f797b6b9c ............................................. [TPGs: 1]
  67. | o- tpg1 .......................................................................................... [no-gen-acls, auth per-acl]
  68. | o- acls .......................................................................................................... [ACLs: 0]
  69. | o- luns .......................................................................................................... [LUNs: 1]
  70. | | o- lun0 [block/iqn.2010-10.org.openstack:volume-e764f202-b414-424f-b02a-595f797b6b9c (/dev/cinder-volumes/volume-e764f202-b414-424f-b02a-595f797b6b9c)]
  71. | o- portals .................................................................................................... [Portals: 1]
  72. | o- 0.0.0.0:3260 ..................................................................................................... [OK]
  73. o- loopback ......................................................................................................... [Targets: 0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement