* Fix the issue 'install monitor' exit unexpected (#4582).
- add eval block to cover all possible codes which might die in do_installm_service
- add more logs in install monitor to record useful inforamtion
- add sleep 0.01 to avoid CPU too high
- fix the wrong timeout usage (alarm - die)
- recover the default INT/TERM singal handler to avoid UDP listener will quick when kill 'install monitor'
* Avoid SSL CPU 100% when hit max open file number
- 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
This commit disable the ACK mechanism in xCATd as now it will cause the race condition
if multiple child processes are waiting for the response.
fix-issue: #3698
This patch redesign the original getadapter plugins. Currently,
getadapter do not work as a common command but only a chain command
works during discovery.
This patch change the `sslauthority` to `sslcacertificatefile` to
support the latest version of conserver. It also add scripts to
update the `conserver.cf` and $HOME/.consolerc to make sure
migration works correctly.
implement: #3239
* Add trace point for perf tool in xcatd (#903)
This patch aims to enable nytprof library to analyze the performance
of xcat code in statement level.
- Add perf trace point in xcatd
- Add sleep time for db prcess to solve the race condition when
- perf instraction is used.
More reference
To enable prof:
perl -dt:NYTProf /opt/xcat/sbin/xcatd -f
Some perf test sample:
https://github.com/chenglch/xcatperf
* refine the performance of makedhcp (#2901), it including:
- refine the code logic in getSNList to get better performance
- refine the getipaddr, cache the dns lookup result
- refine noderangecontainsMn
- refine ishostinsubnet
'xCAT::MsgUtils->trace' will retrive data from xCAT site table,
at this time timeout event happens and alarm signal received,
current process will exit unexpectly.
partial-bug: pmr 87739,077,724
Currently xcat rest service is running with apache user who do
not have the privilege to manage some local resource like credential
files needed by xcat web ui to get the conserver access.
This patch add scripts in xcatconfig to generate credential files
for conserver user. This patch also add a work around framework for
xcat restapi to provide the interface to get or set the system resource
so that restapi with apache privilege can retrieve the credential files.