{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vic/issues/1747","repository_url":"https://api.github.com/repos/vmware/vic","labels_url":"https://api.github.com/repos/vmware/vic/issues/1747/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vic/issues/1747/comments","events_url":"https://api.github.com/repos/vmware/vic/issues/1747/events","html_url":"https://github.com/vmware/vic/pull/1747","id":168355986,"number":1747,"title":"Check that all hosts in vC cluster are in the vDS","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":2,"created_at":"2016-07-29T15:52:07Z","updated_at":"2016-08-01T15:50:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vmware/vic/pulls/1747","html_url":"https://github.com/vmware/vic/pull/1747","diff_url":"https://github.com/vmware/vic/pull/1747.diff","patch_url":"https://github.com/vmware/vic/pull/1747.patch"},"body":"Prevent VCH install on vCenter if the specified network is not connected to all hosts in the cluster\r\n\r\nFixes #1648, #802 \r\n\r\n```\r\n⇒  bin/vic-machine-linux create --target 10.17.109.115 --image-datastore vsanDatastore --name chin-vic-15 --user administrator@vsphere.local --password password --compute-resource cluster1/chin --bridge-network vch-test\r\nINFO[2016-07-29T08:43:51-07:00] ### Installing VCH ####                      \r\nINFO[2016-07-29T08:43:51-07:00] Generating certificate/key pair - private key in ./chin-vic-15-key.pem \r\nINFO[2016-07-29T08:43:52-07:00] Validating supplied configuration            \r\nINFO[2016-07-29T08:43:54-07:00] vDS configuration OK on \"vch-test\"           \r\nINFO[2016-07-29T08:43:54-07:00] Firewall status: ENABLED on \"/dc1/host/cluster1/10.17.109.74\" \r\nINFO[2016-07-29T08:43:54-07:00] Firewall status: ENABLED on \"/dc1/host/cluster1/10.17.109.76\" \r\nINFO[2016-07-29T08:43:55-07:00] Firewall status: ENABLED on \"/dc1/host/cluster1/10.17.109.169\" \r\nINFO[2016-07-29T08:43:55-07:00] Firewall configuration OK on hosts:          \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/10.17.109.74\"          \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/10.17.109.76\"          \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/10.17.109.169\"         \r\nINFO[2016-07-29T08:43:55-07:00] License check OK on hosts:                   \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/10.17.109.74\"          \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/10.17.109.76\"          \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/10.17.109.169\"         \r\nINFO[2016-07-29T08:43:55-07:00] DRS check OK on:                             \r\nINFO[2016-07-29T08:43:55-07:00]   \"/dc1/host/cluster1/Resources/chin\"        \r\nINFO[2016-07-29T08:43:57-07:00] Creating virtual app \"chin-vic-15\"           \r\nINFO[2016-07-29T08:43:57-07:00] Creating appliance on target                 \r\nINFO[2016-07-29T08:43:57-07:00] Network role \"client\" is sharing NIC with \"external\" \r\nINFO[2016-07-29T08:43:57-07:00] Network role \"management\" is sharing NIC with \"external\" \r\nINFO[2016-07-29T08:44:12-07:00] Uploading images for container               \r\nINFO[2016-07-29T08:44:12-07:00] \t\"/home/chin/go/src/github.com/vmware/vic/bin/appliance.iso\" \r\nINFO[2016-07-29T08:44:12-07:00] \t\"/home/chin/go/src/github.com/vmware/vic/bin/bootstrap.iso\" \r\nINFO[2016-07-29T08:44:52-07:00] Registering VCH as a vSphere extension       \r\nINFO[2016-07-29T08:45:04-07:00] Waiting for IP information                   \r\nINFO[2016-07-29T08:45:38-07:00] Waiting for major appliance components to launch \r\nINFO[2016-07-29T08:45:48-07:00] Initialization of appliance successful       \r\nINFO[2016-07-29T08:45:48-07:00]                                              \r\nINFO[2016-07-29T08:45:48-07:00] Log server:                                  \r\nINFO[2016-07-29T08:45:48-07:00] https://10.17.109.112:2378                   \r\nINFO[2016-07-29T08:45:48-07:00]                                              \r\nINFO[2016-07-29T08:45:48-07:00] DOCKER_HOST=10.17.109.112:2376               \r\nINFO[2016-07-29T08:45:48-07:00]                                              \r\nINFO[2016-07-29T08:45:48-07:00] Connect to docker:                           \r\nINFO[2016-07-29T08:45:48-07:00] docker -H 10.17.109.112:2376 --tls info      \r\nINFO[2016-07-29T08:45:48-07:00] Installer completed successfully \r\n```\r\n\r\n```\r\n⇒  bin/vic-machine-linux create --target 10.17.109.115 --image-datastore vsanDatastore --name chin-vic-15 --user administrator@vsphere.local --password password --compute-resource cluster1/chin --bridge-network vch-test\r\nINFO[2016-07-29T08:49:21-07:00] ### Installing VCH ####                      \r\nINFO[2016-07-29T08:49:21-07:00] Generating certificate/key pair - private key in ./chin-vic-15-key.pem \r\nINFO[2016-07-29T08:49:22-07:00] Validating supplied configuration            \r\nERRO[2016-07-29T08:49:24-07:00] vDS configuration incorrect on \"vch-test\". All cluster hosts must be in the vDS. \r\nERRO[2016-07-29T08:49:24-07:00]   \"vch-test\" is missing hosts:               \r\nERRO[2016-07-29T08:49:24-07:00]     \"/dc1/host/cluster1/10.17.109.169\"       \r\nINFO[2016-07-29T08:49:24-07:00] Firewall status: ENABLED on \"/dc1/host/cluster1/10.17.109.74\" \r\nINFO[2016-07-29T08:49:24-07:00] Firewall status: ENABLED on \"/dc1/host/cluster1/10.17.109.76\" \r\nINFO[2016-07-29T08:49:25-07:00] Firewall status: ENABLED on \"/dc1/host/cluster1/10.17.109.169\" \r\nINFO[2016-07-29T08:49:25-07:00] Firewall configuration OK on hosts:          \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/10.17.109.74\"          \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/10.17.109.76\"          \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/10.17.109.169\"         \r\nINFO[2016-07-29T08:49:25-07:00] License check OK on hosts:                   \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/10.17.109.74\"          \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/10.17.109.76\"          \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/10.17.109.169\"         \r\nINFO[2016-07-29T08:49:25-07:00] DRS check OK on:                             \r\nINFO[2016-07-29T08:49:25-07:00]   \"/dc1/host/cluster1/Resources/chin\"        \r\nERRO[2016-07-29T08:49:25-07:00] --------------------                         \r\nERRO[2016-07-29T08:49:25-07:00] All cluster hosts must be in the vDS. \"vch-test\" is missing hosts: [/dc1/host/cluster1/10.17.109.169] \r\nERRO[2016-07-29T08:49:25-07:00] Create cannot continue: configuration validation failed \r\nERRO[2016-07-29T08:49:25-07:00] --------------------                         \r\nERRO[2016-07-29T08:49:25-07:00] vic-machine-linux failed: validation of configuration failed\r\n```"},"comment":{"url":"https://api.github.com/repos/vmware/vic/issues/comments/236621460","html_url":"https://github.com/vmware/vic/pull/1747#issuecomment-236621460","issue_url":"https://api.github.com/repos/vmware/vic/issues/1747","id":236621460,"user":{"login":"hmahmood","id":6599778,"avatar_url":"https://avatars.githubusercontent.com/u/6599778?v=3","gravatar_id":"","url":"https://api.github.com/users/hmahmood","html_url":"https://github.com/hmahmood","followers_url":"https://api.github.com/users/hmahmood/followers","following_url":"https://api.github.com/users/hmahmood/following{/other_user}","gists_url":"https://api.github.com/users/hmahmood/gists{/gist_id}","starred_url":"https://api.github.com/users/hmahmood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmahmood/subscriptions","organizations_url":"https://api.github.com/users/hmahmood/orgs","repos_url":"https://api.github.com/users/hmahmood/repos","events_url":"https://api.github.com/users/hmahmood/events{/privacy}","received_events_url":"https://api.github.com/users/hmahmood/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T15:50:22Z","updated_at":"2016-08-01T15:50:22Z","body":"lgtm"}}
{"actor":{"display_login":"hmahmood"}}