Closed jouvin closed 10 years ago
At this point, all the changes planned have been done... the result is a major rewrite of ncm-cdispd
. It has been deployed on a test system and seems to work but clearly, as pointed in #7, the lack of unit test makes difficult to be very confident in such a rewrite... To address this, I plan to break ncm-cdispd
in 2 parts:
ncm-cdispd
script itself that will be mainly the main loop and the init_components()
function. This part will remain hard to test except by deploying it.package main
) moved to a new package to be installed in /usr/lib/perl
, CDISPD::Utils. This part will be eligible to unit testing and as this is the real workhorse of ncm-cdispd
, this should guarantee that further modifications don't break it.As part of the code cleanup, I'd like to improve the way ncm-cdispd
handles/processes signals to avoid aborting YUM transactions during upgrades. See https://github.com/quattor/configuration-modules-core/issues/242#issuecomment-49515800. Hopefully everything should be ready for 14.8.
I'm going to consider this closed by #11, anything remaining can have new issues opened.
After the important code cleanup done as part of 14.6 (#6), a few more cleanups are still needed in
ncm-cdispd
. This includes: