csi-driver icon indicating copy to clipboard operation
csi-driver copied to clipboard

Attempting to create a volume in Docker Swarm fails

Open tetious opened this issue 6 months ago • 3 comments

TL;DR

When creating a volume as described in the doc linked from the readme, it doesn't error, but never creates the volume. It shows as "pending creation" in volume ls and logs errors in journaldb: "does not implement PluginAddr"

Expected behavior

The volume should be created.

Observed behavior

It isn't created. :)

Minimal working example

  1. Spin up a cluster using the Hetzner Docker image.
  2. Follow the steps in the docs to add and enable the plugin.
  3. Create a volume:
docker volume create --driver hetznercloud/hcloud-csi-driver:swarm --required-bytes 40G --type mount --sharing all --scope single postgres-data --topology-required csi.hetzner.cloud/location=ash
  1. Observe the errors in syslog

Log output

Jul 29 17:35:37 bb-prod-node-1 dockerd[963]: time="2024-07-29T17:35:37.201332112Z" level=info msg="error handling volume" attempt=11 error="plugin for driver \"hetznercloud/hcloud-csi-driver:swarm\" does not implement PluginAddr" module=csi/manager node.id=uqhj7s7qt34saeh896trcm35k volume.id=241uf201u8r5h4bzpjvynwu02

Additional information

Docker version 27.1.1, build 6312585 (From Hetzner's official image) I've tried using v2.8.0 and latest tags for the plugin with the same results.

tetious avatar Jul 29 '24 17:07 tetious