{"action":"created","issue":{"url":"https://api.github.com/repos/libopenstorage/openstorage/issues/51","labels_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/51/comments","events_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/51/events","html_url":"https://github.com/libopenstorage/openstorage/issues/51","id":118633315,"number":51,"title":"404 Failed to locate volume","user":{"login":"yoanisgil","id":918271,"avatar_url":"https://avatars.githubusercontent.com/u/918271?v=3","gravatar_id":"","url":"https://api.github.com/users/yoanisgil","html_url":"https://github.com/yoanisgil","followers_url":"https://api.github.com/users/yoanisgil/followers","following_url":"https://api.github.com/users/yoanisgil/following{/other_user}","gists_url":"https://api.github.com/users/yoanisgil/gists{/gist_id}","starred_url":"https://api.github.com/users/yoanisgil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoanisgil/subscriptions","organizations_url":"https://api.github.com/users/yoanisgil/orgs","repos_url":"https://api.github.com/users/yoanisgil/repos","events_url":"https://api.github.com/users/yoanisgil/events{/privacy}","received_events_url":"https://api.github.com/users/yoanisgil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T15:24:48Z","updated_at":"2015-11-24T15:36:14Z","closed_at":null,"body":"I'm seeing this whenever I run `docker volume ls` or `docker volume rm`:\r\n\r\n```\r\nWARN[0009] 404 Failed to locate volume: Cannot locate volume test  Driver=nfs ID=test Request=remove\r\n```\r\n\r\nI think I can fairly reproduce this issue:\r\n\r\n- Launch `osd` with: `/usr/local/bin/osd -d  -f /usr/local/etc/osd.yml`\r\n- Create a new volume: `docker volume create --driver=nfs --name=test1`\r\n- Stop the daemon with Ctrl+C\r\n- Relaunch `osd` with:`/usr/local/bin/osd -d  -f /usr/local/etc/osd.yml`\r\n- Run `docker volume ls` or `docker volume rm test1`\r\n\r\nI'm running:\r\n\r\n```bash \r\n$ osd --version\r\nosd version 0.3\r\n\r\n$ docker version\r\nClient:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:25:01 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:25:01 UTC 2015\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\nConfig file is:\r\n\r\n```yml\r\nosd:\r\n  drivers:\r\n      nfs:\r\n        server: \"10.1.8.43\"\r\n        path: \"/home/sites/configurations\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/libopenstorage/openstorage/issues/comments/159306496","html_url":"https://github.com/libopenstorage/openstorage/issues/51#issuecomment-159306496","issue_url":"https://api.github.com/repos/libopenstorage/openstorage/issues/51","id":159306496,"user":{"login":"gourao","id":10397092,"avatar_url":"https://avatars.githubusercontent.com/u/10397092?v=3","gravatar_id":"","url":"https://api.github.com/users/gourao","html_url":"https://github.com/gourao","followers_url":"https://api.github.com/users/gourao/followers","following_url":"https://api.github.com/users/gourao/following{/other_user}","gists_url":"https://api.github.com/users/gourao/gists{/gist_id}","starred_url":"https://api.github.com/users/gourao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gourao/subscriptions","organizations_url":"https://api.github.com/users/gourao/orgs","repos_url":"https://api.github.com/users/gourao/repos","events_url":"https://api.github.com/users/gourao/events{/privacy}","received_events_url":"https://api.github.com/users/gourao/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T15:36:14Z","updated_at":"2015-11-24T15:36:14Z","body":"Hi @yoanisgil  - This is because you have not specified a key/value database for the OSD to use.\r\n\r\nBy default OSD will use an in memory ephemeral DB.  So volumes created will be lost across restarts.\r\n\r\nTo use a persistent key/value DB such as ETCD, specify the URL via the `--kvdb` option.\r\n\r\nI suppose the README should document this."}}