{"action":"opened","issue":{"url":"https://api.github.com/repos/vmware/vic/issues/1219","repository_url":"https://api.github.com/repos/vmware/vic","labels_url":"https://api.github.com/repos/vmware/vic/issues/1219/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vic/issues/1219/comments","events_url":"https://api.github.com/repos/vmware/vic/issues/1219/events","html_url":"https://github.com/vmware/vic/issues/1219","id":162446613,"number":1219,"title":"Datastore upload/download without resolvable ESX hostnames.","user":{"login":"hickeng","id":3923729,"avatar_url":"https://avatars.githubusercontent.com/u/3923729?v=3","gravatar_id":"","url":"https://api.github.com/users/hickeng","html_url":"https://github.com/hickeng","followers_url":"https://api.github.com/users/hickeng/followers","following_url":"https://api.github.com/users/hickeng/following{/other_user}","gists_url":"https://api.github.com/users/hickeng/gists{/gist_id}","starred_url":"https://api.github.com/users/hickeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hickeng/subscriptions","organizations_url":"https://api.github.com/users/hickeng/orgs","repos_url":"https://api.github.com/users/hickeng/repos","events_url":"https://api.github.com/users/hickeng/events{/privacy}","received_events_url":"https://api.github.com/users/hickeng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vmware/vic/labels/area/govmomi","name":"area/govmomi","color":"fbca04"},{"url":"https://api.github.com/repos/vmware/vic/labels/area/vsphere","name":"area/vsphere","color":"eb6420"},{"url":"https://api.github.com/repos/vmware/vic/labels/component/portlayer/storage","name":"component/portlayer/storage","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-27T13:02:24Z","updated_at":"2016-06-27T13:02:24Z","closed_at":null,"body":"This is the appliance side portion of the issue in #1164. The appliance cannot resolve the ESX hostnames that it gets from VC. This was also seen by @cormachogan.\r\n\r\nNot sure what the best ordering for these is - given the image prep isn't a crucial fast path I would recommend the VC approach as primary initially given it's less logic to implement.\r\n- [ ] try the FQDN for a host\r\n- [ ] if unresolveable get the IP address of the host from vCenter\r\n- [ ] fall back on all upload/download paths to going via vCenter if IP/FQDN isn't available\r\n\r\nThere is host IP info available in the following location:\r\nconfig.network.vnic[*].spec.ip\r\n\r\nSelecting an appropriate IP may be a matter of:\r\na. trying all of them and finding which works\r\nb. looking at the config.network.netStackInstance entries, finding the ones that permit datastore access and using the dnsConfig.virtualNicDevice entry to identify the NIC."}}
{"actor":{"display_login":"hickeng"}}