{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vic/issues/1300","repository_url":"https://api.github.com/repos/vmware/vic","labels_url":"https://api.github.com/repos/vmware/vic/issues/1300/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vic/issues/1300/comments","events_url":"https://api.github.com/repos/vmware/vic/issues/1300/events","html_url":"https://github.com/vmware/vic/pull/1300","id":163265346,"number":1300,"title":"Handle unspecified cluster in vic-machine create","user":{"login":"andrewtchin","id":1649165,"avatar_url":"https://avatars.githubusercontent.com/u/1649165?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewtchin","html_url":"https://github.com/andrewtchin","followers_url":"https://api.github.com/users/andrewtchin/followers","following_url":"https://api.github.com/users/andrewtchin/following{/other_user}","gists_url":"https://api.github.com/users/andrewtchin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewtchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewtchin/subscriptions","organizations_url":"https://api.github.com/users/andrewtchin/orgs","repos_url":"https://api.github.com/users/andrewtchin/repos","events_url":"https://api.github.com/users/andrewtchin/events{/privacy}","received_events_url":"https://api.github.com/users/andrewtchin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vmware/vic/labels/cla-not-required","name":"cla-not-required","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-30T20:57:16Z","updated_at":"2016-06-30T21:02:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vmware/vic/pulls/1300","html_url":"https://github.com/vmware/vic/pull/1300","diff_url":"https://github.com/vmware/vic/pull/1300.diff","patch_url":"https://github.com/vmware/vic/pull/1300.patch"},"body":"We were seeing a nil pointer dereference when trying to perform checks based on an unset cluster. Now we handle that gracefully.\r\n\r\n```\r\nINFO[2016-06-30T13:53:52-07:00] ### Installing VCH ####                      \r\nINFO[2016-06-30T13:53:52-07:00] Generating certificate/key pair - private key in ./chin-vic-101-key.pem \r\nINFO[2016-06-30T13:53:53-07:00] Validating supplied configuration            \r\nINFO[2016-06-30T13:53:53-07:00] Suggesting valid values for --compute-resource based on * \r\nINFO[2016-06-30T13:53:53-07:00]   Austin                                     \r\nINFO[2016-06-30T13:53:53-07:00]   JoshCluster                                \r\nERRO[2016-06-30T13:53:54-07:00] Firewall check SKIPPED                       \r\nERRO[2016-06-30T13:53:54-07:00]   cluster not set                            \r\nERRO[2016-06-30T13:53:54-07:00] License check SKIPPED                        \r\nERRO[2016-06-30T13:53:54-07:00]   cluster not set                            \r\nERRO[2016-06-30T13:53:54-07:00] DRS check SKIPPED                            \r\nERRO[2016-06-30T13:53:54-07:00]   cluster not set                            \r\nERRO[2016-06-30T13:53:54-07:00] Compatibility check SKIPPED                  \r\nERRO[2016-06-30T13:53:54-07:00]   cluster not set                            \r\nERRO[2016-06-30T13:53:54-07:00] --------------------                         \r\nERRO[2016-06-30T13:53:54-07:00] No unambiguous default compute resource available: --compute-resource must be specified \r\nERRO[2016-06-30T13:53:54-07:00] Firewall check SKIPPED                       \r\nERRO[2016-06-30T13:53:54-07:00] License check SKIPPED                        \r\nERRO[2016-06-30T13:53:54-07:00] DRS check SKIPPED                            \r\nERRO[2016-06-30T13:53:54-07:00] Compatibility check SKIPPED                  \r\nERRO[2016-06-30T13:53:54-07:00] Creation cannot continue: configuration validation failed \r\nvic-machine-linux failed:  validation of configuration failed\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/vic/issues/comments/229787830","html_url":"https://github.com/vmware/vic/pull/1300#issuecomment-229787830","issue_url":"https://api.github.com/repos/vmware/vic/issues/1300","id":229787830,"user":{"login":"gigawhitlocks","id":3743903,"avatar_url":"https://avatars.githubusercontent.com/u/3743903?v=3","gravatar_id":"","url":"https://api.github.com/users/gigawhitlocks","html_url":"https://github.com/gigawhitlocks","followers_url":"https://api.github.com/users/gigawhitlocks/followers","following_url":"https://api.github.com/users/gigawhitlocks/following{/other_user}","gists_url":"https://api.github.com/users/gigawhitlocks/gists{/gist_id}","starred_url":"https://api.github.com/users/gigawhitlocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigawhitlocks/subscriptions","organizations_url":"https://api.github.com/users/gigawhitlocks/orgs","repos_url":"https://api.github.com/users/gigawhitlocks/repos","events_url":"https://api.github.com/users/gigawhitlocks/events{/privacy}","received_events_url":"https://api.github.com/users/gigawhitlocks/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T21:02:10Z","updated_at":"2016-06-30T21:02:10Z","body":"LGTM"}}
{"actor":{"display_login":"gigawhitlocks"}}