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

Hi folks,

We were puzzled when upgrading from xCAT 2.8.2 to 2.8.3 about why our
IB interfaces were suddenly not coming up any more, confignics was
saying (for example):

confignics on barcoo064: unknown nic type for ib0: 10.4.102.64 .

I was worried it was a config change that we'd missed, but digging
deeper shows that it is instead a bug in the new confignics script.

The patch is attached, but basically it's a capitalisation of a
variable problem, the code says $KEY when it should be $key.

cheers!
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLobjoACgkQO2KABBYQAh9zGgCcD4ecUU74/DArE5bNnu+TkGMJ
mekAnRApPmVKkM1f6LZFFyEDGvxgWU36
=LvrK
-----END PGP SIGNATURE-----
diff --git a/postscripts/confignics b/postscripts/confignics
index b4fde5a..aea627e 100755
--- a/postscripts/confignics
+++ b/postscripts/confignics
@@ -278,7 +278,7 @@ do
     else
         if [ `echo $key | grep -E '(eth|en)[0-9]+'` ];then
             str_nic_type="ethernet"
-        elif [ `echo $KEY | grep -E 'ib[0-9]+'` ];then
+        elif [ `echo $key | grep -E 'ib[0-9]+'` ];then
             str_nic_type="infiniband"
         else
             logger -t xcat -p local4.info "confignics: unknown nic type for $key: $str_value ."
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to