2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-08 09:40:11 +00:00
Commit Graph

161 Commits

Author SHA1 Message Date
Victor Hu 4aab65ea0a Revert the naming back to using snap<date> and instead use the
Epoch keyword to control the priority of the xCAT-genesis-base package
2016-12-05 13:58:27 -05:00
Victor Hu b30ed57db2 - Bump up the version to 2.13.0
- Edit the makerpm to replace version of xCAT-genesis-base.spec
  file so there's no need to manually set the VERSION.  We
  do need a better way for the RELEASE variable
- Require xCAT-genesis-base >= 2.13.0 for the rebuild of genesis-base
- Clean up the builder rpm to include directories to clean up correctly
  on rpm removal
2016-12-02 17:38:14 -05:00
XuWei 21b77c86df modified depending on comments 2016-11-03 21:01:52 -04:00
XuWei 672f1e8bd5 modified depending on comments 2016-11-03 04:21:57 -04:00
XuWei 15e2a17a8b move rsyslogd restart code from dhclient-script to doxcat 2016-11-02 01:04:21 -04:00
Jarrod Johnson 444d223c88 Fix permissions on loadmlxeth script
loadmlxeth was not executable, resulting
in a broken udev rule for mellanox booting
systems.
2016-10-31 10:10:08 -04:00
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 edb1d181e9 Provide hook for saner versioning
The traditional approach was not adequately
hooked into git.  It should do nothing by
default differently.
2016-09-28 08:43:35 -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
GONG Jie 18308688bf Fix github issue #1591 2016-08-31 16:51:07 +08:00
ertaozh 8b5f44c44a Modify xcat-genesis-script pkg name for ubuntu 2016-08-10 01:23:06 -04:00
ertaozh f9d532b009 Fix issue 1638: Genesis not wait long enough time to have NICs get IP address 2016-08-05 03:02:21 -04:00
zet809 20fb5d8d98 Remove provides section from xCAT-genesis-scripts/debian/cotrol file (#1581) 2016-07-25 04:17:37 -05:00
zet809 554cdb9a56 Fix xCAT-genesis-scripts/debian/control
Fix the issue that build xcat-genesis-scripts-ppc64 failed on ubuntu.
2016-07-25 15:31:49 +08:00
ertaozh f14f9d8a9c Modify conflict xcat-genesis-scripts-x86-64 and xcat-genesis-scripts-ppc64 with xcat-genesis-scripts 2016-07-22 06:07:31 -04:00
ertaozh 967ff2a33a modify genesis scripts spec for debian/control to be debian/control-amd64 and debian/control-ppc64elwq 2016-07-20 04:18:05 -04:00
Xiaopeng Wang 3b0799d12e Merge pull request #1531 from pdlun92/rsyslogd
Modify /bin/restart script in genesis to correctly restart rsyslogd
2016-07-20 15:40:28 +08:00
ertaozh 15dd911372 Modify xcat-genesis-scripts-ppc64 depend on xcat-genesis-base-ppc64 and xcat-genesis-scripts-x86-64 depend on xcat-genesis-base-x86-64 for ubuntu 2016-07-18 21:44:20 -04:00
Patrick Lundgren d6f0c89d43 Added block to restart rsyslogd after dhclient has been restarted. Moved restart to xCAT-genesis-scripts 2016-07-18 13:35:44 -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
ertaozh 9cfc24fbad Fix the issue that discovery request is cut when sending to xcatd 2016-07-07 05:18:28 -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 ce00394dff - Undo some changes in doxcat that was causing problems.
- clean up some of the logging messages
2016-06-24 16:05:05 -04:00
Victor Hu 1f121f11d9 Change the logger commands to print to stderr so that the SOL console
will record the messages
2016-06-24 16:00:31 -04:00
ertaozh 75bc7d91f4 refine hardware discovery framework, put mtms based hardware discovery to typemtms.pm module 2016-06-24 01:58:34 -04:00
Victor Hu 9232e7eac1 Fix a typo in the doxcat script to grep ppc64 2016-06-23 07:45:54 -04: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
Victor Hu 41b755a413 For getipmi script, change the rm to use the -f option
so that we avoid a warning message that the file does not exists.
Add a log label for logger messages
2016-06-22 14:21:14 -04:00
Victor Hu 32743771ff Clean up some of the messages in doxcat
- clean up some messages logged to syslog to help debugging
- Only start rsyslog and dhclient if not already started
2016-06-22 12:39:37 -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
Xiaopeng Wang 650dadf406 Merge pull request #1283 from whowutwut/openpower_workaround
bmcsetup requires some changes to work around some issues with OpenPower BMC
2016-06-15 14:14:08 +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 5860235832 The xCAT-nbroot has been replaced by xCAT-genesis
Removing the old files associated with nbroot/nbroot2
2016-06-10 15:45:26 -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
Victor Hu 2d193ad6bf Merge pull request #1206 from xuweibj/S101003
Add genesis log in doxcat, dodiscovery and bmcsetup
2016-06-10 11:24:50 -04:00
XuWei 547176bf58 Add genesis log in doxcat 2016-05-31 23:03:59 -04:00
ertaozh d4a8bc6b6a fix issue 1115: Don't run rspconfig after hardware discovery finished for servers Other than S822L(TLT) 2016-05-19 04:36:18 -04:00
Jarrod Johnson b55ed38935 Update genesis driver load for newer mellanox
Newer VPI adapters use class '280' to declare themselves.
Support these by hooking those class of devices for loading
ethernet drivers as well.
2016-05-09 14:28:08 -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