Skip to content

ssmsend missing dependencies in ubuntu24.04 LTS #409

@mariojmdavid

Description

@mariojmdavid
ssmsend 
2025-10-09 15:37:14,807 - ssmsend - INFO - ========================================
2025-10-09 15:37:14,807 - ssmsend - INFO - Starting sending SSM version 4.0.0.
2025-10-09 15:37:14,807 - ssmsend - INFO - Setting up SSM with protocol: AMS
2025-10-09 15:37:14,807 - ssmsend - INFO - No AMS token provided, using cert/key pair instead.
2025-10-09 15:37:14,807 - ssmsend - INFO - No server certificate supplied.  Will not encrypt messages.
2025-10-09 15:37:14,809 - ssmsend - INFO - Messages will be signed using /DC=org/DC=terena/DC=tcs/C=PT/L=Lisboa/O=Associacao CNCA - Centro Nacional de Computacao Avancada/CN=infra.a.acnca.pt
SSM failed to complete successfully.  See log file for details.
2025-10-09 15:37:14,809 - ssmsend - ERROR - Unexpected exception in SSM. See traceback below.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ssm/agents.py", line 204, in run_sender
    sender = Ssm2(brokers,
             ^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ssm/ssm2.py", line 104, in __init__
    raise ImportError(
ImportError: The Python package argo_ams_library must be installed to use AMS. Please install or use STOMP.
2025-10-09 15:37:14,810 - ssmsend - INFO - SSM has shut down.
2025-10-09 15:37:14,810 - ssmsend - INFO - ========================================

Ubuntu 24.04 LTS
apt install apel-ssm # got version 4.0.0-1

cat /etc/apel/sender.cfg
[sender]
protocol: AMS

[broker]
host: msg.argo.grnet.gr
port: 443
use_ssl: true

[certificates]
certificate: /etc/ssl/hostcert.pem
key: /etc/ssl/hostkey.pem
capath: /etc/grid-security/certificates

[messaging]
ams_project: accounting
destination: eu-egi-cloud-accounting
path: /var/spool/apel/outgoing
path_type: dirq

[logging]
logfile: /var/log/ssmsend.log
level: INFO
console: true

no deb package argo-ams-library

If I do a venv and pip install argo-ams-library, then I am not able to also pip install apel-ssm since it's not in pypi

as such the installation either with deb packages or pip is not possible in ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions