DGS (General)takahiro.yamamoto - 4:03 Friday 27 November 2026 (37934)
Print this reportBug? in the auto-generated channel list by guardianWhen the new guardian node is enabled or the guardian node is disabled, the channel list related to guardian node is automatically updated. But the channel list generated by the new version of guardian is not compatible with one expected by DAQ. Channel list itself is correct but necessary header lines are missed in the channel list file.
Due to this issue, daqd cannot be launched when the daqd was restarted in klog#37933. Because I have no enough time to investigate it in detail, I manually fixed the channel list file generated by guardian and then I manually re-launched the daqd to recover DAQ.
Though all system is now running fine, this issue will be reproduced when daqd will be restarted after guardctrl {enable|disable} will be executed until this issue will be removed. Please remember this fact and let DGS folks know if you will face this issue.
Comments to this report:
takahiro.yamamoto - 22:44 Friday 27 November 2026 (37938)
Print this reportFinally, I found this issue came from incompatibility of old DAQ version and the new guardian.
I decided to try an operation to add header lines to K1EDCU_GRD_AUTOGEN.ini generated by Guardian as K1EDCU_GRD.ini read by daqd.
Considering the frequency of creation and deletion of guardian node, this operation is acceptable. If I get tired of this operation, I might implement a feature where DAQ Guardian checks the K1EDCU_GRD.ini and K1EDCU_GRD_AUTOGEN.ini files and automatically updates the K1EDCU_GRD.ini file before running `daqd restart`.
Because of the compatibility with DAQ-v4.0 or higher, the format of Guardian channel list file was updated and the compatibility with DAQ-v3.1.1 was lost at that time.
It's not difficult to make a compatibility update with v3.1.1 but it's hard to keep compatibility with both v3.1.1 and v4.x at the same time because guardian cannot know which version of DAQ system is running in same network. So I gave up to make MR to master HEAD of guardian project.
Another solution is to use forked project but it might requires much more effort for tracking the future upgrade than to operate as adding header lines by an external script. So I will try to manage them by manual operation with the external script for a while.