hashicorp / nomad-driver-podman

A nomad task driver plugin for sandboxing workloads in podman containers
https://developer.hashicorp.com/nomad/plugins/drivers/podman
Mozilla Public License 2.0
224 stars 61 forks source link

build: ensure podman service is active #306

Closed shoenig closed 6 months ago

shoenig commented 6 months ago

It seems the podman package for ubuntu now deactivates podman after install which means the socket activation does nothing. This explains why the Run CI Tests workflow has been completely broken recently.

from a debug branch https://github.com/hashicorp/nomad-driver-podman/actions/runs/7183730982/job/19563150699#step:6:34

 ○ podman.service - Podman API Service
     Loaded: loaded (/lib/systemd/system/podman.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Tue 2023-12-12 15:35:06 UTC; 1min 20s ago
TriggeredBy: ○ podman.socket
       Docs: man:podman-system-service(1)
    Process: 2779 ExecStart=/usr/bin/podman $LOGGING system service (code=exited, status=0/SUCCESS)
   Main PID: 2779 (code=exited, status=0/SUCCESS)
        CPU: 86ms