{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vic/issues/1157","repository_url":"https://api.github.com/repos/vmware/vic","labels_url":"https://api.github.com/repos/vmware/vic/issues/1157/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vic/issues/1157/comments","events_url":"https://api.github.com/repos/vmware/vic/issues/1157/events","html_url":"https://github.com/vmware/vic/issues/1157","id":161442311,"number":1157,"title":"vic-machine: usability enhancements","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/cli","name":"area/cli","color":"c7def8"},{"url":"https://api.github.com/repos/vmware/vic/labels/component/vic-machine","name":"component/vic-machine","color":"d4c5f9"},{"url":"https://api.github.com/repos/vmware/vic/labels/Epic","name":"Epic","color":"3E4B9E"},{"url":"https://api.github.com/repos/vmware/vic/labels/kind/user-doc","name":"kind/user-doc","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"emlin","id":1091772,"avatar_url":"https://avatars.githubusercontent.com/u/1091772?v=3","gravatar_id":"","url":"https://api.github.com/users/emlin","html_url":"https://github.com/emlin","followers_url":"https://api.github.com/users/emlin/followers","following_url":"https://api.github.com/users/emlin/following{/other_user}","gists_url":"https://api.github.com/users/emlin/gists{/gist_id}","starred_url":"https://api.github.com/users/emlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emlin/subscriptions","organizations_url":"https://api.github.com/users/emlin/orgs","repos_url":"https://api.github.com/users/emlin/repos","events_url":"https://api.github.com/users/emlin/events{/privacy}","received_events_url":"https://api.github.com/users/emlin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/vmware/vic/milestones/35","html_url":"https://github.com/vmware/vic/milestones/VIC%20TP3%20Release","labels_url":"https://api.github.com/repos/vmware/vic/milestones/35/labels","id":1799198,"number":35,"title":"VIC TP3 Release","description":"*Please keep this limited to items in the GA Plan sheet* \r\n\r\nThis is the milestone containing all items identified as required for the Tech Preview 3 milestone in the VIC GA Plan spreadsheet.. This will be what is required for our customers to have a, basic, working end to end VIC. The end date is the same date as the release date.","creator":{"login":"mdubya66","id":15821624,"avatar_url":"https://avatars.githubusercontent.com/u/15821624?v=3","gravatar_id":"","url":"https://api.github.com/users/mdubya66","html_url":"https://github.com/mdubya66","followers_url":"https://api.github.com/users/mdubya66/followers","following_url":"https://api.github.com/users/mdubya66/following{/other_user}","gists_url":"https://api.github.com/users/mdubya66/gists{/gist_id}","starred_url":"https://api.github.com/users/mdubya66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdubya66/subscriptions","organizations_url":"https://api.github.com/users/mdubya66/orgs","repos_url":"https://api.github.com/users/mdubya66/repos","events_url":"https://api.github.com/users/mdubya66/events{/privacy}","received_events_url":"https://api.github.com/users/mdubya66/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":11,"state":"open","created_at":"2016-05-31T16:40:48Z","updated_at":"2016-06-21T18:22:32Z","due_on":"2016-06-30T05:00:00Z","closed_at":null},"comments":7,"created_at":"2016-06-21T13:51:10Z","updated_at":"2016-06-21T20:50:22Z","closed_at":null,"body":"@cormachogan Provided some feedback on the current vic-machine usage:\r\n\r\nThoughts on vic-machine from rolling out the latest master version this morning.\r\n\r\n1. Can we reduce some of the arguments to single letters. We have this for username (-u), password (-p) and target (-t), but not for most of the other arguments. This would save a lot of  typing.\r\n\r\n2. Highlight which arguments are required and which arguments are optional. Place them in different help output sections if that makes sense. For example, many of the network entries are optional, and that is not clear from the help.\r\n\r\n3. For compute-resource path, give an example for both ESXi and VC. The example provided is for VC only. We should show examples of using whole cluster, individual host and an actual resource pool. This is the area that is mostly complicated in my opinion, so the more we can do to explain it in the help, the better.\r\n\r\n4. Do we really want people to visit hub.docker.com to figure out what an external network is? Can we not simply add an explanation here? Is it the VM network?\r\n\r\n5. I’m not sure I understand what management network is from the description? What does “provides route to target hosting vSphere” imply? Is this how the VCH can reach the ESXi or VC? Is it only needed when VCH does not have a path to ESXi or VC from the VM network?\r\n\r\n6. Resource path is still an issue - it is not intuitive from the help what needs to be added. In the case of ESXi, we should not make it a requirement to include this and use  default. We should simply use all the host’s resources. I had to specify compute-resource of “/\" to continue with ESXi. Is that correct?\r\n\r\n7. When trying to deploy to ESXi that is managed by VC, the install does not fail gracefully:\r\n```\r\n# ./vic-machine-linux create --image-datastore datastore1 --container-datastore datastore1 --name vch -u root -p password -t esx.fqdn --compute-resource /         \r\nINFO[2016-06-21T12:53:30Z] ### Installing VCH ####                      \r\nINFO[2016-06-21T12:53:30Z] Generating certificate/key pair - private key in ./vch-key.pem \r\nINFO[2016-06-21T12:53:32Z] Validating supplied configuration            \r\nINFO[2016-06-21T12:53:32Z] Creating a Resource Pool                     \r\nERRO[2016-06-21T12:53:32Z] Creating resource pool failed: ServerFaultCode: Access to resource settings on the host is restricted to the server that is managing it: 'vcenter.fqdn'. \r\nINFO[2016-06-21T12:53:32Z] Creating VirtualSwitch                       \r\nINFO[2016-06-21T12:53:32Z] Creating Portgroup                           \r\nINFO[2016-06-21T12:53:33Z] Creating appliance on target                 \r\nINFO[2016-06-21T12:53:33Z] Network role client is sharing NIC with external \r\nINFO[2016-06-21T12:53:33Z] Network role management is sharing NIC with external \r\nvic-machine-linux failed:  runtime error: invalid memory address or nil pointer dereference\r\n```\r\n\r\n8. Can we do some pre-checks that name resolution is working correctly? This looks like a hard and fast requirement for a successful deploy (uploading of images), and DNS may not be available in all dev environments.\r\n\r\n9. when the distributed port group is created, but you select a host that does not have an attachment to the DVS, it fails weirdly:\r\n```\r\n# ./vic-machine-linux create --image-datastore datastore1 --container-datastore datastore1 --name vch -u administrator@vsphere.local -p password -t vcenter.fqdn --compute-resource resource/pool --bridge-network BridgeDPG\r\nINFO[2016-06-21T12:59:33Z] ### Installing VCH ####                      \r\nINFO[2016-06-21T12:59:33Z] Generating certificate/key pair - private key in ./vch-key.pem \r\nINFO[2016-06-21T12:59:36Z] Validating supplied configuration            \r\nINFO[2016-06-21T12:59:37Z] Creating a Resource Pool                     \r\nINFO[2016-06-21T12:59:37Z] Creating appliance on target                 \r\nINFO[2016-06-21T12:59:37Z] Network role client is sharing NIC with external \r\nINFO[2016-06-21T12:59:37Z] Network role management is sharing NIC with external \r\nERRO[2016-06-21T12:59:37Z] Operation failed: A specified parameter was not correct: spec.deviceChange.device.port.switchUuid - (&{{} %!!(MISSING)s(*types.InvalidArgument=&{{{<nil> [{{} com.vmware.vim.vpxd.dvs.nonHostMember.label [{{} host <snip>} {{} dvs DSwitch}] Host <snip> is not a member of VDS DSwitch}]}} spec.deviceChange.device.port.switchUuid}) A specified parameter was not correct: spec.deviceChange.device.port.switchUuid}) \r\nERRO[2016-06-21T12:59:37Z] Unable to create appliance VM: Operation failed: A specified parameter was not correct: spec.deviceChange.device.port.switchUuid - (&{{} %!s(*types.InvalidArgument=&{{{<nil> [{{} com.vmware.vim.vpxd.dvs.nonHostMember.label [{{} host <snip>} {{} dvs DSwitch}] Host <snip> is not a member of VDS DSwitch}]}} spec.deviceChange.device.port.switchUuid}) A specified parameter was not correct: spec.deviceChange.device.port.switchUuid}) \r\nINFO[2016-06-21T12:59:37Z] Collecting a0522635-224e-4171-92b1-7edaf726b39f vpxd.log \r\nvic-machine-linux failed:  Creating the appliance failed with Operation failed: A specified parameter was not correct: spec.deviceChange.device.port.switchUuid - (&{{} %!s(*types.InvalidArgument=&{{{<nil> [{{} com.vmware.vim.vpxd.dvs.nonHostMember.label [{{} host <snip>} {{} dvs DSwitch}] Host <snip> is not a member of VDS DSwitch}]}} spec.deviceChange.device.port.switchUuid}) A specified parameter was not correct: spec.deviceChange.device.port.switchUuid}). Exiting...\r\n```\r\n\r\n10. vic-machine -v doesn’t show any versioning.\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/vic/issues/comments/227567565","html_url":"https://github.com/vmware/vic/issues/1157#issuecomment-227567565","issue_url":"https://api.github.com/repos/vmware/vic/issues/1157","id":227567565,"user":{"login":"dougm","id":30171,"avatar_url":"https://avatars.githubusercontent.com/u/30171?v=3","gravatar_id":"","url":"https://api.github.com/users/dougm","html_url":"https://github.com/dougm","followers_url":"https://api.github.com/users/dougm/followers","following_url":"https://api.github.com/users/dougm/following{/other_user}","gists_url":"https://api.github.com/users/dougm/gists{/gist_id}","starred_url":"https://api.github.com/users/dougm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougm/subscriptions","organizations_url":"https://api.github.com/users/dougm/orgs","repos_url":"https://api.github.com/users/dougm/repos","events_url":"https://api.github.com/users/dougm/events{/privacy}","received_events_url":"https://api.github.com/users/dougm/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T20:50:22Z","updated_at":"2016-06-21T20:50:22Z","body":"We recently started using the SessionManagerGenericServiceTicket.HostName field for datastore http access: http://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.SessionManager.GenericServiceTicket.html\r\n\r\nYou can revert to the old behavior for now with the following environment variable:\r\n```\r\nexport GOVMOMI_USE_SERVICE_TICKET_HOSTNAME=false\r\n```\r\n\r\nWe can change the default to the old behavior and have an option to enable it if needed.\r\n"}}
{"actor":{"display_login":"dougm"}}