Another small fix for iscsi to fix the following error: Traceback (most recent call first): File "/usr/lib/anaconda/iscsi.py", line 117, in login if _login(node, portal): File "/usr/lib/anaconda/iscsi.py", line 233, in addTarget if not t.login(): File "/usr/lib/anaconda/iw/autopart_type.py", line 180, in addIscsiDrive self.anaconda.id.iscsi.addTarget(ip, port, user, pw, self.intf) File "/usr/lib/anaconda/iw/autopart_type.py", line 232, in addDrive rc = self.addIscsiDrive() NameError: global name 'portal' is not defined
Created attachment 184901 [details] more typos
Note that the patch is against F7 since rahide doesn't work under xen for me at the moment (no network). Unfortunately this isn't enough to get iscsi running in the installer. iscsid fails to work because the crc32p,libcrc32p modules aren't available (similar to #208607). Downloading and insmoding crc32p,libcrc32p in %pre gets things going but for some strange reason that I can not begin to understand *some* partitions dissapear after swap gets enabled (/sys/block/sda/ only has sda2 for example) and the installation fails :( RHEL5 works fine with the same iscsi target (scsi-target-utils from rawhide) so it's not the target as far as I can tell.
Closing since rawhide has been changed quite a bit and there is no point fixing the F7 bugs. I'll open new bugs with the issues in current rawhide.