waldur-site-agent

Installation Guide

This guide covers the complete installation and setup process for Waldur Site Agent.

Prerequisites

Waldur Offering Configuration

Before installing the agent, you need to create and configure an offering in Waldur:

Create Offering

Configure Accounting Plan

Enable User Management

Activate Offering

Get Offering UUID

Installation

OS-Specific Installation Guides

For detailed, platform-specific installation instructions:

Recommendation: Ubuntu 24.04 LTS provides the best installation experience with Python 3.12, modern development tools, and fastest setup time.

Basic Installation

pip install waldur-site-agent

Kubernetes Installation (Helm)

To run the agent on Kubernetes instead, install the published Helm chart:

helm repo add waldur https://waldur.github.io/waldur-site-agent
helm repo update
helm install waldur-site-agent waldur/waldur-site-agent

See the chart README for available versions and the full list of configurable values. The rest of this guide covers the package-based installation.

Development Installation

For development or custom plugin work:

# Clone the repository
git clone https://github.com/waldur/waldur-site-agent.git
cd waldur-site-agent

# Install with uv
uv sync --all-packages

# Verify installation
uv run waldur_site_agent --help

Configuration

Create Configuration File

sudo mkdir -p /etc/waldur

sudo curl -L \
https://raw.githubusercontent.com/waldur/waldur-site-agent/main/examples/waldur-site-agent-config.yaml.example \
  -o /etc/waldur/waldur-site-agent-config.yaml

Load Components

Load computing components into Waldur (required for offering setup):

waldur_site_load_components -c /etc/waldur/waldur-site-agent-config.yaml

Create Home Directories (Optional)

If your backend supports and requires home directory creation (any backend declaring supports_user_homedirs, e.g. SLURM), with enable_user_homedir_account_creation left enabled for the offering:

waldur_site_create_homedirs -c /etc/waldur/waldur-site-agent-config.yaml

Plugin-Specific Requirements

SLURM Plugin

MOAB Plugin

MUP Plugin

Verification

Test your installation:

# Check agent help
waldur_site_agent --help

# Test configuration
waldur_site_diagnostics -c /etc/waldur/waldur-site-agent-config.yaml

# Run dry-run mode (if available)
waldur_site_agent -m order_process -c /etc/waldur/waldur-site-agent-config.yaml --dry-run

Next Steps

After installation:

  1. Configure your agent settings in /etc/waldur/waldur-site-agent-config.yaml
  2. Set up systemd services for production deployment
  3. Configure monitoring and logging

See the Configuration Reference and Deployment Guide for detailed next steps.