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
72d99850e2
Ensure mypostscript has permission 700 ( #3847 )
...
Only root needs to run this script
2017-09-07 09:18:35 +08:00
8c663f946b
Filter non-content lines when generating mypostscripts
2017-08-17 10:49:27 +08:00
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
37f9e770f4
fix issue postscript fails and status=booted. #2665
2017-03-22 23:20:29 -04:00
0cda7b5d02
Fix double logging of postscript output in /var/log/xcat/xcat.log
2017-02-24 13:05:40 -08:00
c4a058c6d5
refine the conditional code logic on swith variables site table
2016-11-22 03:46:05 -05:00
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
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
bbcea8b16d
fix differentiate the log entries of postscript and postbootscript ( #1946 )
2016-10-12 14:26:23 +08:00
4cf9c18fc7
Revert "differentiate the log entries of postscript and postbootscript " ( #1927 )
2016-09-29 17:27:59 +08:00
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
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
e4c0d8c367
diff postscript and postbootscript log ( #1832 )
2016-09-27 10:20:00 +08:00
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
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
6eba8b9287
change syntax of /dev/null
2016-06-16 14:37:50 -04:00
3b9eddc6d2
Add uuid into /opt/xcat/xcatinfo
2016-06-13 14:40:50 -04:00
f77b374358
fix issue#1162@github, correct a code logic error
2016-05-20 02:23:55 -04:00
806c697a56
fix issue#929@github,service network restart in <post-install scripts> might break the service dependecy and will cause conflict between YaST2-Second-Stage.service and xcatpostinit1 services
2016-05-11 10:05:38 -04:00
de22c82227
shebang of xcatinstallpost generated by post.xcat not in the beginning
2016-04-07 04:46:09 -04:00
c6d543ad42
make a fixed value scope for xcatdebugmode
2016-03-25 05:45:38 -04:00
97e29171ba
split the post.ubuntu and upgrade the post.xcat
2016-03-15 02:59:31 -04:00
59d754aa44
improve the post.xcat to make the ouput clean
2016-01-18 03:25:05 -05:00
486a5239a8
post.xcat restructure
2015-12-20 22:22:18 -05:00
74ba9ef631
Merge pull request #429 from neo954/story50687log
...
Dirty hack, fix the permission of direcotry /var/log/xcat
2015-11-23 21:16:38 +08:00
c4367da51e
Dirty hack, fix the permission of direcotry /var/log/xcat
2015-11-23 14:40:51 +08:00
4388100166
Merge pull request #326 from jjohnson42/master
...
If TFTPDIR does not begin with /, correct it
2015-11-05 13:28:23 +08:00
11b3c7d2ec
correct a typo
2015-11-05 00:17:54 -05:00
977f88c293
fix issue #97 [fvt]2.11:still could not get l full debuginfo in management node for diskless provision after xcatdebugmode=1
2015-10-30 02:03:46 -04:00
96144aabbb
If TFTPDIR does not begin with /, correct it
...
TFTPDIR could be set without a leading /. Support
this syntax by putting a slash in front and hoping
for the best
2015-10-29 15:28:59 -04:00
e0fab6d9c4
check the postscripts before running it with 'bash -x' upgrade
2015-10-19 05:07:42 -04:00
28533f9411
check the postscripts before running it with 'bash -x'
2015-10-19 03:54:53 -04:00
d716e740bc
make the run_ps subroutine to be consistent in ubuntu.post xcat.post and xcatdsklspost
2015-09-28 04:04:22 -04:00
8607edffce
fix defect #4739 [fvt]2.10:still have debug info in ubuntu compute node's xcat log without xcatdebugmode set;fix defect #4745 [FVT]updatenode return some err message when postcripts having parameters
2015-07-15 02:48:15 -04:00
d2cee739e4
postscript enhancement: enhance log framework of the xcat postscript
2015-07-07 01:25:17 -04:00
f0987c908f
fix for bug 4374: support running postscripts under directories in /intall/postscripts/
2013-11-12 16:42:03 +08:00
79ad455b31
fix defect #4253 [DEV] the substitution bug in post.xcat
2014-08-21 00:08:37 -07:00
61ce49e627
defect 4133: continue the fix for the xml escape char conversion when getting mypostscript
2014-05-26 01:18:28 -04:00
427e91463e
defect 4133: transfer the xml specific character which starts with & to general format
2014-05-20 07:59:01 -04:00
71ed00d1a4
fix defect #3997 node reinstall loop when site.nodestatus=0 Edit
2014-04-29 00:22:25 -07:00
95a3d8ef3c
add the centos6.5 discid info, fix a problem in post.xcat
2014-03-25 17:17:00 -05:00
4fb578678c
bug3872: stay on 'booting' when installing sles10
2013-11-04 22:50:19 -08:00
d86b8b8413
remove version 2
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 18:15:42 +00:00
621ad77911
fixed bug 3259, have the addsiteyum be called before running the postscripts, the repos might be needed by some other user customized scripts.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:44:52 +00:00
10ad3b6945
fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:05:27 +00:00
845774a571
fixed a defect # 3398 updatenode -P fails if hostname on the node is FQDN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 22:32:17 +00:00
8612355df9
Append rather than prepend xcatpost to PATH
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:56:58 +00:00
a60b0c597d
fixed bug 3291. in Linux, if the precreatemypostscripts is not set or set to 0 in site table, it will get the mypostscript.nodename fistly. If not get it, use getpostscript.awk version2 to generate the mypostscript file named mypostscript.nodename.tmp, then get it
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:31:00 +00:00
7a62794c0f
make postbootscripts work on sles11 diskfull installation,and allow the admin to specify RUNBOOTSCRIPTS=yes which will trigger the post boot scripts on a reboot of disk full nodes.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:48:09 +00:00