wetopi / docker-volume-rbd

Docker Engine managed plugin to manage RBD volumes.
MIT License
69 stars 18 forks source link

RBD_CONF_KEYRING_KEY" not found #12

Closed chiel2603 closed 4 years ago

chiel2603 commented 4 years ago

With command: docker plugin install wetopi/rbd --alias=wetopi/rbd LOG_LEVEL=1 RBD_CONF_KEYRING_USER=client.<name> RBD_CONF_KEYRING_KEY=<key>

I get a: Error response from daemon: setting "RBD_CONF_KEYRING_KEY" not found in the plugin configuration

chiel2603 commented 4 years ago

Plug-in does not remind settings even with the "docker plugin set" command and within the config file. I see RBD_CONF_KEYRING_KEY is not needed

sitamet commented 4 years ago

Try something like this:

docker plugin install --grant-all-permissions wetopi/rbd:2.0.1 --alias=wetopi/rbd \
LOG_LEVEL=1 \
RBD_CONF_CLUSTER={{rbd_cluster}} \
RBD_CONF_KEYRING_USER={{rbd_keyring_user}} \
RBD_CONF_POOL=mypoolname