Description of problem:
Only one external attacher must be running for a CSI driver. Two or more of them will conflict with each other and all of them will try to attach one volume to a node.
There should be some sort of leader election so only one attacher attaches a volume.
Version-Release number of selected component (if applicable):
Upstream PR: https://github.com/kubernetes-csi/external-attacher/pull/48
I've built csi-attacher-0.2.0-3.git27299be.el7.src.rpm, it should propagate to Docker images and puddles in a few days.
To be clear, it's possible to use external attacher in a StatefulSet as today, I'll update docs to use Deployments once there are images with the new attacher.
I noticed csi-attacher-container-v3.10.0-0.47.0.0 image with csi-attacher-0.2.0-3.git27299be.el7.x86_64.rpm was built yesterday and it's availabe in out registry, so you can test it. I updated https://github.com/openshift/openshift-docs/pull/8783 and removed the StatefulSet to simplify the deployment.
Verified in openshift:
# uname -a
Linux qe-piqin-master-etcd-nfs-1 3.10.0-862.3.2.el7.x86_64 #1 SMP Tue May 15
18:22:15 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.