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

2012 Commits

Author SHA1 Message Date
3d5cd23d0d fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 (#4967) 2018-03-19 16:28:05 +08:00
f36e659715 enhance mlnxofed_ib_install.v2 return 1 when service openibd restart failed 2018-03-12 23:10:24 -04:00
fe60fe04db Add libnl3 to ib.rhels7.ppc64le.pkglist 2018-03-08 17:24:27 +08:00
4038056879 Add more print statement for config switches scripts (#4872)
* Add more print statement for config switches scripts

* modified from reviews

* more modify from review
2018-03-06 11:25:38 +08:00
2ca56404d9 Add boot nvme support and filter small devices (#4778)
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-23 10:32:34 +08:00
2da3f5140d Move sleep retry from xcat to goconserver
If cons script is waiting, goconserver could not aware of
the status of the console connection. This patch check
the environment when running the script, if it is gocons
and retrying is needed, exit immediately.
2018-02-09 12:11:48 +08:00
9184d33e33 remove remote host key from known_hosts file (#4722) 2018-01-25 01:17:03 -06:00
cb25622331 It is for provision log enhancement and partial address #4582 (#4648)
- clear logs in the key components during provisioning (not only debug mode, but debug mode will have more logs)
 - now only cover rhel7 stateful and stateless
 - make more syslogs into cluster.log (tag = xcat or xcat.*)
 - the changes will not impact other distro
2018-01-23 03:20:42 -06:00
ccc6df75ae supplement for Support custom udev rules in the initrd #4529: add ethtool to stateless pkglist (#4532) 2017-12-15 17:19:40 +08:00
991a9facf9 Support custom udev rules in the initrd (#4529) 2017-12-15 03:17:10 -06:00
e501b26fd0 issues for install license file on accton switches (#4460) 2017-12-07 00:53:32 -06:00
1e0d14d58b enhance genimage for sles12sp2 (#4450) 2017-12-06 03:01:45 -06:00
ac758a9c9d Modified configonie --ntp command (#4436) 2017-12-04 23:48:33 -06:00
aaacca80cd 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-26 20:20:49 -06:00
50fdcec19d Fix #4330, close the socket 2017-11-21 09:44:02 -05:00
a362033084 Merge pull request #4220 from samveen/fix_xhrm
Improve xHRM
2017-11-21 10:21:11 +08:00
d862891201 Use IO::Socket to check BMC console port 2017-11-18 14:54:04 -05:00
0b9aae5754 change log messages 2017-11-16 14:49:32 -05:00
f6690b648e [openbmc]Do not send exec command for bmc console if bmc is not reachable 2017-11-15 16:56:16 -05:00
4a6639233a Merge pull request #4275 from immarvin/onissue
Support http repos for otherpkgs #4042
2017-11-15 10:33:24 +08:00
76b477c398 Error redirection for checks 2017-11-14 08:38:24 +00:00
07add8e288 Fix back multi-ip transfer from port to bridge 2017-11-14 08:29:08 +00:00
5e93ea3b39 Fix logic for bridgeprereq parameter parsing 2017-11-14 08:28:30 +00:00
c4f4760eb4 xHRM: migrate existing IP conf of $PORTS to bridge 2017-11-14 07:38:26 +00:00
99ae556314 xHRM: more improvments via ShellCheck 2017-11-14 07:38:26 +00:00
817009c218 xHRM: improvments via ShellCheck 2017-11-14 07:38:26 +00:00
3b05e6d633 xHRM: modernize command substitution 2017-11-14 07:38:26 +00:00
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
07a4a50f0c Fix the message for openbmc cons
Help user to locate the error for openbmc console session.
2017-11-08 09:21:06 +08:00
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
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
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
a8a57f64a4 Any updates since merge in October
Change-Id: I562c4069f5008a5faf71091fb243d349740052c1
2017-10-19 14:18:47 -04:00
9c5446645e Merge pull request #4110 from cxhong/3989
Add more configuration support for Mellanox switches
2017-10-19 14:54:01 +08:00
0f2cba3ce7 use nic facing ip address instead of master 2017-10-18 15:25:55 -04:00
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
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
eac35e7e3d Add more configuration support for Mellanox switches 2017-10-16 15:26:37 -04:00
7552b616fa add a helper script to remove dhcp lease of specified mac,ip and nodename 2017-10-12 22:38:18 -04:00
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
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
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
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
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
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
bf9a960140 xHRM: fix minor code bug 2017-09-19 12:24:57 +00:00
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
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
85957476f9 Add netmask to configonie script for change ip 2017-09-14 16:43:31 -04:00
72d99850e2 Ensure mypostscript has permission 700 (#3847)
Only root needs to run this script
2017-09-07 09:18:35 +08:00