{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/govmomi/issues/470","repository_url":"https://api.github.com/repos/vmware/govmomi","labels_url":"https://api.github.com/repos/vmware/govmomi/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/vmware/govmomi/issues/470/comments","events_url":"https://api.github.com/repos/vmware/govmomi/issues/470/events","html_url":"https://github.com/vmware/govmomi/issues/470","id":141420075,"number":470,"title":"govc: import.vmdk Invalid configuration for device '1'.","user":{"login":"rnavarro","id":39948,"avatar_url":"https://avatars.githubusercontent.com/u/39948?v=3","gravatar_id":"","url":"https://api.github.com/users/rnavarro","html_url":"https://github.com/rnavarro","followers_url":"https://api.github.com/users/rnavarro/followers","following_url":"https://api.github.com/users/rnavarro/following{/other_user}","gists_url":"https://api.github.com/users/rnavarro/gists{/gist_id}","starred_url":"https://api.github.com/users/rnavarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnavarro/subscriptions","organizations_url":"https://api.github.com/users/rnavarro/orgs","repos_url":"https://api.github.com/users/rnavarro/repos","events_url":"https://api.github.com/users/rnavarro/events{/privacy}","received_events_url":"https://api.github.com/users/rnavarro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T22:21:45Z","updated_at":"2016-03-17T16:43:09Z","closed_at":null,"body":"Hello,\r\n\r\nI'm having an issue when trying to import the kubernetes vmdk. Following the instructions here:\r\n\r\nhttp://kubernetes.io/docs/getting-started-guides/vsphere/\r\n\r\n```\r\ncurl --remote-name-all https://storage.googleapis.com/govmomi/vmdk/2016-01-08/kube.vmdk.gz{,.md5}\r\nmd5sum -c kube.vmdk.gz.md5\r\ngzip -d kube.vmdk.gz\r\n```\r\n\r\n```\r\nexport GOVC_URL='172.16.2.75' # hostname of the vc\r\nexport GOVC_NETWORK='LAN' # This is the name of a DVS port group\r\nexport GOVC_INSECURE=1 # If the host above uses a self-signed cert\r\nexport GOVC_DATASTORE='ISOs'\r\nexport GOVC_RESOURCE_POOL='/DC/host/C6100-1/Resources/'\r\n```\r\n\r\n```\r\nroot@fileserver:~/kubernetes$ govc import.vmdk kube.vmdk ./kube/\r\n[16-03-16 14:03:49] Uploading... OK\r\n[16-03-16 14:03:49] Importing... OK\r\ngovc: Invalid configuration for device '1'.\r\n```\r\n\r\nI'm not sure what the underlying error is or how to debug that. Could someone shed some light on this?\r\n\r\nI'm thinking it's because I'm trying to deploy this container to a DVS port group rather than standard networking, but that's just a guess.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/govmomi/issues/comments/197967852","html_url":"https://github.com/vmware/govmomi/issues/470#issuecomment-197967852","issue_url":"https://api.github.com/repos/vmware/govmomi/issues/470","id":197967852,"user":{"login":"ivan-exness","id":17728801,"avatar_url":"https://avatars.githubusercontent.com/u/17728801?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-exness","html_url":"https://github.com/ivan-exness","followers_url":"https://api.github.com/users/ivan-exness/followers","following_url":"https://api.github.com/users/ivan-exness/following{/other_user}","gists_url":"https://api.github.com/users/ivan-exness/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-exness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-exness/subscriptions","organizations_url":"https://api.github.com/users/ivan-exness/orgs","repos_url":"https://api.github.com/users/ivan-exness/repos","events_url":"https://api.github.com/users/ivan-exness/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-exness/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T16:43:09Z","updated_at":"2016-03-17T16:43:09Z","body":"I have a same Issue, but with General VM Network\r\n```\r\nexport GOVC_URL='vcenter' # hostname of the vc\r\nexport GOVC_NETWORK='VM Network' # Name of the network the vms should join. Many times it could be \"VM Network\"\r\nexport GOVC_INSECURE=1 # If the host above uses a self-signed cert\r\nexport GOVC_DATASTORE='datastore1'\r\nexport GOVC_DATACENTER='Cyprus'\r\nexport GOVC_RESOURCE_POOL='*/Resources/Kubernetes'\r\n```"}}