Fix: User must be root
Summary
After experimentation, csi-provisioner must run as root for any CSI interface to properly attach volumes to hosts.
Steps to reproduce
Deploy any CSI implementation (EBS CSI driver or other, all of which require this image) and see that the pods do not correctly deploy.
What is the current bug behavior?
Pods running with the csi-provisioner will fail to fully come up properly. They will not be able to correctly.
What is the expected correct behavior?
EBS CSI driver should be able to come up and allow for volume attachment.
Relevant logs and/or screenshots
Normal WaitForFirstConsumer 40s persistentvolume-controller waiting for first consumer to be created before binding
Normal ExternalProvisioning 6s (x5 over 39s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "ebs.csi.aws.com" or manually created by system administrator
Possible fixes
Run as root user was the only fix we found that allowed it to work.
Defintion of Done
-
Bug has been identified and corrected within the container