-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archiving configuration is ignored by Archiver Appliance #166
Comments
Interesting...Has this been changed in the recent archiver release 2.0.5? |
We are still using CF version 4.7.2 and an old version of AA (dec 2022) I tried to upgrade CF in September to the master branch and found the archiver wasn't being populated but I didn't have time to debug much more so we reverted. Maybe this is related... |
Well, when we were testing Channel Finder release 4.7.3-alpha, we encountered an issue where the AA processor would forward only the first PV to the Archiver, even though multiple PVs should have been forwarded. After some debugging, we concluded that the getPVStatus request to the Archiver used ampersands as separators, whereas the Archiver expected a comma-separated list, as stated in the documentation. Due to the incorrect separators, the Archiver processed and returned the status for only the first PV in the request. This issue was fixed on the master branch, I believe a couple months ago, but if you experienced similar behavior, it might be related to your problem, @tynanford. |
I’ve tried to fix the problem on my own and have opened a PR, in case you decide this issue is to be fixed. |
I am just concerned with the versioning issues. |
Hey!
We've been setting up Channel Finder together with RecSync to pass archiving properties to the Archiver Appliance. The channels with the
archive
property were submitted to the Archiver, however, the exact configuration (i.e. the value of thearchive
property) seems to be ignored by Archiver. The PVs in the Archiver keep getting configured tomonitor@1
, even though a different configuration is specified in thearchive
property. After checking the logs and inspecting with Wireshark, it seems like the problem is in the archivePV request.Here is a Wireshark capture of the archivePV request for an example PV.
The properties in the request are
samplingMethod
andsamplingPeriod
. However, in the Archiver Appliance documentation, these are defined assamplingmethod
andsamplingperiod
.Below are some tests using curl. Here, an archivePV request is performed, followed by a getPVStatus request for the same PV. You can see in the command output that the specified and the returned archiving configurations do not match.
Here is the same request, but using
samplingmethod
andsamplingperiod
instead.For these tests, we are using Archiver Appliance v1.1.0 and a Channel Finder build from the latest commit on master (1e3c29f).
The text was updated successfully, but these errors were encountered: