2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-13 05:38:41 +00:00
Commit Graph

288 Commits

Author SHA1 Message Date
Jarrod Johnson
e16cea2688 Merge tag '2.13.11' into lenovobuild2.13
xCAT 2.13.11 release
2018-03-26 10:49:04 -04:00
Jarrod Johnson
08c29357bf Update getinstdisk to better handle M.2/ahci devices 2018-03-02 15:42:15 -05:00
Jarrod Johnson
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
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
Bin Xu
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
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
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
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
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04: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
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
8c663f946b Filter non-content lines when generating mypostscripts 2017-08-17 10:49:27 +08:00
Chuck Brazie
e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -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
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
zet809
11f351cf6e Merge pull request #2763 from samveen/reduce_greps
Reduce `grep` invocations by passing `-[46]` to `ip`
2017-06-22 16:24:04 +08:00
Yuan Bai
6720675b21 revert to old udevadm code (#3294) 2017-06-20 04:08:51 -05:00
Chuck Brazie
e8aa65e5fe Merge branch 'master' into ZVM_XCAT_DEV 2017-06-12 08:07:38 -04:00
Samveen Gulati
f1b406dbc0 Reduce grep invocations by passing -[46] to ip 2017-06-06 09:53:29 +00:00
immarvin
6c8034cfa9 fix typo in if-clause 2017-06-01 21:49:32 +08:00
Yuan Bai
09361d8499 update udevadmin work around (#3038) 2017-05-12 00:01:44 -05:00
Chuck Brazie
0732afd02e Merge branch 'master' into ZVM_XCAT_DEV 2017-05-01 13:22:51 -04:00
Yuan Bai
6617d7dfbd work around installer hang for udevadm command in p9 pegas. (#2953) 2017-04-27 21:26:55 -05:00
zVMopenstack
7487c0322a Merge branch 'master' into ZVM_XCAT_DEV 2017-04-24 09:39:38 -04:00
yangsong
a761e64c0c fix issue #2856: [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later (#2857)
* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856

* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856
2017-04-13 11:31:54 +08:00
immarvin
37f9e770f4 fix issue postscript fails and status=booted. #2665 2017-03-22 23:20:29 -04:00
Kilian Cavalotti
0cda7b5d02 Fix double logging of postscript output in /var/log/xcat/xcat.log 2017-02-24 13:05:40 -08:00
Chuck Brazie
5a83bf5e63 Merge our code with global xCAT team except for xcatws.cgi
Change-Id: I945c430685fa2febd914be09f6a6f976783abeec
2017-02-02 14:31:27 -05:00
immarvin
c4a058c6d5 refine the conditional code logic on swith variables site table 2016-11-22 03:46:05 -05:00
immarvin
1e6714a99d fix issue when using copycds -p, stateful install has yum point to the wrong repository. #1852 2016-11-07 22:20:28 +08:00
immarvin
6f735b0e8d fix issue linux orderly shutdown not noticed by xcat. #1939;replace xcatpostinit1 sysvinit service with xcatpostinit1.service systemd service unit as the hook to run PS&PBS and report status for redhat;report node status on system <reboot/shutdown> command 2016-11-07 13:54:47 +08:00
Jarrod Johnson
e803d56405 Add an ignoredisk directive to the partitionfile
When installing, explicitly tell anaconda to only manipulate
$instdisk.  Anaconda tends to be too aggressive about disks.
2016-10-14 08:13:17 -04:00
penguhyang
bbcea8b16d fix differentiate the log entries of postscript and postbootscript (#1946) 2016-10-12 14:26:23 +08:00
yangsong
4cf9c18fc7 Revert "differentiate the log entries of postscript and postbootscript " (#1927) 2016-09-29 17:27:59 +08:00
penguhyang
80c6c3c591 Merge pull request #1897 from immarvin/onissue
fix issue [FVT]: sed: can't read /boot/grub/grub.conf in servicenode log file #1730
2016-09-27 10:31:33 +08:00
immarvin
e35ef729be fix issue [FVT]: sed: can't read /boot/grub/grub.conf in servicenode log file #1730 2016-09-27 10:26:13 +08:00
penguhyang
e4c0d8c367 diff postscript and postbootscript log (#1832) 2016-09-27 10:20:00 +08:00
Patrick Lundgren
aeaf5a193c Change rhels boot partition size from 256 MB to 512 MB 2016-09-26 10:46:03 -04:00
wangxiaopeng
f66297abc5 issue 1493, we made a change that include the updateflag from /install/postscripts/updateflag.awk. But the shebang in /install/postscripts/updateflag.awk points to the /usr/bin/awk which does not exist in sles11.x installer. This fix is to make a link to the installer shipped awk. 2016-07-07 03:52:01 -04:00
immarvin
547a82d464 fix [DEV] kernel parameters 'console=tty0 console=ttyS0' are not passed to the installed Ubuntu 16.04 LTS node #731@github;enable bootup information display on console during ubuntu 16.04 reboot 2016-07-04 02:24:18 -04:00
immarvin
40e2a50086 rename bar.awk to updateflag 2016-07-03 22:54:15 -04:00
immarvin
05c90d4c47 fix issue [Customer]initrd stuck in loop and fails to get rootimg.gz for stateless image. #921 @github;use /install/postscripts/updateflag.awk as the script to report status in diskless and diskful provision 2016-07-02 22:06:41 -04:00
immarvin
4967f9b80c save the content of the partition file to xcat.log to inspect the partition scheme after installation 2016-06-27 22:24:52 -04:00
immarvin
00584f5370 fix issue [Customer] bootloader is not grabbing the addkcmdline from osimage #1185 2016-06-24 04:26:09 -04:00
yangsong
9094c3bdc1 Merge pull request #1321 from cxhong/uuid
change syntax of /dev/null
2016-06-17 01:11:07 -05:00
Casandra Qiu
6eba8b9287 change syntax of /dev/null 2016-06-16 14:37:50 -04:00
yangsong
665b698acd Merge pull request #1196 from penguhyang/ubuntu_diskfull_log_to_mn
fix #954, ubuntu, diskfull, enable the pre-script log and post-script log can be forwarded to the MN
2016-06-15 03:35:29 -05:00
penguhyang
e2b3183cfb fix #954, ubuntu, diskfull, enable the pre-script log and post-script-log can be forwarded to the MN 2016-06-15 03:55:53 -04:00