Can't get Nutanix docker volume plugin to work

Hi everyone,

I’m using Nutanix and Docker togather. I want to persist data from docker container to Nutanix volume (ABS).

I look at docker store and found Nutanix DVP (Docker Volume Plugin) which will allow docker to create volume inside Nutanix cluster remotely.

Now come to the setup
Nutanix cluster running in Intranet Network which mean all VM create inside cluster will have to access Internet via corporate Proxy.

OS: CentOS 7.3
Docker version: 17.03.1-ce, build c6d412e
SELinux: Disabled

Docker setup

[root@swarm01 docker]# cat /etc/systemd/system/docker.service.d/http-proxy.conf     
[Service]
Environment="HTTP_PROXY=http://172.19.37.21:80/" "HTTPS_PROXY=http://172.19.37.21:80/" "NO_PROXY=172.19.0.0/16"

YUM setup

[root@swarm01 docker]# more /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
ip_resolve=4
proxy=http://172.19.37.21:80/

Here is plugin page
https://store.docker.com/plugins/b0cd9eca-edca-4024-8c98-f2bd6500ae54?tab=description

I have installed all required package on Docker host and start docker plugin command to pull plugin from store which is successfully.

[root@swarm01 docker]# docker plugin install store/ntnx/nutanix_volume_plugin:1.0 \
PRISM_IP="172.19.103.20" DATASERVICES_IP="172.19.103.19" \
PRISM_USERNAME="testuser" PRISM_PASSWORD="testpass" \
DEFAULT_CONTAINER="DOCKER" --alias nutanix
Plugin "store/ntnx/nutanix_volume_plugin:1.0" is requesting the following privileges:
 - network: [host]
 - mount: [/dev]
 - mount: [/lib/modules]
 - mount: [/etc/iscsi]
 - mount: [/var/lock/iscsi]
 - mount: [/proc]
 - allow-all-devices: [true]
 - capabilities: [CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_IPC_LOCK CAP_IPC_OWNER CAP_NET_ADMIN CAP_MKNOD CAP_SYS_MODULE]
Do you grant the above permissions? [y/N] y
1.0: Pulling from store/ntnx/nutanix_volume_plugin
3543caf18bb6: Download complete 
Digest: sha256:7b88a12ddf0663779f5ab0afc370693d88f644d2281e6ff7dd1315571b9cd602
Status: Downloaded newer image for store/ntnx/nutanix_volume_plugin:1.0
Installed plugin store/ntnx/nutanix_volume_plugin:1.0
[root@swarm01 docker]# docker plugin ls
ID                  NAME                DESCRIPTION                        ENABLED
b727ad83115f        nutanix:latest      Nutanix volume plugin for docker   true
[root@swarm01 docker]# 

Everything look fine here. But I found error from docker daemon log.

Apr 07 17:57:33 swarm01 dockerd[74292]: time="2017-04-07T17:57:33+07:00" level=info msg="+ echo 'Installing required packages in docker_run'" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db75
Apr 07 17:57:33 swarm01 dockerd[74292]: time="2017-04-07T17:57:33+07:00" level=info msg="+ yum install -y iscsi-initiator-utils" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:57:33 swarm01 dockerd[74292]: time="2017-04-07T17:57:33+07:00" level=info msg="Installing required packages in docker_run" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:57:33 swarm01 dockerd[74292]: time="2017-04-07T17:57:33+07:00" level=info msg="Loaded plugins: fastestmirror, ovl" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:57:35 swarm01 dockerd[74292]: time="2017-04-07T17:57:35.113486614+07:00" level=info msg="agent: found node update" module="node/agent"
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was" plu
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="14: curl#7 - \"Failed to connect to 2604:1580:fe02:2::10: Network is unreachable\"" plugin=b727ad83115f5fd047db1c9e05765
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg=" One of the configured repositories failed (Unknown)," plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg=" and yum doesn't have enough cached data to continue. At this point the only" plugin=b727ad83115f5fd047db1c9e05765abfb4f
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg=" safe thing yum can do is fail. There are a few ways to work \"fix\" this:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="     1. Contact the upstream for the repository and get them to fix the problem." plugin=b727ad83115f5fd047db1c9e05765ab
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="     2. Reconfigure the baseurl/etc. for the repository, to point to a working" plugin=b727ad83115f5fd047db1c9e05765abfb
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        upstream. This is most often useful if you are using a newer" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd1
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        distribution release than is supported by the repository (and the" plugin=b727ad83115f5fd047db1c9e05765abfb4f240
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        packages for the previous distribution release still work)." plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd19
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="     3. Run the command with the repository temporarily disabled" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="            yum --disablerepo=<repoid> ..." plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="     4. Disable the repository permanently, so yum won't use it by default. Yum" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        will then just ignore the repository until you permanently enable it" plugin=b727ad83115f5fd047db1c9e05765abfb4f
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        again or use --enablerepo for temporary usage:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82d
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="            yum-config-manager --disable <repoid>" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db7597
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        or" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="            subscription-manager repos --disable=<repoid>" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="     5. Configure the failing repository to be skipped, if it is unavailable." plugin=b727ad83115f5fd047db1c9e05765abfb4
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        Note that yum will try to contact the repo. when it runs most commands," plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        so will have to try and fail each time (and thus. yum will be be much" plugin=b727ad83115f5fd047db1c9e05765abfb4
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        slower). If it is a very temporary problem though, this is often a nice" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="        compromise:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true" plugin=b727ad83115f5fd047db1c9e05765ab
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="Cannot find a valid baseurl for repo: base/7/x86_64" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db75
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="+ yum -y install e4fsprogs" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:01 swarm01 dockerd[74292]: time="2017-04-07T17:58:01+07:00" level=info msg="Loaded plugins: fastestmirror, ovl" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg=" One of the configured repositories failed (Unknown)," plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg=" and yum doesn't have enough cached data to continue. At this point the only" plugin=b727ad83115f5fd047db1c9e05765abfb4f
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg=" safe thing yum can do is fail. There are a few ways to work \"fix\" this:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="     1. Contact the upstream for the repository and get them to fix the problem." plugin=b727ad83115f5fd047db1c9e05765ab
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="     2. Reconfigure the baseurl/etc. for the repository, to point to a working" plugin=b727ad83115f5fd047db1c9e05765abfb
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        upstream. This is most often useful if you are using a newer" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd1
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        distribution release than is supported by the repository (and the" plugin=b727ad83115f5fd047db1c9e05765abfb4f240
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        packages for the previous distribution release still work)." plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd19
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="     3. Run the command with the repository temporarily disabled" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="            yum --disablerepo=<repoid> ..." plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="     4. Disable the repository permanently, so yum won't use it by default. Yum" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        will then just ignore the repository until you permanently enable it" plugin=b727ad83115f5fd047db1c9e05765abfb4f
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        again or use --enablerepo for temporary usage:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82d
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="            yum-config-manager --disable <repoid>" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db7597
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        or" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="            subscription-manager repos --disable=<repoid>" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="     5. Configure the failing repository to be skipped, if it is unavailable." plugin=b727ad83115f5fd047db1c9e05765abfb4
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        Note that yum will try to contact the repo. when it runs most commands," plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        so will have to try and fail each time (and thus. yum will be be much" plugin=b727ad83115f5fd047db1c9e05765abfb4
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        slower). If it is a very temporary problem though, this is often a nice" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="        compromise:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true" plugin=b727ad83115f5fd047db1c9e05765ab
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="Cannot find a valid baseurl for repo: base/7/x86_64" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db75
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was" plu
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="14: curl#7 - \"Failed to connect to 2604:1580:fe02:2::10: Network is unreachable\"" plugin=b727ad83115f5fd047db1c9e05765
Apr 07 17:58:29 swarm01 dockerd[74292]: time="2017-04-07T17:58:29+07:00" level=info msg="+ yum install -y util-linux-ng" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:30 swarm01 dockerd[74292]: time="2017-04-07T17:58:30+07:00" level=info msg="Loaded plugins: fastestmirror, ovl" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was" plu
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="14: curl#7 - \"Failed to connect to 2001:4178:5:200::10: Network is unreachable\"" plugin=b727ad83115f5fd047db1c9e05765a
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg=" One of the configured repositories failed (Unknown)," plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg=" and yum doesn't have enough cached data to continue. At this point the only" plugin=b727ad83115f5fd047db1c9e05765abfb4f
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg=" safe thing yum can do is fail. There are a few ways to work \"fix\" this:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="     1. Contact the upstream for the repository and get them to fix the problem." plugin=b727ad83115f5fd047db1c9e05765ab
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="     2. Reconfigure the baseurl/etc. for the repository, to point to a working" plugin=b727ad83115f5fd047db1c9e05765abfb
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        upstream. This is most often useful if you are using a newer" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd1
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        distribution release than is supported by the repository (and the" plugin=b727ad83115f5fd047db1c9e05765abfb4f240
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        packages for the previous distribution release still work)." plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd19
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="     3. Run the command with the repository temporarily disabled" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="            yum --disablerepo=<repoid> ..." plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="     4. Disable the repository permanently, so yum won't use it by default. Yum" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        will then just ignore the repository until you permanently enable it" plugin=b727ad83115f5fd047db1c9e05765abfb4f
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        again or use --enablerepo for temporary usage:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82d
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="            yum-config-manager --disable <repoid>" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db7597
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        or" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="            subscription-manager repos --disable=<repoid>" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="     5. Configure the failing repository to be skipped, if it is unavailable." plugin=b727ad83115f5fd047db1c9e05765abfb4
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        Note that yum will try to contact the repo. when it runs most commands," plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        so will have to try and fail each time (and thus. yum will be be much" plugin=b727ad83115f5fd047db1c9e05765abfb4
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        slower). If it is a very temporary problem though, this is often a nice" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="        compromise:" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true" plugin=b727ad83115f5fd047db1c9e05765ab
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="Cannot find a valid baseurl for repo: base/7/x86_64" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db75
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="+ curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085b
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="+ python -" plugin=b727ad83115f5fd047db1c9e05765abfb4f24085bd193c1d23941d82db759780
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current" plugin=b727ad83115f5fd047db1c9e05765abf
Apr 07 17:58:58 swarm01 dockerd[74292]: time="2017-04-07T17:58:58+07:00" level=info msg="                                 Dload  Upload   Total   Spent    Left  Speed" plugin=b727ad83115f5fd047db1c9e05765abfb4
[root@swarm01 docker]# 

It seem like docker daemon or docker plugin is trying to download package from Internet and doesn’t seem to use HTTP_PROXY that I set in ENV.

That make this plugin unable to use.

Anyone could give any help? Where should I fix this problem?

Thanks,

Hi @bondxp,
I’m interested on this infrastructure solution.
Have you found the solution?

Has anybody contacted you on this?

Thanks

I found solution to make the plugin work. Please check NUtanix Docker Volume plugin review on docker store.