Skip to content

Support for APEL AMS (Fixes BUGZ-4016)

nordugrid-arc-bot requested to merge andrii/arc:apel-ams into arc-dev

Begin arcbot message
This merge request is automatically copied from !1168 (merged) orginally made by @andrii
End arcbot message

Reworking APEL accounting publishing to support ARGO AMS messaging protocol.

Summary of changes:

  • redistributed python libraries are moved under 'arc.thirdparty' to be explicit about the fact that code is not maintained by ARC developers
  • redistributed SSM bumped to latest 3.2.0 + python3 known fix. Import statements are reworked for ARC imports
  • new redistribured ARGO AMS python library
  • all this extra libs goes now to dedicated subpackage nordugrid-arc-thirdparty-apel along with package dependencies definitions
  • new apel_protocol parameter introduced in arc.conf and passed down to SSM

First test STOMP is still working:

  1. alter APEL target config:
[arex/jura/apel: KEEPOLDNAME]
# keep everything but add 
apel_protocol = STOMP
  1. Install nordugrid-arc-thirdparty-apel subpackage.

HINT (and something to test as well) If you have apel block defined arcctl service start --as-configured should install this package automatically.

Test publishing to AMS:

  1. alter APEL target config:
[arex/jura/apel: KEEPOLDNAME]
# change targeturl
targeturl = https://msg.argo.grnet.gr
# delete 'topic' and 'apel_protocol' to rely on defaults that are now set for AMS
# keep everything else

The nordugrid-arc-thirdparty-apel subpackage should be already installed after previous step.

More things to test:

  1. Republishing from arcctl
  2. How it "works" without nordugrid-arc-thirdparty-apel installed
  3. Enable debug logging and check SSM and AMS modules are verbose as well
Edited by Maiken

Merge request reports

Loading