{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vic/issues/3014","repository_url":"https://api.github.com/repos/vmware/vic","labels_url":"https://api.github.com/repos/vmware/vic/issues/3014/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vic/issues/3014/comments","events_url":"https://api.github.com/repos/vmware/vic/issues/3014/events","html_url":"https://github.com/vmware/vic/issues/3014","id":187374839,"number":3014,"title":"Issues with container network with no ip-range and whose backing PG does not have DHCP","user":{"login":"mreferre","id":4123965,"avatar_url":"https://avatars.githubusercontent.com/u/4123965?v=3","gravatar_id":"","url":"https://api.github.com/users/mreferre","html_url":"https://github.com/mreferre","followers_url":"https://api.github.com/users/mreferre/followers","following_url":"https://api.github.com/users/mreferre/following{/other_user}","gists_url":"https://api.github.com/users/mreferre/gists{/gist_id}","starred_url":"https://api.github.com/users/mreferre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreferre/subscriptions","organizations_url":"https://api.github.com/users/mreferre/orgs","repos_url":"https://api.github.com/users/mreferre/repos","events_url":"https://api.github.com/users/mreferre/events{/privacy}","received_events_url":"https://api.github.com/users/mreferre/received_events","type":"User","site_admin":false},"labels":[{"id":461684648,"url":"https://api.github.com/repos/vmware/vic/labels/kind/debt","name":"kind/debt","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/vmware/vic/milestones/41","html_url":"https://github.com/vmware/vic/milestones/v0.9.0","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":13,"closed_issues":1,"state":"open","created_at":"2016-11-01T19:34:33Z","updated_at":"2016-11-07T18:46:18Z","due_on":"2017-01-06T00:00:00Z","closed_at":null},"comments":7,"created_at":"2016-11-04T16:12:10Z","updated_at":"2016-11-07T18:47:24Z","closed_at":null,"body":"Build 6507. \r\n\r\nI am trying to create a container network on a vSphere port group that does NOT have DHCP. I am creating the container network WITHOUT specifying an IP range nor a GW. \r\n\r\nVic-machine allows me to do that. \r\n\r\nHowever when I try to start a container (e.g. busybox .. it fails to start and you can't delete it). \r\n\r\nSteps to reproduce (note: PG2 is a vSphere distributed port group with no ip services on it):  \r\n\r\n```\r\nuser1@ubuntu:~/vic$ ./vic-machine-linux delete --name VCH1 --target 192.168.8.211 --user user1@vsphere.local --password Vmware123! --force\r\nINFO[2016-11-04T15:52:19Z] ### Removing VCH ####                        \r\nINFO[2016-11-04T15:52:19Z]                                              \r\nINFO[2016-11-04T15:52:19Z] VCH ID: VirtualMachine:vm-111                \r\nINFO[2016-11-04T15:52:21Z] Removing VMs                                 \r\nINFO[2016-11-04T15:52:28Z] Removing image stores                        \r\nINFO[2016-11-04T15:53:15Z] Removing volume stores                       \r\nINFO[2016-11-04T15:53:15Z] Removing appliance VM network devices        \r\nINFO[2016-11-04T15:53:17Z] Removing VCH vSphere extension               \r\nINFO[2016-11-04T15:54:04Z] Removing Resource Pool \"VCH1\"                \r\nINFO[2016-11-04T15:54:04Z] Completed successfully                       \r\nuser1@ubuntu:~/vic$ ./vic-machine-linux create --name VCH1 --target 192.168.8.211 --user user1@vsphere.local --password Vmware123! --bridge-network BridgePG1 --container-network PG2 --external-network \"VM Network\" --image-store sharedstorage --no-tls --force\r\nWARN[2016-11-04T15:54:39Z] Configuring without TLS - all communications will be insecure \r\nINFO[2016-11-04T15:54:39Z] ### Installing VCH ####                      \r\nINFO[2016-11-04T15:54:39Z] Validating supplied configuration            \r\nINFO[2016-11-04T15:54:40Z] vDS configuration OK on \"BridgePG1\"          \r\nINFO[2016-11-04T15:54:40Z] vDS configuration OK on \"PG2\"                \r\nINFO[2016-11-04T15:54:40Z] Firewall status: DISABLED on \"/DTC1/host/Cluster1/192.168.8.200\" \r\nINFO[2016-11-04T15:54:40Z] Firewall status: DISABLED on \"/DTC1/host/Cluster1/192.168.8.201\" \r\nINFO[2016-11-04T15:54:40Z] Firewall configuration OK on hosts:          \r\nINFO[2016-11-04T15:54:40Z]   \"/DTC1/host/Cluster1/192.168.8.200\"        \r\nINFO[2016-11-04T15:54:40Z]   \"/DTC1/host/Cluster1/192.168.8.201\"        \r\nINFO[2016-11-04T15:54:41Z] License check OK on hosts:                   \r\nINFO[2016-11-04T15:54:41Z]   \"/DTC1/host/Cluster1/192.168.8.200\"        \r\nINFO[2016-11-04T15:54:41Z]   \"/DTC1/host/Cluster1/192.168.8.201\"        \r\nINFO[2016-11-04T15:54:41Z] DRS check OK on:                             \r\nINFO[2016-11-04T15:54:41Z]   \"/DTC1/host/Cluster1/Resources\"            \r\nINFO[2016-11-04T15:54:41Z]                                              \r\nINFO[2016-11-04T15:54:42Z] Creating virtual app \"VCH1\"                  \r\nINFO[2016-11-04T15:54:42Z] Creating appliance on target                 \r\nINFO[2016-11-04T15:54:42Z] Network role \"client\" is sharing NIC with \"external\" \r\nINFO[2016-11-04T15:54:42Z] Network role \"management\" is sharing NIC with \"external\" \r\nINFO[2016-11-04T15:54:44Z] Uploading images for container               \r\nINFO[2016-11-04T15:54:44Z] \t\"appliance.iso\"                             \r\nINFO[2016-11-04T15:54:44Z] \t\"bootstrap.iso\"                             \r\nINFO[2016-11-04T15:54:49Z] Registering VCH as a vSphere extension       \r\nINFO[2016-11-04T15:54:58Z] Waiting for IP information                   \r\nINFO[2016-11-04T15:55:26Z] Waiting for major appliance components to launch \r\nINFO[2016-11-04T15:55:33Z] Initialization of appliance successful       \r\nINFO[2016-11-04T15:55:33Z]                                              \r\nINFO[2016-11-04T15:55:33Z] vic-admin portal:                            \r\nINFO[2016-11-04T15:55:33Z] http://192.168.8.67:2378                     \r\nINFO[2016-11-04T15:55:33Z]                                              \r\nINFO[2016-11-04T15:55:33Z] Published ports can be reached at:           \r\nINFO[2016-11-04T15:55:33Z] 192.168.8.67                                 \r\nINFO[2016-11-04T15:55:33Z]                                              \r\nINFO[2016-11-04T15:55:33Z] Docker environment variables:                \r\nINFO[2016-11-04T15:55:33Z] DOCKER_HOST=192.168.8.67:2375                \r\nINFO[2016-11-04T15:55:33Z]                                              \r\nINFO[2016-11-04T15:55:33Z] Connect to docker:                           \r\nINFO[2016-11-04T15:55:33Z] docker -H 192.168.8.67:2375 info             \r\nINFO[2016-11-04T15:55:33Z] Installer completed successfully             \r\nuser1@ubuntu:~/vic$ docker -H 192.168.8.67:2375 run -it --net=PG2 --name mybusybox busybox\r\nUnable to find image 'busybox:latest' locally\r\nPulling from library/busybox\r\n56bec22e3559: Pull complete \r\na3ed95caeb02: Pull complete \r\nDigest: sha256:98a0bd48d22ff96ca23bfda2fe1cf72034ea803bd79e64a5a5f274aca0f9c51c\r\nStatus: Downloaded newer image for library/busybox:latest\r\ndocker: Error response from daemon: Server error from portlayer: unable to wait for process launch status: context deadline exceeded.\r\nuser1@ubuntu:~/vic$ docker -H 192.168.8.67:2375 ps -a\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\ncac7d55f14b6        busybox             \"sh\"                7 minutes ago       Starting                                mybusybox\r\nuser1@ubuntu:~/vic$ docker -H 192.168.8.67:2375 rm -f cac7d55f14b6\r\nError response from daemon: Server error from portlayer: [DELETE /containers/{id}][500] containerRemoveInternalServerError\r\nuser1@ubuntu:~/vic$ \r\n```\r\n\r\nPerhaps we should gracefully terminate the IP acquisition cycle and report that an IP cannot be acquired (and possibly terminate/remove the ContainerVM). "},"comment":{"url":"https://api.github.com/repos/vmware/vic/issues/comments/258924951","html_url":"https://github.com/vmware/vic/issues/3014#issuecomment-258924951","issue_url":"https://api.github.com/repos/vmware/vic/issues/3014","id":258924951,"user":{"login":"mhagen-vmware","id":19393273,"avatar_url":"https://avatars.githubusercontent.com/u/19393273?v=3","gravatar_id":"","url":"https://api.github.com/users/mhagen-vmware","html_url":"https://github.com/mhagen-vmware","followers_url":"https://api.github.com/users/mhagen-vmware/followers","following_url":"https://api.github.com/users/mhagen-vmware/following{/other_user}","gists_url":"https://api.github.com/users/mhagen-vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/mhagen-vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhagen-vmware/subscriptions","organizations_url":"https://api.github.com/users/mhagen-vmware/orgs","repos_url":"https://api.github.com/users/mhagen-vmware/repos","events_url":"https://api.github.com/users/mhagen-vmware/events{/privacy}","received_events_url":"https://api.github.com/users/mhagen-vmware/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T18:47:24Z","updated_at":"2016-11-07T18:47:24Z","body":"Iceboxing for now, if we get a chance we can try to get this in to GA (not likely) but at this time we have documented that we require DHCP."}}
{"actor":{"display_login":"mhagen-vmware"}}