{"action":"created","issue":{"url":"https://api.github.com/repos/emccode/rexray/issues/469","repository_url":"https://api.github.com/repos/emccode/rexray","labels_url":"https://api.github.com/repos/emccode/rexray/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/emccode/rexray/issues/469/comments","events_url":"https://api.github.com/repos/emccode/rexray/issues/469/events","html_url":"https://github.com/emccode/rexray/issues/469","id":161533314,"number":469,"title":"docker: Error response from daemon: VolumeDriver.Mount: {\"Error\":\"no device name returned\"}.","user":{"login":"akamalov","id":7885257,"avatar_url":"https://avatars.githubusercontent.com/u/7885257?v=3","gravatar_id":"","url":"https://api.github.com/users/akamalov","html_url":"https://github.com/akamalov","followers_url":"https://api.github.com/users/akamalov/followers","following_url":"https://api.github.com/users/akamalov/following{/other_user}","gists_url":"https://api.github.com/users/akamalov/gists{/gist_id}","starred_url":"https://api.github.com/users/akamalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akamalov/subscriptions","organizations_url":"https://api.github.com/users/akamalov/orgs","repos_url":"https://api.github.com/users/akamalov/repos","events_url":"https://api.github.com/users/akamalov/events{/privacy}","received_events_url":"https://api.github.com/users/akamalov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emccode/rexray/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/emccode/rexray/labels/sdm/scaleio","name":"sdm/scaleio","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-21T20:36:26Z","updated_at":"2016-06-29T11:00:25Z","closed_at":null,"body":"Greetings,\r\n\r\n**Problem:** Getting error mounting volume onto a container\r\n\r\n**OS**\r\n\r\n```\r\nNAME=\"Red Hat Enterprise Linux Server\"\r\nVERSION=\"7.2 (Maipo)\"\r\nID=\"rhel\"\r\nID_LIKE=\"fedora\"\r\nVERSION_ID=\"7.2\"\r\nPRETTY_NAME=\"Red Hat Enterprise Linux Server 7.2 (Maipo)\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:redhat:enterprise_linux:7.2:GA:server\"\r\nHOME_URL=\"https://www.redhat.com/\"\r\nBUG_REPORT_URL=\"https://bugzilla.redhat.com/\"\r\n\r\nREDHAT_BUGZILLA_PRODUCT=\"Red Hat Enterprise Linux 7\"\r\nREDHAT_BUGZILLA_PRODUCT_VERSION=7.2\r\nREDHAT_SUPPORT_PRODUCT=\"Red Hat Enterprise Linux\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7.2\"\r\n```\r\n**REX-Ray**\r\n```\r\n[root@node1 software]# rexray version\r\nBinary: /usr/bin/rexray\r\nSemVer: 0.3.3\r\nOsArch: Linux-x86_64\r\nBranch: v0.3.3\r\nCommit: b30fb870b5b94cd8368824460ad020bfcf20be3a\r\nFormed: Thu, 21 Apr 2016 15:41:36 EDT\r\n[root@node1 software]# \r\n```\r\nI can create a volume or list a volume without a problem:\r\n\r\n**Create a volume:**\r\n```\r\n[root@node4 ~]# docker volume create --driver=rexray --name=test --opt=size=1\r\ntest\r\n[root@node4 ~]#\r\n```\r\n**List volume:**\r\n```\r\n[root@node4 ~]# docker volume ls\r\nDRIVER              VOLUME NAME\r\nlocal               3c937cf6cc3307672649335564663025beeaa2ecacbfb662f29ed7103e0fb05c\r\nlocal               5b2070e7d031c046360b5f3fe866584584e3aa1da114c87cc0183b39aaca883e\r\nlocal               697eaf10358700587947391a58db085d90942254ceb73309b62f4b334b037d09\r\nlocal               fe2a808bf6e13d4b31c47cc6844d6d42110a6ebd1f99aa6dc9f5bc05ad4e730c\r\nrexray              mongo005\r\nrexray              scaleio-ds1\r\nrexray              test\r\nrexray              test001\r\n[root@mslave4 ~]#\r\n\r\n```\r\n\r\n**Mount volume:**\r\n\r\n```\r\n[root@node4 ~]# docker run -ti --volume-driver=rexray -v test:/test busybox\r\ndocker: Error response from daemon: VolumeDriver.Mount: {\"Error\":\"no device name returned\"}.\r\n[root@node4 ~]# \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/emccode/rexray/issues/comments/229324654","html_url":"https://github.com/emccode/rexray/issues/469#issuecomment-229324654","issue_url":"https://api.github.com/repos/emccode/rexray/issues/469","id":229324654,"user":{"login":"akamalov","id":7885257,"avatar_url":"https://avatars.githubusercontent.com/u/7885257?v=3","gravatar_id":"","url":"https://api.github.com/users/akamalov","html_url":"https://github.com/akamalov","followers_url":"https://api.github.com/users/akamalov/followers","following_url":"https://api.github.com/users/akamalov/following{/other_user}","gists_url":"https://api.github.com/users/akamalov/gists{/gist_id}","starred_url":"https://api.github.com/users/akamalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akamalov/subscriptions","organizations_url":"https://api.github.com/users/akamalov/orgs","repos_url":"https://api.github.com/users/akamalov/repos","events_url":"https://api.github.com/users/akamalov/events{/privacy}","received_events_url":"https://api.github.com/users/akamalov/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T11:00:25Z","updated_at":"2016-06-29T11:00:25Z","body":"@clintonskitson, I apologize. It looks like the device  comes up in the node **node4** only if I issue ```scli``` command from ScaleIO to map the volume. Here is the sequence of commands and output:\r\n\r\n**Map volume to node4:**\r\n\r\n```\r\nScaleIO-192-168-120-150:~ # scli --mdm_ip 192.168.120.151 --map_volume_to_sdc --volume_name test --sdc_ip  192.168.120.164\r\nSuccessfully mapped volume test to SDC 192.168.120.164\r\nScaleIO-192-168-120-150:~ # \r\n```\r\n\r\nFrom **node4**, list disks:\r\n\r\n```\r\n[root@node4 ~]# ls -laF /dev/disk/by-id\r\ntotal 0\r\ndrwxr-xr-x 2 root root 520 Jun 29 06:51 ./\r\ndrwxr-xr-x 5 root root 100 Jun 20 09:57 ../\r\nlrwxrwxrwx 1 root root   9 Jun 20 09:57 ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001 -> ../../sr0\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgcore-opt_bsa_bladelogic -> ../../dm-9\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgcore-users -> ../../dm-7\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgcore-usr_bltemp -> ../../dm-8\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-diskdump -> ../../dm-6\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-root -> ../../dm-1\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-swap -> ../../dm-0\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-tmp -> ../../dm-5\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-var -> ../../dm-4\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-var_log -> ../../dm-2\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-name-vgsys-var_tmp -> ../../dm-3\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQC36GA4IQGxH7F28dAYO0VAMst8l76nzYz -> ../../dm-4\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQCFekHIQ3HXBksyHuS3BldToeDt805jtRu -> ../../dm-6\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQCfUA0KLvTrf2WmwYukv5rp5Bfg0pjE5q9 -> ../../dm-2\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQCoQBm5xSeUwlsdT2uzsJJ70LXEowD4BHv -> ../../dm-0\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQCqaQXUXaAlyhRxIZL0BOPMNyZe2dXNj5d -> ../../dm-5\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQCsXItwxaeSznsYV02me9MRZe8IlWXtjus -> ../../dm-3\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-42Y1cY4mx4WewO0yV1xpDwUat1WbMpQCyn7IxT0ZhJBJxsHXrh11SMy00QvlexDZ -> ../../dm-1\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-SDP2hRvacRwfCTKaKUyBgDSLIRKqXKE1ASqnpvAoIDSP96RmB1w520GIER5UWyVY -> ../../dm-9\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-SDP2hRvacRwfCTKaKUyBgDSLIRKqXKE1kDGXUNH0rv4QdkY1K2jvyyDg7g79csOe -> ../../dm-7\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 dm-uuid-LVM-SDP2hRvacRwfCTKaKUyBgDSLIRKqXKE1TlGVVBP9yMpqeVBXwytdVXDDRywdPo7Z -> ../../dm-8\r\nlrwxrwxrwx 1 root root  12 Jun 29 06:51 emc-vol-076534e45e5ed7ca-c047cb2900000003 -> ../../scinia\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 lvm-pv-uuid-cslnL6-qXaR-xAQB-rnxl-0Se6-KUCR-IocCJz -> ../../sda2\r\nlrwxrwxrwx 1 root root  10 Jun 20 09:57 lvm-pv-uuid-farDq1-WPZp-U3h5-oSPL-cS0C-ajdD-j3odJ7 -> ../../sdb1\r\n[root@node4 ~]# \r\n```\r\n\r\nPeculiar thing: while watching **node4** ```/var/log/messages```, I happened to notice a lot of messages such as:\r\n\r\n```\r\n##\r\nJun 29 06:48:36 node4 env: unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:36 node4 env: 06:48:36.006 [warning] unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:36 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:38 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:40 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:41 node4 env: unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:41 node4 env: 06:48:41.007 [warning] unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:42 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:44 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:46 node4 env: unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:46 node4 env: 06:48:46.009 [warning] unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:46 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:47 node4 kernel: blk_update_request: I/O error, dev scinia, sector 0\r\nJun 29 06:48:47 node4 kernel: Buffer I/O error on device scinia, logical block 0\r\nJun 29 06:48:48 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:50 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:51 node4 env: unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:51 node4 env: 06:48:51.011 [warning] unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:52 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:54 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\nJun 29 06:48:56 node4 env: unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:56 node4 env: 06:48:56.013 [warning] unknown SubSys/MsgType: rtnetlink/newqdisc\r\nJun 29 06:48:56 node4 kernel: ScaleIO R2_0 netChan_SendReq_CK:3118 :Chan ffff8807f7730088 establish rc=68\r\n```\r\n\r\nDon't know if it is of any value, but thought worth mentioning...\r\n\r\nThanks again for helping!!!\r\n\r\nAlex\r\n\r\n"}}
{"actor":{"display_login":"akamalov"}}