2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-04 12:07:56 +00:00
Commit Graph

1218 Commits

Author SHA1 Message Date
Victor Hu 8fe3ce628f Added the check for rsyslog and to kill that process to xCATsn 2015-10-13 07:54:59 -04:00
Victor Hu 21d8eeef1c The file is syslogd.pid on older systems, causing the error 'File not found' 2015-10-01 16:35:16 -04:00
Xiaopeng Wang ceb9be565d Merge pull request #198 from immarvin/onsyslog
fix defect # 197 and #196 on "syslog" postscript
2015-09-29 13:23:39 +08:00
immarvin a4e502c1ec listen on tcp port to enable receiving the xcat debug logs forwarded via tcp protocol;comment out the rules which will write logs to /var/log/messages to prevent duplicate logs after script is run;correct the code logic in config_rsyslog_V8 enable the log receiving and forwarding 2015-09-28 22:34:57 -04:00
penguhyang d716e740bc make the run_ps subroutine to be consistent in ubuntu.post xcat.post and xcatdsklspost 2015-09-28 04:04:22 -04:00
GONG Jie ae418d8b11 Send signal HUP to xCAT command log writer while log rotate 2015-09-21 17:24:42 +08:00
Victor Hu 0b9d55fd99 Add to regular expression for ethernet devices to handle the
predictable nic naming conventions that are starting to be used
in the later OS releases
2015-09-21 14:21:34 +08:00
GONG Jie f697fc1e3b Add customize rsyslog configuration files and logrotate configuration file for Debian/Ubuntu package 2015-09-21 14:21:32 +08:00
GONG Jie 4409d69baf Make the restart rsyslogd operation never return non-zero 2015-09-21 14:21:32 +08:00
GONG Jie 3fbae953fe Tweak the spec file of xCAT to add support for rsyslog configuration files and logrotate configuration file. 2015-09-21 14:21:32 +08:00
GONG Jie aea4450ffe Use :fromhost-ip to separate logs from other hosts 2015-09-21 14:21:32 +08:00
GONG Jie f0ea93b2f8 Use :programname as the filter for the logs 2015-09-21 14:21:32 +08:00
GONG Jie bf04dd3a4b Add new configuration files for rsyslog and logrotate 2015-09-21 14:21:32 +08:00
Victor Hu 3d101aba14 Add to regular expression for ethernet devices to handle the
predictable nic naming conventions that are starting to be used
in the later OS releases
2015-09-16 09:46:53 -04:00
yangsong d4244e4710 Merge pull request #166 from neo954/story50687log
Story50687 xCAT customize rsyslog configuration files and logrotate configuration file
2015-09-16 17:45:22 +08:00
GONG Jie d6afada659 Add customize rsyslog configuration files and logrotate configuration file for Debian/Ubuntu package 2015-09-08 18:40:10 +08:00
GONG Jie b041be4d27 Make the restart rsyslogd operation never return non-zero 2015-09-08 18:35:01 +08:00
GONG Jie 0a1576ccad Tweak the spec file of xCAT to add support for rsyslog configuration files and logrotate configuration file. 2015-09-08 18:20:53 +08:00
GONG Jie fab12e164b Use :fromhost-ip to separate logs from other hosts 2015-09-08 15:44:37 +08:00
GONG Jie 4eac8c698d Use :programname as the filter for the logs 2015-09-08 15:43:57 +08:00
Xiaopeng Wang 8f0cb07b44 Merge pull request #116 from SStar1314/master
xCAT provision Sles11.2 will hang-on when excuting remoteshell script
2015-09-02 18:35:53 +08:00
SStar1314 745cf10422 Add comments to the remoteshell ecdsa key generate produrce. 2015-09-02 09:20:28 +08:00
GONG Jie 0caa9ec8d3 Add new configuration files for rsyslog and logrotate 2015-08-27 12:38:09 +08:00
SStar1314 229ee3966c Update remoteshell 2015-08-25 22:25:24 +08:00
Casandra Qiu 0d0f5543de Add wide char * todo the pmatch of output 2015-08-20 14:52:17 -04:00
SStar1314 d6df481949 xCAT provision Sles11.2 will hang-on when excuting remoteshell script
xCAT provision Sles11.2 will hang-on and wait for input passphrase when executing "ssh-keygen -y -f /etc/ssh/ssh_host_ecdsa_key > /etc/ssh/ssh_host_ecdsa_key.pub" command in remoteshell script.

Root Cause: Sles11.2 install openssh-5.1p1-41.57.1 build-in package, and this version openssh don't support ecdsa key type.
So there needs a openssh support check before ecdsa key generation. In remoteshell script, line 283, we will add "ssh-keygen -t ecdsa -y -f /etc/ssh/ssh_host_ecdsa_key -P "" " command and check the result to judge support or not.
2015-08-20 20:57:44 +08:00
Xiaopeng Wang 95086d765a Merge pull request #87 from immarvin/master
fix defect [DEV] Error: either "dev" is duplicate, or "virbr0" is a garbage." message on the 1st reboot after kvmhost installation #86
2015-08-19 14:09:37 +08:00
immarvin 74e0d58a20 correct some logic in the code 2015-08-19 00:32:50 -04:00
immarvin 6446fba030 fix defect [DEV] Error: either "dev" is duplicate, or "virbr0" is a garbage." message on the 1st reboot after kvmhost installation #86 2015-08-18 03:28:19 -04:00
Victor Hu c30255c437 Merge pull request #76 from immarvin/master
fix defect ospkgs can not parse package groups in centos/rhel 5.x #65
2015-08-14 01:59:54 -04:00
immarvin a4c82a1647 correct a typo 2015-08-13 04:20:04 -04:00
immarvin 5eb333038c add more comments;correct the indents;remove the set -x 2015-08-13 03:18:42 -04:00
immarvin a257f059a5 fix defect ospkgs can not parse package groups in centos/rhel 5.x #65 2015-08-12 02:04:18 -04:00
arif 1963697778 Fix configefi script
* use df instead of mount, and check for the disk that /boot is on, rather than /
* use grub2-install if that exists, as that is the default on el7
2015-08-03 09:09:44 +01:00
amy0701 5fcc7aac8e defect4758 updatenode -S generate invalid path in CN sourses.list.d xCAT..path0.list 2015-07-23 06:54:10 -04:00
immarvin 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
immarvin dcbc16a5ab fix defect #4743 [fvt]2.10:after diskless provision could not log in compute node without passord 2015-07-13 04:39:12 -04:00
immarvin 56478bf72e modify msgutil to match msgutil_r 2015-07-10 05:34:09 -04:00
immarvin 420aec57c3 try various log method according to the different version of logger 2015-07-10 04:23:23 -04:00
Casandra Qiu 39cf499532 bugs#4720 makentp should supports synch MN's hwclock 2015-07-09 10:49:45 -04:00
immarvin 4bc51113dd overwritten some stuff in previous commit,recover it 2015-07-08 03:46:11 -04:00
immarvin d2cee739e4 postscript enhancement: enhance log framework of the xcat postscript 2015-07-07 01:25:17 -04:00
immarvin cf329183c8 fix defect 4653 [FVT]:NetworkManager restarted on rh7 CN and which causes installnic losing ip, systemd does not work in chrooted context 2015-07-06 05:10:16 -04:00
zhaoertao f320262f7c enhance the xcatdockerhost certification transmitting process 2015-07-06 02:34:43 -04:00
zhaoertao 81438d91d2 enhance of setting up certificate for docker host 2015-07-03 04:25:08 -04:00
Casandra Qiu f0b3125e0b Bug #4721 makentp -a didn't work on sles11.3 2015-07-02 14:28:19 -04:00
GONG Jie ce9430d280 Fix sourceforge bug #4691 Use a consistent log tag for xCAT log 2015-07-02 14:58:53 +08:00
GONG Jie ca4437270a Fix sourceforge bug #4691 Use a consistent log tag for xCAT log 2015-07-01 18:03:36 +08:00
zhaoertao cc97f6dac3 Enable TLS for docker hosts in setupdockerhost 2015-07-01 02:51:48 -04:00
linggao dfb2bbe249 moved get_nic_extra_params and parse_nic_extra_params functions to xcatlib.sh 2015-06-30 14:21:40 -04:00