d6531550ec
Merge pull request #2627 from zet809/fix_issue_2327
...
Have ntp sync up waiting for 1 minute in case sync up failed
2017-03-21 14:39:55 -04:00
38831c8358
Modify the waiting time clearer for user for ntp-wait
2017-03-21 05:27:52 -04:00
799d143e90
Merge pull request #2593 from zet809/fix_issue_2362
...
fix issue 2362: If packimage is not run, osimage in the chain table w…
2017-03-16 15:42:32 -04:00
b425feb494
fix issue 2362: If packimage is not run, osimage in the chain table will fail on netboot images
2017-03-14 23:22:54 -04:00
38d9914d35
Have ntp sync up waiting for 1 minute in case sync up failed
2017-03-14 23:06:03 -04:00
ed27765bf1
fix indentation (tabs instead of spaces)
2017-03-03 09:30:28 -08:00
c0c6082b13
dodiscovery: use information from FRU instead of DMI for MTM
...
Don't use information from DMI to populate the MTM field, as there is no
guarantee it will match with what's in the FRU pages. Since
`bmcdiscover` uses FRU information, use it in `dosdiscovery` too so they
will match for MTMS discovery.
2017-02-13 10:57:26 -08:00
603c7785f7
MTM: add support for other vendors, in the form of vendor::model
2017-02-10 13:38:22 -08:00
defecc7496
Fix typo in bmcsetup if test
2017-01-31 13:52:14 -05:00
b4d6b817ce
Merge pull request #2424 from zet809/fix_issue_2422
...
Don't use "which" to check whether ipmitool is installed in genesis
2017-01-19 10:12:44 -05:00
92b4408077
Merge pull request #2419 from jjohnson42/fixbmcsetup
...
Quote user and password in ipmitool
2017-01-19 15:22:30 +08:00
3040050e1d
Don't use which to check whether ipmitool is installed
2017-01-18 22:11:10 -05:00
fad57b6aff
Quote user and password in ipmitool
...
If a value had certain characters, the command would be incorrect.
For example, a password with a '#' in it would break.
2017-01-18 14:19:13 -05:00
6ace21010b
Merge branch 'master' into have_bmcsetup_run_in_postscript
2017-01-10 13:54:40 +08:00
197212a886
Modification based on Victor's comments
2017-01-09 23:45:41 -05:00
6440032111
modify getipmi and bmcsetup works also as a post/postboot script for diskful or diskless installation
2017-01-03 08:42:52 -05:00
0ec39c2a57
Fix the code of waiting for ntpd to synchronize in genessis
2016-12-20 12:17:12 +08:00
4897acedf7
Revert "[CUSTOMER] Use ntpdate in genesis kernel instead of starting the ntp daemon to reduce discovery time"
2016-12-14 17:35:55 +08:00
482f6b7fc2
Use the -b option to force the time change
2016-12-13 13:42:07 -05:00
c1673f730b
Since the genesis kernel is not intended to be long running, there's no need to start ntp daemon, simply attempt to sync with ntpdate.
...
There's an issue in this code where we query ntpq for the offset too quickly after starting the ntp daemon. This causes the offset to always be 0 and we continue. We have seen situations where ntpd starts before the first check and becomes > 1000. Then it takes 15 minutes before the 2nd attempt and delays the hardware discovery process
2016-12-13 11:15:27 -05:00
5af0a890a4
Add messages to trace the ntpd commands in genesis
2016-12-07 21:39:21 -05:00
21b77c86df
modified depending on comments
2016-11-03 21:01:52 -04:00
672f1e8bd5
modified depending on comments
2016-11-03 04:21:57 -04:00
15e2a17a8b
move rsyslogd restart code from dhclient-script to doxcat
2016-11-02 01:04:21 -04:00
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
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
bb460dc5ce
Provide a more adaptive approach to 'LOCKEDUSERS' in bmcsetup
2016-09-08 16:50:23 -04:00
18308688bf
Fix github issue #1591
2016-08-31 16:51:07 +08:00
f9d532b009
Fix issue 1638: Genesis not wait long enough time to have NICs get IP address
2016-08-05 03:02:21 -04:00
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
8a4d0b9956
Fix issue 1495: Provision Dell PowerEdge M605 compute node hangs while setup BMC
2016-07-12 05:51:17 -04:00
9cfc24fbad
Fix the issue that discovery request is cut when sending to xcatd
2016-07-07 05:18:28 -04:00
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
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
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
75bc7d91f4
refine hardware discovery framework, put mtms based hardware discovery to typemtms.pm module
2016-06-24 01:58:34 -04:00
9232e7eac1
Fix a typo in the doxcat script to grep ppc64
2016-06-23 07:45:54 -04:00
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
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
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
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
39e8480ade
bmcsetup: remove &> bash-ism
2016-06-16 15:18:06 -07:00
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
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
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
4a03ed50dd
After the network commands are issued, pause for OpenPower case
2016-06-14 21:03:47 -04:00
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
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
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
7f818a7066
Change the logging messages to reuse a single message for each IPMITOOL command
2016-06-10 15:22:30 -04:00