[RFE] Support remote iSCSI shares as root devices via iscsistart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ironic-python-agent |
Fix Released
|
Wishlist
|
Yossi Ovadia |
Bug Description
In case of diskless hardware with remove iscsi devices , introspection fails with 'missing local_gb' and exited.
I found out that it is required to execute iscsistart -b on the servers to connect to the iscsi target and then for the 'disks' device to appear.
parted -l before issuing iscsistart return nothing.
issuing the command :
[root@localhost ~]# iscsistart -b
iscsistart: Can not bind IPC socket
iscsistart: Could not setup mgmt ipc
iscsistart: Logging into iqn.1992-
And parted -l now shows all disks.
I have verified that introspection succeeded when i've added utils.execute(
Sample inspector_data after the above :
..
"root_disk": {
"model": "RAID 0",
"name": "/dev/sdc",
"serial": "6006016007903d
"size": 42192470016,
"vendor": "DGC",
"wwn": "0x600601600790
}
Sample iscsistart -f
[root@localhost ~]# iscsistart -f
# BEGIN RECORD 6.2.0.873-30
iface.initiatorname = iqn.1990-
iface.transport
iface.hwaddress = fc:15:b4:0b:1e:71
iface.bootproto = STATIC
node.name = iqn.1992-
node.conn[
node.conn[0].port = 3260
# END RECORD
[root@localhost ~]# echo $?
0
PS -
I have tried to add - iscsi_firmware &| rd.iscsi.firmware=1 to boot kernel and it did not changed the behavioural.
Changed in ironic: | |
assignee: | nobody → Yossi Ovadia (jabadia) |
Changed in ironic-python-agent: | |
status: | Incomplete → Triaged |
summary: |
- Introspection fails with - missing: ['local_gb']' in case of remote (via - bios) iscsi + [RFE] Support remove iSCSI shares as root devices via iscsistart |
Changed in ironic-python-agent: | |
importance: | Undecided → Wishlist |
tags: |
added: rfe removed: iscsi |
summary: |
- [RFE] Support remove iSCSI shares as root devices via iscsistart + [RFE] Support remote iSCSI shares as root devices via iscsistart |
Changed in ironic-python-agent: | |
assignee: | Yossi Ovadia (jabadia) → Jay Faulkner (jason-oldos) |
Changed in ironic-python-agent: | |
assignee: | Yossi Ovadia (jabadia) → Jay Faulkner (jason-oldos) |
Hi, thanks for your report! Do I get it right that you need both iscsistart -b and iscsistart -f for it to work?