2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-10 23:30:11 +00:00
Commit Graph

101 Commits

Author SHA1 Message Date
5094f7a74d Update Usage output formatting 2020-01-09 14:29:42 -05:00
3987e4b233 bmcdiscover with bmc password expiration 2020-01-09 13:56:33 -05:00
aa93414e69 bmcdiscover node name when serial or mtm and mac not available 2019-10-17 15:19:28 -04:00
540ee9f262 when no ipmitool-xcat tool, report error before go ahead the real discovery 2018-11-16 12:39:50 +08:00
ce76aa18e9 fix issue 5617, show existed node info when bmcdiscover -z (#5619) 2018-09-11 16:34:21 +08:00
7e4c3f4eff Update output message if bmcdiscover matching a pre-defined node 2018-09-04 22:21:05 -04:00
7f379abeb4 Enhance bmcdiscover to match nodes with mtm,serial,bmcip before creating new nodes 2018-08-31 05:39:47 -04:00
27a2292995 To have bmcdiscover matching pre-defined node with lc(mtm)*lc(serial)-ip 2018-08-30 06:17:10 -04:00
01ab47f928 Remove trailing spaces in file xCAT-server/lib/xcat/plugins/bmcdiscover.pm 2017-12-31 23:59:59 +00:00
c7af2c30c8 the error message of *def command is disordered when running internally 2018-05-16 14:43:25 -04:00
a9825f3260 Add some logs for bmcdiscover (#5163)
* Add some logs for bmcdiscover
2018-05-04 15:43:51 +08:00
98f436ef0d Add mac info in ouput of bmcdiscover when no mtms 2018-04-20 01:38:54 -04:00
56b926afaa fix error 4989: The error message of bmcdiscover is disordered when it hit database problem 2018-03-22 02:13:46 -04:00
08ffa002fb fix issue 4652: extra warning message for bmcdiscover 2018-01-30 00:21:27 -05:00
3ebe911473 enhance of fix for issue 4652 2018-01-24 06:50:32 -05:00
4acf102b07 fix issue 4652: bmcdiscover command will not able to find Boston node (#4710) 2018-01-24 18:22:08 +08:00
a7e8f5691f Fix issue 4477, if has node-<mac> will not create node-<mtms> for the same node 2017-12-12 03:27:43 -05:00
244766724f Merge pull request #4424 from whowutwut/update_bmcdiscover_help
Update the bmcdiscover man page , remove --check and --ipsource options.
2017-12-07 14:53:56 +08:00
cf0c5b4666 modify response for bmcdiscover when error 2017-12-07 00:35:12 -05:00
14ba2d1f3c Removed the --check and --ipsource option with PR 4258, update the man page 2017-12-01 12:58:46 -05:00
64e831d7ee Modify the error information for --check and --ipsource for bmcdiscover 2017-11-13 03:44:11 -05:00
031baf5940 Disable option --check and --ipsource for bmcdiscover 2017-11-07 03:40:37 -05:00
469babefab bmcdiscover blathering garbage on non OpenBMC nodes 2017-11-01 13:03:20 -04:00
8db826016c mofidied depending on comments 2017-10-10 22:54:35 -04:00
b36c0ee19e Fix issue 4062, modify method of node type check in bmcdiscover 2017-10-10 02:35:18 -04:00
df6209c381 Instead of testing for open, test if NOT closed,then OpenBMC 2017-10-03 14:02:09 -04:00
6f1e0bdab9 If the openbmc console port is returned by nmap, assume that it's openbmc 2017-09-26 14:25:27 -04:00
01a4a49405 Delete all '.' in mtm and serial string for OpenBMC 2017-09-22 00:09:45 -04:00
24090e832b Change the output of bmcdiscover to NOT print the stanza format
when only the -w option is specified to write data into the database.
This helps when we are doing bmcdiscover over a very large range of IPs
2017-09-07 16:54:35 -04:00
491bf3682e Fix a bug that if children process over 32, sleep 1 second 2017-08-25 05:17:49 -04:00
fdda051859 Merge pull request #3686 from zet809/modify_doc_for_bmcdiscover_sn
add usage and manpage for bmcdiscover "--sn" option
2017-08-25 16:49:35 +08:00
c22e7c5928 Merge pull request #3685 from chenglch/bmcdiscover
Fix the error caused by too many open file descriptors
2017-08-18 11:04:46 +08:00
61bad88824 Change bmcdiscover for OpenBMC to look at Model instead of Part Number 2017-08-15 21:09:05 -04:00
eb5777ca2e Fix the error caused by too much open file descriptors
The code in bmcdiscover do not close socket pair correctly which
causes `Too many open files` error from system. This commit maintains
a hash map to locate the file descriptors for child processes, close
these files when the child processes exit.

fix-issue: #3682
2017-08-15 17:57:11 +08:00
e4d8442e10 add usage and manpage for bmcdiscover "--sn" option 2017-08-15 04:27:54 -04:00
fa0799c4c4 With PR #3525 (4d54889a36) MAC address is used so this workaround is no longer needed 2017-08-10 15:16:15 -04:00
bb02b38583 add option --sn <sn_name> for bmcdiscover to discover bmc on sn (#3607) 2017-08-03 19:20:18 +08:00
4d54889a36 Task 3406, add BMC MAC in bmcdiscover and discovery process 2017-07-21 03:39:01 -04:00
08f0199b90 In latest ITC machine, the Model Type is in the PartNumber Field 2017-07-05 20:51:50 -04:00
df2f6a6cb5 Merge pull request #3311 from xuweibj/I3264
Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi
2017-06-27 16:54:27 -04:00
4176017b17 Fix issue 3327, check environment of request type in openbmc and bmcdiscover 2017-06-25 23:06:54 -04:00
bc46643b73 Print the XCAT_DEV_WITHERSPOON bypass message out to the user 2017-06-22 23:08:15 -04:00
32b467d635 Our p9 boxes do not have any VPD information, so in order to force
the code to return a generated discovered definition, blank out the mtm
string if XCAT_DEV_WITHERSPOON=TRUE
2017-06-22 22:49:02 -04:00
eba16f3dd8 Found out that for Witherspoon machines, if the host has not been booted
there is no system information returned, so check for the boxelder bmc
for a model/serial combination to use
2017-06-22 20:39:27 -04:00
aaa62e3333 Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi 2017-06-21 22:26:48 -04:00
3f43f44c7e Update code to print a warning message if we get a response error.
Currently there is nothing printed back so we can't tell if an error
has occurred.  Allow for some debug output if XCATBYPASS=1
2017-06-20 15:58:16 -04:00
7beacaa631 With mid June/2017 firmware, model number is moved from PartNumber -> Model 2017-06-16 11:04:10 -04:00
f05a0ace3b Merge pull request #3206 from whowutwut/bmcdiscover_openbmc
Change bmcdiscover to look at system information instead of motherboard info for OpenBMC
2017-06-09 10:47:32 +08:00
061b230edb Change to PartNumber and SerialNumber for bmcdiscover 2017-06-07 11:59:54 -04:00
b0fece2907 modify format of error msg for 2200 port to hash according to other msg 2017-06-06 02:10:18 -04:00