{"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":21,"created_at":"2016-06-21T20:36:26Z","updated_at":"2016-06-30T19:46:17Z","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/229767843","html_url":"https://github.com/emccode/rexray/issues/469#issuecomment-229767843","issue_url":"https://api.github.com/repos/emccode/rexray/issues/469","id":229767843,"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-30T19:46:17Z","updated_at":"2016-06-30T19:46:17Z","body":"Also wanted to provide an update that authentication and interrogation against ScaleIO is normal:\r\n\r\nFirst, obtain token:\r\n```\r\n[root@node4 ~]#  curl -k --basic --user admin:XXXXXX https://192.168.120.166/api/login\r\n\"YWRtaW46MTQ2NzM0NDA4OTc0NTo0MjZhYzBkYTdjNmMyNzA1Y2RiNDZkYjZjZjUzNzA2Mg\"\r\n [root@node4 ~]# \r\n```\r\n\r\nSecondly, interrogate ScaleIO environment:\r\n\r\n````\r\n[root@node4 ~]# curl -k --basic --user admin:YWRtaW46MTQ2NzM0NDA4OTc0NTo0MjZhYzBkYTdjNmMyNzA1Y2RiNDZkYjZjZjUzNzA2Mg https://192.168.120.166/api/types/System/instances | jq .\r\n\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100  4032    0  4032    0     0  51570      0 --:--:-- --:--:-- --:--:-- 52363\r\n[\r\n  {\r\n    \"defaultIsVolumeObfuscated\": false,\r\n    \"restrictedSdcModeEnabled\": false,\r\n    \"swid\": \"\",\r\n    \"daysInstalled\": 187,\r\n    \"maxCapacityInGb\": \"Unlimited\",\r\n    \"capacityTimeLeftInDays\": \"Unlimited\",\r\n    \"enterpriseFeaturesEnabled\": true,\r\n    \"isInitialLicense\": true,\r\n    \"installId\": \"52b107a55ddd3582\",\r\n    \"capacityAlertHighThresholdPercent\": 80,\r\n    \"capacityAlertCriticalThresholdPercent\": 90,\r\n    \"remoteReadOnlyLimitState\": false,\r\n    \"upgradeState\": \"NoUpgrade\",\r\n    \"performanceParameters\": {\r\n      \"mdmNumberSdcReceiveUmt\": 5,\r\n      \"mdmNumberSdsReceiveUmt\": 10,\r\n      \"mdmNumberSdsSendUmt\": 10,\r\n      \"mdmNumberSdsKeepaliveReceiveUmt\": 10,\r\n      \"mdmSdsCapacityCountersUpdateInterval\": 1,\r\n      \"mdmNumberSdsTasksUmt\": 1024,\r\n      \"mdmSdsCapacityCountersPollingInterval\": 5,\r\n      \"mdmSdsVolumeSizePollingInterval\": 15,\r\n      \"mdmSdsVolumeSizePollingRetryInterval\": 5,\r\n      \"mdmInitialSdsSnapshotCapacity\": 1024,\r\n      \"mdmSdsSnapshotCapacityChunkSize\": 5120,\r\n      \"mdmSdsSnapshotUsedCapacityThreshold\": 50,\r\n      \"mdmSdsSnapshotFreeCapacityThreshold\": 200,\r\n      \"perfProfile\": \"HighPerformance\"\r\n    },\r\n    \"currentProfilePerformanceParameters\": {\r\n      \"mdmNumberSdcReceiveUmt\": 5,\r\n      \"mdmNumberSdsReceiveUmt\": 10,\r\n      \"mdmNumberSdsSendUmt\": 10,\r\n      \"mdmNumberSdsKeepaliveReceiveUmt\": 10,\r\n      \"mdmSdsCapacityCountersUpdateInterval\": 1,\r\n      \"mdmNumberSdsTasksUmt\": 1024,\r\n      \"mdmSdsCapacityCountersPollingInterval\": 5,\r\n      \"mdmSdsVolumeSizePollingInterval\": 15,\r\n      \"mdmSdsVolumeSizePollingRetryInterval\": 5,\r\n      \"mdmInitialSdsSnapshotCapacity\": 1024,\r\n      \"mdmSdsSnapshotCapacityChunkSize\": 5120,\r\n      \"mdmSdsSnapshotUsedCapacityThreshold\": 50,\r\n      \"mdmSdsSnapshotFreeCapacityThreshold\": 200,\r\n      \"perfProfile\": null\r\n    },\r\n    \"sdcMdmNetworkDisconnectionsCounterParameters\": {\r\n      \"shortWindow\": {\r\n        \"threshold\": 300,\r\n        \"windowSizeInSec\": 60\r\n      },\r\n      \"mediumWindow\": {\r\n        \"threshold\": 500,\r\n        \"windowSizeInSec\": 3600\r\n      },\r\n      \"longWindow\": {\r\n        \"threshold\": 700,\r\n        \"windowSizeInSec\": 86400\r\n      }\r\n    },\r\n    \"sdcSdsNetworkDisconnectionsCounterParameters\": {\r\n      \"shortWindow\": {\r\n        \"threshold\": 800,\r\n        \"windowSizeInSec\": 60\r\n      },\r\n      \"mediumWindow\": {\r\n        \"threshold\": 4000,\r\n        \"windowSizeInSec\": 3600\r\n      },\r\n      \"longWindow\": {\r\n        \"threshold\": 20000,\r\n        \"windowSizeInSec\": 86400\r\n      }\r\n    },\r\n    \"sdcMemoryAllocationFailuresCounterParameters\": {\r\n      \"shortWindow\": {\r\n        \"threshold\": 300,\r\n        \"windowSizeInSec\": 60\r\n      },\r\n      \"mediumWindow\": {\r\n        \"threshold\": 500,\r\n        \"windowSizeInSec\": 3600\r\n      },\r\n      \"longWindow\": {\r\n        \"threshold\": 700,\r\n        \"windowSizeInSec\": 86400\r\n      }\r\n    },\r\n    \"sdcSocketAllocationFailuresCounterParameters\": {\r\n      \"shortWindow\": {\r\n        \"threshold\": 300,\r\n        \"windowSizeInSec\": 60\r\n      },\r\n      \"mediumWindow\": {\r\n        \"threshold\": 500,\r\n        \"windowSizeInSec\": 3600\r\n      },\r\n      \"longWindow\": {\r\n        \"threshold\": 700,\r\n        \"windowSizeInSec\": 86400\r\n      }\r\n    },\r\n    \"sdcLongOperationsCounterParameters\": {\r\n      \"shortWindow\": {\r\n        \"threshold\": 10000,\r\n        \"windowSizeInSec\": 60\r\n      },\r\n      \"mediumWindow\": {\r\n        \"threshold\": 100000,\r\n        \"windowSizeInSec\": 3600\r\n      },\r\n      \"longWindow\": {\r\n        \"threshold\": 1000000,\r\n        \"windowSizeInSec\": 86400\r\n      }\r\n    },\r\n    \"cliPasswordAllowed\": true,\r\n    \"managementClientSecureCommunicationEnabled\": true,\r\n    \"tlsVersion\": \"TLSv1.2\",\r\n    \"showGuid\": true,\r\n    \"authenticationMethod\": \"Native\",\r\n    \"mdmToSdsPolicy\": \"Authentication\",\r\n    \"mdmCluster\": {\r\n      \"goodNodesNum\": 3,\r\n      \"goodReplicasNum\": 2,\r\n      \"tieBreakers\": [\r\n        {\r\n          \"role\": \"TieBreaker\",\r\n          \"status\": \"Normal\",\r\n          \"ips\": [\r\n            \"192.168.1.152\"\r\n          ],\r\n          \"versionInfo\": \"R2_0.6035.0\",\r\n          \"managementIPs\": [\r\n            \"192.168.1.152\"\r\n          ],\r\n          \"name\": \"TB1\",\r\n          \"id\": \"4fc0530874c9b832\",\r\n          \"port\": 9011\r\n        }\r\n      ],\r\n      \"clusterState\": \"ClusteredNormal\",\r\n      \"master\": {\r\n        \"role\": \"Manager\",\r\n        \"ips\": [\r\n          \"192.168.1.151\"\r\n        ],\r\n        \"versionInfo\": \"R2_0.6035.0\",\r\n        \"managementIPs\": [\r\n          \"192.168.120.151\"\r\n        ],\r\n        \"name\": \"Manager2\",\r\n        \"id\": \"4cbb452b1d5f7f81\",\r\n        \"port\": 9011\r\n      },\r\n      \"clusterMode\": \"ThreeNodes\",\r\n      \"slaves\": [\r\n        {\r\n          \"role\": \"Manager\",\r\n          \"status\": \"Normal\",\r\n          \"ips\": [\r\n            \"192.168.1.150\"\r\n          ],\r\n          \"versionInfo\": \"R2_0.6035.0\",\r\n          \"managementIPs\": [\r\n            \"192.168.120.150\"\r\n          ],\r\n          \"name\": \"Manager1\",\r\n          \"id\": \"644d6bff358563b0\",\r\n          \"port\": 9011\r\n        }\r\n      ],\r\n      \"name\": \"cluster1\",\r\n      \"id\": \"532890286353733578\"\r\n    },\r\n    \"systemVersionName\": \"EMC ScaleIO Version: R2_0.6035.0\",\r\n    \"name\": \"cluster1\",\r\n    \"id\": \"076534e45e5ed7ca\",\r\n    \"links\": [\r\n      {\r\n        \"rel\": \"self\",\r\n        \"href\": \"/api/instances/System::076534e45e5ed7ca\"\r\n      },\r\n      {\r\n        \"rel\": \"/api/System/relationship/Statistics\",\r\n        \"href\": \"/api/instances/System::076534e45e5ed7ca/relationships/Statistics\"\r\n      },\r\n      {\r\n        \"rel\": \"/api/System/relationship/ProtectionDomain\",\r\n        \"href\": \"/api/instances/System::076534e45e5ed7ca/relationships/ProtectionDomain\"\r\n      },\r\n      {\r\n        \"rel\": \"/api/System/relationship/Sdc\",\r\n        \"href\": \"/api/instances/System::076534e45e5ed7ca/relationships/Sdc\"\r\n      },\r\n      {\r\n        \"rel\": \"/api/System/relationship/User\",\r\n        \"href\": \"/api/instances/System::076534e45e5ed7ca/relationships/User\"\r\n      }\r\n    ]\r\n  }\r\n]\r\n[root@node4 ~]#\r\n```\r\n\r\nAs you can see, we’re correctly authenticated, and we can interrogate our ScaleIO environment \r\n"}}
{"actor":{"display_login":"akamalov"}}