Xiaopeng Wang
f874f3a22b
Merge pull request #852 from hu-weihua/chxcat-XCAT
...
Fix issue 836 Uniform xcatd service naming, using lowercase
2016-03-28 20:25:59 +08:00
hu-weihua
48c541beb7
uniform xcatd service naming, using lowercase
2016-03-25 01:28:16 -04:00
chenglch
306e66e4cc
Do not kill db process if immediate child process exists
...
This change includes the following:
- Replace the signal number with signal name.
- Stop db process after all the immediate children stopped.
- Fix a defect in TableUtils when closing the table object.
- Enhance the is_process_exists subroutine in utils.
Close issue: #537
2016-03-24 22:46:12 -04:00
yangsong
f5b4be3ed7
Merge pull request #744 from cxhong/swkits
...
Detect Error case in the xcatd and avoid loop in the updateflag.awk
2016-03-04 10:57:23 +08:00
Casandra Qiu
b07e268642
modify error messages
2016-03-03 14:50:25 -05:00
neo954
56dd49f3a7
Merge pull request #741 from hu-weihua/umask
...
Fix defect #698 Default permissions on commands.log are 644, should change to 600
2016-03-03 14:00:30 +08:00
hu-weihua
50efb51743
modify depending on gongjie's new comment
2016-03-03 00:48:16 -05:00
chenglch
7fd99442c7
Fix race condition issue when printing message in xcatd
...
related-issue: #729
related-commit: #742
2016-03-01 04:53:50 -05:00
hu-weihua
3d016498ff
modify depening on GongJie's comments
2016-02-27 02:20:04 -05:00
Casandra Qiu
be0bcf7451
For issue #712 Detect Error case in the xcatd and avoid loop in the
...
updateflag.awk
2016-02-26 13:23:20 -05:00
chenglch
f236675dec
Fix issue #729 : xcat do not print message under heavy load scenario
...
The root cause of this issue is the select time out when polling the
pipe socket. When timeout occurs, child process exit before printing
the message at the parent process side.
close-issue: #729
2016-02-26 03:13:16 -05:00
hu-weihua
48e64132ed
add umask for command log file /var/log/xcat/commands.log
2016-02-25 23:22:34 -05:00
hu-weihua
f9a12dfcd9
using dirname function
2016-01-28 03:59:15 -05:00
hu-weihua
cb0af287a5
change mkdir to mkpath
2016-01-28 03:08:24 -05:00
hu-weihua
c4e0b0c199
fix issue#667
2016-01-28 02:37:16 -05:00
chenglch
c6e663d1fd
Use fifo pipe to enhance getadapter
...
Currently the getadapter implementation store the nics information
in multiple files. This implementaion will store the records in the
database and add the following changes:
1. Add taskstate table to record the getadapter request.
2. Add route_request hook in xcatd to avoid of too much process.
3. Add adapterinfo column to keep the adapter information.
4. Use fifo pipe to send/recv the adapter message and wake up the waiting process.
5. Use alarm signal to handle the timeout event.
2016-01-25 01:53:54 -05:00
immarvin
43b5904499
fix defect 94 [DEV]<xcatconfig -d> failed to determine the correct site.forwarder
2016-01-14 00:20:12 -05:00
wangxiaopeng
ec4ce73d5b
Issue 569: check the value of site.xcatsslversion before setting default value
2016-01-06 06:03:23 -05:00
huweihua
2c5829e27d
modify defect 555
2015-12-27 23:45:00 -05:00
Xiaopeng Wang
83e4df505e
Merge pull request #301 from zet809/bmcdiscovery_add_flag_t
...
add flag -t for bmcdiscovery to generate a temp bmc node
2015-11-05 16:11:02 +08:00
Xiaopeng Wang
24f35d604a
Merge pull request #283 from samveen/xcatd_improvements
...
`xcatd` improvements
2015-11-05 15:27:27 +08:00
ertaozh
861164068b
add flag -t for bmcdiscovery to generate a temp bmc node
2015-11-01 21:31:32 -05:00
Samveen Gulati
029943fcac
[xCAT-server]xcatd: PerlTidy + manual alignment of closing };
expressions (evals, subroutine assignments)
2015-10-28 11:18:33 +00:00
Samveen Gulati
07f02d62cf
[xCAT-server]xcatd: add space between #
and comments, remove space between #
and commented code
2015-10-28 09:31:10 +00:00
penguhyang
8926a2a217
correct mknb will run twice during install xcat
2015-10-23 06:33:54 -04:00
Samveen Gulati
be181a807b
[xCAT-Server]Remove unnecessary if
and associated variable from xcatd
2015-10-18 04:31:30 +00:00
huweihua
e6c157b95b
fix bug#155 There are errors when restart xcatd for UDP service's bug
2015-10-15 03:45:30 -04:00
huweihua
58e825691f
fix bug#203 xdsh could not recognize single quote mark
2015-09-27 23:10:11 -04:00
Casandra Qiu
3f40bfa211
fixed issue #119 xCAT installation trashes customer's original ntp.conf
2015-09-24 10:12:31 -04:00
penguhyang
5326ece7cd
if node is -h then exit 0 else exit 1
2015-09-21 04:30:27 -04:00
penguhyang
6d347f66dd
correct code to return right value
2015-09-18 02:24:03 -04:00
huweihua
45a31d9bb8
modify some code depending on xiaopeng's comments
2015-09-15 04:19:55 -04:00
huweihua
c7f3e813e4
fix bug#160-165 and make commands.log support rotate mechanism
2015-09-13 05:31:45 -04:00
huweihua
fc53bb3b3c
fix bug#140 offline trouble shooting time stamp wrong
2015-09-01 22:38:56 -04:00
huweihua
e7c5580a10
change fork ot xfork for command log process
2015-08-28 04:12:14 -04:00
huweihua
6414da0d34
modify indent
2015-08-28 02:55:49 -04:00
huweihua
efa45a81d9
command log process support restartxcatd and fix some response parsing error
2015-08-28 02:20:08 -04:00
huweihua
4058f6b60a
fix typo, lost a {
2015-08-23 22:37:51 -04:00
huweihua
69ebde1728
fix some quit problem of command log writer process
2015-08-20 20:53:57 -04:00
huweihua
efb4aff9a5
enhance command log process for handling TERM signal
2015-08-18 23:45:36 -04:00
huweihua
4dcbe0ea48
modify many things depending on xiao peng and victor's comments
2015-08-18 04:17:37 -04:00
huweihua
8cd8818d5b
record command output and add trace information
2015-08-13 23:27:02 -04:00
huweihua
ca782a9400
add /var/log/xcat/ to collect file list
2015-07-26 22:42:10 -04:00
WangXiaoPeng
921b7d5ea3
defect 4759: Fix the issue that ssl_listener used up all cpu.
2015-07-24 01:17:36 -04:00
Jarrod Johnson
f00a23aa58
Ignore a dead UDP handler
...
If the UDP handler is killed (for some reason),
allow the SSL listener to continue.
2015-07-23 14:19:05 -04:00
immarvin
fd62dadd02
fix defect 4727 [fvt]runcmdinstaller could not work on sles12; fix defect 4726 [fvt]2.10:ubruncmdinstaller could not work on untuntu; fix defect 4724 [fvt]2.10:runcmdinstaller should add -h options and man page
2015-07-07 22:56:31 -04:00
zhaoertao
81438d91d2
enhance of setting up certificate for docker host
2015-07-03 04:25:08 -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
WangXiaoPeng
0827547cea
fixed the issue that token expire time was one month ealier than the correct time
2015-06-18 04:15:21 -04:00