costela / docker-volume-hetzner

Docker Volume Plugin for accessing Hetzner Cloud Volumes
MIT License
108 stars 16 forks source link

size option is different for some volumes #12

Open jannishuebl opened 3 years ago

jannishuebl commented 3 years ago

Hi,

thanks for this driver it makes things a lot easier.

It was working for a while very well but since some days this errors shows up for some of my volumes, not all:

Configuration for volume XXXX specifies "size" driver_opt 100, but a volume with the same name uses a different "size" driver_opt (None). If you wish to use the new configuration, please remove the existing volume "XXXX"

It seems like docker looses the size of the volume:

docker volume inspect XXXXX [ { "CreatedAt": "2021-01-20T06:52:53Z", "Driver": "hetzner:latest", "Labels": null, "Mountpoint": "/mnt/649e5e2a28e1ad8fe3edee280141f3480f98cbd36a3e2d117bdec2ed5be00f06", "Name": "XXXX", "Options": null, "Scope": "global", "Status": { "mounted": true } } ]

How can i fix this? Does somebody have similar problems?

Thanks,

Jannis