{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/issues/2074","repository_url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker","labels_url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/issues/2074/comments","events_url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/issues/2074/events","html_url":"https://github.com/vmware/vsphere-storage-for-docker/issues/2074","id":304559942,"number":2074,"title":"clone volume fails  VolumeDriver.Create: Server returned an error: TypeError(\"'NoneType' object does not support item assignment\",)","user":{"login":"carcampbell","id":25646727,"avatar_url":"https://avatars0.githubusercontent.com/u/25646727?v=4","gravatar_id":"","url":"https://api.github.com/users/carcampbell","html_url":"https://github.com/carcampbell","followers_url":"https://api.github.com/users/carcampbell/followers","following_url":"https://api.github.com/users/carcampbell/following{/other_user}","gists_url":"https://api.github.com/users/carcampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/carcampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carcampbell/subscriptions","organizations_url":"https://api.github.com/users/carcampbell/orgs","repos_url":"https://api.github.com/users/carcampbell/repos","events_url":"https://api.github.com/users/carcampbell/events{/privacy}","received_events_url":"https://api.github.com/users/carcampbell/received_events","type":"User","site_admin":false},"labels":[{"id":409017318,"url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/labels/customer","name":"customer","color":"d4c5f9","default":false},{"id":310972920,"url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/labels/kind/bug","name":"kind/bug","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"govint","id":15854712,"avatar_url":"https://avatars3.githubusercontent.com/u/15854712?v=4","gravatar_id":"","url":"https://api.github.com/users/govint","html_url":"https://github.com/govint","followers_url":"https://api.github.com/users/govint/followers","following_url":"https://api.github.com/users/govint/following{/other_user}","gists_url":"https://api.github.com/users/govint/gists{/gist_id}","starred_url":"https://api.github.com/users/govint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govint/subscriptions","organizations_url":"https://api.github.com/users/govint/orgs","repos_url":"https://api.github.com/users/govint/repos","events_url":"https://api.github.com/users/govint/events{/privacy}","received_events_url":"https://api.github.com/users/govint/received_events","type":"User","site_admin":false},"assignees":[{"login":"govint","id":15854712,"avatar_url":"https://avatars3.githubusercontent.com/u/15854712?v=4","gravatar_id":"","url":"https://api.github.com/users/govint","html_url":"https://github.com/govint","followers_url":"https://api.github.com/users/govint/followers","following_url":"https://api.github.com/users/govint/following{/other_user}","gists_url":"https://api.github.com/users/govint/gists{/gist_id}","starred_url":"https://api.github.com/users/govint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govint/subscriptions","organizations_url":"https://api.github.com/users/govint/orgs","repos_url":"https://api.github.com/users/govint/repos","events_url":"https://api.github.com/users/govint/events{/privacy}","received_events_url":"https://api.github.com/users/govint/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-03-12T22:13:58Z","updated_at":"2018-03-15T22:22:22Z","closed_at":null,"author_association":"NONE","body":"Trying to clone a volume and it fails.  \r\nAlready have the latest version of docker plugin: \r\n docker plugin install --grant-all-permissions --alias vsph                          ere vmware/vsphere-storage-for-docker:latest\r\nError response from daemon: plugin \"vsphere:latest\" already exists\r\n\r\nJust installed latest VIB Bundle:\r\n[root@esxi-cc1:~] esxcli storage guestvol status\r\n=== Service:\r\nVersion: 0.21.c420818-0.0.1\r\nStatus: Running\r\nPid: 1852563\r\nPort: 1019\r\nLogConfigFile: /etc/vmware/vmdkops/log_config.json\r\nLogFile: /var/log/vmware/vmdk_ops.log\r\nLogLevel: INFO\r\n=== Authorization Config DB:\r\nDB_Mode: NotConfigured (no local DB, no symlink to shared DB)\r\nDB_SharedLocation: N/A\r\nDB_LocalPath: N/A\r\n\r\n\r\nCommands:\r\n docker volume create --driver=vsphere --name=MyNewVolume -o size=10gb -o attach-as=persistent\r\nMyNewVolume\r\n\r\ndocker volume create --driver=vsphere --name=CloneNewVolume -o clone-from=MyNewVolume -o access=read-only\r\nError response from daemon: create CloneNewVolume: VolumeDriver.Create: Server returned an error: TypeError(\"'NoneType' object does not support item assignment\",)\r\n\r\n\r\n\r\nESXi 6.5 Error log:\r\n03/12/18 17:11:06 2034114 [cc-worker02-CC-Large-Datastore._DEFAULT.CloneNewVolume] [INFO   ] executeRequest 'get' completed with ret={'Error': 'Volume\r\n03/12/18 17:11:06 2034114 [MainThread] [INFO   ] Started new thread : 150138259200 with target <function execRequestThread at 0x22f2efdbf8> and args (9\r\n03/12/18 17:11:06 2034114 [Thread-4143] [INFO   ] Auth DB /etc/vmware/vmdkops/auth-db is missing, allowing all access\r\n03/12/18 17:11:06 2034114 [cc-worker02-CC-Large-Datastore._DEFAULT.CloneNewVolume] [INFO   ] *** createVMDK: /vmfs/volumes/CC-Large-Datastore/dockvols/\r\n03/12/18 17:11:06 2034114 [cc-worker02-CC-Large-Datastore._DEFAULT.CloneNewVolume] [INFO   ] *** cloneVMDK: /vmfs/volumes/CC-Large-Datastore/dockvols/_\r\n03/12/18 17:11:06 2034114 [cc-worker02-CC-Large-Datastore._DEFAULT.CloneNewVolume] [ERROR  ] Failed to access b'/vmfs/volumes/CC-Large-Datastore/dockvo\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/vmware/vmdkops/Python/kvESX.py\", line 297, in load\r\n    with open(meta_file, \"r\") as fh:\r\nFileNotFoundError: [Errno 2] No such file or directory: b'/vmfs/volumes/CC-Large-Datastore/dockvols/_DEFAULT/CloneNewVolume-508e4af18efbf23e.vmfd'\r\n03/12/18 17:11:06 2034114 [cc-worker02-CC-Large-Datastore._DEFAULT.CloneNewVolume] [ERROR  ] Unhandled Exception:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/vmware/vmdkops/bin/vmdk_ops.py\", line 1843, in execRequestThread\r\n    opts=opts)\r\n  File \"/usr/lib/vmware/vmdkops/bin/vmdk_ops.py\", line 1148, in executeRequest\r\n    vm_datastore=vm_datastore)\r\n  File \"/usr/lib/vmware/vmdkops/bin/vmdk_ops.py\", line 208, in createVMDK\r\n    vm_datastore=vm_datastore)\r\n  File \"/usr/lib/vmware/vmdkops/bin/vmdk_ops.py\", line 394, in cloneVMDK\r\n    vol_meta[kv.CREATED_BY] = vm_name\r\nTypeError: 'NoneType' object does not support item assignment\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/issues/comments/373541663","html_url":"https://github.com/vmware/vsphere-storage-for-docker/issues/2074#issuecomment-373541663","issue_url":"https://api.github.com/repos/vmware/vsphere-storage-for-docker/issues/2074","id":373541663,"user":{"login":"carcampbell","id":25646727,"avatar_url":"https://avatars0.githubusercontent.com/u/25646727?v=4","gravatar_id":"","url":"https://api.github.com/users/carcampbell","html_url":"https://github.com/carcampbell","followers_url":"https://api.github.com/users/carcampbell/followers","following_url":"https://api.github.com/users/carcampbell/following{/other_user}","gists_url":"https://api.github.com/users/carcampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/carcampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carcampbell/subscriptions","organizations_url":"https://api.github.com/users/carcampbell/orgs","repos_url":"https://api.github.com/users/carcampbell/repos","events_url":"https://api.github.com/users/carcampbell/events{/privacy}","received_events_url":"https://api.github.com/users/carcampbell/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T22:22:22Z","updated_at":"2018-03-15T22:22:22Z","author_association":"NONE","body":"I already did that- I am running VDVS_Driver-0.21.1 on all my ESXi hosts.  \r\n[root@esxi-cc1:~] esxcli storage guestvol status\r\n=== Service:\r\nVersion: 0.21.c420818-0.0.1\r\nStatus: Running\r\nPid: 1852563\r\nPort: 1019\r\nLogConfigFile: /etc/vmware/vmdkops/log_config.json\r\nLogFile: /var/log/vmware/vmdk_ops.log\r\n\r\nWhat I'm not clear about is if there is another docker plugin file.  If I try to install version 0.21.1 it says the file doesn't exists. \r\n\r\ndocker plugin install --grant-all-permissions --alias vsphere vmware/vsphere-storage-for-docker:0.21.1\r\nError response from daemon: manifest for vmware/vsphere-storage-for-docker:0.21.1 not found\r\n\r\n"}}
{"actor":{"display_login":"carcampbell"}}