{"action":"created","issue":{"url":"https://api.github.com/repos/libopenstorage/openstorage/issues/158","repository_url":"https://api.github.com/repos/libopenstorage/openstorage","labels_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/158/comments","events_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/158/events","html_url":"https://github.com/libopenstorage/openstorage/issues/158","id":174950600,"number":158,"title":"docker volume rm volume_name fails with key on not found","user":{"login":"KennethNagin","id":1453210,"avatar_url":"https://avatars.githubusercontent.com/u/1453210?v=3","gravatar_id":"","url":"https://api.github.com/users/KennethNagin","html_url":"https://github.com/KennethNagin","followers_url":"https://api.github.com/users/KennethNagin/followers","following_url":"https://api.github.com/users/KennethNagin/following{/other_user}","gists_url":"https://api.github.com/users/KennethNagin/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethNagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethNagin/subscriptions","organizations_url":"https://api.github.com/users/KennethNagin/orgs","repos_url":"https://api.github.com/users/KennethNagin/repos","events_url":"https://api.github.com/users/KennethNagin/events{/privacy}","received_events_url":"https://api.github.com/users/KennethNagin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-04T14:07:34Z","updated_at":"2016-09-14T08:19:16Z","closed_at":"2016-09-14T08:19:16Z","body":"I'm trying to use osd to provide docker nfs support.  However docker volume rm is not working.\r\ndocker volume create is working and the volume is being mounted to nfs.\r\ndocker volume ls and docker volume inspect do recognize that the volume has been created.\r\nHowever, docker volume rm returns an error  Key not found \r\n\r\nThis a trace of docker client:\r\n$ sudo docker volume create -d nfs --name myvolume\r\nmyvolume\r\nnagin@rcc-hrl-kvg-588:~$ sudo docker volume ls\r\nDRIVER              VOLUME NAME\r\nnfs                 myvolume\r\n$ sudo docker volume inspect myvolume\r\n[\r\n    {\r\n        \"Name\": \"myvolume\",\r\n        \"Driver\": \"nfs\",\r\n        \"Mountpoint\": \"\",\r\n        \"Labels\": {},\r\n        \"Scope\": \"global\"\r\n    }\r\n]\r\n\r\n\r\n$ sudo docker volume rm myvolume\r\nError response from daemon: Error while removing volume myvolume: remove myvolume: Key not found\r\n\r\n\r\n\r\n\r\nThis a trace of osd:\r\n$ sudo ~/work/bin/osd -d -f etc/config/config.yaml\r\n[sudo] password for nagin: \r\n2016/09/04 13:49:35 proto: duplicate proto type registered: google.protobuf.Empty\r\nINFO[0000] OSD enabling cluster mode.                   \r\nINFO[0000] Starting REST service on socket : /var/lib/osd/cluster/osd.sock \r\nINFO[0000] Starting volume driver: nfs                  \r\nINFO[0000] NFS driver initializing with 9.148.24.228:/docker_volumes  \r\nINFO[0000] NFS initialized and driver mounted at:  /var/lib/openstorage/nfs/ \r\nINFO[0000] Starting REST service on socket : /var/lib/osd/driver/nfs.sock \r\nINFO[0000] Starting REST service on socket : /run/docker/plugins/nfs.sock \r\nINFO[0000] Starting graph driver: chainfs               \r\nINFO[0000] Starting REST service on socket : /run/docker/plugins/chainfs.sock \r\nINFO[0000] Cluster manager starting...                  \r\nINFO[0000] Cluster is uninitialized...                  \r\nINFO[0000] Will initialize a new cluster.               \r\nINFO[0000] Node 1 joining cluster...                    \r\nINFO[0000] Cluster ID: deadbeeef                        \r\nINFO[0000] Node Mgmt IP: 9.148.24.230                   \r\nINFO[0000] Node Data IP: 9.148.24.230                   \r\nINFO[0000] Cluster is uninitialized...                  \r\nINFO[0000] Cluster is uninitialized...                  \r\nINFO[0000] Cluster database updated.                    \r\nINFO[0000] Waiting for the cluster to reach quorum...   \r\nINFO[0000] Starting Gossip...                           \r\n2016/09/04 13:49:35 [WARN] memberlist: Binding to public address without encryption!\r\nWARN[0170] 404   Failed to locate volume: Cannot locate volume myvolume  Driver=nfs ID=myvolume Request=get\r\nINFO[0170]                                               Driver=nfs ID=myvolume Request=create\r\nINFO[0170] response global                               Driver=nfs ID= Request=capabilities\r\nINFO[0306] Key not found                                \r\n\r\n--Ken"},"comment":{"url":"https://api.github.com/repos/libopenstorage/openstorage/issues/comments/246939858","html_url":"https://github.com/libopenstorage/openstorage/issues/158#issuecomment-246939858","issue_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/158","id":246939858,"user":{"login":"KennethNagin","id":1453210,"avatar_url":"https://avatars.githubusercontent.com/u/1453210?v=3","gravatar_id":"","url":"https://api.github.com/users/KennethNagin","html_url":"https://github.com/KennethNagin","followers_url":"https://api.github.com/users/KennethNagin/followers","following_url":"https://api.github.com/users/KennethNagin/following{/other_user}","gists_url":"https://api.github.com/users/KennethNagin/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethNagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethNagin/subscriptions","organizations_url":"https://api.github.com/users/KennethNagin/orgs","repos_url":"https://api.github.com/users/KennethNagin/repos","events_url":"https://api.github.com/users/KennethNagin/events{/privacy}","received_events_url":"https://api.github.com/users/KennethNagin/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T08:19:16Z","updated_at":"2016-09-14T08:19:16Z","body":"Please notify me when the fix is available."}}
{"actor":{"display_login":"KennethNagin"}}