2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-09 09:52:32 +00:00
Commit Graph

1999 Commits

Author SHA1 Message Date
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
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
zet809
ce1c0859e1 Merge pull request #4147 from chuckbrazie/master_ChuckB_updatesSinceApril
Chuck Brazie updates since April, plus add back in xcatws.cgi from 2.13
2017-10-27 17:59:08 +08:00
Bin Xu
28d4f32c86 localdisk feature support sync contents from image rootfs to localdisk (#4152)
* Support sync to localdisk at the first time

* Fix #3936, httpd is not starting on stateless SN
2017-10-24 01:43:24 -05:00
Yuan Bai
d4a1e82d5d enhance HA scripts deactivate-mn and activate-mn (#4120)
* enhance doc for scripts changes
* enhance activate-mn/deactivate-mn
2017-10-24 10:21:32 +08:00
Chuck Brazie
a8a57f64a4 Any updates since merge in October
Change-Id: I562c4069f5008a5faf71091fb243d349740052c1
2017-10-19 14:18:47 -04:00
zet809
9c5446645e Merge pull request #4110 from cxhong/3989
Add more configuration support for Mellanox switches
2017-10-19 14:54:01 +08:00
Casandra Qiu
0f2cba3ce7 use nic facing ip address instead of master 2017-10-18 15:25:55 -04:00
zet809
26f46fbed6 Merge pull request #4095 from immarvin/ondhcp
add a helper script to remove dhcp lease of specified mac,ip and nodename
2017-10-18 17:20:55 +08:00
zet809
a6661f84b7 Merge pull request #2927 from zVMopenstack/ZVM_XCAT_DEV
Merge the changes made for zVM into the xCAT development branch
2017-10-18 17:06:31 +08:00
Casandra Qiu
eac35e7e3d Add more configuration support for Mellanox switches 2017-10-16 15:26:37 -04:00
immarvin
7552b616fa add a helper script to remove dhcp lease of specified mac,ip and nodename 2017-10-12 22:38:18 -04:00
immarvin
7515be4590 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3054 instead of 3001 to run debug commands inside installer 2017-10-12 01:55:20 -04:00
immarvin
35d299f9d6 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3004 instead of 3001 to run debug commands inside installer 2017-10-11 04:21:01 -04:00
Yuan Bai
ac0ea2d2af fix xHRM fails when installnic is not set (#4060)
* fix xHRM fails when installnic is not set

* polished

* polished
2017-10-10 03:49:52 -05:00
Samveen
61805a19ab Improvements to RH/Centos Kickstart templates. (#4046)
* remove spaces at EOL

* Saner partitioning section in templates

* Save install time xCAT logs for service nodes

* remove duplicates from `service.rhels7.*.pkglist`
2017-10-10 00:37:41 -05:00
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
cxhong
20e1e7213c Support config snmpv1/2 community string for Mellanox switches during discovery phase (#4030)
* Support config snmpv1/2 community string for Mellanox switches during
discovery phase

* checking snmpversion defined in the switches table
2017-09-28 22:07:55 -05:00
Jarrod Johnson
f3f41848ae Merge tag '2.13.7' into lenovobuild2.13
xCAT 2.13.7 release
2017-09-27 15:52:44 -04:00
Samveen Gulati
bf9a960140 xHRM: fix minor code bug 2017-09-19 12:24:57 +00:00
chenglch
3396e3c9a0 Disable the ssh prompt when connecting the openbmc console (#3815)
This patch force the ssh client to use the ssh key only. It also
disable the known host check to avoid of the error after rflash.

Fix-issue: #3543
2017-09-15 16:59:44 +08:00
yangsong
a183e3b8f2 support local syslog:1)ship logrotate and log filter rule files in xCATsn;2)refine syslog script to enable log filter and rotate rules (#3921) 2017-09-15 16:03:43 +08:00
Casandra Qiu
85957476f9 Add netmask to configonie script for change ip 2017-09-14 16:43:31 -04:00
Matt Ezell
72d99850e2 Ensure mypostscript has permission 700 (#3847)
Only root needs to run this script
2017-09-07 09:18:35 +08:00
Bin Xu
029da28735 1, add default pkglist/otherpkglist/exlixt/postinstall for rhels7 ppc64le/x86_64 stateless service node (#3859)
2, restart xcat when run 'servicenode'
2017-09-06 17:04:20 +08:00
cxhong
6e5b960886 Support syslog for Cumulus Switch (#3850) 2017-09-06 10:19:19 +08:00
cxhong
51ad6fd511 Support User defined community string for enable snmp on Cumulus Switches (#3818)
* Support User defined community string for enable snmp on Cumulus
Switches

* modify comment from yangsong

* Modify code from review comments
2017-09-04 10:04:06 +08:00
Bin Xu
2991ec1e59 Fix 3749, handle '+' and '-' in id when merging /etc/passwd (#3771)
* Fix 3749, handle '+' and '-' in id when merging /etc/passwd

* Add some comments
2017-08-25 15:13:51 +08:00
Gᴏɴɢ Jie
02be314d54 Merge pull request #3705 from robin2008/xcatdsource-impact
Filter non-content lines when generating mypostscripts
2017-08-17 12:20:03 +08:00
Bin Xu
8c663f946b Filter non-content lines when generating mypostscripts 2017-08-17 10:49:27 +08:00
zet809
fd339de900 Merge pull request #3662 from whowutwut/sn_pkglist
Adding some packages that would help debug xCAT issues from service nodes
2017-08-16 17:03:55 +08:00
Victor Hu
fab77a0c30 Adding strace to the pkglist for service nodes 2017-08-11 22:53:02 -04:00
Victor Hu
6210f197dc Adding some packages that would help debug issues on the service nodes 2017-08-10 14:54:42 -04:00
Casandra Qiu
d8600c25c1 Modify the comments 2017-08-10 11:08:41 -04:00
Casandra Qiu
11890b660b using sshpass (if availble) connect to openbmc console 2017-08-09 14:32:18 -04:00
Chuck Brazie
e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -04:00
GONG Jie
38d0f9ba25 Add symbolic for ubuntu 16.04.2 support (#3576) 2017-08-01 00:01:34 -05:00
bybai
f6b16d24bd enhance configeth configure instnic 2017-07-24 02:51:35 -04:00
Victor Hu
4d046d4f4e Merge pull request #3418 from cxhong/vlan
Support hybrid mode for different access vlan other than 1
2017-07-19 23:14:37 -04:00
Samveen
3490fa5fed Kickstart improvements for Centos templates (#3462)
* `pre.rh*` scripts: Whitespace cleanup

* Whitespace cleanup

* util-linux-ng back to util-linux in 2014

* Add Centos7 KVM template(based on rhels7)

* Minor improvements to Centos7 compute template
2017-07-16 21:00:47 -05:00
Victor Hu
fe67f8f1c2 Merge pull request #3370 from neo954/go-xcat-devel
[go-xcat] When xcat version is specified, look different place for xcat-dep repository
2017-07-14 09:15:45 -04:00
Jarrod Johnson
9184cbe03f Disable postscripts before running postscripts
If a postscript rebooted the system, it would start over.
Deal with it by first disabling the postscript service, then
executing the service.
2017-07-13 17:09:34 -04:00
Casandra Qiu
749d3d54a3 syntax error 2017-07-13 14:19:15 -04:00
Casandra Qiu
f52c9cf041 change vlan to VLAN 2017-07-13 13:48:31 -04:00
Bin Xu
bf172d1489 Fix 3151, Backup service node is not reflected in the /opt/xcat/xcatinfo file (#3434)
* populate node attribute servicenode into mypostscript, and then inject into /opt/xcat/xcatinfo
cover both updatenode -s and os installation case.

* using 1 step of sed for chaning
2017-07-12 03:03:54 -05:00
cxhong
59738f65f9 Configure Cumulus switch via switchdiscover --setup options (#3375) 2017-07-10 22:17:15 -05:00
Casandra Qiu
29820ff808 Support hybrid mode for different access vlan other than 1 2017-07-07 18:31:13 -04:00
Jarrod Johnson
77bab0ba0f Merge tag '2.13.5' into lenovobuild2.13 2017-06-30 08:47:25 -04:00