Closed chris-crone closed 7 years ago
Problem: When installing the plugin to use NetApp Cloud ONTAP for AWS, I found that the plugin requires iSCSI even if it is not going to be used:
docker plugin install netapp/ndvp-plugin:17.07 --alias netapp --grant-all-permissions 17.07: Pulling from netapp/ndvp-plugin ab95e9667701: Download complete Digest: sha256:234a87ad1bf2167dae21646c688c977c7dae0b0ec1c2d69730048fea20e4d3f7 Error response from daemon: rpc error: code = 2 desc = oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/etc/iscsi\\\" to rootfs \\\"/var/lib/docker/plugins/37493168544b01f8191021a6ad683ffada62ff1463587e0971b53260dc01bdc8/rootfs\\\" at \\\"/etc/iscsi\\\" caused \\\"stat /etc/iscsi: no such file or directory\\\"\""
The host (where the plugin is installed) is a default RHEL 7.3 instance on AWS.
Workaround: Install iSCSI requirements and then install plugin:
sudo yum install -y lsscsi iscsi-initiator-utils sg3_utils device-mapper-multipath docker plugin install netapp/ndvp-plugin:17.07 --alias netapp --grant-all-permissions 17.07: Pulling from netapp/ndvp-plugin ab95e9667701: Download complete Digest: sha256:234a87ad1bf2167dae21646c688c977c7dae0b0ec1c2d69730048fea20e4d3f7 Status: Downloaded newer image for netapp/ndvp-plugin:17.07 Installed plugin netapp/ndvp-plugin:17.07
This is a duplicate of issue #82 and has been addressed in commit 1b61a07. Another easier workaround is to simply create an empty /etc/iscsi directory.
Problem: When installing the plugin to use NetApp Cloud ONTAP for AWS, I found that the plugin requires iSCSI even if it is not going to be used:
The host (where the plugin is installed) is a default RHEL 7.3 instance on AWS.
Workaround: Install iSCSI requirements and then install plugin: