[rhel6-branch] Mark dracut-network for installation on mpath. (#1007463)

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed Apr 30 13:05:36 UTC 2014


On Wed, Apr 30, 2014 at 08:50:44AM +0200, Vratislav Podzimek wrote:
> On Tue, 2014-04-29 at 13:01 -0400, Samantha N. Bueno wrote:
> > This is probably a hack and not an ideal solution, however it is the
> > lesser of two evils AFAICT. Multipath SAN devices pop up as iSCSI
> > devices in syslog and even bear some iSCSI-related udev info, as well
> > as some FCoE-related udev info;  however, not enough to match as either
> > an iSCSI or FCoE device and trigger installation of the relevant
> > dracut-network package.
> > 
> > Didn't want to go messing with the udev functions since those look quite
> > fragile, so this seemed a safer option, since the devices are getting
> > detected as multipath devices at least.
> > 
> > Resolves: rhbz#1007463
> > ---
> >  storage/devices.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/storage/devices.py b/storage/devices.py
> > index 1c99ac8..c55915c 100644
> > --- a/storage/devices.py
> > +++ b/storage/devices.py
> > @@ -3333,7 +3333,7 @@ class DMRaidArrayDevice(DMDevice):
> >  class MultipathDevice(DMDevice):
> >      """ A multipath device """
> >      _type = "dm-multipath"
> > -    _packages = ["device-mapper-multipath"]
> > +    _packages = ["device-mapper-multipath", "dracut-network"]
> >      _services = ["multipathd"]
> >      _partitionable = True
> >      _isDisk = True
> I have no problem with this. Better be careful in those lands...
> Especially when dracut-network takes 91 KiB.

You watch, I bet someone will complain. :) Will push when I get the rest
of my acks.
 
> -- 
> Vratislav Podzimek
> 
> Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list