[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Startup iscsi / fcoe / zfcp before listing drives in the filter UI



Just a test email, to test the mail delay. Sent at about 11am CET.
Martin

----- "Hans de Goede" <hdegoede redhat com> wrote:

> This brings iBFT (iscsi) / EDD (FCoE) / /tmp/zfcp.cfg (zfcp) auto
> discovered
> drives only. So that they show up in the filter UI and can be selected
> for
> the installation (tested with iBFT).
> ---
>  iw/filter_gui.py |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/iw/filter_gui.py b/iw/filter_gui.py
> index efdb5a4..7616b5d 100644
> --- a/iw/filter_gui.py
> +++ b/iw/filter_gui.py
> @@ -31,6 +31,9 @@ from constants import *
>  from iw_gui import *
>  from storage.udev import *
>  from storage.devicelibs.mpath import *
> +import storage.iscsi
> +import storage.fcoe
> +import storage.zfcp
>  
>  import gettext
>  _ = lambda x: gettext.ldgettext("anaconda", x)
> @@ -524,6 +527,12 @@ class FilterWindow(InstallWindow):
>                            self._makeSearch()]
>  
>          udev_trigger(subsystem="block")
> +        # So that drives onlined by these show up in the filter UI
> +        storage.iscsi.iscsi().startup(anaconda.intf)
> +        storage.fcoe.fcoe().startup(anaconda.intf)
> +        storage.zfcp.ZFCP().startup()
> +        # Note we do NOT call dasd.startup() here, that does not
> online drives,
> +        # but only checks if they need formatting.
>          disks = filter(udev_device_is_disk,
> udev_get_block_devices())
>          (singlepaths, mpaths, partitions) =
> identifyMultipaths(disks)
>  
> -- 
> 1.6.5.2
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]