2. Configuration

REANA Commons configuration.

reana_commons.config.CVMFS_REPOSITORIES = {'alice-ocdb.cern.ch': 'alice-ocdb', 'alice.cern.ch': 'alice', 'ams.cern.ch': 'ams', 'atlas-condb.cern.ch': 'atlas-condb', 'atlas-nightlies.cern.ch': 'atlas-nightlies', 'atlas.cern.ch': 'atlas', 'cms-ib.cern.ch': 'cms-ib', 'cms-opendata-conddb.cern.ch': 'cms-opendata-conddb', 'cms.cern.ch': 'cms', 'compass-condb.cern.ch': 'compass-condb', 'compass.cern.ch': 'compass', 'cvmfs-config.cern.ch': 'cvmfs-config', 'fcc.cern.ch': 'fcc', 'geant4.cern.ch': 'geant4', 'ilc.desy.de': 'ilc-desy', 'lhcb-condb.cern.ch': 'lhcb-condb', 'lhcb.cern.ch': 'lhcb', 'na61.cern.ch': 'na61', 'na62.cern.ch': 'na62', 'projects.cern.ch': 'projects', 'sft.cern.ch': 'sft', 'unpacked.cern.ch': 'unpacked'}

CVMFS repositories available for mounting.

reana_commons.config.INTERACTIVE_SESSION_TYPES = ['jupyter']

List of supported interactive systems.

reana_commons.config.K8S_DEFAULT_NAMESPACE = 'default'

Kubernetes workflow runtime default namespace

reana_commons.config.K8S_MAXIMUM_CONCURRENT_JOBS = 10

Upper limit on concurrent jobs running in the cluster.

reana_commons.config.MQ_CONNECTION_STRING = 'amqp://test:1234@message-broker.default.svc.cluster.local//'

Message queue (RabbitMQ) connection string.

reana_commons.config.MQ_DEFAULT_EXCHANGE = ''

Message queue (RabbitMQ) exchange.

reana_commons.config.MQ_DEFAULT_FORMAT = 'json'

Default serializing format (to consume/produce).

reana_commons.config.MQ_DEFAULT_QUEUES = {'jobs-status': {'durable': False, 'exchange': '', 'routing_key': 'jobs-status'}, 'workflow-submission': {'durable': True, 'exchange': '', 'routing_key': 'workflow-submission'}}

Default message queues.

reana_commons.config.MQ_PASS = '1234'

Message queue (RabbitMQ) password.

reana_commons.config.MQ_PORT = 5672

Message queue (RabbitMQ) service port.

reana_commons.config.MQ_PRODUCER_MAX_RETRIES = 3

Max retries to send a message.

reana_commons.config.MQ_URL = 'message-broker.default.svc.cluster.local'

Message queue (RabbitMQ) server host name.

reana_commons.config.MQ_USER = 'test'

Message queue (RabbitMQ) user name.

reana_commons.config.OPENAPI_SPECS = {'reana-job-controller': ('http://0.0.0.0:5000', 'reana_job_controller.json'), 'reana-server': ('http://0.0.0.0:80', 'reana_server.json'), 'reana-workflow-controller': ('http://0.0.0.0:5000', 'reana_workflow_controller.json')}

REANA Workflow Controller address.

reana_commons.config.REANA_CVMFS_PVC_TEMPLATE = {'metadata': {'name': ''}, 'spec': {'accessModes': ['ReadOnlyMany'], 'resources': {'requests': {'storage': '1G'}}, 'storageClassName': ''}}

CVMFS persistent volume claim template.

reana_commons.config.REANA_CVMFS_SC_TEMPLATE = {'metadata': {'name': ''}, 'parameters': {'repository': ''}, 'provisioner': 'csi-cvmfsplugin'}

CVMFS storage claim template.

reana_commons.config.REANA_LOG_FORMAT = '%(asctime)s | %(name)s | %(threadName)s | %(levelname)s | %(message)s'

REANA components log format.

reana_commons.config.REANA_LOG_LEVEL = 40

Log verbosity level for REANA components.

reana_commons.config.REANA_STORAGE_BACKEND = 'local'

Storage backend deployed in current REANA cluster [‘local’|’cephfs’].

reana_commons.config.REANA_USER_SECRET_MOUNT_PATH = '/etc/reana/secrets'

Default mount path for user secrets which is mounted for job pod & workflow engines.

reana_commons.config.REANA_WORKFLOW_UMASK = 2

Umask used for workflow worksapce.

reana_commons.config.WORKFLOW_RUNTIME_USER_GID = 0

Default group id for running job controller/workflow engine apps & jobs.

reana_commons.config.WORKFLOW_RUNTIME_USER_NAME = 'reana'

Default OS user name for running job controller.

reana_commons.config.WORKFLOW_RUNTIME_USER_UID = 1000

Default user id for running job controller/workflow engine apps & jobs.