Chris,

   Thanks for your patch. It has been checked in. Refer to the commits
   5452efe and b7a04d3.

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Christopher Samuel <[email protected]>
To:     xCAT Users Mailing list <[email protected]>,
Date:   2014/01/29 15:39
Subject:        [xcat-user] [PATCH] configmic bug



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

Hi all,

Found another xCAT bug, this time with the /opt/xcat/sbin/configmic
that is used to bring the MIC cards up.

For some reason on our system when this script runs the values of
$nodename is the short form hostname and $nodename_short is the long
form hostname.    Yet if I run hostname and hostname -s I get the
short form in both cases.

However, the wget that works is for the long form hostname.

Anyway, that's not the bug, the bug is that if $nodename_short works
the configmic script then goes on to use $nodename later on in the
script and everything fails.

With the attached patch it makes $nodename be $nodename_short if it
worked to recovery the config file from the MN and suddenly everything
works nicely, both MICs on our statelite nodes are configured and boot
to Linux. They even have working external bridges and IPs!

I've been able to get rid of a heap of our nasty work arounds for
getting them to boot with xCAT 2.8.2 so I'm pretty happy!

All the best,
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/

iEYEARECAAYFAlLosAsACgkQO2KABBYQAh9AFgCgkWCSrWA6/kGUkQuPpUOLAz7a
9KoAoIOAWRGV4SsE//fIMo6mvVzHVoi7
=H+2Y
-----END PGP SIGNATURE-----
[附件 "configmic.patch" 被 Xiao Peng Wang/China/IBM 删
除]------------------------------------------------------------------------------

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

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to