Maas + Cisco UCS + iSCSI

Hello all,

I’m once again encountering issues with iSCSI while using Ubuntu 24.04 for server provisioning. When I enable the iscsi_auto kernel parameter (to activate the ibft module and automatically configure the iSCSI disks), a failure occurs and the enlistment doesn’t take place.
The past issue (initramfs bug) was solved, but now, I’m getting this error on cloud-init.

The error:

@alexsander-souza @r00ta Any idea about this error?

Hi @vasartori ,

Nope. Could you please open a bug on lp?

@vasartori ,

can you patch scripts/local-top/iscsi as shown bellow and do the same process you did to test the initramfs fix?

--- a/local-top/iscsi
+++ b/local-top/iscsi
@@ -169,7 +169,7 @@ do_iscsi_login ()
                                iface.bootproto)
                                        case "${v}" in
                                                DHCP)   PROTO="dhcp"   ;;
-                                               STATIC) PROTO="static" ;;
+                                               STATIC) PROTO="none" ;;
                                                *)      PROTO="${v}"   ;;
                                        esac
                                        ;;