Skip to content

Prometheus fails to start as it is setup to run with systemd which isn't available in the docker container #45

@h0t1ce

Description

@h0t1ce

Prometheus is installed when activating agent-based monitoring for a cluster. However it fails to start the service as systemd is not available in the container.

Here are the logs:

[13:46:33]:clustercontrol: Error System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down .
[13:46:33]:clustercontrol: Command was systemctl --no-ask-password daemon-reload.
[13:46:33]:clustercontrol: Execution failed with return code 1.
[13:46:02]:clustercontrol:9090: Installing systemd file /etc/systemd/system/prometheus.service.
[13:46:02]:clustercontrol:9090: Found prometheus version: 2.29.2
[13:45:55]:clustercontrol: SUCCESS: 0 rule files found
[13:45:55]:clustercontrol: Checking /etc/prometheus/prometheus.yml
[13:45:52]:clustercontrol:9090: Verifying /etc/prometheus/prometheus.yml
[13:45:48]:clustercontrol:9090: Using data directory: /var/lib/prometheus
[13:45:48]:clustercontrol:9090: Deploying 'prometheus'.

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