2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-23 12:12:05 +00:00

37 Commits

Author SHA1 Message Date
Victor Hu
e3a826ef23 - Remove the USER/PASS clear text being sent back to syslog
- Remove the access display, doesn't look useful
2016-10-13 20:10:20 -04:00
Jarrod Johnson
d5205de146 Improve port change check
When changing the port when indicating NCSI
package, the comparison was inadequate.  Improve
things by at least checking the shared/dedicated portion.

Note that it is not comparing the package id, which means
things are imperfect, though they are better than before.
However, it's not too shabby because the NIC being active
is the important part, the NCSI package change happening
later is ok, since the net config is still being put on
the correct IMM Nic.
2016-09-14 11:26:16 -04:00
Jarrod Johnson
bb460dc5ce Provide a more adaptive approach to 'LOCKEDUSERS' in bmcsetup 2016-09-08 16:50:23 -04:00
ertaozh
8a4d0b9956 Fix issue 1495: Provision Dell PowerEdge M605 compute node hangs while setup BMC 2016-07-12 05:51:17 -04:00
zet809
482857fcfc Merge pull request #1366 from whowutwut/dodiscover_msg
Fix some issues with the HW discovery script after testing on OpenPower
2016-07-05 10:34:00 +08:00
Victor Hu
3d2605c2f2 Clean up some errors in bmcsetup script
- update some log messages
- do not run the mc reset cold for openPower systems
- create the 'mc info' output in a file in /tmp to reduce the number of ipmitool calls
- 300 is too large for chassis identify, change to 275
2016-06-22 15:50:25 -04:00
Kilian Cavalotti
3112a006d0 bmcsetup: allow to specify which port to share the BMC with
it would actually make sense to reverse the logic, and keep
ipmi.bmcport="0" for dedicated mode, and ipmi.bmcport="1" (or "2", "3",
"4") for shared with LOM1 (or LOM2, LOM3, LOM4) modes
2016-06-17 16:34:35 -07:00
Kilian Cavalotti
39e8480ade bmcsetup: remove &> bash-ism 2016-06-16 15:18:06 -07:00
Kilian Cavalotti
195f80ee6e bmcsetup: add support for Dell iDRAC
Sets the BMC NIC selection to either dedicated (ipmi.bmcport=1) or shared with failover all LOMs (ipmi.bmcport=0)
2016-06-16 15:12:54 -07:00
zet809
57478143d9 Fix variable user using issue
The variable (user) whose value is BMC username is reset as userid in line 365
2016-06-15 15:15:27 +08:00
Victor Hu
4a03ed50dd After the network commands are issued, pause for OpenPower case 2016-06-14 21:03:47 -04:00
Victor Hu
761ff38a2e Change the echo messages to logger messages
Add the -s option to logger to output the message to stderr
2016-06-14 19:32:03 -04:00
Victor Hu
0dbdd8d5de Fixed the code based on Er Tao's code review to put the status
check for non OpenPower based servers.  OpenPower will use a different
method to check that bmc is ready
2016-06-14 11:46:04 -04:00
Victor Hu
7f818a7066 Change the logging messages to reuse a single message for each IPMITOOL command 2016-06-10 15:22:30 -04:00
Victor Hu
e8b6841eb1 Additional enhancement/cleanup for the bmcsetup scripts
- Move the TIMEOUT to be a global at the to of the script
- Ensure we are resetting the TRIES=0 right before using it  (clean up some code format)
- Clean up the code for detecting the LAN channel, print out the detected channel
- Create a snooze function for OpenPower to sleep longer after network commands are issued
2016-06-10 13:26:31 -04:00
Victor Hu
08e6606dca Use a different ipmitool command for the OpenPower BMC to identify the light 2016-06-10 13:24:15 -04:00
Victor Hu
fb93154806 Fix the formatting of this file, the indentations were incorrect 2016-06-10 13:23:35 -04:00
Victor Hu
0f2b4be4c9 Add workaround code specific to OpenPower BMC where the BMC requires more
time to boot into a "ready" state after doing a cold reset
2016-06-10 11:41:44 -04:00
Victor Hu
d1c1aad5c5 Add comments into bmcsetup to better understand the actions
of the ipmitool raw commands
2016-06-10 11:31:37 -04:00
XuWei
547176bf58 Add genesis log in doxcat 2016-05-31 23:03:59 -04:00
Jarrod Johnson
dd6c9d0837 Have bmcsetup apply dual-byte bmcport right
bmcport can have a space in it.  At least work somewhat
with that by removing the special IFS to allow it
2016-05-09 14:24:50 -04:00
Jarrod Johnson
9869d148ac Change to recognize newer Lenovo mfg id 2016-04-11 16:06:48 -04:00
Victor Hu
f0d96b30ca For IBM Power 822LC and 812LC, it seems there is something wrong with
the firmware that causes the BMC to stop replying to ping a few seconds
after the changes are made.  To work around this issue, sleep 30 before
doing the cold reset.  Once the firmware is fixed, this reset is NOT
needed
2016-01-26 09:09:47 -05:00
Victor Hu
709a6cb8ad Fix the formatting of the bmcsetup script.
- replace the tabs wiht 4 spaces
   - change the if statements to multiple lines to improve readability
2016-01-26 09:00:57 -05:00
ertaozh
307f7958e1 support bmcsetup on Firestone machine, build genesis on Fedora 22 ppc64 2015-11-05 02:07:02 -05:00
daniceexi
ac34247aba defect 4726: cold reset bmc for specific firmware in the end of bmcsetup to make bmc take effect. 2014-09-24 03:14:32 -04:00
Jarrod Johnson
27d8ca563b Fix BMCPORT specification working with spaces 2014-05-30 11:05:05 -04:00
Jarrod Johnson
e2a3db7844 Fix mistakes in bmcsetup 2014-04-25 13:18:39 -04:00
daniceexi
35376641b4 To make bmcsetup cmd to update node status to be [bmcready] in genesis; And make chain mechanism to support [shutdown] key word which is used to poweroff the node 2014-01-13 07:55:03 -05:00
Jarrod Johnson
2275e87b6f Try to suppress scary warning at time of checking for bmc port activity 2013-08-20 16:31:53 -04:00
Jarrod Johnson
7ac9dae5af Attempt to fix bmcsetup problem where service processor changes after request to change too late 2013-08-20 15:59:42 -04:00
jbjohnso
785fe50e9f Change bmcsetup to disable cipher suites 0 and 1 in the face of peculiar cipher suite support or enumeration
Also change to enable cipher suites 2 and 3 to facilitate sites without Rijndael

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 14:59:13 +00:00
jbjohnso
248569fa64 Fix issues with bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 14:10:47 +00:00
jbjohnso
6f8f0eac9e Have screenlog.0 be created by default
Change bmcsetup to not blindly give up on lan channel 16

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 14:55:59 +00:00
jbjohnso
6373e0d948 Assume Locked user slots for SuperMicro systems as suggested by Michael Robbert on xcat-user list on January 9, 2013
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 21:31:54 +00:00
daniceexi
395fea4d8c Add authority check to make remoteimmsetup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:46:03 +00:00
jbjohnso
dde7db8565 Add tree for teh overlay package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 15:59:34 +00:00