This repository was archived by the owner on Nov 9, 2020. It is now read-only.
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
Failed to mount vFile volume. Error: exit status 255 on Swarm master #1816 DescriptionSetup: 3 node swarm cluster
Steps:
Failed to mount vFile volume. Error: exit status 255
root@u-1:~# docker run --rm -it -v doesitwork2:/x busybox
docker: Error response from daemon: error while mounting volume '/mnt/vfile/doesitwork2/': VolumeDriver.Mount: Failed to mount vFile volume. Error: exit status 255.
root@u-1:~# vi /var/log/vfile.log
root@u-1:~# docker volume inspect doesitwork2
[
{
"Driver": "vfile:latest",
"Labels": {},
"Mountpoint": "/mnt/vfile/doesitwork2/",
"Name": "doesitwork2",
"Options": {},
"Scope": "global",
"Status": {
"Clients": null,
"File server Port": 0,
"Global Refcount": 0,
"Service name": "",
"Volume Status": "Ready"
}
}
]
root@u-1:~# ip addr
...
inet 172.16.111.131/24 brd 172.16.111.255 scope global ens160
From vfile.log
2017-08-25 21:11:25.936768801 +0000 UTC [INFO] Checking status of file server container...
2017-08-25 21:11:25.942214739 +0000 UTC [WARNING] No service returned with name doesitwork2.
2017-08-25 21:11:25.972762754 +0000 UTC [INFO] Updating port and file service name for doesitwork2
2017-08-25 21:12:21.717058057 +0000 UTC [INFO] VolumeDriver Get: doesitwork2
2017-08-25 21:12:21.95763916 +0000 UTC [INFO] Mounting volume name=doesitwork2
2017-08-25 21:12:22.012096338 +0000 UTC [INFO] Before AtomicIncr
2017-08-25 21:12:23.060467684 +0000 UTC [INFO] Watcher on global refcount returns event type=PUT
2017-08-25 21:12:24.076707491 +0000 UTC [INFO] Attempting to change volume state to Mounting
2017-08-25 21:12:29.126624469 +0000 UTC [INFO] Checking status of file server container...
2017-08-25 21:12:29.155411432 +0000 UTC [INFO] Updating port and file service name for doesitwork2
2017-08-25 21:12:30.094439552 +0000 UTC [INFO] Volume state mounted, prepare to mounting locally
2017-08-25 21:12:30.095608168 +0000 UTC [INFO] Get info for mounting name=doesitwork2 Port=30000 ServiceName=vFileServerdoesitwork2
2017-08-25 21:12:30.116197187 +0000 UTC [INFO] Mounting volume with options volume name=doesitwork2 arguments=[-t cifs -o username=root,password=badpass,port=30000,vers=3.0 //172.16.111.131/share1 /mnt/vfile/doesitwork2/]
2017-08-25 21:12:33.417475677 +0000 UTC [ERROR] Mount failed: output="mount: mounting //172.16.111.131/share1 on /mnt/vfile/doesitwork2/ failed: Host is unreachable\n" error="exit status 255" volume name=doesitwork2
2017-08-25 21:12:34.473825803 +0000 UTC [INFO] Watcher on global refcount returns event type=PUT
2017-08-25 21:12:34.474049185 +0000 UTC [ERROR] error="Failed to mount vFile volume. Error: exit status 255." name=doesitwork2
2017-08-25 21:12:34.474067351 +0000 UTC [ERROR] Failed to mount name=doesitwork2 error="Failed to mount vFile volume. Error: exit status 255."
2017-08-25 21:12:34.474080549 +0000 UTC [INFO] Detaching doesitwork2 - it is not used anymore
2017-08-25 21:12:35.474755108 +0000 UTC [INFO] Attempting to change volume state to Unmounting
2017-08-25 21:12:40.518041793 +0000 UTC [INFO] Checking status of file server container...
2017-08-25 21:12:40.523266418 +0000 UTC [WARNING] No service returned with name doesitwork2.
2017-08-25 21:12:40.54726316 +0000 UTC [INFO] Updating port and file service name for doesitwork2
2017-08-25 21:13:53.522887647 +0000 UTC [INFO] VolumeDriver Get: doesitwork2
CC / @luomiao @shivanshu21
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4