{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/os/issues/427","labels_url":"https://api.github.com/repos/rancher/os/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/rancher/os/issues/427/comments","events_url":"https://api.github.com/repos/rancher/os/issues/427/events","html_url":"https://github.com/rancher/os/issues/427","id":92837571,"number":427,"title":"docker-machine, hyper-v stops provisioning, getting ip-address fails, but pinging VM is OK","user":{"login":"pmario","id":374655,"avatar_url":"https://avatars.githubusercontent.com/u/374655?v=3","gravatar_id":"","url":"https://api.github.com/users/pmario","html_url":"https://github.com/pmario","followers_url":"https://api.github.com/users/pmario/followers","following_url":"https://api.github.com/users/pmario/following{/other_user}","gists_url":"https://api.github.com/users/pmario/gists{/gist_id}","starred_url":"https://api.github.com/users/pmario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmario/subscriptions","organizations_url":"https://api.github.com/users/pmario/orgs","repos_url":"https://api.github.com/users/pmario/repos","events_url":"https://api.github.com/users/pmario/events{/privacy}","received_events_url":"https://api.github.com/users/pmario/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-03T09:41:25Z","updated_at":"2015-07-15T21:03:49Z","closed_at":null,"body":"Hi folks.\r\nRancher OS as a drop in replacement for boot2docker looks great, but IMO docker-machine can't handle it. \r\n\r\nto reproduce: \r\n\r\n* I'm using: https://github.com/rancherio/os/releases/download/v0.3.3/machine-rancheros.iso\r\n* docker-machine:  version 0.3.0 (0a251fe)\r\n* OS: windows 8.1 pro with hyper-v\r\n\r\nI create the vm with: \r\n\r\n```\r\ndm -D create -d hyper-v --hyper-v-virtual-switch with-internet --hyper-v-boot2docker-location D:\\os-images\\machine-rancheros.iso rancher\r\n```\r\n\r\n* **The problem is, that docker-machine waits for the ip address** which never is returned.\r\n* the parameter `--hyper-v-virtual-switch with-internet` works, since the VM can be pinged. Also see the screenshot. \r\n\r\ndebug output is: \r\n\r\n```\r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe @(Get-Command Get-VM).ModuleName\r\n[stdout =====>] : Hyper-V\r\n[stderr =====>] : \r\nCreating SSH key... \r\nCreating VM...\r\nCreating VHD\r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe New-VHD -Path 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\fixed.vhd' -SizeBytes 10MB -Fixed\r\n[stdout =====>] : \r\n\r\nComputerName            : PC-MARIO\r\nPath                    : C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\fixed.vhd \r\nVhdFormat               : VHD \r\nVhdType                 : Fixed \r\nFileSize                : 10486272\r\nSize                    : 10485760\r\nMinimumSize             :\r\nLogicalSectorSize       : 512 \r\nPhysicalSectorSize      : 512 \r\nBlockSize               : 0 \r\nParentPath              : \r\nDiskIdentifier          : 43c2f5fd-1730-4852-a153-38326986f2b9\r\nFragmentationPercentage : 0 \r\nAlignment               : 1 \r\nAttached                : False \r\nDiskNumber              :\r\nKey                     :\r\nIsDeleted               : False \r\nNumber                  : \r\n\r\n\r\n\r\n\r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Convert-VHD -Path 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\fixed.vhd' -DestinationPath 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\disk.vhd' -VHDType Dynamic\r\n[stdout =====>] : \r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Resize-VHD -Path 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\disk.vhd' -SizeBytes 20000MB\r\n[stdout =====>] : \r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe New-VM -Name rancher -Path 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher' -MemoryStartupBytes 1024MB \r\n[stdout =====>] : \r\nNameState CPUUsage(%) MemoryAssigned(M) Uptime Status \r\n--------- ----------- ----------------- ------ ------ \r\nrancher Off 0 0 00:00:00 Normaler Betrieb \r\n\r\n\r\n\r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Set-VMDvdDrive -VMName rancher -Path 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\boot2docker.iso'\r\n[stdout =====>] : \r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Add-VMHardDiskDrive -VMName rancher -Path 'C:\\Users\\Mario\\.docker\\machine\\machines\\rancher\\disk.vhd'\r\n[stdout =====>] : \r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Connect-VMNetworkAdapter -VMName rancher -SwitchName 'with-internet'\r\n[stdout =====>] : \r\n[stderr =====>] : \r\nStartingVM... \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Start-VM -Name rancher\r\n[stdout =====>] : \r\n[stderr =====>] : \r\nWaiting for host to start...\r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe (( Get-VM -Name rancher ).networkadapters[0]).ipaddresses[0]\r\n[stdout =====>] : \r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe (( Get-VM -Name rancher ).networkadapters[0]).ipaddresses[0]\r\n[stdout =====>] : \r\n[stderr =====>] : \r\n[executing ==>] : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe (( Get-VM -Name rancher ).networkadapters[0]).ipaddresses[0]\r\n[stdout =====>] : \r\n\r\nnever ending .........\r\n\r\n```\r\n\r\ninside the vm \r\n\r\n![rancher-os](https://cloud.githubusercontent.com/assets/374655/8496449/87cfe400-2175-11e5-98be-d9d176c7a3e2.gif)\r\n\r\nAs you can see, the network seems to work as expected. At least for me it looks good. \r\n\r\nChecking the networkadapters says: status OK, but no IP address is shown. \r\n```\r\nPS C:\\Users\\Mario> (get-vm -name rancher).networkadapters\r\n\r\nName            IsManagementOs VMName  SwitchName    MacAddress   Status IPAddresses\r\n----            -------------- ------  ----------    ----------   ------ -----------\r\nNetzwerkadapter False          rancher with-internet 00155Dxxxxxx {Ok}   {}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/os/issues/comments/121746671","html_url":"https://github.com/rancher/os/issues/427#issuecomment-121746671","issue_url":"https://api.github.com/repos/rancher/os/issues/427","id":121746671,"user":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars.githubusercontent.com/u/1754002?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T21:03:49Z","updated_at":"2015-07-15T21:03:49Z","body":"@deniseschannon Can we see if we can get this in 0.4?  I'd like to support Hyper-V through docker-machine.  AFAIK RancherOS on Hyper-V already works fine, just not through docker-machine."}}