xuweibj
ce76aa18e9
fix issue 5617, show existed node info when bmcdiscover -z ( #5619 )
2018-09-11 16:34:21 +08:00
ertaozh
7e4c3f4eff
Update output message if bmcdiscover matching a pre-defined node
2018-09-04 22:21:05 -04:00
ertaozh
7f379abeb4
Enhance bmcdiscover to match nodes with mtm,serial,bmcip before creating new nodes
2018-08-31 05:39:47 -04:00
ertaozh
27a2292995
To have bmcdiscover matching pre-defined node with lc(mtm)*lc(serial)-ip
2018-08-30 06:17:10 -04:00
GONG Jie
01ab47f928
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/bmcdiscover.pm
2017-12-31 23:59:59 +00:00
Casandra Qiu
c7af2c30c8
the error message of *def command is disordered when running internally
2018-05-16 14:43:25 -04:00
xuweibj
a9825f3260
Add some logs for bmcdiscover ( #5163 )
...
* Add some logs for bmcdiscover
2018-05-04 15:43:51 +08:00
XuWei
98f436ef0d
Add mac info in ouput of bmcdiscover when no mtms
2018-04-20 01:38:54 -04:00
ertaozh
56b926afaa
fix error 4989: The error message of bmcdiscover is disordered when it hit database problem
2018-03-22 02:13:46 -04:00
ertaozh
08ffa002fb
fix issue 4652: extra warning message for bmcdiscover
2018-01-30 00:21:27 -05:00
ertaozh
3ebe911473
enhance of fix for issue 4652
2018-01-24 06:50:32 -05:00
zet809
4acf102b07
fix issue 4652: bmcdiscover command will not able to find Boston node ( #4710 )
2018-01-24 18:22:08 +08:00
XuWei
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
zet809
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
XuWei
cf0c5b4666
modify response for bmcdiscover when error
2017-12-07 00:35:12 -05:00
Victor Hu
14ba2d1f3c
Removed the --check and --ipsource option with PR 4258, update the man page
2017-12-01 12:58:46 -05:00
ertaozh
64e831d7ee
Modify the error information for --check and --ipsource for bmcdiscover
2017-11-13 03:44:11 -05:00
ertaozh
031baf5940
Disable option --check and --ipsource for bmcdiscover
2017-11-07 03:40:37 -05:00
Casandra Qiu
469babefab
bmcdiscover blathering garbage on non OpenBMC nodes
2017-11-01 13:03:20 -04:00
XuWei
8db826016c
mofidied depending on comments
2017-10-10 22:54:35 -04:00
XuWei
b36c0ee19e
Fix issue 4062, modify method of node type check in bmcdiscover
2017-10-10 02:35:18 -04:00
Victor Hu
df6209c381
Instead of testing for open, test if NOT closed,then OpenBMC
2017-10-03 14:02:09 -04:00
Victor Hu
6f1e0bdab9
If the openbmc console port is returned by nmap, assume that it's openbmc
2017-09-26 14:25:27 -04:00
XuWei
01a4a49405
Delete all '.' in mtm and serial string for OpenBMC
2017-09-22 00:09:45 -04:00
Victor Hu
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
XuWei
491bf3682e
Fix a bug that if children process over 32, sleep 1 second
2017-08-25 05:17:49 -04:00
Yuan Bai
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
xuweibj
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
Victor Hu
61bad88824
Change bmcdiscover for OpenBMC to look at Model instead of Part Number
2017-08-15 21:09:05 -04:00
chenglch
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
ertaozh
e4d8442e10
add usage and manpage for bmcdiscover "--sn" option
2017-08-15 04:27:54 -04:00
Victor Hu
fa0799c4c4
With PR #3525 (4d54889a36b580bd6aba851037625febe24609b2) MAC address is used so this workaround is no longer needed
2017-08-10 15:16:15 -04:00
zet809
bb02b38583
add option --sn <sn_name> for bmcdiscover to discover bmc on sn ( #3607 )
2017-08-03 19:20:18 +08:00
XuWei
4d54889a36
Task 3406, add BMC MAC in bmcdiscover and discovery process
2017-07-21 03:39:01 -04:00
Victor Hu
08f0199b90
In latest ITC machine, the Model Type is in the PartNumber Field
2017-07-05 20:51:50 -04:00
cxhong
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
XuWei
4176017b17
Fix issue 3327, check environment of request type in openbmc and bmcdiscover
2017-06-25 23:06:54 -04:00
Victor Hu
bc46643b73
Print the XCAT_DEV_WITHERSPOON bypass message out to the user
2017-06-22 23:08:15 -04:00
Victor Hu
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
Victor Hu
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
XuWei
aaa62e3333
Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi
2017-06-21 22:26:48 -04:00
Victor Hu
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
Victor Hu
7beacaa631
With mid June/2017 firmware, model number is moved from PartNumber -> Model
2017-06-16 11:04:10 -04:00
zet809
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
Victor Hu
061b230edb
Change to PartNumber and SerialNumber for bmcdiscover
2017-06-07 11:59:54 -04:00
XuWei
b0fece2907
modify format of error msg for 2200 port to hash according to other msg
2017-06-06 02:10:18 -04:00
Victor Hu
a2f2eaf0e7
Change bmcdiscover to look at system information instead of motherboard
...
information for the MTM/Serial Number. Use variables for building up
then endpoint for OpenBMC
2017-06-05 20:05:00 -04:00
XuWei
79f4ae63fa
Close ssl verify for bmcdiscover on Ubuntu
2017-05-24 04:29:30 -04:00
XuWei
75cb09d112
modified depending on comments
2017-05-23 03:41:30 -04:00
XuWei
4515d197d9
Use LWP to send https request in bmcdiscover instead of curl command
2017-05-23 02:34:15 -04:00