2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-08 03:08:27 +00:00
Commit Graph

21235 Commits

Author SHA1 Message Date
Jarrod Johnson
8b79cf8535 Do not add any link local address to networks table 2018-03-05 14:00:25 -05:00
Jarrod Johnson
0e070cd2fd Fix infinite loop if unfortunate IPv6 encountered 2018-03-05 13:47:49 -05:00
Jarrod Johnson
08c29357bf Update getinstdisk to better handle M.2/ahci devices 2.13.8.lenovo2 2018-03-02 15:42:15 -05:00
Jarrod Johnson
10090a9dc8 Leave cfgloc.orig around
If a cluster has a non-master db server, give
them a hook to restore the correct cfgloc if desired.
2.13.8.lenovo1
2018-02-27 09:41:57 -05:00
Jarrod Johnson
e372fb5b73 Add a message to genimage about bus messages
The service handling in systemd causes it to show scary
looking messages to user.  This reassures that the message
is benign.
2018-02-26 15:01:20 -05:00
Jarrod Johnson
202004aaaa Merge branch 'nodestatUsage2' of https://github.com/aduffy19/xcat-core into lenovobuild2.13 2018-02-26 10:41:02 -05:00
Jarrod Johnson
6872a25c56 Revert "Add -f option to nodestat usage"
This reverts commit 322e77d184.
2018-02-26 10:39:40 -05:00
Jarrod Johnson
57f6ddd38b Actually change confluent detection in replaycons 2018-02-26 10:36:06 -05:00
Amanda Duffy
802af8150e Add -f to nodestat usage 2018-02-26 10:24:30 -05:00
Jarrod Johnson
3e8edef7dc Recognize <xcatmaster> in dhcp
The recent change failed to treat <xcatmaster>
special.
2018-02-23 16:00:58 -05:00
Jarrod Johnson
d159db0e7f Merge branch 'nodestatUsage' of https://github.com/aduffy19/xcat-core into lenovobuild2.13 2018-02-23 15:53:27 -05:00
Amanda Duffy
322e77d184 Add -f option to nodestat usage 2018-02-23 15:41:47 -05:00
Jarrod Johnson
d688749367 Actually check the site table value
It may be the case someone tried and discontinued use of
confluent.  Check the current site table value to confirm
the choice.
2018-02-23 11:52:12 -05:00
Jarrod Johnson
42bca25e1f Fix the mlx driver name
It is mlx4_en, not mlx_en
2018-02-22 15:53:08 -05:00
Jarrod Johnson
1c1b23fac5 Replace terse message with usage
replaycons had too terse an error when called without arguments
2018-02-22 15:01:52 -05:00
Jarrod Johnson
c4c5fc6216 Allow restricting service node pools
Service node pools would go as far as the network allowed.
Honor the servicenode attribute to limit visibility to
the service nodes that are relevant and any owner of a dynamic
range.

Also allow execution if the dhcp server is not running (e.g. shutting
down dhcp server on the master node to allow only the service nodes
to provide services).
2018-02-22 11:08:04 -05:00
Jarrod Johnson
48a92b7d47 Add documetation to replaycons documentation 2018-02-09 10:30:28 -05:00
Jarrod Johnson
a98cb37ced Give priority to likely boot volumes when mixed with raid controller
A common configuration is an ahci attached boot device.  Prefer
ahci over megaraid as a result.
2018-02-02 14:12:33 -05:00
Jarrod Johnson
ce311f0ab6 Add boot nvme support and filter small devices
nvme devices were not autosensed as install candidates.

Also, devices smaller than 128 MB are filtered out, as they are likely
to be some media or similar.
2018-02-01 13:52:15 -05:00
Jarrod Johnson
f0c881820d Provide error message should fping be missing 2018-01-29 16:12:50 -05:00
Jarrod Johnson
3ce4d81b36 Improve robustness of confluent check
Use the existence of the presumed log as a stronger indication
of the use of confluent.  Continue to shy away from slowing
things down by getting the site table, to avoid the slow check.
2018-01-22 14:30:09 -05:00
Jarrod Johnson
2b3f8e424f Restore classic nodeset arguments
People are opting into the classic arguments, continue helping them so
long as it works.
2018-01-22 10:39:41 -05:00
Jarrod Johnson
09fecc11b5 Fix merge mistake on anaconda.pm 2017-12-09 09:02:33 -05:00
Jarrod Johnson
804ce47c0c Allow disabling nodesetwarning... again 2017-12-09 08:58:22 -05:00
Miro
ae82fb8290 Fix merging in xdcpmerge.sh (#4328)
* Fixes in xdcpmerge.sh

Two fixes:
1. The grep pattern when finding duplicate usernames is missing ":" at the end. So, for example user "test" would also match "test2, etc.". Adding the ":" delimiter fixes the issue.
2. Another issue happens when the file to be merged is a superset of the files on the nodes. For example, if a new user is added and entire passwd file (that is otherwise identical) is sent to be merged. In this case, the $filebackup.nodups file, i.e. the original file with duplicates removed, becomes empty and the condition "if [ -s "$filebackup.nodups" ]" does not execute. Then the merged file ends up being original file with the merge file fully appended, clearly not what was intended.

This is solved by changing the condition to check for file existence "-a" rather then for size. Additionally, I also turn the logic around so that the duplicates are removed from the merge file and then added to the original file. I think this makes logic a bit cleaner and also ensures that existing entries are not reordered or changed in any way.

* Streamlining previous commit

Adjustment to previous commit, streamlining and simplifying logic. Once $mergefile.nodups is created, just concatenate it the original file.

* Update to xdcpmerge

No need to copy $filebackup to $curfile, they are the same.
2017-11-28 14:02:02 -05:00
Jarrod Johnson
6c2459731b Merge tag '2.13.8' into lenovobuild2.13
xCAT 2.13.8  release
2017-11-28 14:01:03 -05:00
Jarrod Johnson
73f21a5417 Also, packamige applies 2017-11-16 15:45:45 -05:00
Jarrod Johnson
a42fc626ca Merge branch 'lenovobuild2.13' of github.com:jjohnson42/xcat-core into lenovobuild2.13 2017-11-16 15:03:47 -05:00
Jarrod Johnson
ccda90fc6d Add disablenodesetwarning to man page 2017-11-16 15:03:45 -05:00
Jarrod Johnson
229533cbda Further improve the filtering of OneCli 2017-11-15 09:47:39 -05:00
Jarrod Johnson
a6932bb440 Add onecli 2.1.0 output masking 2017-11-15 09:18:20 -05:00
Jarrod Johnson
db4dc42b9d Add note about the nature of the auto-reconnect
There was some confusion about the retry interval, provide in
the manpage in case others want to know how it works and how
to speed it up.
2017-11-10 10:34:23 -05:00
Jarrod Johnson
0f45f2e517 Fix makeconfluentcfg without arguments
There were mistakes in the switch table processing attempt
for non noderange makeconfluentcfg.
2017-11-09 09:27:53 -05:00
Jarrod Johnson
9de9193d0c Skip connection to BMC on rpower reseat
rpower reseat gets directed at the chassis manager.  Skip the
superfluous connection to the BMC and keep it from interfering
with the reseat.
2017-11-07 15:17:00 -05:00
Jarrod Johnson
f01ab1a961 Copy in hidden files to mknb
mknb was ignoring hidden files (e.g. .screenrc), fix this.
2017-11-07 11:51:26 -05:00
zet809
fe7405f170 Merge pull request #4227 from xcat2/master
Merge master to 2.13 branch for 2.13.8 release(2)
2.13.8
2017-11-02 15:05:35 +08:00
Weihua Hu
654ba50e91 Merge pull request #4226 from zet809/modify_release_info_for_2.13.8
modify release info for 2.13.8
2017-11-02 15:03:36 +08:00
zet809
c3c394d9eb Merge pull request #4174 from robin2008/stateless-sn-doc
Stateless service node RTD update
2017-11-02 15:00:53 +08:00
Bin Xu
cc5eaa15ba Fix the wrong path for xCATsn in both diskless_sn and diskfull_sn 2017-11-02 14:54:21 +08:00
ertaozh
d3160bda34 modify release info for 2.13.8 2017-11-02 02:38:22 -04:00
cxhong
01bf03de74 switch_macmap output showed mac address on the wrong port for cumulus (#4225)
switch
2017-11-01 21:46:04 -05:00
Victor Hu
4d06dc05e8 Merge pull request #4222 from cxhong/4221
bmcdiscover blathering garbage on non OpenBMC nodes
2017-11-01 13:14:32 -04:00
Casandra Qiu
469babefab bmcdiscover blathering garbage on non OpenBMC nodes 2017-11-01 13:03:20 -04:00
Bin Xu
6a2d713e29 adjust the old document structure for stateless sn 2017-11-01 22:35:36 +08:00
zet809
4036f216bf Merge pull request #4212 from mattaezell/quiet_discover
Quiet some debug messages during discovery
2017-11-01 13:33:22 +08:00
Matt Ezell
bae354316e Quiet some debug messages during discovery 2017-10-31 21:13:20 -04:00
zet809
0a25883b29 Merge pull request #4210 from xcat2/master
Merge master to 2.13 branch for 2.13.8 release(1)
2017-10-31 17:41:11 +08:00
zet809
f744bae33f Merge pull request #4207 from xuweibj/I4192
Fix issue 4192, fork to login before send real login request
2017-10-31 17:39:16 +08:00
XuWei
6a050f5974 Fix issue 4192, fork to login before send real login request 2017-10-31 05:31:56 -04:00
Weihua Hu
8d6ecf304d Merge pull request #4209 from bybai/fixvlan
fix wrong type for vlan in confignetwork and enhance testcases typo error
2017-10-31 16:14:36 +08:00