FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Advisory Board

 
 
LinkBack Thread Tools
 
Old 07-13-2010, 06:06 PM
"Brian C. Lane"
 
Default Use blacklist_exceptions for mpath devices (#612399)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/13/2010 10:25 AM, Peter Jones wrote:
> From: NEC <mfuruta@redhat.com>
>
> This makes anaconda generate a blacklist_exceptions section in multipath.conf
> ---
> storage/devicelibs/mpath.py | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
> index 50cccfd..ae7b257 100644
> --- a/storage/devicelibs/mpath.py
> +++ b/storage/devicelibs/mpath.py
> @@ -232,6 +232,14 @@ blacklist {
> ret += ' vendor %s
' % device.vendor
> ret += ' product %s
' % device.model
> ret += ' }
'
> + if self.mpaths:
> + ret += ' wwid "*"
'
> + ret += '}
'
> + ret += 'blacklist_exceptions {
'
> + for mpath in self.mpaths:
> + for k,v in mpath.config.items():
> + if k == 'wwid':
> + ret += ' wwid %s
' % v
> ret += '}
'
> ret += 'multipaths {
'
> for mpath in self.mpaths:

Please convert tabs to spaces.

- --
Brian C. Lane <bcl@redhat.com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTDyrDhF+jBaO/jp/AQJYXQgAmYxD6KDdUO/qMf3/I/h2ssNPgOz7dNQl
I5LdO0C6e0+YsV+b8zfdjqTim7tFTqXW9MmbzLbNwCdQUR63xK +eZqRq93WdA/o6
OMKn1iVX8wuwFO8DUqtipH475PFtuy1nMBo+E3rm30+yI/2DISy/VcOQJjdXckbo
WvI9pAqwSPYabK3a08+7T8T0JEYWn5ytd9EZRLg2/TVpC+sFZYGyDLqTQ1lcthTz
nT/P1iYipGImw1qlBWL3DFlzah+pklIY8NBIYfseUXKcPpdoHvyfs OkWOR5p34t+
YKCUcdOaUtt6Lr23weCQZpX8IAS7lPE/Ls4QBLLrP9nJWNbOBcMk5g==
=EeOP
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2010, 03:10 AM
NEC
 
Default Use blacklist_exceptions for mpath devices (#612399)

Sorry for bothering you.
Just clarify that The patch comes from NEC, I'm not NEC, but NEC TAM for that I-T

Best Regards,
Masaki Furuta

--

On Tue, Jul 13, 2010 at 01:25:58PM -0400, Peter Jones wrote:
>
> From: NEC <mfuruta@redhat.com>
>
> This makes anaconda generate a blacklist_exceptions section in multipath.conf
> ---
> storage/devicelibs/mpath.py | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
> index 50cccfd..ae7b257 100644
> --- a/storage/devicelibs/mpath.py
> +++ b/storage/devicelibs/mpath.py
> @@ -232,6 +232,14 @@ blacklist {
> ret += ' vendor %s
' % device.vendor
> ret += ' product %s
' % device.model
> ret += ' }
'
> + if self.mpaths:
> + ret += ' wwid "*"
'
> + ret += '}
'
> + ret += 'blacklist_exceptions {
'
> + for mpath in self.mpaths:
> + for k,v in mpath.config.items():
> + if k == 'wwid':
> + ret += ' wwid %s
' % v
> ret += '}
'
> ret += 'multipaths {
'
> for mpath in self.mpaths:
> --
> 1.7.1.1
>
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2010, 01:56 PM
Peter Jones
 
Default Use blacklist_exceptions for mpath devices (#612399)

On 07/13/2010 11:10 PM, NEC wrote:
> Sorry for bothering you.
> Just clarify that The patch comes from NEC, I'm not NEC, but NEC TAM
> for that I-T
>
> Best Regards,
> Masaki Furuta

In the future, the best policy would be to use "git format-patch" to make
a patch, so that we get a proper changelog and From and date and I have no
room to be confused or need to make things up

--
Peter

If you're not part of the solution, then you're part of the precipitate.

01234567890123456789012345678901234567890123456789 012345678901234567890123456789

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org