{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vic/issues/3440","repository_url":"https://api.github.com/repos/vmware/vic","labels_url":"https://api.github.com/repos/vmware/vic/issues/3440/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vic/issues/3440/comments","events_url":"https://api.github.com/repos/vmware/vic/issues/3440/events","html_url":"https://github.com/vmware/vic/issues/3440","id":193263121,"number":3440,"title":"CheckDockerAPI fails with i/o timeout","user":{"login":"waynean","id":15035855,"avatar_url":"https://avatars.githubusercontent.com/u/15035855?v=3","gravatar_id":"","url":"https://api.github.com/users/waynean","html_url":"https://github.com/waynean","followers_url":"https://api.github.com/users/waynean/followers","following_url":"https://api.github.com/users/waynean/following{/other_user}","gists_url":"https://api.github.com/users/waynean/gists{/gist_id}","starred_url":"https://api.github.com/users/waynean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waynean/subscriptions","organizations_url":"https://api.github.com/users/waynean/orgs","repos_url":"https://api.github.com/users/waynean/repos","events_url":"https://api.github.com/users/waynean/events{/privacy}","received_events_url":"https://api.github.com/users/waynean/received_events","type":"User","site_admin":false},"labels":[{"id":327809115,"url":"https://api.github.com/repos/vmware/vic/labels/component/vic-machine","name":"component/vic-machine","color":"d4c5f9","default":false},{"id":310959982,"url":"https://api.github.com/repos/vmware/vic/labels/kind/bug","name":"kind/bug","color":"f7c6c7","default":false},{"id":465799667,"url":"https://api.github.com/repos/vmware/vic/labels/kind/customer-found","name":"kind/customer-found","color":"006b75","default":false},{"id":486060290,"url":"https://api.github.com/repos/vmware/vic/labels/status/needs-triage","name":"status/needs-triage","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":{"url":"https://api.github.com/repos/vmware/vic/milestones/41","html_url":"https://github.com/vmware/vic/milestone/41","labels_url":"https://api.github.com/repos/vmware/vic/milestones/41/labels","id":2107782,"number":41,"title":"v0.9.0","description":"OSS release version 0.9.0\r\n-Add proxy support\r\n- Debt relief","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":87,"closed_issues":12,"state":"open","created_at":"2016-11-01T19:34:33Z","updated_at":"2016-12-11T19:16:03Z","due_on":"2017-01-21T00:00:00Z","closed_at":null},"comments":14,"created_at":"2016-12-03T03:43:39Z","updated_at":"2016-12-12T04:03:00Z","closed_at":null,"body":"**VIC version:**\r\n0.8.0-rc3\r\nInstaller version: v0.8.0-rc2-7257-9553959\r\nVCH version: v0.8.0-rc2-7257-9553959\r\n\r\n**Issues:**\r\n\r\n1. Install VCH with error: Could not run VCH vSphere API target check due to ServerFaultCode: The operation is not allowed in the current state.\r\n2. VIC Admin page is accessible form 172.16.100.80 which is an DHCP IP from public network, looks like something wrong with static management IP.\r\n3. IP and routing table is set correctly in the VCH VM but an error shown in VIC log: time=\"2016-12-03T03:36:38Z\" level=error msg=\"failed to add route for destination {172.16.10.0 ffffff00} via gateway 172.16.10.253\" \r\n\r\n**Actual behavior:**\r\n\r\nI am trying to install VCH with static management IP, however I got the following error\r\n\r\nINFO[2016-12-03T03:35:18Z] ### Installing VCH ####\r\nWARN[2016-12-03T03:35:18Z] Using administrative user for VCH operation - use --ops-user to improve security (see -x for advanced help)\r\nWARN[2016-12-03T03:35:18Z] Configuring without TLS - all communications will be insecure\r\nINFO[2016-12-03T03:35:18Z] Validating supplied configuration\r\nINFO[2016-12-03T03:35:18Z] Configuring static IP for additional networks using port group \"Management\"\r\nINFO[2016-12-03T03:35:18Z] vDS configuration OK on \"VIC-DPG\"\r\nINFO[2016-12-03T03:35:18Z] vDS configuration OK on \"VM\"\r\nINFO[2016-12-03T03:35:18Z] Firewall status: DISABLED on \"/Taiwan-Primary/host/Compute/172.16.10.1\"\r\nWARN[2016-12-03T03:35:18Z] Firewall configuration on \"/Taiwan-Primary/host/Compute/172.16.10.1\" does not permit dst 2377/tcp outbound for 172.16.10.116 with allowed IPs: [172.16.40.90]\r\nWARN[2016-12-03T03:35:18Z] Firewall configuration will be incorrect if firewall is reenabled on hosts:\r\nWARN[2016-12-03T03:35:18Z]      \"/Taiwan-Primary/host/Compute/172.16.10.1\"\r\nINFO[2016-12-03T03:35:18Z] Firewall must permit dst 2377/tcp outbound to VCH management interface if firewall is reenabled\r\nINFO[2016-12-03T03:35:18Z] License check OK on hosts:\r\nINFO[2016-12-03T03:35:18Z]   \"/Taiwan-Primary/host/Compute/172.16.10.1\"\r\nINFO[2016-12-03T03:35:18Z] DRS check OK on:\r\nINFO[2016-12-03T03:35:18Z]   \"/Taiwan-Primary/host/Compute/Resources\"\r\nINFO[2016-12-03T03:35:18Z]\r\nINFO[2016-12-03T03:35:18Z] Creating virtual app \"VCH001\"\r\nINFO[2016-12-03T03:35:18Z] Creating directory [NFSDatastore] VIC\r\nINFO[2016-12-03T03:35:18Z] Datastore path is [NFSDatastore] VIC\r\nINFO[2016-12-03T03:35:18Z] Creating appliance on target\r\nINFO[2016-12-03T03:35:18Z] Network role \"client\" is sharing NIC with \"public\"\r\nINFO[2016-12-03T03:35:21Z] Uploading images for container\r\nINFO[2016-12-03T03:35:21Z]      \"bootstrap.iso\"\r\nINFO[2016-12-03T03:35:21Z]      \"appliance.iso\"\r\nINFO[2016-12-03T03:36:26Z] Waiting for IP information\r\nINFO[2016-12-03T03:36:43Z] Waiting for major appliance components to launch\r\nINFO[2016-12-03T03:36:43Z] Checking VCH connectivity with vSphere target\r\n**WARN[2016-12-03T03:36:43Z] Could not run VCH vSphere API target check due to ServerFaultCode: The operation is not allowed in the current state.\r\nERRO[2016-12-03T03:37:13Z] Connection failed with error: i/o timeout\r\nINFO[2016-12-03T03:37:13Z] Collecting ea390f93-34ac-4adb-ac36-7c5a4026a463 vpxd.log\r\nERRO[2016-12-03T03:37:14Z] --------------------\r\nERRO[2016-12-03T03:37:14Z] vic-machine-linux failed: i/o timeout**\r\n\r\n**Deployment details:**\r\n\r\n./vic-machine-linux create --target 172.16.10.10 --user administrator@vmwaresso.taiwan --password 'xxx' --compute-resource Compute --image-store NFSDatastore --container-network VM --bridge-network VIC-DPG --management-network Management --management-network-ip 172.16.10.116 --management-network-gateway 172.16.10.0/24:172.16.10.253/24 --public-network VM --name VCH001 --volume-store \"NFSDatastore/VIC:volstore\" --no-tls --force --dns-server 172.16.10.20\r\n\r\n**Logs:**\r\n\r\nLog Bundle with container logs\r\nhttp://gofile.me/6lwz9/bZPGzH7q\r\n\r\n/var/log/vic\r\nhttp://gofile.me/6lwz9/aLDFgHJe\r\n\r\n**Additional details as necessary:**\r\n\r\nVIC Admin page is accessible form 172.16.100.80 which is an DHCP IP from public network, looks like something wrong with static management IP.\r\n\r\nInspect output\r\nINFO[2016-12-03T03:38:37Z] ### Inspecting VCH ####\r\nINFO[2016-12-03T03:38:37Z]\r\nINFO[2016-12-03T03:38:37Z] VCH ID: VirtualMachine:vm-1673\r\nINFO[2016-12-03T03:38:37Z]\r\nINFO[2016-12-03T03:38:37Z] Installer version: v0.8.0-rc2-7257-9553959\r\nINFO[2016-12-03T03:38:37Z] VCH version: v0.8.0-rc2-7257-9553959\r\nINFO[2016-12-03T03:38:37Z]\r\nINFO[2016-12-03T03:38:37Z] VCH Admin Portal:\r\nINFO[2016-12-03T03:38:37Z] https://172.16.100.80:2378\r\nINFO[2016-12-03T03:38:37Z]\r\nINFO[2016-12-03T03:38:37Z] Published ports can be reached at:\r\nINFO[2016-12-03T03:38:37Z] 172.16.100.80\r\nINFO[2016-12-03T03:38:37Z]\r\nINFO[2016-12-03T03:38:37Z] Docker environment variables:\r\nINFO[2016-12-03T03:38:37Z] DOCKER_HOST=172.16.100.80:2375\r\nINFO[2016-12-03T03:38:37Z]\r\nINFO[2016-12-03T03:38:37Z] Connect to docker:\r\nINFO[2016-12-03T03:38:37Z] docker -H 172.16.100.80:2375 info\r\nINFO[2016-12-03T03:38:37Z] Completed successfully\r\n\r\nIP and routing table is set correctly on the VCH but an error shown in VIC log\r\n\r\nKernel IP routing table\r\nDestination     Gateway         Genmask         Flags Metric Ref    Use Iface\r\ndefault         172.16.100.253  0.0.0.0         UG    0      0        0 client\r\n172.16.0.0      *               255.255.0.0     U     0      0        0 bridge\r\n172.16.10.0     *               255.255.255.0   U     0      0        0 eth1\r\n172.16.100.0    *               255.255.255.0   U     0      0        0 client\r\n\r\nError form VIC logs\r\ntime=\"2016-12-03T03:36:38Z\" level=error msg=\"failed to add route for destination {172.16.10.0 ffffff00} via gateway 172.16.10.253\" \r\n"},"comment":{"url":"https://api.github.com/repos/vmware/vic/issues/comments/266338669","html_url":"https://github.com/vmware/vic/issues/3440#issuecomment-266338669","issue_url":"https://api.github.com/repos/vmware/vic/issues/3440","id":266338669,"user":{"login":"waynean","id":15035855,"avatar_url":"https://avatars.githubusercontent.com/u/15035855?v=3","gravatar_id":"","url":"https://api.github.com/users/waynean","html_url":"https://github.com/waynean","followers_url":"https://api.github.com/users/waynean/followers","following_url":"https://api.github.com/users/waynean/following{/other_user}","gists_url":"https://api.github.com/users/waynean/gists{/gist_id}","starred_url":"https://api.github.com/users/waynean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waynean/subscriptions","organizations_url":"https://api.github.com/users/waynean/orgs","repos_url":"https://api.github.com/users/waynean/repos","events_url":"https://api.github.com/users/waynean/events{/privacy}","received_events_url":"https://api.github.com/users/waynean/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T04:03:00Z","updated_at":"2016-12-12T04:03:00Z","body":"@andrewtchin\r\n\r\nI just run the test again, it works on the public network IP (172.16.100.80), but not the static management IP, I think this issue can be narrow down to the static management network issue..."}}
{"actor":{"display_login":"waynean"}}