Closed lmeyemezu closed 7 years ago
Hey @lmeyemezu
Thanks for the bug report.
The first error message /usr/local/bin/flockerctl: 3: read: Illegal option -d
can be ignored.
The script uses read -d
which is a bash specific extension, but the script interpreter is #!/bin/sh
which on Ubuntu is dash
shell. I've created a Jira issue for this problem:
The next error seems to be because you're not pointing flockerctl
at your Flocker certificates directory.
Here's how I run flockerctl
:
flockerctl --control-service $FLOCKER_CONTROL_NODE --certs-path $FLOCKER_API_CERTIFICATES_PATH list
Where FLOCKER_API_CERTIFICATES_PATH=/etc/flocker
(or a directory where you ran flocker-ca
to generate the certificates.)
We should make the error message clearer though.
@lmeyemezu I put a branch up for review which fixes the read -d
warning.
Let me know if that works for you.
Also beware of another known issue with flockerctl
in a docker-swarm
environment.
Hi @wallrj , thanks for replying. you're right ; flocker-api-certificates was wrong. Regards
Hi, I'm trying to use flockerctl as described in https://flocker-docs.clusterhq.com/en/latest/flocker-features/flockerctl.html Message error is below
I'm using docker swarm mode Version: 1.12.3
Any idea ?