Hello!
I was just trying to setup my first oVirt Server via Cockpit but it failed when I wanted
to connect it to my iSCSI.
These are the last lines of my vdsm.log:
2019-02-08 01:34:07,080+0100 INFO (jsonrpc/3) [jsonrpc.JsonRpcServer] RPC call
Host.getAllVmStats succeeded in 0.00 seconds (__init__:312)
2019-02-08 01:34:07,096+0100 INFO (jsonrpc/5) [api.host] START getAllVmIoTunePolicies()
from=::1,36420 (api:48)
2019-02-08 01:34:07,096+0100 INFO (jsonrpc/5) [api.host] FINISH getAllVmIoTunePolicies
return={'status': {'message': 'Done', 'code': 0},
'io_tune_policies_dict': {'be244416-dc4b-4bee-b451-37c0517f19f7':
{'policy': [], 'current_values': []}}} from=:
:1,36420 (api:54)
2019-02-08 01:34:07,097+0100 INFO (jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call
Host.getAllVmIoTunePolicies succeeded in 0.00 seconds (__init__:312)
2019-02-08 01:34:08,149+0100 INFO (jsonrpc/7) [vdsm.api] START
discoverSendTargets(con={'ipv6_enabled': u'false', 'connection':
u'20.20.20.20', 'password': '', 'port': u'3260',
'user': ''}, options=None) from=::ffff:192.168.122.144,35682, flow_id=6
a17a7b3-1dfa-424c-8978-652d73314daf, task_id=f8be43e7-9085-42bd-b526-c2adb9962cb4 (api:48)
2019-02-08 01:34:08,330+0100 INFO (jsonrpc/7) [vdsm.api] FINISH discoverSendTargets
return={'fullTargets': ['20.20.20.20:3260,1
iqn.2019-02.eu.teamxenon:data', '20.20.20.20:3260,1
iqn.2019-02.eu.teamxenon:ovirt'], 'targets': ['iqn.2019-02.eu.teamxe
non:data', 'iqn.2019-02.eu.teamxenon:ovirt']}
from=::ffff:192.168.122.144,35682, flow_id=6a17a7b3-1dfa-424c-8978-652d73314daf,
task_id=f8be43e7-9085-42bd-b526-c2adb9962cb4 (api:54)
2019-02-08 01:34:08,331+0100 INFO (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC call
ISCSIConnection.discoverSendTargets succeeded in 0.18 seconds (__init__:312)
2019-02-08 01:34:10,739+0100 INFO (vmrecovery) [vdsm.api] START
getConnectedStoragePoolsList(options=None) from=internal,
task_id=0507616a-5b31-4d88-897f-0d2411674ce3 (api:48)
2019-02-08 01:34:10,739+0100 INFO (vmrecovery) [vdsm.api] FINISH
getConnectedStoragePoolsList return={'poollist': []} from=internal,
task_id=0507616a-5b31-4d88-897f-0d2411674ce3 (api:54)
2019-02-08 01:34:10,740+0100 INFO (vmrecovery) [vds] recovery: waiting for storage pool
to go up (clientIF:709)
As you can see it finds the targets but for some reason it fails. The initiator name
should be configured correctly.
My iSCSI is configured as the following:
o- /
.........................................................................................................................
[...]
o- backstores
..............................................................................................................
[...]
| o- block
..................................................................................................
[Storage Objects: 0]
| o- fileio
.................................................................................................
[Storage Objects: 4]
| | o- code .........................................................
[/mnt/pool0/vdisks/code.img (200.0GiB) write-back activated]
| | | o- alua
...................................................................................................
[ALUA Groups: 1]
| | | o- default_tg_pt_gp
....................................................................... [ALUA state:
Active/optimized]
| | o- games .......................................................
[/mnt/pool1/vdisks/games.img (800.0GiB) write-back activated]
| | | o- alua
...................................................................................................
[ALUA Groups: 1]
| | | o- default_tg_pt_gp
....................................................................... [ALUA state:
Active/optimized]
| | o- music .......................................................
[/mnt/pool0/vdisks/music.img (400.0GiB) write-back activated]
| | | o- alua
...................................................................................................
[ALUA Groups: 1]
| | | o- default_tg_pt_gp
....................................................................... [ALUA state:
Active/optimized]
| | o- virtualization .................................................
[/mnt/pool0/vdisks/vm.img (100.0GiB) write-back activated]
| | o- alua
...................................................................................................
[ALUA Groups: 1]
| | o- default_tg_pt_gp
....................................................................... [ALUA state:
Active/optimized]
| o- pscsi
..................................................................................................
[Storage Objects: 0]
| o- ramdisk
................................................................................................
[Storage Objects: 0]
o- iscsi
............................................................................................................
[Targets: 2]
| o- iqn.2019-02.eu.teamxenon:data
.....................................................................................
[TPGs: 1]
| | o- tpg1
...............................................................................................
[no-gen-acls, no-auth]
| | o- acls
..........................................................................................................
[ACLs: 2]
| | | o- iqn.2019-02.eu.teamxenon:laptop
...................................................................... [Mapped LUNs: 3]
| | | | o- mapped_lun0
................................................................................. [lun0
fileio/code (rw)]
| | | | o- mapped_lun1
................................................................................ [lun1
fileio/music (rw)]
| | | | o- mapped_lun2
................................................................................ [lun2
fileio/games (rw)]
| | | o- iqn.2019-02.eu.teamxenon:win10pro
.................................................................... [Mapped LUNs: 3]
| | | o- mapped_lun0
................................................................................. [lun0
fileio/code (rw)]
| | | o- mapped_lun1
................................................................................ [lun1
fileio/music (rw)]
| | | o- mapped_lun2
................................................................................ [lun2
fileio/games (rw)]
| | o- luns
..........................................................................................................
[LUNs: 3]
| | | o- lun0 .................................................... [fileio/code
(/mnt/pool0/vdisks/code.img) (default_tg_pt_gp)]
| | | o- lun1 .................................................. [fileio/music
(/mnt/pool0/vdisks/music.img) (default_tg_pt_gp)]
| | | o- lun2 .................................................. [fileio/games
(/mnt/pool1/vdisks/games.img) (default_tg_pt_gp)]
| | o- portals
....................................................................................................
[Portals: 1]
| | o- 0.0.0.0:3260
.....................................................................................................
[OK]
| o- iqn.2019-02.eu.teamxenon:ovirt
....................................................................................
[TPGs: 1]
| o- tpg1
...............................................................................................
[no-gen-acls, no-auth]
| o- acls
..........................................................................................................
[ACLs: 1]
| | o- iqn.2019-02.eu.teamxenon:ovirt
....................................................................... [Mapped LUNs: 1]
| | o- mapped_lun0
....................................................................... [lun0
fileio/virtualization (rw)]
| o- luns
..........................................................................................................
[LUNs: 1]
| | o- lun0 ............................................ [fileio/virtualization
(/mnt/pool0/vdisks/vm.img) (default_tg_pt_gp)]
| o- portals
....................................................................................................
[Portals: 1]
| o- 0.0.0.0:3260
.....................................................................................................
[OK]
o- loopback
.........................................................................................................
[Targets: 0]
o- srpt
.............................................................................................................
[Targets: 0]
I really don't know what the problem is and I haven't found an answer anywhere on
the internet.
I hope you can help me out.
Roman